Bug 452180

Summary: Cannot drag window around from QQC2.ToolBar
Product: [Frameworks and Libraries] frameworks-qqc2-desktop-style Reporter: Jack Hill <jackhill3103>
Component: generalAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: minor CC: ahiemstra, kde, nate, noahadvs
Priority: NOR Keywords: usability
Version First Reported In: 5.92.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=458394
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack Hill 2022-04-02 14:30:02 UTC
SUMMARY
I can't drag the window around the screen if I click and hold on the "Now Playing" header bar. The other header bars (e.g. "Recently Played", "Artists", "Albums", etc.) allow me to do this.

STEPS TO REPRODUCE
1. Open the Now Playing view
2. Click and hold on the header bar
3. Move mouse around

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
Window moves around

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220331
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-04-04 21:54:09 UTC
That's odd.
Comment 2 Nate Graham 2022-04-04 21:55:27 UTC
Aha, it's because the header is implemented with a QQC2.ToolBar which doesn't support that behavior.
Comment 3 Nate Graham 2022-04-04 21:59:58 UTC
This affects QQC2.Toolbars elsewhere, so we should fix it in our styling of the component itself IMO.
Comment 4 Marco Martin 2023-02-06 09:16:44 UTC
This is also tracked as a Qt Bug: https://bugreports.qt.io/browse/QTBUG-89785