| Summary: | No option to maximize krita on every start of the program | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Darko <darko.baruh> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | darko.baruh, halla, kde |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.1 | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Ubuntu based) | ||
| OS: | Linux | ||
| URL: | https://www.filepicker.io/api/file/rB442Kn0QHayEcfm0VoQ | ||
| Latest Commit: | http://commits.kde.org/calligra/a60168538b716182fadc4d4dccfc9b145393d45e | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Screenshot of the problem
Fix Geometry Restoration when starting up |
||
|
Description
Darko
2015-03-22 18:38:51 UTC
Created attachment 91701 [details] Screenshot of the problem Another screenshot of the problem https://www.filepicker.io/api/file/uB0lvY0iQn7bBPYhqQbg Hi Darko, Thanks for your report. The problem seems to be that the toolbox doesn't keep its 2-column setting even if the screen's resolution is too small. I see the same happening on my laptop, so I can confirm the bug. I think 2.9.0 was fine... Created attachment 91721 [details]
Fix Geometry Restoration when starting up
This patch puts the geometry restoration at the end of the event loop, causing the workspace to be correctly restored. While this doesn't solve the "no maximze"-issue itself, it shouldn't be a problem anymore once you have manually resized the toolbox to the desired width.
Today I rearanged my workspace and save it. Later a opened Krita to continue my work and everything was fine. So if the work space its saved and its stay like that (not changing it to default settings) I have maximized window all the time when I open Krita and before I open a doc or a new canvas. Screenshot: https://www.filepicker.io/api/file/onwGyUGS5Gvd8qpHVRJ5 @Darko: Your workspace setup obviously isn't an issue because you have the brush preset docker above the toolbox. When the window is created, the geometry is restored _before_ the layout manager ran. Then when the layout manager does its work, it tries to expand the canvas to its maximum size, pushing the dockers around it to the sides. For the toolbox this means (if it is alone at the side) that it will be set to its minimum width (1 column). That in turn causes the window to get as tall as necessary to show all the icons in there. The problem on smaller screens is that the window's minimum height is now taller than the sceen's height. Depending on the window manager, the maximize button disappears or doesn't know what to do with the window when pressing it in that case. After applying the patch I posted, the workspace is restored after the layout manager ran, meaning that e.g. a two column toolbar stays as two columns after a restart etc. @mmolch , thank you, Ill apply the patch. cool! please push the patch to calligra/2.9 :-) Today I started from scratch. I installed cinnamon 17.1 and after the fresh install and update I installed krita with dimula ppa ( there is a problem with the new kda ppa on the official web site of krita because is installing 2.8.5 version.) All went fine except Krita icon in the menu, but I fixed that. Every time I opened krita I didnt had problem with the bug here ( maximize missing). After everything else installing and two programs uninstalling I went to In the lower left corner of the Synaptic window, clicked on the button Status. Then, in the upper left corner, clicked the following line: Not installed (residual config) To my understanding here are files (leftovers) from uninstalled apps. I saw caligra libs and marked for deleting. After restarting my pc I got the same problem-bug with the maximizing. So probably that caligra libs were the key. But why the system is marking them as "Not installed (residual config)"? Git commit a60168538b716182fadc4d4dccfc9b145393d45e by Boudewijn Rempt. Committed on 27/03/2015 at 14:29. Pushed by rempt into branch 'calligra/2.9'. M +1 -1 krita/ui/KisMainWindow.cpp M +1 -0 krita/ui/KisMainWindow.h http://commits.kde.org/calligra/a60168538b716182fadc4d4dccfc9b145393d45e |