Modify

Opened 2 years ago

Last modified 18 months ago

#12724 new defect

Keyboard shortcuts: Alt-number acts on layers in reverse order

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core shortcuts Version:
Keywords: Cc:

Description (last modified by Don-vip)

Hi. I'm using JOSM 9979 from Debian without any keyboard configuration changes. The "Keyboard shortcuts" says that Alt+1 is "Toggle visibility of layer: 1", Alt+2 is for layer 2 and so on. If the Layers window shows layers

AAA
BBB
CCC

then I observe Alt+1 affecting CCC, Alt+2 affecting BBB and Alt+3 affecting AAA, which is the opposite of how I expect it to work. Note that I can activate layers the way one would expect: Shift-A 1 activates AAA and so on. Thanks.

Build-Name:Debian
Build-Date:2016-03-13 18:06:27
Revision:9979
Is-Local-Build:false
Debian-Release:0.0.svn9979+dfsg-1

Identification: JOSM/1.5 (9979 Debian en) Linux Debian GNU/Linux 8.0 (jessie)
Memory Usage: 324 MB / 864 MB (192 MB allocated, but free)
Java version: 1.8.0_77-Debian-8u77-b03-3-b03, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]

Plugins:
- Create_grid_of_ways (31772)
- apache-commons (31895)
- conflation (0.1.9)
- contourmerge (1014)
- dataimport (31772)
- ejml (31895)
- geotools (31895)
- jts (31772)
- log4j (31895)
- measurement (31895)
- merge-overlap (31967)
- opendata (32139)
- reverter (32005)
- undelete (31895)
- utilsplugin2 (32099)

Last errors/warnings:
- W:  Enforcement: Could not get presets icon vehicle/restriction/speed_camera.svg
- E: Failed to locate image 'nautical/waterway_river.svg'
- W:  Waterway: Could not get presets icon nautical/waterway_river.svg
- E: Failed to locate image 'transport/bridge/bridge.svg'
- W:  Bridge: Could not get presets icon transport/bridge/bridge.svg

EDIT: Reproduced on Windows:

Attachments (2)

josm.status (144.4 KB) - added by anonymous 2 years ago.
12724.png (57.0 KB) - added by Don-vip 2 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 2 years ago by Don-vip

Owner: changed from team to anonymous
Status: newneedinfo

Can you please attach your status report as per newticket? Thanks.

Changed 2 years ago by anonymous

Attachment: josm.status added

comment:2 Changed 2 years ago by dima@…

Status report attached.

comment:3 Changed 2 years ago by Don-vip

Description: modified (diff)
Owner: changed from anonymous to team
Status: needinfonew

Changed 2 years ago by Don-vip

Attachment: 12724.png added

comment:4 Changed 2 years ago by Don-vip

Description: modified (diff)

comment:5 Changed 18 months ago by simon04

I would stick with the current behaviour:

  • Since imagery layers are added at the bottom of the layer list, pressing ALT+1 toggles the lowest imagery layer – independent of the number of data layers.
  • Relating to the screenshot in the description, "Data Layer 2" is added on top of "Data Layer 1". Thus, pressing ALT+1 toggles "Data Layer 1".

comment:6 Changed 18 months ago by anonymous

Two comments:

  1. I almost never have multiple data layers. The layers are always of different types, and the UI should be manipulating them in the order they appear
  1. If you really think that this is the proper behavior, then the layer-activation keys (Shift-A number) should then be changed.

comment:7 Changed 18 months ago by skyper

I prefer to have it simple and while I understand the current behaviour, I still think it would be nicer to start counting at the same spot and not like it is atm start counting data layers from top on and imagery layers from the bottom on. This is confusing.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.