Bug 483513

Summary: after color scheme edit, kcm_colors is unresponsive to further edits (X11 only)
Product: [Applications] systemsettings Reporter: S. Christian Collins <s_chriscollins>
Component: kcm_colorsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: major CC: formicant, karl, kde, nate, noahadvs, sergmachine, tantalising007, uhhadd
Priority: NOR Keywords: qt6
Version: 6.0.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description S. Christian Collins 2024-03-14 05:08:57 UTC
SUMMARY
After editing a color scheme, trying to edit a second color scheme does nothing. This bug happens in X11, but does not happen in Wayland.


STEPS TO REPRODUCE
1. Go to System Settings → Colors & Themes → Colors.
2. Click the pencil icon to edit any theme. The KColorSchemeEditor window will appear.
3. Close the KColorSchemeEditor window. 
4. Click the pencil icon to edit any theme.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The KColorSchemeEditor window should appear to allow editing the theme.

SOFTWARE/OS VERSIONS
Linux: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This is possibly caused by the same underlying issue as bug #483511.
Comment 1 Nate Graham 2024-04-10 16:03:38 UTC
*** Bug 485311 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2024-04-11 01:11:06 UTC
*** Bug 483991 has been marked as a duplicate of this bug. ***
Comment 3 Karl Ove Hufthammer 2024-07-13 10:04:56 UTC
Still happens with Plasma 6.1.2, but with a difference from the initial description. The first first time you click on the pencil, the KColorSchemeEditor window appears. But the second time you click on the pencil (after having closed the KColorSchemeEditor window), a menu with only the item ‘Edit Color Scheme...’ appears. However, it’s not possible to click on this menu item, as it disappears when you move the mouse pointer to hover over it.
Comment 4 Albert Astals Cid 2024-09-16 21:16:45 UTC
Git commit 1be4d42c01f5ce2f910512718f6642f27446722e by Albert Astals Cid.
Committed on 16/09/2024 at 21:16.
Pushed by aacid into branch 'master'.

Fix relaunching the color scheme editor from the kcm in X11

Without this connect the process doesn't end when going through this
codepath and closing the window

M  +1    -0    kcms/colors/editor/kcolorschemeeditor.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/1be4d42c01f5ce2f910512718f6642f27446722e
Comment 5 Albert Astals Cid 2024-09-16 21:54:15 UTC
Git commit 055b99fc3c1e82ed087995a2f329f2b794bd70ff by Albert Astals Cid.
Committed on 16/09/2024 at 21:54.
Pushed by aacid into branch 'Plasma/6.2'.

Fix relaunching the color scheme editor from the kcm in X11

Without this connect the process doesn't end when going through this
codepath and closing the window
(cherry picked from commit 1be4d42c01f5ce2f910512718f6642f27446722e)

M  +1    -0    kcms/colors/editor/kcolorschemeeditor.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/055b99fc3c1e82ed087995a2f329f2b794bd70ff
Comment 6 Nate Graham 2024-09-30 20:25:52 UTC
*** Bug 493818 has been marked as a duplicate of this bug. ***