Modify

Opened 4 years ago

Closed 10 months ago

Last modified 10 months ago

#16158 closed enhancement (fixed)

Enhance keyboard consistency on macOS

Reported by: dieterdreist Owned by: simon04
Priority: normal Milestone: 21.04
Component: Core shortcuts Version: latest
Keywords: CTRL command key macos keyboard javabug Cc:

Description (last modified by dieterdreist)

I know this is a topic which already was discussed some years ago, but the current situation is really confusing for every mac user, because of the strange keyboard implementation.

Usually on a mac there are 2 possibilities when using software: the author has taken special care for mac users and the Command ⌘ key is mapped to mac standards (e.g. ⌘+c for copy), or they haven't and you will use the CTRL key.
The strange behaviour of JOSM is that some actions are mapped to command, e.g. copy an object is ⌘+c, paste tags is ⌘+SHIFT+v, undo is ⌘+z, and most key combinations (according to the preferences it is all custom combinations), but unfortunately there are still a few which aren't:

For example to copy text in forms, like tag values, you must use CTRL+c, to cut CTRL+x, to paste text CTRL+v, to select all text CTRL+a, to rotate objects CTRL+SHIFT, to scale CTRL+ALT, and maybe there are some more.

This mixed behaviour, especially the CTRL+c to copy text is extremely unusual and even after many years of intensive JOSM use still hits me from time to time.

Attachments (0)

Change History (14)

comment:1 Changed 4 years ago by dieterdreist

For reference, this is a list of default OSX shortcuts, you can see that "CTRL" isn't used on macs (you use it only in the terminal, or to use terminal commands in input fields, like CTRL+a to jump to the start of the line).

comment:2 Changed 4 years ago by dieterdreist

Description: modified (diff)

comment:3 Changed 4 years ago by Don-vip

Status report from #16157:

Identification: JOSM/1.5 (13595 en) Mac OS X 10.13.3
OS Build number: Mac OS X 10.13.3 (17D102)
Java version: 1.8.0_144-b01, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM

comment:4 Changed 4 years ago by Don-vip

Keywords: javabug added
Owner: changed from team to dieterdreist
Status: newneedinfo

Can you please check with Java 10?

comment:5 Changed 4 years ago by dieterdreist

I can now confirm the situation is the same with java10:

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2018-04-08 14:43:17 +0200 (Sun, 08 Apr 2018)
Revision:13609
Build-Date:2018-04-09 01:32:11
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (13609 en) Mac OS X 10.13.4
OS Build number: Mac OS X 10.13.4 (17E199)
Memory Usage: 308 MB / 2048 MB (90 MB allocated, but free)
Java version: 10+46, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 188875522 1920x1080, Display 458628992 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-Dsun.java2d.opengl=true]
Dataset consistency test: No problems found

comment:6 Changed 4 years ago by Don-vip

Owner: changed from dieterdreist to team
Status: needinfonew

comment:7 Changed 4 years ago by Don-vip

Keywords: macos added; osx mac removed
Summary: Enhance keyboard consistency on OS-X / Mac OSEnhance keyboard consistency on macOS

comment:8 Changed 10 months ago by simon04

Milestone: 21.04
Owner: changed from team to simon04
Status: newassigned

comment:9 Changed 10 months ago by simon04

In 17775/josm:

see #16158, fix #20759 - Command+C to copy tags from properties dialog does not work on macOS

comment:10 Changed 10 months ago by simon04

In 17776/josm:

see #16158 - Use Command+Enter for main dialog action on macOS

comment:11 Changed 10 months ago by simon04

In 17777/josm:

see #16158 - DownloadDialog: fix parsing bounds on Command+V on macOS

comment:12 Changed 10 months ago by simon04

In 17779/josm:

see #16158, fix #12856 - Keyboard shortcuts for zoom out/in not working on macOS

Remove Shortcut.registerSystemShortcut for "view:zoomin" and "view:zoomout"

Ref: https://support.apple.com/en-us/HT210978

comment:13 Changed 10 months ago by simon04

Resolution: fixed
Status: assignedclosed

comment:14 Changed 10 months ago by skyper

Component: CoreCore shortcuts

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.