Bug 294601

Summary: Stretching the toolbox in width makes some tools unusable/ clickable
Product: [Applications] krita Reporter: nadja-krakow
Component: ToolsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 2.4

Description nadja-krakow 2012-02-22 09:16:20 UTC
Version:           2.4-snapshots (using Devel) 
OS:                MS Windows

I stretched the toolbox in width and then the perspective grid, ruler and grid where no longer clickable, stretching it back to original size made them clickable again

Reproducible: Always

Steps to Reproduce:
Stretch the toolbox in width


Expected Results:  
Let all tools be clickable
Comment 1 Halla Rempt 2012-02-22 09:22:12 UTC
Hi Nadja,

Thanks for your report -- I can indeed confirm the bug. Now we only have to figure out what's going on here... It also happens on Linux.
Comment 2 Friedrich W. H. Kossebau 2012-03-30 12:08:04 UTC
Git commit c2a3e785dbb15b90a569722a8af415eff03520c6 by Friedrich W. H. Kossebau.
Committed on 30/03/2012 at 14:06.
Pushed by kossebau into branch 'master'.

Fixes: broken calculation of toolbox layout

* last button with multiple sections on row was cut off at end (spacing ignored)
* separators could appear on the top side of the toolbox
* also makes 294601 disappear
  (unsure why, could be due to too wide section widgets, let's just assume its gone for now)

REVIEW: 104432
FIXED-IN: 2.5 Alpha 2

M  +38   -45   libs/main/KoToolBoxLayout_p.h

http://commits.kde.org/calligra/c2a3e785dbb15b90a569722a8af415eff03520c6
Comment 3 Friedrich W. H. Kossebau 2012-03-30 14:14:12 UTC
Git commit 4f3b17e0ea02b2174851ec049ce9c77ce14b8520 by Friedrich W. H. Kossebau.
Committed on 30/03/2012 at 16:12.
Pushed by kossebau into branch 'calligra/2.4'.

Fixes: broken calculation of toolbox layout

* last button with multiple sections on row was cut off at end (spacing ignored)
* separators could appear on the top side of the toolbox
* also makes 294601 disappear
  (unsure why, could be due to too wide section widgets, let's just assume its gone for now)

REVIEW: 104432
FIXED-IN: 2.4

M  +38   -45   libs/main/KoToolBoxLayout_p.h

http://commits.kde.org/calligra/4f3b17e0ea02b2174851ec049ce9c77ce14b8520