GNOME Bugzilla – Bug 527565
Tool Keyboard shortcuts broken
Last modified: 2009-01-31 14:50:36 UTC
This came up on the mailing list: Not all of the keyboard shortcuts are working right now. For example: Shift + Alt + M for the Magnify tool. Reproduced on Windows and Linux
It is working fine for me with the "classic theme" (no menubar, no integrated GUI). Some information regarding he Gtk+ version used may also help.
GTK+ 2.12.0 Problem exists with or without Integrated UI.
it does _not_ work for me only with the integrated ui (now checked on Linux as well)
actually, Ctrl+Alt+M reliably crashes dia for me on hardy. Many keyboard shortcut actions seems to crash dia here. Same of them reliably, others not. https://bugs.launchpad.net/ubuntu/+source/dia/+bug/256519
Can't make it crash with the very same version. Strange thing is: alt-shift-M does not work after starting with "Use menu bar" (the default). It starts to work after switching off the menu bar. It remains to work when switching on the menu bar again in the same session. Seems there is something not properly initialized for the display creation with use menu bar (or integrated).
bug #547173 adds a more detail description (select two objects, alt-shift-M) which does not crash on me either. But it shows a possible further problem: the two objects are aligned to middle, i.e. Tools/Magnify and Objects/Align/Middle are sharing the same shortcut.
sharing the same shortcut may be fine because Objects/Align/Middle does only work with a selection of objects, switching to Magnify could be enabled for the other cases ...
(In reply to comment #7) > sharing the same shortcut may be fine because Objects/Align/Middle does only > work with a selection of objects, switching to Magnify could be enabled for the > other cases ... Then again, it could have something to do with the problem the OP is experiencing. Both commands being assigned the same shortcut not only likely leads to confusion, but it is also not possible to magnify with a shortcut when two objects are selected.
*** Bug 558222 has been marked as a duplicate of this bug. ***
part of the problem is app/interface.c:1715 /* TODO: integrated-UI --> Figure out how to deal with updateable menu items!!! menus_initialize_updatable_items (&ddisp->updatable_menu_items, ddisp->actions); */ but there are more issues - all that ui-manager code is crying for a cleanup
2009-01-31 Hans Breuer <hans@breuer.org> * app/display.[ch] app/diagram.[ch] app/menus.[ch] : get rid of nearly unmaintainable UpdatableMenuItems and a lot of ui-variant-specific code by dynamic action lookup when updating sensitivity. This not only fixes bug #527565 but also bug #322190 and allows ... * app/interface.c : make Tool accelerator single key strokes - e.g. no more <alt><shift>L to draw a line but just "L" - another benefit of the dedicated test edit mode ;) - bug #439854.