Bug 362827

Summary: In and out of canvas-only mode, dockers and toolbox act strange
Product: [Applications] krita Reporter: joel.am.smart
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: halla
Priority: NOR    
Version First Reported In: 3.0 Beta   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description joel.am.smart 2016-05-08 20:23:11 UTC
Krita window is maximized on monitor. Configured my workspace with timeline / animation / onion skin dockers on bottom of the page, and toolbox (left margin) stretched to show two columns of tools.  

Windows 10 x64, Krita 3.0 beta.  

Reproducible: Always

Steps to Reproduce:
1. Tab to go canvas-only, tab to come back -> all dockers on the bottom are gone, status bar is gone, toolbox is one long column of tools stretching past the bottom of my screen.

2. Un-maximize ("restore down"?) the Krita window, maximize again, and workspace is back to normal.



Temporary solution:  Disable "Settings" > "Configure Krita" > "Canvas-only Settings" > "Statusbar".  Solves the issue for me.  This prevents the workspace error from happening, but seems like a bug to have to disable this?
Comment 1 Halla Rempt 2016-05-14 13:30:22 UTC
Hi,

If you make the toolbox wider, then maximize krita again, are the bottom dockers back? I.e., are they hidden outside the screen because the toolbox is too tall? If so, it's another duplicated of the old toolbox layout bug. That bug is in Qt, and the only way I can "fix" it is by hard-coding the toolbox to two columns, which some users really don't want...
Comment 2 Halla Rempt 2016-05-24 08:50:19 UTC
Git commit d4fefab045c6d10077d1ca4ecab36b6f2836fb0c by Boudewijn Rempt.
Committed on 24/05/2016 at 08:50.
Pushed by rempt into branch 'master'.

Do not set a minimum size on the toolbox

If there's a minimum size that's bigger than the screen, Krita will
grow outside the screen, confusing users and making life hard. If
the toolbox doesn't fit vertically or horizontall, double the number
of columns or rows until we do fit.

M  +17   -3    libs/widgets/KoToolBox.cpp
M  +1    -0    libs/widgets/KoToolBoxLayout_p.h

http://commits.kde.org/krita/d4fefab045c6d10077d1ca4ecab36b6f2836fb0c