<?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>256667</bug_id>
          
          <creation_ts>2010-11-12 10:49:29 +0000</creation_ts>
          <short_desc>systray icon remains the same when going offline</short_desc>
          <delta_ts>2011-03-08 03:54:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kopete</product>
          <component>Main Application</component>
          <version>unspecified</version>
          <rep_platform>FreeBSD Ports</rep_platform>
          <op_sys>FreeBSD</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>0</everconfirmed>
          <reporter name="Adriaan">a3aan.spam</reporter>
          <assigned_to name="Kopete Developers">kopete-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.6.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1043420</commentid>
    <comment_count>0</comment_count>
    <who name="Adriaan">a3aan.spam</who>
    <bug_when>2010-11-12 10:49:29 +0000</bug_when>
    <thetext>Version:           unspecified (using KDE 4.5.2) 
OS:                FreeBSD

When going offline again, the systray icon remains the same. So it shows whichever status it was in before disconnecting.

Reproducible: Always

Steps to Reproduce:
Go online and to a status that changes the systray icon.
Go offline.

Actual Results:  
Icon should change, while it doesn&apos;t.

Expected Results:  
The icon should change again.
Maybe a specific icon for the offline status is missing. Because when the program is started (status &apos;offline&apos;) the systray icon is the same as in the &apos;online&apos; status. Maybe some grayscale version of this icon would be nice.

OS: FreeBSD (i386) release 8.1-RELEASE-p1
Compiler: cc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043510</commentid>
    <comment_count>1</comment_count>
      <attachid>53360</attachid>
    <who name="Adriaan">a3aan.spam</who>
    <bug_when>2010-11-12 15:13:16 +0000</bug_when>
    <thetext>Created attachment 53360
patch-kopete-systemtray.cpp</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1043513</commentid>
    <comment_count>2</comment_count>
    <who name="Adriaan">a3aan.spam</who>
    <bug_when>2010-11-12 15:16:55 +0000</bug_when>
    <thetext>It seems to be an icon theme related problem. I haven&apos;t got the default oxygen theme running, but the &apos;KDE 4 Crystal Diamond Icons&apos; theme.
Weird though, the icon &apos;kopete-offline&apos; does exist, yet it doesn&apos;t seem to work when addressed by kopete. There is however an alternative called &apos;kopete_offline&apos; which does work.
I also added a line to remove the overlay again.

See the patch in attachment. This does the trick for me, yet it may not be a general solution. I&apos;m not really familiar with KDE code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085594</commentid>
    <comment_count>3</comment_count>
    <who name="Lamarque V. Souza">lamarque</who>
    <bug_when>2011-02-09 03:36:00 +0000</bug_when>
    <thetext>SVN commit 1219491 by lvsouza:

Uses user-offline.png as icon overlay to make it more
visible when user is offline.

OBS: I do not like using only color/grayscale icons
to indicate online/offline status, specially when
the icons are small and look very alike.

BUG: 256667


 M  +1 -0      systemtray.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1219491</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1085595</commentid>
    <comment_count>4</comment_count>
    <who name="Lamarque V. Souza">lamarque</who>
    <bug_when>2011-02-09 03:37:48 +0000</bug_when>
    <thetext>SVN commit 1219492 by lvsouza:

Backport r1219491 by lvsouza from trunk to the 4.6 branch:

Uses user-offline.png as icon overlay to make it more
visible when user is offline.

OBS: I do not like using only color/grayscale icons
to indicate online/offline status, specially when
the icons are small and look very alike.

CCBUG: 256667


 M  +1 -0      systemtray.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1219492</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53360</attachid>
            <date>2010-11-12 15:13:16 +0000</date>
            <delta_ts>2010-11-12 15:13:16 +0000</delta_ts>
            <desc>patch-kopete-systemtray.cpp</desc>
            <filename>patch-kopete-systemtray.cpp</filename>
            <type>text/plain</type>
            <size>417</size>
            <attacher name="Adriaan">a3aan.spam</attacher>
            
              <data encoding="base64">LS0tIGtvcGV0ZS9rb3BldGUvc3lzdGVtdHJheS5jcHAub3JpZwkyMDEwLTExLTEyIDE0OjQ1OjA5
LjAwMDAwMDAwMCArMDEwMAorKysga29wZXRlL2tvcGV0ZS9zeXN0ZW10cmF5LmNwcAkyMDEwLTEx
LTEyIDE0OjExOjI3LjAwMDAwMDAwMCArMDEwMApAQCAtMjA5LDcgKzIwOSw4IEBACiAJCWNhc2Ug
S29wZXRlOjpPbmxpbmVTdGF0dXM6Ok9mZmxpbmU6CiAJCWNhc2UgS29wZXRlOjpPbmxpbmVTdGF0
dXM6OkNvbm5lY3Rpbmc6CiAJCXsKLQkJCXNldEljb25CeU5hbWUoImtvcGV0ZS1vZmZsaW5lIik7
CisJCQlzZXRJY29uQnlOYW1lKCJrb3BldGVfb2ZmbGluZSIpOworCQkJc2V0T3ZlcmxheUljb25C
eU5hbWUoUVN0cmluZygpKTsKIAkJCWJyZWFrOwogCQl9CiAJCWNhc2UgS29wZXRlOjpPbmxpbmVT
dGF0dXM6OkludmlzaWJsZToK
</data>

          </attachment>
      

    </bug>

</bugzilla>