Bug 344429 - Docker does not remember position after restart
Summary: Docker does not remember position after restart
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-21 18:21 UTC by Tyson Tan
Modified: 2016-03-19 09:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Customized dockers position after restart (155.00 KB, image/png)
2015-02-21 18:26 UTC, Tyson Tan
Details
Freed dockers going out of the window (205.25 KB, image/png)
2015-02-22 11:02 UTC, Tyson Tan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyson Tan 2015-02-21 18:21:58 UTC
Krita 2.9 does not remember the position of dockers. After a restart, all dockers are resized to the minimum width. Layer docker has much wider minimum width because of the icons, and it locates in the right column, therefore I never noticed this bug.

Reproducible: Always

Steps to Reproduce:
1. Drag Layer docker out of the right docker column or just close it;
2. Restart Krita;

Actual Results:  
Right column becomes very narrow, each of the docker's vertical and horizontal position changes. Lock does not help this.
Comment 1 Tyson Tan 2015-02-21 18:26:18 UTC
Created attachment 91202 [details]
Customized dockers position after restart
Comment 2 Halla Rempt 2015-02-21 18:28:39 UTC
well, yes... I don't actually see the height changing much, but as for the width: I'm not sure we can actually do something about it. The width of the docker is determined by the size of the widgets, and that's really hard to override.
Comment 3 Tyson Tan 2015-02-21 20:44:33 UTC
About the height problem. Before I restarted Krita:
1) Specific Color Selector was as long as the Color Slider docker. But now it's super long.
2) Tools docker was only long enough to accomodate all the icons.
3) Tool Options docker took 2/3 of the window's height.
4) Positions is different between an empty window and what when a document is opened, as well.

Not a big problem,  but it still makes customized dockers somewhat less streamlined and unpredictable. Hopefully we can find a solution someday.

Workaround:
Undock the dockers, so their positions and sizes can be remembered.
Comment 4 Tyson Tan 2015-02-22 11:02:29 UTC
Created attachment 91213 [details]
Freed dockers going out of the window

Even when I undocked all dockers, their position will go up every so slightly on every restart. Eventually some of them hit the upper boundary of the screen and the lower ones stacks on them.
Comment 5 Halla Rempt 2015-02-22 16:08:30 UTC
I'm afraid that that is also out of our hands -- it's something Qt and the windowmanager manage together...
Comment 6 Halla Rempt 2016-03-19 09:46:11 UTC
I'm sorry, but I have to close this issue as resolved/upstream. We cannot fix issues with Qt's docker system :-(