After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567333 - Using tab to toggle docked "utility windows" does not bring focus back to GIMP image window
Using tab to toggle docked "utility windows" does not bring focus back to GIM...
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.8.2
Other Windows
: Normal minor
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
: 579264 739726 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-01-11 06:33 UTC by Ryto
Modified: 2014-12-26 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ryto 2009-01-11 06:33:00 UTC
This problem occurs on Windows Vista Home Premium with SP1.

Upon pressing Tab to make the (previously hidden with the Tab key) docks reappear, the focus moves to one of the docks (in my case, the Layers, Channels, Paths, Undo - Brushes, Patterns, Gradients dock seems to be the usual suspect).  I would expect the focus to remain on the main window.

When using the Tab key to toggle the visibility of docked "utility windows", the focus should remain with the main (image) window instead of jumping to a restored dock.

Other information:
Comment 1 Michael Schumacher 2009-01-12 16:24:35 UTC
Yep. Seems to happen on the Windows platform, at least.
Comment 2 Michael Schumacher 2009-04-17 11:20:43 UTC
*** Bug 579264 has been marked as a duplicate of this bug. ***
Comment 3 Konstantin Mochalov 2009-04-17 19:12:18 UTC
2.6.6 on Linux does not have this problem, but has one minor problem: Bug 579333.
Comment 4 Max Mustermann 2012-09-09 13:20:22 UTC
Confirming this for GIMP 2.8.2 Win7, 32 bit in the well-know multi-window mode. 
A workaround for the new GIMP 2.8 and newer is the new single-window mode. You can toggle it in the Windows menu and it works immediately.
Does this help you and can thus the bug be closed? Your answer within the next 6 weeks is appreciated. Thank you.
Comment 5 Konstantin Mochalov 2012-09-11 08:56:31 UTC
Yes, single window mode has no such problem. And toggling toolboxes with tab also works in this mode. Tried in 2.8.0.
Comment 6 Michael Natterer 2014-10-29 22:44:52 UTC
This should fix it, in master and 2-8. Please reopen if it's still broken.

commit ed7896a8387760c7a540b86182a087a519b3e4af
Author: Michael Natterer <mitch@gimp.org>
Date:   Wed Oct 29 23:30:45 2014 +0100

    Bug 567333 - Using tab to toggle docked "utility windows" does not...
    
    ...bring focus back to GIMP image window
    
    When showing docks in multi-window-mode, try to set the keyboard focus
    back to the active display because it might have been stolen by a dock.
    
    (cherry picked from commit 225a0ce27c5b878edf9f8c3f5cae15bcf474259e)

 app/display/gimpimagewindow.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Comment 7 Michael Schumacher 2014-12-26 14:05:53 UTC
*** Bug 739726 has been marked as a duplicate of this bug. ***