Bug 475685 - Dialog Parent effect renders Color picker dialog useless if the color you want to pick is in the suddenly-darkened window
Summary: Dialog Parent effect renders Color picker dialog useless if the color you wan...
Status: RESOLVED DUPLICATE of bug 172921
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.27.8
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2023-10-16 09:02 UTC by Marcos Dione
Modified: 2024-01-28 01:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Color Picker tool's behaviour after Select Color modal dialog is opened. (165.60 KB, image/png)
2023-10-16 09:03 UTC, Marcos Dione
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos Dione 2023-10-16 09:02:09 UTC
Several parts of the KDE ecosystem have the concept of color themes: Kate's syntax highlighting, application colors, etc. And yet, when trying to pick a color with the color Dialog, the colors of those themes (their palettes) are not easily available. Even more, when the dialog is modal, the rest of the screen is darkened, which renders the pick color tool useless.
Comment 1 Marcos Dione 2023-10-16 09:03:39 UTC
Created attachment 162347 [details]
Color Picker tool's behaviour after Select Color modal dialog is opened.
Comment 2 Marcos Dione 2023-10-20 06:43:58 UTC
Hi Nate, thanks for looking into this, but in fact, my request was more in the lines of being able to feed the color dialog a palette from which to chose colors. Should I open another bug for that?
Comment 3 Nate Graham 2023-10-20 13:19:54 UTC
Sure, though that's something totally different from the issue here, and I suspect not very not feasible, IMO.

It would in all practicality require KDE to override the default Qt color picker dialog with our own, and then implement this feature in it--whatever that feature would look like.
Comment 4 Marcos Dione 2023-10-21 12:10:09 UTC
(In reply to Nate Graham from comment #3)
> It would in all practicality require KDE to override the default Qt color
> picker dialog with our own, and then implement this feature in it--whatever
> that feature would look like.

AFAIK, KDE already does that with other dialogs, like the file open one.
Comment 5 Nate Graham 2023-10-23 17:18:47 UTC
Right, it's possible, it's just a lot of work since someone would need to write an all-new color picker dialog for KDE, and it would need to be measurably better than the default Qt one to make it worth the effort.
Comment 6 Nate Graham 2023-12-20 23:10:12 UTC

*** This bug has been marked as a duplicate of bug 172921 ***
Comment 7 Jin Liu 2024-01-28 01:51:22 UTC
Looks like both "Dim Parent" and "Dim Inactive" should be disabled temporarily during color-picking. Maybe "Screen Edge" too.