Bug 515304 - Can't click on any annotation configuration button in Spectacle with Qt 6.11
Summary: Can't click on any annotation configuration button in Spectacle with Qt 6.11
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.5.91
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: regression
: 515537 518335 518420 518443 518450 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-01-30 15:01 UTC by Daniel (NIICKTCHUNS)
Modified: 2026-04-06 16:06 UTC (History)
13 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel (NIICKTCHUNS) 2026-01-30 15:01:54 UTC
SUMMARY
In Plasma 6.6 Beta I can't click on the buttons related to fill, shadow and etc on Spectacle, this wasn't happening on 6.5.X

STEPS TO REPRODUCE
1. Update to the 6.6 Beta
2. Use spectacle in the fullscreen mode to draw the rectangle
3. Select a shape and try to click on the buttons to set it up

OBSERVED RESULT
The buttons cannot be clicked, only using ALT + the corresponding character

EXPECTED RESULT
The button should be clickable to toggle on and off

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.18.7-arch1-1 Wayland
KDE Plasma Version: 6.5.91
KDE Frameworks Version: 6.22.0
Qt Version: 6.11.0
Comment 1 Antonio Rojas 2026-02-04 15:28:26 UTC
Qt 6.11 regression, caused by https://github.com/qt/qtdeclarative/commit/8115731466b579f33295d5c8a71506475750284e
Comment 2 Noah Davis 2026-02-05 08:49:47 UTC
*** Bug 515537 has been marked as a duplicate of this bug. ***
Comment 3 David Edmundson 2026-02-16 11:54:06 UTC
If we do need a local solution, swapping AnimatedLoader for Loader works around it.
Comment 4 Daniel (NIICKTCHUNS) 2026-03-26 21:25:20 UTC
Well, Qt 6.11 is out, on Arch Linux systems spectacle is already broken
Comment 5 Antonio Rojas 2026-03-30 16:28:17 UTC
*** Bug 518335 has been marked as a duplicate of this bug. ***
Comment 6 TheFuzzStone 2026-04-01 08:51:54 UTC
I have the same bug.

My system:

Operating System: Arch Linux 
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.11.0
Kernel Version: 6.19.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® Iris® Xe Graphics
Comment 7 Noah Davis 2026-04-01 15:37:56 UTC
We were hoping Qt 6.11 would be fixed by the time it was release, but I guess we'll have to backport a workaround.
Comment 8 Antonio Rojas 2026-04-02 06:47:02 UTC
*** Bug 518420 has been marked as a duplicate of this bug. ***
Comment 9 Antonio Rojas 2026-04-02 15:25:43 UTC
*** Bug 518443 has been marked as a duplicate of this bug. ***
Comment 10 Antonio Rojas 2026-04-02 19:25:27 UTC
*** Bug 518450 has been marked as a duplicate of this bug. ***
Comment 11 Noah Davis 2026-04-03 18:47:55 UTC
The workaround we thought we had doesn't work, so I'm looking for a new workaround. There is currently no known workaround for the Qt 6.11 bug.
Comment 12 Bug Janitor Service 2026-04-06 11:09:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/spectacle/-/merge_requests/524
Comment 13 Oliver Beard 2026-04-06 15:50:55 UTC
Git commit b9529c3b8c29d5dd4679d071b3738167e0b924cd by Oliver Beard.
Committed on 06/04/2026 at 11:31.
Pushed by olib into branch 'master'.

Gui/CaptureOverlay: Work around Qt 6.11 being clever

Qt questionably tries to determine whether a QQuickItem has any children outside the bounds of the item that want to handle input. For the annotation toolbar, a popup is loaded later and so doesn't work for this check, so Qt thinks that it doesn't need to know about events outside its bounds.

This behaviour was introduced in qt/qt-declarative@81157314 and qt/qt-declarative@9efdc555.

To make sure that the annotations toolbar is not eligible for this 'optimisation', manufacture the conditions that would prevent it.
FIXED-IN: 6.6.4

M  +17   -0    src/Gui/CaptureOverlay.qml

https://invent.kde.org/plasma/spectacle/-/commit/b9529c3b8c29d5dd4679d071b3738167e0b924cd
Comment 14 Oliver Beard 2026-04-06 16:06:07 UTC
Git commit ead75473d3a6861fe4d2cc4d51fbe436470112c3 by Oliver Beard.
Committed on 06/04/2026 at 16:06.
Pushed by olib into branch 'Plasma/6.6'.

Gui/CaptureOverlay: Work around Qt 6.11 being clever

Qt questionably tries to determine whether a QQuickItem has any children outside the bounds of the item that want to handle input. For the annotation toolbar, a popup is loaded later and so doesn't work for this check, so Qt thinks that it doesn't need to know about events outside its bounds.

This behaviour was introduced in qt/qt-declarative@81157314 and qt/qt-declarative@9efdc555.

To make sure that the annotations toolbar is not eligible for this 'optimisation', manufacture the conditions that would prevent it.
FIXED-IN: 6.6.4


(cherry picked from commit b9529c3b8c29d5dd4679d071b3738167e0b924cd)

Co-authored-by: Oliver Beard <olib141@outlook.com>

M  +17   -0    src/Gui/CaptureOverlay.qml

https://invent.kde.org/plasma/spectacle/-/commit/ead75473d3a6861fe4d2cc4d51fbe436470112c3