Discussion:
[krita] [Bug 349165] New: Krita's Window not resizing properly, maximize button not working either
m***@gmail.com
2015-06-14 20:45:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Bug ID: 349165
Summary: Krita's Window not resizing properly, maximize button
not working either
Product: krita
Version: unspecified
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: krita-bugs-***@kde.org
Reporter: ***@gmail.com

I am not able to see the bottom part of the window.
The maximize button does not work at all.
When I resize the window, it only works horizontally (left or right) but not
vertically, which does not solve the problem to see the bottom of krita window.

Reproducible: Always

Steps to Reproduce:
1. Open krita, the window does not fit the screen, the bottom part is not
completely shown.
2. Try to maximize the window to fit the screen (it does not work).
3. Try to resize the window, it only works horizontally.


Expected Results:
Fit the screen vertically at launch or at least when maximizing. Window should
be able to be resized properly.

Configuration.
Application: Krita
Version: 2.9.5
OS: Linux (x86_64) release 4.0.5-1-MANJARO
Compiler: cc
--
You are receiving this mail because:
You are watching all bug changes.
Victor Wåhlström
2015-06-15 16:50:06 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Victor Wåhlström <***@initiali.se> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@initiali.s
| |e

--- Comment #1 from Victor Wåhlström <***@initiali.se> ---
Is the toolbox on the left side only one column wide? If so my guess is that
it's preventing the window from resizing vertically since all tools have to
fit. Can you try resizing the toolbox itself so it fits more tools
horizontally, then resize again?

If that works, this bug was likely fixed by commit
dfb4ad6d837345b06d54c8fe217286574a3ed624

Could you try this with the latest git version? You may also need to clear your
kritarc file, since it likely saved the bad UI layout.

The kritarc file should be located under ~/.kde/share/config/kritarc. If you
use a fairly recent version of Krita you can also reset the config by holding
ctrl+alt+shift during startup.
--
You are receiving this mail because:
You are watching all bug changes.
Sven Langkamp
2015-06-15 17:57:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Sven Langkamp <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #2 from Sven Langkamp <***@gmail.com> ---
The toolbox can have any size. Most likely you have more dockers open than fit
on your screen, which is a known problem with Qt. Try to close some and
maximize again.
--
You are receiving this mail because:
You are watching all bug changes.
m***@gmail.com
2015-06-15 18:24:42 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

--- Comment #3 from ***@gmail.com ---
Many thanks for the hint Victor! It was exactly that and it worked as you said.
It would be nice if instead of "blocking" the maximize/resize capabilites this
bar gets automatically resized (to 2 or more columns) if the user resizes or
maximizes the window. Otherwise it is not user friendly, since another user not
so curious might give up on the program, if he/she consideres it as buggy.
Anyway, thanks you both for your prompt response!
--
You are receiving this mail because:
You are watching all bug changes.
Victor Wåhlström
2015-06-15 22:43:09 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Victor Wåhlström <***@initiali.se> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CONFIRMED
Ever confirmed|0 |1

--- Comment #4 from Victor Wåhlström <***@initiali.se> ---
Agreed. I suspect making it behave like that may be a bit tricky, but let's
formalize this bug as "make the toolbox reflow its layout if the user attempts
to resize the height of the window".

To test if this bug has been fixed, resize the toolbox to be as thin as
possible, i.e. one column, then try to resize the window's height. If no other
widget is blocking the resize attempt, the toolbox should change its width to
accommodate.
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt
2015-06-20 07:29:27 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Boudewijn Rempt <***@valdyas.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #5 from Boudewijn Rempt <***@valdyas.org> ---
*** Bug 346076 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt
2015-06-20 07:30:24 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

