How to delete multiple layers quickly?

Use this forum to ask questions about how to do things in QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Mon Nov 09, 2020 3:24 pm

1. Mark the layers to be deleted in the layer list
2. Right click
3. Delete layer "YR"


Thomas

PS:
Mark layers with SHIFT or CTRL / CMD
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: How to delete multiple layers quickly?

Post by CVH » Mon Nov 09, 2020 3:28 pm

TSG wrote:
Mon Nov 09, 2020 3:24 pm
1. Mark the layers to be deleted in the layer list
Marking can be done like entities with holding Ctrl or Shift.
TSG wrote:
Mon Nov 09, 2020 3:24 pm
2. Right click
3. Delete layer "YR"
One can simply type 'YR' too.

Regards,
CVH

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Tue Nov 10, 2020 5:00 am

One can simply type 'YR' too.


This does not work if you are in the layer list (which you are automatically in when you mark the layers to be deleted).
So right click and select "yr" is the better way.

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: How to delete multiple layers quickly?

Post by CVH » Tue Nov 10, 2020 6:20 am

Hi Thomas,

Windows7 32 bit:
Did try it out several ways. Even with the layer list floating.
Selecting multiple layers with Ctrl or Shift and type 'YR' works for me ... every time.

What doesn't turn out correct is the right-click when not on a selected layer.
That changes the selection and one can start over.
The reason I use YR after spitting through a layer list.

Regards,
CVH

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Tue Nov 10, 2020 9:44 am

I tested it in QCAD 3.25.2 on windows 10, 32 bit and "YR" works as you say there.
Under macOS it only works if you are not in the layer list.
Perhaps Andrew can correct this, but I'm afraid it will come back to a "bug with Qt".

Anyway, it's not dramatic as the right click and delete works fine on both Windows and macOS.

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: How to delete multiple layers quickly?

Post by CVH » Tue Nov 10, 2020 9:57 am

Thanks, Thomas:

If he doesn't pick this up, I'll report it.

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9058
Joined: Fri Mar 30, 2007 6:07 am

Re: How to delete multiple layers quickly?

Post by andrew » Tue Nov 10, 2020 10:22 am

TSG: Please check your preferences on macOS:
Edit > Application Preferences > General > Keyboard > Enable keyboard navigation in list widgets

If this preference is checked, you can use arrow keys or type starting letters to navigate the layer list and block list. Downside: key codes don't work if a list has the keyboard focus.

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: How to delete multiple layers quickly?

Post by CVH » Tue Nov 10, 2020 10:49 am

Not set here,
Nice formulation of pro/con to include on a tooltip.

Regards,
CVH

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Tue Nov 10, 2020 11:00 am

Edit > Application Preferences > General > Keyboard > Enable keyboard navigation in list widgets
checked: "YR" doesn't work.
unchecked: "YR" works as expected but no more navigation with arrow keys. :(

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Tue Nov 10, 2020 11:08 am

If this preference is checked, you can use arrow keys or type starting letters to navigate the layer list and block list. Downside: key codes don't work if a list has the keyboard focus.
if checked: navigation with arrow keys is possible, "YR" isn't
if not checked: no navigation but "YR" works.

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Thu Nov 12, 2020 9:22 am

I forgot: is it possible to correct this in QCAD-macOS so that the behavior is the same like in QCAD-windows?

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

User avatar
andrew
Site Admin
Posts: 9058
Joined: Fri Mar 30, 2007 6:07 am

Re: How to delete multiple layers quickly?

Post by andrew » Thu Nov 12, 2020 10:12 am

TSG wrote:
Thu Nov 12, 2020 9:22 am
I forgot: is it possible to correct this in QCAD-macOS so that the behavior is the same like in QCAD-windows?
As far as I can tell, it is the same as on Windows: You have to choose between keyboard navigation in lists or working shortcuts when operating lists. This is expected behavior.

CVH
Premier Member
Posts: 3468
Joined: Wed Sep 27, 2017 4:17 pm

Re: How to delete multiple layers quickly?

Post by CVH » Thu Nov 12, 2020 11:19 am

Thomas,
From what I can read above the behavior is the same.
Mine was/is not set, unchecked. Typing = command.

Regards,
CVH

TSG
Premier Member
Posts: 337
Joined: Thu Oct 08, 2015 9:39 am
Location: Germany

Re: How to delete multiple layers quickly?

Post by TSG » Thu Nov 12, 2020 2:42 pm

I deleted the QCAD3.ini on both systems and what can I say:
the installations under Windows and macOS behave in the same way.

"Enable keyboard navigation in list widgets" is unchecked:
-> no navigation with arrow keys
-> YR deletes marked layer
-> any other letter doesn't do nothing (I love double negations)

"Enable keyboard navigation in list widgets" is checked:
-> navigation with arrow keys is possible
-> YR does nothing
-> first letter of layer name jumps to that layer

I would prefer if
"Enable keyboard navigation in list widgets" is checked:
-> navigation with arrow keys is possible
-> YR deletes marked layer
-> any other letter does nothing

But there ist still my right click :D

Thomas
Ich will nicht streiten. Ich will nur deutlich machen, dass ich Recht habe und DU NICHT.

Post Reply

Return to “QCAD 'How Do I' Questions”