GNOME Bugzilla – Bug 572307
N,M,S and T invoke commands in edit mode
Last modified: 2009-04-07 21:00:14 UTC
Reported by Mark Dexter on the mailing list 1. Add a flow chart shape and enter some text. 2. Click on the canvas to deselect the shape. 3. Click on the shape and press F2 to start Edit Text mode. If you enter text other than N,M,S, T and other letters on the Tools menu, you start entering text in the selected shape. However, if you enter any of the letters for Tools menu commands, you invoke that command. Expected result: Text entry of N,M,S,T...
works for me - at least with the classic UI
True - the bug only appears when using the integrated UI. Is there a particular reason why integrated UI and classic UI behave different when it comes to key bindings?
one reason to make them different are the different code pathes used for the menu code. But here it may be a problem with your build - at least I can not reproduce it with the integrated UI, neither on Linux nor on Windows. Can you still reproduce it with a clean build?
It gets even stranger: In my Linux build I could now reproduce it even with the classic UI.
the important information I did not find by reading this bug report but by playing a little longer: apparently the N,M,S and T must be the first letter after entering the text edit mode. But even that seems to be not enough for 100% reproducability. Note: the same effect should also be visible with A,B,C,E,I,L,O,P,R and Z because they are also single letter shortcuts, but I finally found the reason: 2009-03-07 Hans Breuer <hans@breuer.org> * app/textedit_tool.c : ensure the action sensitivity is updated after entering textedit mode. No tool activation by entering text, bug #572307
*** Bug 578256 has been marked as a duplicate of this bug. ***