Bug 495807 - Tool Options Docker UI goes haywire if in Left Sidebar set to Minimum Width if Docker has scrollbar
Summary: Tool Options Docker UI goes haywire if in Left Sidebar set to Minimum Width i...
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: Dockers (show other bugs)
Version: 5.2.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-05 01:46 UTC by i
Modified: 2024-11-05 14:02 UTC (History)
1 user (show)

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


Attachments
Screen Recording of (326.02 KB, video/webm)
2024-11-05 01:46 UTC, i
Details

Note You need to log in before you can comment on or make changes to this bug.
Description i 2024-11-05 01:46:28 UTC
Created attachment 175524 [details]
Screen Recording of

SUMMARY
When resizing the Left Sidebar containing "Tool Options" to its minimum width, if the tool options docker is short enough (vertically) to require a scrollbar, the elements within can go haywire and move around erratically. It seems this happens only with the Selection tools, since they use the "Name of option with icons beside it" UI, and it doesn't seem to happen in the Right sidebar.

It seems like it tries to move the options below the subtitle, then moves back, repeatedly, every frame.

STEPS TO REPRODUCE
1. Dock the Tool Options docker to the Sidebar
2. Select the Magnetic Selection Tool
3. Resize Sidebar to its minimum width

OBSERVED RESULT
UI flashes between two states, unable to decide what to display

EXPECTED RESULT
UI rearranges to fit the narrow width as best as it can.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Video attached
Comment 1 Halla Rempt 2024-11-05 14:02:01 UTC
I'm sorry, but this is a bug in Qt, and not something we can fix :-( And since Qt doesn't really do any maintenance of QDock*, it's unlikely this will be fixed. For the future we're looking into different dock panel managers.