--- Comment #6 from Boudewijn Rempt <***@valdyas.org> ---
Fixing this is pretty hard, due to the toolbox layout class that was written
ages and ages ago. It doesn't take into account the available desktop size at
all :-( Check KoToolBoxLayout::setGeometry.
--
You are receiving this mail because:
You are watching all bug changes.
Victor Wåhlström
2015-06-20 11:49:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

--- Comment #7 from Victor Wåhlström <***@initiali.se> ---
I don't have a lot of time to look at it this and next week, but I would very
much like to give it a shot. I'll leave the bug unassigned in case someone
wants to tackle it before me. I'll grab it when I have time to poke it.
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt
2015-08-18 13:23:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Boudewijn Rempt <***@valdyas.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@alexgleason.me

--- Comment #8 from Boudewijn Rempt <***@valdyas.org> ---
*** Bug 345524 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt
2015-08-18 13:23:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

--- Comment #9 from Boudewijn Rempt <***@valdyas.org> ---
Victor,

Did you manage to look into this?
--
You are receiving this mail because:
You are watching all bug changes.
Victor Wåhlström
2015-08-19 05:39:40 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Victor Wåhlström <***@initiali.se> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|krita-bugs-***@kde.org |***@initiali.s
| |e

--- Comment #10 from Victor Wåhlström <***@initiali.se> ---
Sorry, not yet. Spare time has been in short supply lately.

I'll take the bug so I don't forget, but I probably won't have time to work on
it until next month. If anyone wants to tackle this before then, feel free to
take it from me. :)
--
You are receiving this mail because:
You are watching all bug changes.
zottg via KDE Bugzilla
2016-01-28 21:59:01 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

zottg <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #11 from zottg <***@gmail.com> ---
Something similar is happening on the 3.0 alpha on Windows 10.

When I try to resize vertically, the window sizing is super sensitive. So just
moving my mouse down a little (a few pixels) causes the window to shift off the
screen. I'm not sure if it's shifting off screen or just resizing so fast that
the window's top position falls of the bottom of the screen.
--
You are receiving this mail because:
You are watching all bug changes.
zottg via KDE Bugzilla
2016-01-29 06:54:00 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

--- Comment #12 from zottg <***@gmail.com> ---
Some clarification on the behavior on 3.0 alpha.

It seems that Krita thinks it's starting in full screen mode, but the UI is
clearly not displayed as such. It appears like another window.

If you try to resize the window, you get odd behavior, as described in
https://bugs.kde.org/show_bug.cgi?id=349165#c11

If you try to move the window, it doesn't work.

If you double click the title bar to max/min the window, the window won't
change, but the min/max icon on the top right (in MS Windows) will change to
reflect that it's now in window mode.

Now the window can be moved and resized without any odd behavior.

If you close Krita now and reopen, everything will be fine.

If you close Krita while it's maximized and reopen, this bug will happen again.
--
You are receiving this mail because:
You are watching all bug changes.
zottg via KDE Bugzilla
2016-01-29 06:54:42 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

--- Comment #13 from zottg <***@gmail.com> ---
*** Bug 358146 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt via KDE Bugzilla
2016-03-19 12:08:49 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Boudewijn Rempt <***@valdyas.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|***@initiali.s |krita-bugs-***@kde.org
|e |
--
You are receiving this mail because:
You are watching all bug changes.
Boudewijn Rempt
2017-11-27 10:41:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=349165

Boudewijn Rempt <***@valdyas.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |UPSTREAM
Status|CONFIRMED |RESOLVED
CC| |***@valdyas.org

--- Comment #14 from Boudewijn Rempt <***@valdyas.org> ---
The full-screen setting got fixed this week in

commit 2087392f65318aa4edacafba3d9d35244146787a
Author: Jouni Pentikäinen <***@gmail.com>
Date: Tue Nov 21 15:48:51 2017 +0200

Fix fullscreen checkbox state on startup

BUG: 384108


The other issues are pretty much beyond us now, we have to accept the
limitations of the development framework.
--
You are receiving this mail because:
You are watching all bug changes.
Loading...