Modify

Opened 10 years ago

Closed 6 years ago

#12724 closed defect (duplicate)

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 10 years ago.
12724.png (57.0 KB ) - added by Don-vip 10 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 by Don-vip, 10 years ago

Owner: changed from team to anonymous
Status: newneedinfo

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

by anonymous, 10 years ago

Attachment: josm.status added

comment:2 by dima@…, 10 years ago

Status report attached.

comment:3 by Don-vip, 10 years ago

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

by Don-vip, 10 years ago

Attachment: 12724.png added

comment:4 by Don-vip, 10 years ago

Description: modified (diff)

comment:5 by simon04, 9 years ago

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 by anonymous, 9 years ago

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 by skyper, 9 years ago

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.

comment:8 by mdk, 6 years ago

Is this still a problem since the layer shortcuts are shown in square brackets (but only in expert mode)?

comment:9 by Don-vip, 6 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #17221.
For me, no longer a problem.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.