[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #22 from Nicolas Fella --- That's what FIXED means. See https://community.kde.org/Get_Involved/Issue_Reporting#Understand_what_the_resolution_statuses_mean -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 funny0facer changed: What|Removed |Added Version|24.02.2 |24.05.0 --- Comment #21 from funny0facer --- is there a state for "fixed, but not yet in a release"? -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #20 from Antonio Rojas --- *** Bug 487555 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nate Graham changed: What|Removed |Added Version Fixed In|24.05 |24.05.1 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nate Graham changed: What|Removed |Added Version Fixed In||24.05 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nicolas Fella changed: What|Removed |Added Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap |hics/kcolorchooser/-/commit |hics/kcolorchooser/-/commit |/dace6c0d2b04b444b4e4a92045 |/7a03f1ccac935cb9c1a8e030a1 |0a7ed24b79cc30 |98d9267b0479f1 --- Comment #19 from Nicolas Fella --- Git commit 7a03f1ccac935cb9c1a8e030a198d9267b0479f1 by Nicolas Fella, on behalf of Thomas Weißschuh. Committed on 21/05/2024 at 20:00. Pushed by nicolasfella into branch 'release/24.05'. Allow dbus processing in qt-base to enable color-picking via portal qt-base uses dbus to query the desktop portal if color-picking is supported, without explicitly waiting for the result. kcolorchooser creates its QColorDialog before the response was processed and therefore color picking via the portal is presumed to be unavailable. Give the eventloop the opportunity to process the event and only afterwards create the QColorDialog. See https://bugreports.qt.io/browse/QTBUG-120957 (cherry picked from commit dace6c0d2b04b444b4e4a920450a7ed24b79cc30) M +3-0kcolorchooser.cpp https://invent.kde.org/graphics/kcolorchooser/-/commit/7a03f1ccac935cb9c1a8e030a198d9267b0479f1 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Thomas Weißschuh changed: What|Removed |Added Latest Commit||https://invent.kde.org/grap ||hics/kcolorchooser/-/commit ||/dace6c0d2b04b444b4e4a92045 ||0a7ed24b79cc30 Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #18 from Thomas Weißschuh --- Git commit dace6c0d2b04b444b4e4a920450a7ed24b79cc30 by Thomas Weißschuh. Committed on 21/05/2024 at 18:02. Pushed by nicolasfella into branch 'master'. Allow dbus processing in qt-base to enable color-picking via portal qt-base uses dbus to query the desktop portal if color-picking is supported, without explicitly waiting for the result. kcolorchooser creates its QColorDialog before the response was processed and therefore color picking via the portal is presumed to be unavailable. Give the eventloop the opportunity to process the event and only afterwards create the QColorDialog. See https://bugreports.qt.io/browse/QTBUG-120957 M +3-0kcolorchooser.cpp https://invent.kde.org/graphics/kcolorchooser/-/commit/dace6c0d2b04b444b4e4a920450a7ed24b79cc30 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Gui Do changed: What|Removed |Added CC|sicher-mit-li...@mailbox.or | |g | -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Thomas Weißschuh changed: What|Removed |Added CC||tho...@t-8ch.de --- Comment #17 from Thomas Weißschuh --- This is a racecondition in QT. See https://bugreports.qt.io/browse/QTBUG-120957?focusedId=794902=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-794902 The following workaround in kcolorchooser works for me: ``` diff --git a/kcolorchooser.cpp b/kcolorchooser.cpp index 97297071e07e..bd9c6ef6cf94 100644 --- a/kcolorchooser.cpp +++ b/kcolorchooser.cpp @@ -67,6 +67,9 @@ int main(int argc, char *argv[]) QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("kcolorchooser"))); +/* Work around https://bugreports.qt.io/browse/QTBUG-120957 */ +app.processEvents(); + QColorDialog dlg; dlg.setOption(QColorDialog::DontUseNativeDialog); QDialogButtonBox *box = dlg.findChild(); ``` -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Roke Julian Lockhart Beedell <4wy78...@rokejulianlockhart.addy.io> changed: What|Removed |Added Attachment #164677|Screenshot |Screenshot of KColorChooser description||with missing button. -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Roke Julian Lockhart Beedell <4wy78...@rokejulianlockhart.addy.io> changed: What|Removed |Added Attachment #167444|Screenshot of KcolorChooser |Screenshot of KColorChooser description|with "Missing Dialog". |with missing button. -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 apache changed: What|Removed |Added CC||sabayo...@gmail.com --- Comment #16 from apache --- There is no such field as "pick color from screen" Operating System: Manjaro Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.1.0 Qt Version: 6.7.0 Kernel Version: 6.6.30-2-MANJARO (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 produnis changed: What|Removed |Added CC||k...@produnis.de -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 funny0facer changed: What|Removed |Added Version|24.01.85|24.02.2 --- Comment #15 from funny0facer --- Today, I got the update to kcolorchooser 24.02.02. The bug is still reproducible with Qt Version 6.7.0 Operating System: Arch Linux KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.7.0 Kernel Version: 6.8.5-arch1-1 (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Gui Do changed: What|Removed |Added CC||sicher-mit-li...@mailbox.or ||g --- Comment #14 from Gui Do --- Can confirm this - no way to choose color Operating System: openSUSE Leap 15.5 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 5.14.21-150500.55.52-default (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i3-7100U CPU @ 2.40GHz Memory: 11.5 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #13 from Aidan Harris --- This is still an issue in 6.6.3 (In reply to funny0facer from comment #12) > Created attachment 167815 [details] > KColorChooser vs Spectacle vs KColorSchemeEditor > > This still applies to 24.02.01 on my arch system. > where is the difference between the different color chooser applets? Why > does KColorChooser behave different than e.g. KColorSchemeEditor? I think it's an issue with the Qt Platform theme or internal to Qt somewhere. When I patch Qt like I did here: https://bugs.kde.org/show_bug.cgi?id=479406#c6 it always works fine via the portal. Something is returning false somewhere that should be returning true. -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #12 from funny0facer --- Created attachment 167815 --> https://bugs.kde.org/attachment.cgi?id=167815=edit KColorChooser vs Spectacle vs KColorSchemeEditor This still applies to 24.02.01 on my arch system. where is the difference between the different color chooser applets? Why does KColorChooser behave different than e.g. KColorSchemeEditor? The color chooser of Qt Designer works also perfectly fine and looks identical to me. My qt6-wayland version is 6.6.2 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 funny0facer changed: What|Removed |Added CC||funny0fa...@mail.de -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 `{third: "Beedell", first: "Roke"}`{.JSON5} <4wy78...@rokejulianlockhart.addy.io> changed: What|Removed |Added CC||4wy78uwh@rokejulianlockhart ||.addy.io -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Andrew changed: What|Removed |Added CC||andrewnguyen...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Dmitrii Chermnykh changed: What|Removed |Added CC||chermnykh2...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #11 from sig --- (In reply to Nicolas Fella from comment #1) > This is https://bugreports.qt.io/browse/QTBUG-120957 This bug is still here, using the color chooser in Konversation which looks identical to kcolorchooser has the pick color dialog. -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #10 from sig --- Comment on attachment 167444 --> https://bugs.kde.org/attachment.cgi?id=167444 Screenshot of KcolorChooser with "Missing Dialog". Arch extra/kcolorchooser 24.02.0-1 Plasma: 6.0.2 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #9 from sig --- Created attachment 167444 --> https://bugs.kde.org/attachment.cgi?id=167444=edit Screenshot of KcolorChooser with "Missing Dialog". -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 xx-anon...@outlook.com changed: What|Removed |Added CC||xx-anon...@outlook.com -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 AlexDeLorenzo.dev changed: What|Removed |Added CC||a...@alexdelorenzo.dev --- Comment #8 from AlexDeLorenzo.dev --- Still an issue on: Operating System: Arch KDE Plasma Version: 6.0.2 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nicolas Fella changed: What|Removed |Added CC||mrjoehar...@outlook.com --- Comment #7 from Nicolas Fella --- *** Bug 482810 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #6 from Aidan Harris --- 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 + +++ b/src/widgets/dialogs/qcolordialog.cpp 2024-01-16 15:40:34.573643546 + @@ -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 watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Eric Armbruster changed: What|Removed |Added Status|REOPENED|CONFIRMED CC||er...@armbruster-online.de --- Comment #5 from Eric Armbruster --- Can confirm. Operating System: Arch Linux KDE Plasma Version: 5.92.0 KDE Frameworks Version: 5.248.0 Qt Version: 6.7.0 Kernel Version: 6.7.1-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics Memory: 38.0 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: LENOVO Product Name: 20Y7CTO1WW System Version: ThinkPad E14 Gen 3 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Pesho changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|UPSTREAM|--- --- Comment #4 from Pesho --- Hello Nate, The button still missing in KColorChooser, but it appears on KolourPaint and KColorSchemeEditor. I'm using the following configuration: Operating System: openSUSE Tumbleweed 20240128 KDE Plasma Version: 6.0.80 KDE Frameworks Version: 5.249.0 Qt Version: 6.6.1 Here is a screenshot as evidence: https://i.imgur.com/YQFdMOe.png -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #3 from Nate Graham --- The upstream bug report is now closed as "Cannot reproduce", and I see a "Pick Screen Color" button on my color picker dialog from KColorChooser and Kolourpaint. Did it get fixed along the way? -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nate Graham changed: What|Removed |Added Resolution|DOWNSTREAM |UPSTREAM -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nate Graham changed: What|Removed |Added Resolution|--- |DOWNSTREAM URL||https://bugreports.qt.io/br ||owse/QTBUG-120957 CC||n...@kde.org Status|CONFIRMED |RESOLVED -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #2 from Pesho --- Thank you for your update :) -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 --- Comment #1 from Nicolas Fella --- This is https://bugreports.qt.io/browse/QTBUG-120957 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Paragoumba changed: What|Removed |Added CC||paragou...@proton.me -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Patrick Silva changed: What|Removed |Added CC||bugsefor...@gmx.com -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Aidan Harris changed: What|Removed |Added CC||m...@aidanharr.is -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Nicolas Fella changed: What|Removed |Added Ever confirmed|0 |1 CC||nicolas.fe...@gmx.de Status|REPORTED|CONFIRMED -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Bug Janitor Service changed: What|Removed |Added Keywords||qt6 -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Pesho changed: What|Removed |Added Keywords||wayland -- You are receiving this mail because: You are watching all bug changes.
[kcolorchooser] [Bug 479406] The "Pick Screen Color" button is missing on Wayland session
https://bugs.kde.org/show_bug.cgi?id=479406 Pesho changed: What|Removed |Added CC||shake...@gmail.com -- You are receiving this mail because: You are watching all bug changes.