[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
Aidan Harris
bugzilla_noreply at kde.org
Wed Jan 31 11:13:02 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=479406
--- Comment #6 from Aidan Harris <me at aidanharr.is> ---
For what it's worth this is still an issue in Gentoo too:
Operating System: Gentoo 2.14
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1 (dev-qt/qtbase-6.6.1-r4)
Graphics Platform: Wayland
I ended up patching out the check in qtbase to always return true:
/etc/portage/patches/dev-qt/qtbase-6.6.1/hack-enable-color-picking-everywhere.diff:
diff -Naur a/src/widgets/dialogs/qcolordialog.cpp
b/src/widgets/dialogs/qcolordialog.cpp
--- a/src/widgets/dialogs/qcolordialog.cpp 2024-01-16 15:39:51.128220003
+0000
+++ b/src/widgets/dialogs/qcolordialog.cpp 2024-01-16 15:40:34.573643546
+0000
@@ -1901,9 +1901,7 @@
bool QColorDialogPrivate::supportsColorPicking() const
{
- const auto integration = QGuiApplicationPrivate::platformIntegration();
- return
integration->hasCapability(QPlatformIntegration::ScreenWindowGrabbing)
- ||
integration->services()->hasCapability(QPlatformServices::Capability::ColorPicking);
+ return true;
}
bool QColorDialogPrivate::canBeNativeDialog() const
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list