Opened 15 years ago

Last modified 3 years ago

#5515 reopened enhancement

Shortcuts for activating and showing/hiding layers — at Version 1

Reported by: AlfonZ Owned by: team
Priority: normal Milestone:
Component: Core shortcuts Version:
Keywords: layer shortcut Cc: stefanct, chriswhy

Description (last modified by PJHouser)

I'd like to activate, show & hide layers using just keyboard shortcuts.

I have prepared a patch that creates shortcuts for this.
There will be 10 shortcuts for activating and 10 shortcuts for showing/hiding layers.
At first I thought to assign them to CTRL-1 to CTRL-0 and CTRL-SHIFT-1 to CTRL-SHIFT-0, but I wasn't sure if that's the right choice so I left them unassigned and user has to configure them in preferences.
Layers will be index-referenced. Does anybody use more than 10 layers at once?

This is my first patch for JOSM, so it needs proper review, especially shortcut names and texts for translation. Any feedback is welcome.

Change History (2)

by AlfonZ, 15 years ago

Attachment: LayerShortcuts.diff added

patch

comment:1 by PJHouser, 14 years ago

Description: modified (diff)

Ability to toggle between layers exists in the latest version 4542, but the ability to activate different layers with keyboard shortcuts does not seem to exist yet. This would be extremely handy because I regularly layer different datasets to update OSM, and switching between mouse and shortcuts is frustrating.

Note: See TracTickets for help on using tickets.