Bug 413296 - Gtk theme broken on new kde 5.17
Summary: Gtk theme broken on new kde 5.17
Status: RESOLVED DUPLICATE of bug 417461
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.17.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 19:45 UTC by Gabriel Fernandes
Modified: 2020-02-24 04:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Fernandes 2019-10-21 19:45:39 UTC
SUMMARY
Due to KDE 5.17 new feature
"For instance, we have made the Breeze GTK theme respect your selected color scheme."
I first have made a post in reddit https://www.reddit.com/r/kde/comments/dk8bt2/gtk_theme_broken_on_new_kde_517/
As it seems to be a problem I'm filing this bug report
Comparison showing the problem https://imgur.com/a/eqd9Qjs

Basically the problem is this file (~/.config/gtk-3.0/colors.css) that is changed by KDE when colorscheme is changed
so breeze gtk gets the right colors based on the current kde colorscheme, which is awesome by the way. 
But this might interfere with other gtk themes other
than breeze gtk, like arc gtk for example that uses some variables with the same name as the ones set in that file, 
so the color of the gtk theme is overridden by the current colors of the colorscheme, this should be the case only
to breeze gtk as said in the Release Announcements of 5.17

STEPS TO REPRODUCE
1. Change Colors to dark in settings
2. use Arc gtk theme (light version in this example)
3. Open some gtk application, like gnome calculator where it is visible

OBSERVED RESULT
Gtk theme color is the one from the kde color

EXPECTED RESULT
Gtk theme color be used by gtk applications

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.0.0-32-generic

ADDITIONAL INFORMATION
This problem might occur in other gtk themes as well
Comment 1 Andrew Chen 2019-10-29 18:07:31 UTC
There should also be a way to override the color scheme, for example, there should be a way to use light theme for an application when the system is set to dark theme.
Comment 2 Nate Graham 2019-11-11 00:17:27 UTC
Please re-open if it's not fixed in Plasma 5.17.3!

*** This bug has been marked as a duplicate of bug 413107 ***
Comment 3 Janet Blackquill 2019-11-11 00:22:37 UTC
Nate Graham: this bug isn't related to bug 413107; reopening.
Comment 4 Nate Graham 2019-11-11 00:24:43 UTC
Oops sorry, closed the wrong bug. I meant to mark Bug 412331 as a dupe of Bug 413107.

Or is that a dupe of this? Or something else?
Comment 5 Gabriel Fernandes 2019-11-18 23:41:01 UTC
I think https://bugs.kde.org/show_bug.cgi?id=412331 is highly related to this bug report, if not caused by the same reason (which I think it is).

On the other hand https://bugs.kde.org/show_bug.cgi?id=413107 might be the same thing too, but I'm not sure
Comment 6 Nate Graham 2019-11-28 04:22:54 UTC

*** This bug has been marked as a duplicate of bug 412331 ***
Comment 7 Gabriel Fernandes 2019-12-04 22:42:24 UTC
Hey, hello, I think it's actually not solved yet
I'm using plasma 5.17.4
I just created a new account to test this out and sadly the problem is still there
Comment 8 Nate Graham 2019-12-05 15:58:25 UTC
Indeed it is not solved. This bug is marked as a duplicate of Bug 412331, which is still open.
Comment 9 Nate Graham 2020-02-24 04:39:47 UTC

*** This bug has been marked as a duplicate of bug 417461 ***