Opened 15 months ago
Last modified 9 months ago
#7449 new enhancement
Support shortcut schemas
| Reported by: | akks | Owned by: | akks |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | latest | Keywords: | shortcuts |
| Cc: | stoecker |
Description
After normalizing shortcuts we have some free keys and some little disappointed advanced users :)
I propose to add shortcut schema support to JOSM (like NetBens, VisualStudio, etc.) so every heavy mapper can change shortcuts and save them to some file (to load later when he need it).
Here is a patch (alpha-version with some problems), so everyone can help improving its design and logic.
Attachments (1)
Change History (13)
Changed 15 months ago by akks
comment:1 Changed 15 months ago by akks
- Summary changed from [alpha PATCH] Supprort shortcut schemas to [alpha PATCH] Support shortcut schemas
comment:2 Changed 15 months ago by akks
comment:3 Changed 15 months ago by akks
- Cc stoecker added
- Version set to latest
comment:4 Changed 15 months ago by stoecker
Actually I don't like this at all. Usually only a few hardcore users complain, but majority of users uses only few shortcuts. Adding a feature like this prevents stabilization of the situation. Result will probably be forum entries like "Download this file to get proper shortcuts" and newbies will assume this is really a good idea and do so. And then again we have different sets of shortcuts and no improvement over the situation in the past.
With the current preferences the hardcore users can change their settings, but wont affect any others.
comment:5 follow-ups: ↓ 6 ↓ 8 Changed 15 months ago by akks
It can be really convenient to have different mappings for different situations (working with country-specific cadastre, etc.).
Now you can not even transfer your shortcuts conveniently to different computer (copy-paste fragments of preferences.xml?)
Maybe we should skip this release to stimulate working with default shortcuts, but the feature is useful in principle, I think (maybe invisible for non-experts).
comment:6 in reply to: ↑ 5 Changed 15 months ago by skyper
Replying to akks:
It can be really convenient to have different mappings for different situations (working with country-specific cadastre, etc.).
I use different preferences diretories for different situtations. You probably do not just want different key mappings but also different plugins and other settings. This way you can just create a start file for every situation.
It is even possible to use the same cache by setting the path in preferences.xml
Now you can not even transfer your shortcuts conveniently to different computer (copy-paste fragments of preferences.xml?)
I had no problems with my preferences directory on an usb pen drive. Tested with Debian and Ubuntu and josm.jars from homepage.
comment:7 Changed 15 months ago by anonymous
Why does Netbeans and other IDEs have this feature? Maybe they are too big to copy)
comment:8 in reply to: ↑ 5 Changed 15 months ago by stoecker
Replying to akks:
It can be really convenient to have different mappings for different situations (working with country-specific cadastre, etc.).
Now you can not even transfer your shortcuts conveniently to different computer (copy-paste fragments of preferences.xml?)
This is true for a lot of other settings as well. There is already a ticket ##4421 for a regedit-like interface, which allows to load partial configuration sets. If you want to implement this, go on. :-) The file should use JOSM's XML preference format and not a CSV.
Maybe we should skip this release to stimulate working with default shortcuts, but the feature is useful in principle, I think (maybe invisible for non-experts).
This would be a simple extension to system of #4421 by defining a "shortcut" subset of preference-keys to export.
comment:9 Changed 15 months ago by akks
This (#4421) looks really good. I almost started to implement remote-control operations for preferences modification, but this is better...
I feel I can implement it. But then we will add separate button on shortcuts panel for this, OK? :)
comment:10 Changed 15 months ago by simon04
Just to clarify the status of this ticket: This is a wontfix?
comment:11 Changed 15 months ago by akks
This will be supported by #4421 configuration files and API.
Do we need buttons save/load buttons, selection combobox or context menus in shortcut preferences - should be discussed.
comment:12 Changed 9 months ago by stoecker
- Summary changed from [alpha PATCH] Support shortcut schemas to Support shortcut schemas



@stoecker: Do you think this should be finished before tested release (to give users ability to create customization files after shortuts remapping)?