Editor: Second alternative tool needs different access key
Bug #1395322 reported by
GunChleoc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
In Ubuntu, Alt is grabbed by the window manager, so the second alternative tool in the editor can't be accessed. So, we need a different access key here. Maybe ALT GR or MODE would do the trick?
Related branches
lp:~widelands-dev/widelands/bug-1395322-tool3
- kaputtnik (community): Approve (testing)
- GunChleoc: Needs Resubmitting
-
Diff: 1161 lines (+301/-605)11 files modifieddata/scripting/editor/editor_controls.lua (+16/-9)
src/editor/editorinteractive.cc (+6/-0)
src/editor/tools/set_port_space_tool.cc (+1/-1)
src/editor/ui_menus/tool_change_height_options_menu.cc (+56/-159)
src/editor/ui_menus/tool_change_height_options_menu.h (+7/-13)
src/editor/ui_menus/tool_change_resources_options_menu.cc (+89/-173)
src/editor/ui_menus/tool_change_resources_options_menu.h (+12/-15)
src/editor/ui_menus/tool_noise_height_options_menu.cc (+99/-221)
src/editor/ui_menus/tool_noise_height_options_menu.h (+10/-14)
src/ui_basic/spinbox.cc (+1/-0)
src/ui_basic/spinbox.h (+4/-0)
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have to admit I haven't used the editor much, so I don't know much about this feature, but it was never clear to me what alt+click was supposed to do. (Plus I'm also running Ubuntu, so apart from moving the window about experimenting with it didn't yield much.)
Clicking places things, shift+click usually removes it again so those two are straight-forward. The editor tips includes this little hint: "Holding down ALT switches the second alternative tool on (if it exists)." So presumably, it is not available for all types/tools. Which type(s) is available for, and is it the same functionality offered for all these?
I think it will be easier to discuss this if we have a clear idea of what the functionality is supposed to provide and then we can look at how we can achieve this.
PS. Off-topic: Not familiar with the MODE key either, is this some alias along the lines of SUPER/windows key?