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 602223 - Can't hide docks with Tab in single-window mode
Can't hide docks with Tab in single-window mode
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: User Interface
2.7.0
Other Linux
: Normal normal
: 2.8
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-11-17 17:53 UTC by krzysztof pijarski
Modified: 2010-04-01 18:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description krzysztof pijarski 2009-11-17 17:53:09 UTC
I don't know if this is planned and/or connected to the new options to integrate the toolbox/docks into the main window, but the possibility to hide them with TAB I would consider essential, please don't remove it!
Comment 1 Martin Nordholts 2009-11-17 18:35:52 UTC
Yes, tab will work also in single-window mode, it's just not implemented yet. I'll use this bug report as a reminder. Putting on the 2.8 milestone list.
Comment 2 Martin Nordholts 2010-02-24 18:52:59 UTC
The main functionality is in place, but I'll keep this report open until the flicker problem is fixed:

commit 18f3be6bd3438c828648a93174595ebd3f4a632c
Author: Martin Nordholts <martinn@src.gnome.org>
Date:   Tue Feb 23 20:21:08 2010 +0100

    Bug 602223 - Can't hide docks with Tab in single-window mode
    
    Add a "hide-docks" config and connect the Windows->Hide docks menu
    item to it. Also connect the image window to the config property so it
    can hide/show its docks when it needs to.
    
    Also add and use a utility function
    gimp_image_window_keep_canvas_pos() to ensure that the image in the
    window remains fixed when toggling visiblity of docks. One problem:
    When GimpDrawTool is active on the canvas, there is flicker. The end
    position is correct though.
    
    Also add regression testing for this fix to test-ui.c
Comment 3 Martin Nordholts 2010-02-25 21:22:41 UTC
This gets rid of the severe flickering, but before I close this bug report I want to make the layer and selection boundaries depend on the image offset into the window rather than the image offset into the display shell, to get rid of that flicker too while toggling visibility of docks.

commit ed5830fb7b7657232315f7c54385cc3aee32d911
Author: Martin Nordholts <martinn@src.gnome.org>
Date:   Thu Feb 25 21:37:02 2010 +0100

    app: Pause tool drawing while hiding docks in single-window mode
    
    Freeze the active tool until the UI has stabilized. If it draws while
    we hide widgets there will be flicker. See bug 602223.
Comment 4 Martin Nordholts 2010-03-07 11:27:33 UTC
Correction: The boundaries should not depend on the image offset into the display shell, but rather the offset from the image origin, so that when panning an image the layer boundary would remain fixed. This would also get rid of the flicker when toggling docked dock visibility.

This is a detail however, and I'm not sure it would be worth the effort. I might fix it later, but I want to close this as FIXED now anyway.
Comment 5 Kurt Pruenner 2010-04-01 08:38:32 UTC
Does this also allow us to assign a different key to hide the docks? Because in Windows hitting TAB after showing the docks in 2.6.x and adjusting things in them always tabbed through the controls instead of re-hiding them as the dock had the keyboard focus, which is a rather big pain...
Comment 6 Sven Neumann 2010-04-01 18:17:33 UTC
Kurt, that focus problem is a bug then that needs to be fixed instead of being worked around.