Bug 442051 - Buttons with different heights
Summary: Buttons with different heights
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: 5.0.0-beta1
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-05 19:06 UTC by keyth_qcfx2
Modified: 2021-09-27 13:46 UTC (History)
3 users (show)

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


Attachments
Screenshots of the UI flickering in comparisson to each other (586.11 KB, application/x-krita)
2021-09-10 15:28 UTC, keyth_qcfx2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description keyth_qcfx2 2021-09-05 19:06:46 UTC
SUMMARY
When using the Manage Resource Libraries from Krita 5 and you active or deactivate the buttons have different sizes.

STEPS TO REPRODUCE
1. Open "Manage Resource Libraries"
2. Press activate or deactivate

OBSERVED RESULT
https://krita-artists.org/uploads/default/original/3X/e/7/e7ec55ad3016987fbf087cc6f51bffa9bd87530e.gif

EXPECTED RESULT
UI not to flicker by shifting buttons around


SOFTWARE/OS VERSIONS
Windows: 10
Qt Version: 5.12
Comment 1 tomtomtomreportingin 2021-09-05 19:21:54 UTC
Can't reproduce in the appimage nor on my own compilation, maybe Windows-only issue? Changing the interface's width doesn't seem to cause it, nor does having enough bundles to activate a scrollbar.
Comment 2 keyth_qcfx2 2021-09-06 17:55:39 UTC
It happens to me with any amount of bundles or just the basic bundles that are undeletable. Resizing the UI is not needed to happen. There is not a scrollbar present if you look at the gif as the list size is smaller than the container.

This is happening with how Krita is swapping the buttons in the UI I believe. there is a mismatching number between them (min and max) or perhaps the scaling method, that changes behavior when one of them leaves the spot. That or worse it fixed the font size and fonts in Linux and Windows have different sizing systems. They are more similar now but this not pixel perfect. or even more interesting your new icon requires a new size encasing when it is active but I doubt that.

Either way something is hidden there and is clearly wrong.
this should not take more than 2 minutes to check and fix the values.
Comment 3 Halla Rempt 2021-09-08 08:05:23 UTC
Isn't that just an optical illuses of the rectangle around an active bundle disappearing?
Comment 4 keyth_qcfx2 2021-09-10 15:26:33 UTC
Video Proof and Proof inside a Kra file so you can see the disparity that it is NOT and illusion.
https://youtu.be/rnpg8zgI5GU
Comment 5 keyth_qcfx2 2021-09-10 15:28:34 UTC
Created attachment 141444 [details]
Screenshots of the UI flickering in comparisson to each other

Not Optical illusion
Comment 6 Bug Janitor Service 2021-09-11 04:36:07 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 7 wolthera 2021-09-27 13:46:25 UTC
So, investigating into it, it seems that the main problem is that this is just how Fusion is styled, Breeze doesn't have this.