Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on/off ALL selected layers with "Space" button #33874

Closed
MrChebur opened this issue Jan 17, 2020 · 1 comment
Closed

Turn on/off ALL selected layers with "Space" button #33874

MrChebur opened this issue Jan 17, 2020 · 1 comment

Comments

@MrChebur
Copy link
Contributor

MrChebur commented Jan 17, 2020

Feature description.
It would be convenient to turn on/off all selected layers by pressing the space bar.

In the layers panel, you can select and deselect a single layer using the "Space" button, but if you select multiple layers, pressing the Space bar turns on / off only one of them.

You can enable / disable selected layers using the “Manage Map Theme” and even create a keyboard shortcut for this, but you need to assign two keys (1 - turn on, 2 - turn off) to perform this action, which is inconvenient.

Additional context
Current behavior while pressing "Space" while few layers are selected:
1

GIS SE question about this issue:
https://gis.stackexchange.com/questions/347754/how-to-turn-on-off-all-selected-layers-in-qgis-3

@m-kuhn m-kuhn closed this as completed in 1dc0800 Apr 3, 2020
m-kuhn added a commit that referenced this issue Apr 3, 2020
 FIX #33874 Turn on/off ALL selected layers with "Space" button
@MrChebur
Copy link
Contributor Author

MrChebur commented Apr 9, 2021

@m-kuhn When implementing this functionality, was it intentionally made so that when you press the spacebar on the selected layer that is in the group - the group layer does not become visible (the same actions, but using the mouse leads to a different result)? #38259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant