<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>448044</bug_id>
          
          <creation_ts>2022-01-07 00:11:57 +0000</creation_ts>
          <short_desc>GTK apps do not change colors when switching Global Themes that specify color schemes</short_desc>
          <delta_ts>2022-04-19 15:34:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>systemsettings</product>
          <component>kcm_lookandfeel</component>
          <version>5.23.5</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>421745</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mohan">mohan.ram</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>filippo27998</cc>
    
    <cc>mail</cc>
    
    <cc>nate</cc>
    
    <cc>peter</cc>
    
    <cc>plasma-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2090618</commentid>
    <comment_count>0</comment_count>
    <who name="Mohan">mohan.ram</who>
    <bug_when>2022-01-07 00:11:57 +0000</bug_when>
    <thetext>SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
In Wayland if you have dark breeze theme then all GTK app are also dark (which is what it supposed to do) but when you switch to light then they won’t switch back until you log out and log back in. I have this issue with both .deb and snap gtk apps. Not sure if this issue has been brought up yet. If not I would be happy to submit a bug if pointed at the right direction. Thanks.

STEPS TO REPRODUCE
1. Launch Setting, choose Dark Theme
2. Launch a GTK application
3. In Setting switch to Light Theme, GTK application will stay in dark while Qt based apps switch to Light them.

OBSERVED RESULT
GTk based application staying in dark/light when you switch to dark/light breeze theme

EXPECTED RESULT
Should change the to the appropriate theme without having to log off and log back on.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-23-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-3770S CPU @ 3.10GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090619</commentid>
    <comment_count>1</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-07 00:34:31 +0000</bug_when>
    <thetext>Do they change after you quit them and launch them again? Or are they still the wrong color after that?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090627</commentid>
    <comment_count>2</comment_count>
    <who name="Mohan">mohan.ram</who>
    <bug_when>2022-01-07 01:54:18 +0000</bug_when>
    <thetext>Hello Nate,
No quitting the app and relaunching it won&apos;t do anything. Initially I thought it was because I was using a snap version (I use LibreOffice, Firefox, and Thunderbird that are snap), but deb version also suffer from the same fate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090815</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-07 16:29:16 +0000</bug_when>
    <thetext>Thanks. Does it work when you explicitly change the color scheme to Breeze Dark in System Settings &gt; Appearance &gt; Colors and then restart the app?

Are you positive that these apps are using the Breeze GTK theme?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090865</commentid>
    <comment_count>4</comment_count>
    <who name="Mohan">mohan.ram</who>
    <bug_when>2022-01-07 19:53:45 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #3)
&gt; Thanks. Does it work when you explicitly change the color scheme to Breeze
&gt; Dark in System Settings &gt; Appearance &gt; Colors and then restart the app?
&gt; 
&gt; Are you positive that these apps are using the Breeze GTK theme?

Yes that works. To confirm going into  System Settings &gt; Appearance &gt; Colors changing it there and closing out of the app and opening back up works. For both snap and deb version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091757</commentid>
    <comment_count>5</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-10 15:50:07 +0000</bug_when>
    <thetext>Thanks for the info. Does it work when you explicitly change the Global Theme scheme to Breeze Dark in System Settings &gt; Appearance &gt; Global Themes and then restart the app?

Basically I&apos;m trying to find if it&apos;s broken anywhere we set global themes, or just on the Quick Settings page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091761</commentid>
    <comment_count>6</comment_count>
    <who name="Mohan">mohan.ram</who>
    <bug_when>2022-01-10 15:53:26 +0000</bug_when>
    <thetext>(In reply to Nate Graham from comment #5)
&gt; Thanks for the info. Does it work when you explicitly change the Global
&gt; Theme scheme to Breeze Dark in System Settings &gt; Appearance &gt; Global Themes
&gt; and then restart the app?
&gt; 
&gt; Basically I&apos;m trying to find if it&apos;s broken anywhere we set global themes,
&gt; or just on the Quick Settings page.

No it does not work in System Settings &gt; Appearance &gt; Global Themes, same issue as with Quick Settings page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091765</commentid>
    <comment_count>7</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-01-10 16:00:06 +0000</bug_when>
    <thetext>Thanks. I can confirm that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2113217</commentid>
    <comment_count>8</comment_count>
    <who name="SoilpH96">filippo27998</who>
    <bug_when>2022-03-25 09:43:16 +0000</bug_when>
    <thetext>I suffer from this bug as well, but it&apos;s worth mentioning that Firefox specifically appears to change its theme to Adwaita, even though the specified GTK theme is still Breeze according to gsettings. I can confirm that the workaround is to set the color scheme manually.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2118210</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-04-19 15:34:05 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 421745 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>