Bug 505439 - After window resize, QToolButtons do not adapt to new size until Custom-Tiled
Summary: After window resize, QToolButtons do not adapt to new size until Custom-Tiled
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.2
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 15:35 UTC by Roke Julian Lockhart Beedell
Modified: 2025-06-10 15:41 UTC (History)
1 user (show)

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


Attachments
A Screenshot Of Erroneously Large Space Between QToolButtons (105.39 KB, image/png)
2025-06-10 15:35 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot Of The Selected QToolBarExtension Rendered Over A QToolButton, With The QToolBar's Overflow Overlay Visible Atop The QToolBar (115.04 KB, image/png)
2025-06-10 15:35 UTC, Roke Julian Lockhart Beedell
Details
A Screencast That Briefly Demonstrates The Erroneously Large Spaces Between QToolBars (499.14 KB, video/webm)
2025-06-10 15:41 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-06-10 15:35:04 UTC
Created attachment 182150 [details]
A Screenshot Of Erroneously Large Space Between QToolButtons

STEPS TO REPRODUCE

1. Resize the window to 1⁄8 of 2560 × 1440 px at 100% display scale with a subdivided Custom Tile, like https://bugs.kde.org/attachment.cgi?id=182148&action=edit.

2. Untile the window.

OBSERVED RESULT

The QToolButtons are spaced massively apart, and the QToolBarExtension renders the border area over the already-rendered toolbar in a manner that causes the QToolBarExtension to be nigh impossible to deselect.

SOFTWARE/OS VERSIONS

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.3.5
> KDE Frameworks Version: 6.14.0
> Qt Version: 6.9.0
> Kernel Version: 6.14.9-300.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~
Comment 1 Roke Julian Lockhart Beedell 2025-06-10 15:35:58 UTC
Created attachment 182151 [details]
A Screenshot Of The Selected QToolBarExtension Rendered Over A QToolButton, With The QToolBar's Overflow Overlay Visible Atop The QToolBar
Comment 2 Roke Julian Lockhart Beedell 2025-06-10 15:37:22 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0)

This reproduced once, but I've been unable to reproduce it since. Seems like enabling Spectacle somehow fixed it, as it does for a lot of visual bugs. I'll set as WORKSFORME until I can capture a screencast.
Comment 3 Roke Julian Lockhart Beedell 2025-06-10 15:41:36 UTC
Created attachment 182152 [details]
A Screencast That Briefly Demonstrates The Erroneously Large Spaces Between QToolBars

(In reply to Roke Julian Lockhart Beedell from comment #2)

Actually, I've managed to capture a reproduction of the QToolButton spacing in a failed reproduction screencast. It appears to demonstrate that merely resizing the window via the Custom Tiling system causes the problem. I've also noticed it for a mere moment whilst moving the window out of a tile, before it fixes itself.