<?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>442861</bug_id>
          
          <creation_ts>2021-09-23 20:14:35 +0000</creation_ts>
          <short_desc>the icon of foreground/background color will not refresh</short_desc>
          <delta_ts>2021-11-04 03:51:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Usability</component>
          <version>5.0.0-beta1</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</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="thetwo">thetwo222</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>griffinvalley</cc>
    
    <cc>halla</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/commit/e610fb648813ef5ebe0c71f5e08fbd0d09a4fd9d</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>2063495</commentid>
    <comment_count>0</comment_count>
    <who name="thetwo">thetwo222</who>
    <bug_when>2021-09-23 20:14:35 +0000</bug_when>
    <thetext>STEPS TO REPRODUCE
1. create a fill layer
2. Switched from fill layer to paint layer and found that the icon did not change in real time 
3. Pick a color from the color picker, the icon changes 
4.Switched from paint layer to fill layer and found that the icon did not change in real time 

EXPECTED RESULT
The icon should change in real time like the color picker</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064048</commentid>
    <comment_count>1</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2021-09-26 13:51:06 +0000</bug_when>
    <thetext>Halla, can you describe how you reproduced the bug? I am somewhat lost?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074639</commentid>
    <comment_count>2</comment_count>
    <who name="Lynx3d">lynx.mw+kde</who>
    <bug_when>2021-11-04 03:51:47 +0000</bug_when>
    <thetext>Git commit ceef91f1a2d1731c1ed263be8c4d0d0cc9f78ae4 by Mathias Wein.
Committed on 04/11/2021 at 03:48.
Pushed by mwein into branch &apos;master&apos;.

Fix update issues of KoDualColorButton

It didn&apos;t react to display configuration changes until something else
triggered a repaint.
Also, it turned out it never disconnected from signals, which caused
it to switch to &quot;dumb&quot; renderer (no color management) when closing
one of multiple documents.
(cherry picked from commit e610fb648813ef5ebe0c71f5e08fbd0d09a4fd9d)

M  +6    -1    libs/ui/widgets/KoDualColorButton.cpp

https://invent.kde.org/graphics/krita/commit/ceef91f1a2d1731c1ed263be8c4d0d0cc9f78ae4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2074640</commentid>
    <comment_count>3</comment_count>
    <who name="Lynx3d">lynx.mw+kde</who>
    <bug_when>2021-11-04 03:51:56 +0000</bug_when>
    <thetext>Git commit e610fb648813ef5ebe0c71f5e08fbd0d09a4fd9d by Mathias Wein.
Committed on 04/11/2021 at 03:46.
Pushed by mwein into branch &apos;krita/5.0&apos;.

Fix update issues of KoDualColorButton

It didn&apos;t react to display configuration changes until something else
triggered a repaint.
Also, it turned out it never disconnected from signals, which caused
it to switch to &quot;dumb&quot; renderer (no color management) when closing
one of multiple documents.

M  +6    -1    libs/ui/widgets/KoDualColorButton.cpp

https://invent.kde.org/graphics/krita/commit/e610fb648813ef5ebe0c71f5e08fbd0d09a4fd9d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>