<?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>426557</bug_id>
          
          <creation_ts>2020-09-15 12:15:10 +0000</creation_ts>
          <short_desc>Unable to distinguish GtkToggleButton state when focused</short_desc>
          <delta_ts>2021-11-22 23:47:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>Breeze</product>
          <component>gtk theme</component>
          <version>5.19.5</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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="hexchain">kde</reporter>
          <assigned_to name="Janet Blackquill">uhhadd</assigned_to>
          <cc>nate</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/breeze-gtk/commit/ed314cf17880f71a897bd4a67cce2ffc9468610e</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>1957589</commentid>
    <comment_count>0</comment_count>
      <attachid>131671</attachid>
    <who name="hexchain">kde</who>
    <bug_when>2020-09-15 12:15:10 +0000</bug_when>
    <thetext>Created attachment 131671
Test script

SUMMARY
The state of GtkToggleButton is unclear when the button is also focused.


STEPS TO REPRODUCE
1. Run the attached script with Breeze theme.

OBSERVED RESULT
There is basically no visual difference between the active and inactive state of the button.

EXPECTED RESULT
It should be easy to tell apart the two states.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992686</commentid>
    <comment_count>1</comment_count>
    <who name="hexchain">kde</who>
    <bug_when>2021-01-09 19:37:12 +0000</bug_when>
    <thetext>Recently I&apos;ve been using PulseEffects, which makes heavy use of toggle buttons. It is really annoying that I&apos;m unable to distinguish the state.

I hope this issue is still on the radar, as Breeze is having a visual overhaul, it would be good if this can get fixed (the current breeze and breeze-gtk master doesn&apos;t seem to change anything for me).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2079708</commentid>
    <comment_count>2</comment_count>
    <who name="Janet Blackquill">uhhadd</who>
    <bug_when>2021-11-22 20:58:58 +0000</bug_when>
    <thetext>Git commit 19e285b42646c60bd5652c541723e95a3c24547d by Jan Blackquill.
Committed on 22/11/2021 at 20:50.
Pushed by cblack into branch &apos;master&apos;.

gtk3, gtk4: refactor buttons heavily, make look near-identical to breeze qstyle
Related: bug 438185, bug 443919

M  +2    -33   src/gtk3/widgets/_app_notifications.scss
M  +105  -295  src/gtk3/widgets/_button.scss
M  +2    -8    src/gtk3/widgets/_color_chooser.scss
M  +1    -69   src/gtk3/widgets/_headerbar.scss
M  +0    -2    src/gtk3/widgets/_menus.scss
M  +0    -4    src/gtk3/widgets/_notebook.scss
M  +1    -1    src/gtk3/widgets/_pathbar.scss
M  +2    -33   src/gtk4/widgets/_app_notifications.scss
M  +105  -292  src/gtk4/widgets/_button.scss
M  +2    -8    src/gtk4/widgets/_color_chooser.scss
M  +1    -72   src/gtk4/widgets/_headerbar.scss
M  +0    -11   src/gtk4/widgets/_menus.scss
M  +0    -4    src/gtk4/widgets/_notebook.scss
M  +1    -1    src/gtk4/widgets/_pathbar.scss
M  +1    -1    src/gtk4/widgets/_spinbutton.scss

https://invent.kde.org/plasma/breeze-gtk/commit/19e285b42646c60bd5652c541723e95a3c24547d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2079736</commentid>
    <comment_count>3</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2021-11-22 23:47:05 +0000</bug_when>
    <thetext>Git commit ed314cf17880f71a897bd4a67cce2ffc9468610e by Nate Graham, on behalf of Jan Blackquill.
Committed on 22/11/2021 at 23:46.
Pushed by ngraham into branch &apos;Plasma/5.23&apos;.

gtk3, gtk4: refactor buttons heavily, make look near-identical to breeze qstyle
Related: bug 438185, bug 443919
(cherry picked from commit 19e285b42646c60bd5652c541723e95a3c24547d)

M  +2    -33   src/gtk3/widgets/_app_notifications.scss
M  +105  -295  src/gtk3/widgets/_button.scss
M  +2    -8    src/gtk3/widgets/_color_chooser.scss
M  +1    -69   src/gtk3/widgets/_headerbar.scss
M  +0    -2    src/gtk3/widgets/_menus.scss
M  +0    -4    src/gtk3/widgets/_notebook.scss
M  +1    -1    src/gtk3/widgets/_pathbar.scss
M  +2    -33   src/gtk4/widgets/_app_notifications.scss
M  +105  -292  src/gtk4/widgets/_button.scss
M  +2    -8    src/gtk4/widgets/_color_chooser.scss
M  +1    -72   src/gtk4/widgets/_headerbar.scss
M  +0    -11   src/gtk4/widgets/_menus.scss
M  +0    -4    src/gtk4/widgets/_notebook.scss
M  +1    -1    src/gtk4/widgets/_pathbar.scss
M  +1    -1    src/gtk4/widgets/_spinbutton.scss

https://invent.kde.org/plasma/breeze-gtk/commit/ed314cf17880f71a897bd4a67cce2ffc9468610e</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>131671</attachid>
            <date>2020-09-15 12:15:10 +0000</date>
            <delta_ts>2020-09-15 12:15:10 +0000</delta_ts>
            <desc>Test script</desc>
            <filename>gtk-toggle-button-test.py</filename>
            <type>text/x-python</type>
            <size>378</size>
            <attacher name="hexchain">kde</attacher>
            
              <data encoding="base64">aW1wb3J0IGdpCmdpLnJlcXVpcmVfdmVyc2lvbignR3RrJywgJzMuMCcpCmZyb20gZ2kucmVwb3Np
dG9yeSBpbXBvcnQgR3RrCgoKZGVmIHRvZ2dsZWQoYnV0dG9uOiBHdGsuVG9nZ2xlQnV0dG9uKToK
ICAgIGJ1dHRvbi5zZXRfbGFiZWwoIkFjdGl2ZSIgaWYgYnV0dG9uLmdldF9hY3RpdmUoKSBlbHNl
ICJJbmFjdGl2ZSIpCgoKd2luID0gR3RrLldpbmRvdygpCmJ1dHRvbiA9IEd0ay5Ub2dnbGVCdXR0
b24obGFiZWw9IkluYWN0aXZlIiwgYWN0aXZlPUZhbHNlKQpidXR0b24uY29ubmVjdCgidG9nZ2xl
ZCIsIHRvZ2dsZWQpCndpbi5hZGQoYnV0dG9uKQp3aW4uY29ubmVjdCgiZGVzdHJveSIsIEd0ay5t
YWluX3F1aXQpCndpbi5zaG93X2FsbCgpCkd0ay5tYWluKCkK
</data>

          </attachment>
      

    </bug>

</bugzilla>