<?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>86790</bug_id>
          
          <creation_ts>2004-08-08 13:04:23 +0000</creation_ts>
          <short_desc>Systray indicator signals &quot;offline&quot; even though we&apos;re connected with invisible</short_desc>
          <delta_ts>2004-08-17 02:22:34 +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>libkopete</component>
          <version>unspecified</version>
          <rep_platform>unspecified</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="Till Gerken">till.gerken</reporter>
          <assigned_to name="Kopete Developers">kopete-bugs-null</assigned_to>
          
          
          <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>256942</commentid>
    <comment_count>0</comment_count>
    <who name="Till Gerken">till.gerken</who>
    <bug_when>2004-08-08 13:04:23 +0000</bug_when>
    <thetext>Version:           0.8.922 (CVS &gt;= 20040717) (using KDE 3.2.92 (3.3 beta2), compiled sources)
Compiler:          gcc version 3.3.4 (Debian 1:3.3.4-3)
OS:                Linux (i686) release 2.6.5

The systray indicator stays grey even while I am connected as &quot;invisible&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259371</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Smith">kde</who>
    <bug_when>2004-08-17 00:57:40 +0000</bug_when>
    <thetext>CVS commit by lilachaze: 

Make systray indicator think invisible is like away, not like offline.
Matt: Would you mind backporting this?
CCMAIL: 86790@bugs.kde.org
CCMAIL: matt@matt.rogers.name


  M +3 -2      systemtray.cpp   1.46


--- kdenetwork/kopete/kopete/systemtray.cpp  #1.45:1.46
@@ -286,7 +286,8 @@ void KopeteSystemTray::slotReevaluateAcc
                         bOnline = true; // at least one contact is online
                 }
-                else if (c-&gt;onlineStatus().status() == KopeteOnlineStatus::Away)
+                else if (c-&gt;onlineStatus().status() == KopeteOnlineStatus::Away
+                      || c-&gt;onlineStatus().status() == KopeteOnlineStatus::Invisible)
                 {
-                        bAway = true; // at least one contact is away
+                        bAway = true; // at least one contact is away or invisible
                 }
                 else // this account must be offline (or unknown, which I don&apos;t know how to handle)


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>259396</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Rogers">mattr</who>
    <bug_when>2004-08-17 02:22:33 +0000</bug_when>
    <thetext>CVS commit by mattr: 

Backport the fix for 86790. This should be in KDE 3.3.1

CCMAIL: 86790-done@bugs.kde.org


  M +3 -2      systemtray.cpp   1.45.2.1


--- kdenetwork/kopete/kopete/systemtray.cpp  #1.45:1.45.2.1
@@ -286,7 +286,8 @@ void KopeteSystemTray::slotReevaluateAcc
                         bOnline = true; // at least one contact is online
                 }
-                else if (c-&gt;onlineStatus().status() == KopeteOnlineStatus::Away)
+                else if (c-&gt;onlineStatus().status() == KopeteOnlineStatus::Away
+                      || c-&gt;onlineStatus().status() == KopeteOnlineStatus::Invisible)
                 {
-                        bAway = true; // at least one contact is away
+                        bAway = true; // at least one contact is away or invisible
                 }
                 else // this account must be offline (or unknown, which I don&apos;t know how to handle)


</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>