On 9/10/07, Maximilian Albert <Anhalter42@...173...> wrote:
Hi,
some time ago I thought it would be nice if dialogs could be _toggled_ (as opposed to only be shown) by their corresponding keyboard shortcuts. This is especially true with the new dockable dialogs (great improvement, by the way, in case I haven't mentioned it yet :)) because they don't respond to Ctrl+W any more so that they closing them is only possible by using mouse clicks, not the keyboard alone.
I'm still not convinced about the toggle behavior. Yes, Ctrl+W does not work - but this only means it should be fixed :) Similarly, the code must be fixed to move keyboard focus to the dialogs when you call them, and to move it back to the canvas when you press Enter in a field or click a button (there's a special callback for that which I added long long ago, but currently it fails because the docked dialog is not a top-level window).
After this is fixed, working with dialogs will be much the same as before:
strl+shift+f open dialog or give it focus if already open
strl+shift+f ctrl+w close specific dialog
F12 show/hide all dialogs (still works, and even hides dock!)