[telepathy] [Bug 340781] New: KTP icon does not change when connection lost.

Reshad Patuck reshad at patuck.net
Sun Nov 9 06:37:45 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=340781

            Bug ID: 340781
           Summary: KTP icon does not change when connection lost.
           Product: telepathy
           Version: 0.9.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kde-telepathy-bugs at kde.org
          Reporter: reshad at patuck.net

Hi,

I have noticed that the KTP icon stays green (even when disconnected). 

>From the irc channel I know that this is because of the Requested status as
"online"

Steps o reproduce:
- Connected to XMPP server when connected to the internet.
- Remove network cable, mc-tool dump shows Automatic: available (2); Current:
offline (1); Requested: available (2); Changing: no
- Reconnect network cable, mc-tool dump shows Automatic: available (2);
Current: offline (1); Requested: available (2); Changing: no

All the while the status icon remains green without the spinning icon.

In my opinion the status icon should be as follows:
- When connected and not changing: green icon with no spinning status change
indicators.
- When disconnected and not changing: grey icon with no spinning status change
indicator.
- When disconnected and changing to connected: green icon with spinning status
change indicators.

This implies that while changing is yes, use the requested status for the icon
with the spinning indicators and when changing is no use the current status for
the icon.


------ mc-tool dump -----

    When offline (network cable unplugged for 2 min):
    $ mc-tool dump
         Account: gabble/jabber/rap_40xxxxx0
    Display Name: RAP
      Normalized: rap at xxxxx
         Enabled: enabled
            Icon: im-jabber
        Connects: only when requested
        Nickname: rap
         Service: jabber

    Presences:
       Automatic: available (2) ""
         Current: offline (1) ""
       Requested: available (2) ""
        Changing: no

          (string) server = xxxxx
           (GStrv) fallback-socks5-proxies = [""]
          (string) resource = kde-telepathy-xxxxx
          (string) account = rap at xxxxx

    ------------------------------------------------------

    When Online (3-4 min after cable reattached, manually setting status to
online):
    $ mc-tool dump
         Account: gabble/jabber/rap_40xxxxx0
    Display Name: RAP
      Normalized: rap at xxxxx
         Enabled: enabled
            Icon: im-jabber
        Connects: only when requested
        Nickname: rap
         Service: jabber

    Presences:
       Automatic: available (2) ""
         Current: available (2) ""
       Requested: available (2) ""
        Changing: no

          (string) server = xxxxx
           (GStrv) fallback-socks5-proxies = [""]
          (string) resource = kde-telepathy-xxxxx
          (string) account = rap at xxxxx


Reproducible: Always




This bug is similar to "Bug 337881 - Telepathy tries to connect even when
network is down".

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list