Bug 299402 - When a tool is minimized the size of the panel is automatically resized
Summary: When a tool is minimized the size of the panel is automatically resized
Status: RESOLVED FIXED
Alias: None
Product: calligracommon
Classification: Applications
Component: usability (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 20:02 UTC by Luca Giambonini
Modified: 2012-05-06 14:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Giambonini 2012-05-04 20:02:47 UTC
When you have different tools opened and you minimize one of them the complite panel is resized automatically. Minimizing the tools dock should not change the size of the panel.

Reproducible: Always

Steps to Reproduce:
1. resize manually the panel (as example enlarge the "Tool Options" in Sheets)
2. minimize the "Add Shape" tool panel
3. all the other panel are resized
Comment 1 Halla Rempt 2012-05-06 14:15:17 UTC
Hi Luca,

We're running into the vagaries of Qt's layout system here, which automatically resizes a docker if the widget that's inside is hidden. It's broken enough that we are considering just removing the minimize button.
Comment 2 Halla Rempt 2012-05-06 14:31:54 UTC
Git commit f5490fd301557c29070be186e1129fa9b34e6cb4 by Boudewijn Rempt.
Committed on 06/05/2012 at 16:30.
Pushed by rempt into branch 'master'.

Do not resize the docker column when collapsing the docker

We keep track of the pre-collapsed titlebar widget width now and use
that in the sizeHint() method.

M  +14   -3    libs/widgets/KoDockWidgetTitleBar.cpp

http://commits.kde.org/calligra/f5490fd301557c29070be186e1129fa9b34e6cb4
Comment 3 Halla Rempt 2012-05-06 14:32:21 UTC
Ha! It was simpler than I originally thought :-)
Comment 4 Luca Giambonini 2012-05-06 14:43:55 UTC
Wow thanks a lot! really fast :-)
If you need a countercheck I can compile it form git otherwise I wait the next release.