[jitsi-dev] GUI glitches - global status menu indicator not changing but accounts do


#1

Dear Devs, not important but occurring:
setting the global status menu to "away" turns all accounts to "away"
status but the global status indicator stays "online"
is this related to the IRC account? here only offline/online is
available and this probably causes the effect.

pls see below screenshot
Mac OS 10.8.5, Jitsi nb 5292

PGP.sig (489 Bytes)


#2

Hi,

yes it could be. Hey Danny can you check this out, if IRC has only Online
and Offline it should be acting as the sip with Presence turned off and the
UI should already take care of this.

If you have any questions just let me know.

Thanks for the report Mr.Smith
Regards
damencho

···

On Thu, Sep 4, 2014 at 2:06 PM, Mr.Smith <mr.smith476@gmail.com> wrote:

Dear Devs, not important but occurring:
setting the global status menu to "away" turns all accounts to "away"
status but the global status indicator stays "online"
is this related to the IRC account? here only offline/online is available
and this probably causes the effect.

pls see below screenshot
Mac OS 10.8.5, Jitsi nb 5292

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#3

I've just pushed an improved implementation of persistent presence. Now
an 'Away' status is available which uses IRC's AWAY command. This should
fix your problem.

Danny

···

On 09/04/2014 01:06 PM, Mr.Smith wrote:

Dear Devs, not important but occurring:
setting the global status menu to "away" turns all accounts to "away"
status but the global status indicator stays "online"
is this related to the IRC account? here only offline/online is
available and this probably causes the effect.

pls see below screenshot
Mac OS 10.8.5, Jitsi nb 5292

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4
···

Hi,

  I can confirm that currently only Online and Offline are

supported. I’ll have a look at this.

  Danny

  On 09/04/2014 01:16 PM, Damian Minkov wrote:

Hi,

      yes it could be. Hey Danny can you check this out, if IRC

has only Online and Offline it should be acting as the sip
with Presence turned off and the UI should already take care
of this.

If you have any questions just let me know.

Thanks for the report Mr.Smith

Regards

damencho

      On Thu, Sep 4, 2014 at 2:06 PM,

Mr.Smith mr.smith476@gmail.com
wrote:

Dear Devs, not important but occurring:

          setting the global status menu to "away" turns all

accounts to “away” status but the global status indicator
stays “online”

          is this related to the IRC account? here only

offline/online is available and this probably causes the
effect.

          pls see below screenshot

          Mac OS 10.8.5, Jitsi nb 5292
        _______________________________________________

        dev mailing list

        dev@jitsi.org

        Unsubscribe instructions and other list options:

        [http://lists.jitsi.org/mailman/listinfo/dev](http://lists.jitsi.org/mailman/listinfo/dev)

_______________________________________________
dev mailing list
Unsubscribe instructions and other list options:

dev@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/dev


#5
···

Hey damencho,

  I've already looked at this for a bit, but I'm confused. How does

your suggestion work exactly … I get the impression that we
simply mirror any state that can possibly be set. But doesn’t that
bring false information.

  For example, at the moment status Away isn't supported yet (I'm

still working on that) but if I mirror the status change without
actually doing that, then it gives the impression that the client
is set to away. In case of IRC that concept includes an Away
message which was never actually set.

  So, how do you see that?

  Thanks,

  Danny

  On 09/04/2014 01:16 PM, Damian Minkov wrote:

Hi,

      yes it could be. Hey Danny can you check this out, if IRC

has only Online and Offline it should be acting as the sip
with Presence turned off and the UI should already take care
of this.

If you have any questions just let me know.

Thanks for the report Mr.Smith

Regards

damencho

      On Thu, Sep 4, 2014 at 2:06 PM,

Mr.Smith mr.smith476@gmail.com
wrote:

Dear Devs, not important but occurring:

          setting the global status menu to "away" turns all

accounts to “away” status but the global status indicator
stays “online”

          is this related to the IRC account? here only

offline/online is available and this probably causes the
effect.

          pls see below screenshot

          Mac OS 10.8.5, Jitsi nb 5292
        _______________________________________________

        dev mailing list

        dev@jitsi.org

        Unsubscribe instructions and other list options:

        [http://lists.jitsi.org/mailman/listinfo/dev](http://lists.jitsi.org/mailman/listinfo/dev)

_______________________________________________
dev mailing list
Unsubscribe instructions and other list options:

dev@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/dev


#6

yes, looks fine now! Thx a lot for the fix!

MS

···

On 9/29/14 9:37 PM, Danny van Heumen wrote:

I've just pushed an improved implementation of persistent presence. Now
an 'Away' status is available which uses IRC's AWAY command. This should
fix your problem.

Danny

On 09/04/2014 01:06 PM, Mr.Smith wrote:

Dear Devs, not important but occurring:
setting the global status menu to "away" turns all accounts to "away"
status but the global status indicator stays "online"
is this related to the IRC account? here only offline/online is
available and this probably causes the effect.

pls see below screenshot
Mac OS 10.8.5, Jitsi nb 5292

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#7

Hi,

I just took a look at the code. For sip if we disable presence we just
remove the OperationSetPresenceSipImpl and then we only have Online and
Offline state in statuses.
I saw OperationSetPersistentPresenceIrcImpl is it currently used, as all
chatrooms are provided as contact sources if this is the case we can just
remove it?
Or the away status is planned to be included in the protocol?

Regards
damencho

···

On Thu, Sep 4, 2014 at 10:26 PM, Danny van Heumen <danny@dannyvanheumen.nl> wrote:

Hey damencho,

I've already looked at this for a bit, but I'm confused. How does your
suggestion work exactly ... I get the impression that we simply mirror any
state that can possibly be set. But doesn't that bring false information.

For example, at the moment status Away isn't supported yet (I'm still
working on that) but if I mirror the status change without actually doing
that, then it gives the impression that the client is set to away. In case
of IRC that concept includes an Away message which was never actually set.

So, how do you see that?

Thanks,

Danny

On 09/04/2014 01:16 PM, Damian Minkov wrote:

Hi,

yes it could be. Hey Danny can you check this out, if IRC has only
Online and Offline it should be acting as the sip with Presence turned off
and the UI should already take care of this.

If you have any questions just let me know.

Thanks for the report Mr.Smith
Regards
damencho

On Thu, Sep 4, 2014 at 2:06 PM, Mr.Smith <mr.smith476@gmail.com> wrote:

Dear Devs, not important but occurring:
setting the global status menu to "away" turns all accounts to "away"
status but the global status indicator stays "online"
is this related to the IRC account? here only offline/online is available
and this probably causes the effect.

pls see below screenshot
Mac OS 10.8.5, Jitsi nb 5292

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing listdev@jitsi.org
Unsubscribe instructions and other list options:http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#8
···

Hi damencho,

  I believe I need Persistent Presence for direct user to user

communication. (It uses Instant Messaging infrastructure and thus
needs a contact.)

  Away-status is definitely planned. (Also, Foss also requested

this.) I already have some code lying around for some basic
support for this. I’m confused though, because if this is an issue
for Away, isn’t going to be an issue for any other status that
isn’t yet supported?

  Kind regards,

  Danny

  On 09/04/2014 09:53 PM, Damian Minkov wrote:

Hi,

      I just took a look at the code. For sip if we disable

presence we just remove the OperationSetPresenceSipImpl and
then we only have Online and Offline state in statuses.

      I saw OperationSetPersistentPresenceIrcImpl is it currently

used, as all chatrooms are provided as contact sources if this
is the case we can just remove it?

      Or the away status is planned to be included in the

protocol?

Regards

damencho

        On Thu, Sep 4, 2014 at 10:26 PM,

Danny van Heumen danny@dannyvanheumen.nl
wrote:

Hey damencho,

              I've already looked at this for a bit, but I'm

confused. How does your suggestion work exactly … I
get the impression that we simply mirror any state
that can possibly be set. But doesn’t that bring false
information.

              For example, at the moment status Away isn't supported

yet (I’m still working on that) but if I mirror the
status change without actually doing that, then it
gives the impression that the client is set to away.
In case of IRC that concept includes an Away message
which was never actually set.

              So, how do you see that?



              Thanks,


                Danny





                On 09/04/2014 01:16 PM, Damian Minkov wrote:

Hi,

                      yes it could be. Hey Danny can you check

this out, if IRC has only Online and Offline
it should be acting as the sip with Presence
turned off and the UI should already take care
of this.

If you have any questions just let me know.

Thanks for the report Mr.Smith

Regards

damencho

                      On Thu, Sep 4, 2014 at

2:06 PM, Mr.Smith mr.smith476@gmail.com
wrote:

                          Dear Devs, not important but

occurring:

                          setting the global status menu to "away"

turns all accounts to “away” status but
the global status indicator stays “online”

                          is this related to the IRC account? here

only offline/online is available and this
probably causes the effect.

                          pls see below screenshot

                          Mac OS 10.8.5, Jitsi nb 5292

                        dev mailing list

                        dev@jitsi.org

                        Unsubscribe instructions and other list

options:

                        [http://lists.jitsi.org/mailman/listinfo/dev](http://lists.jitsi.org/mailman/listinfo/dev)
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
[http://lists.jitsi.org/mailman/listinfo/dev](http://lists.jitsi.org/mailman/listinfo/dev)
          _______________________________________________

          dev mailing list

          dev@jitsi.org

          Unsubscribe instructions and other list options:

          [http://lists.jitsi.org/mailman/listinfo/dev](http://lists.jitsi.org/mailman/listinfo/dev)

_______________________________________________
dev mailing list
Unsubscribe instructions and other list options:

dev@jitsi.orghttp://lists.jitsi.org/mailman/listinfo/dev


#9

Hi,

Hi damencho,

I believe I need Persistent Presence for direct user to user
communication. (It uses Instant Messaging infrastructure and thus needs a
contact.)

Away-status is definitely planned. (Also, Foss also requested this.) I
already have some code lying around for some basic support for this. I'm
confused though, because if this is an issue for Away, isn't going to be an
issue for any other status that isn't yet supported?

Ok if it is planned, then adding Away will fix the problem. You can check
getGlobalPresenceStatus() method
in impl.globaldisplaydetails.GlobalStatusServiceImpl for further details.
It checks all the providers that have OperationSetPresence and takes the
most connected and display its status. If the provider doesn't have
OperationSetPresence, global status makes sure it displays online if that
protocol is registered.
As currently irc doesn't have Away it always return online when registered
and that's why global status always displays online, as reported.

Regards
damencho

···

On Thu, Sep 4, 2014 at 11:03 PM, Danny van Heumen <danny@dannyvanheumen.nl> wrote:

Kind regards,
Danny

On 09/04/2014 09:53 PM, Damian Minkov wrote:

Hi,

I just took a look at the code. For sip if we disable presence we just
remove the OperationSetPresenceSipImpl and then we only have Online and
Offline state in statuses.
I saw OperationSetPersistentPresenceIrcImpl is it currently used, as all
chatrooms are provided as contact sources if this is the case we can just
remove it?
Or the away status is planned to be included in the protocol?

Regards
damencho

On Thu, Sep 4, 2014 at 10:26 PM, Danny van Heumen <danny@dannyvanheumen.nl > > wrote:

Hey damencho,

I've already looked at this for a bit, but I'm confused. How does your
suggestion work exactly ... I get the impression that we simply mirror any
state that can possibly be set. But doesn't that bring false information.

For example, at the moment status Away isn't supported yet (I'm still
working on that) but if I mirror the status change without actually doing
that, then it gives the impression that the client is set to away. In case
of IRC that concept includes an Away message which was never actually set.

So, how do you see that?

Thanks,

Danny

On 09/04/2014 01:16 PM, Damian Minkov wrote:

Hi,

yes it could be. Hey Danny can you check this out, if IRC has only
Online and Offline it should be acting as the sip with Presence turned off
and the UI should already take care of this.

If you have any questions just let me know.

Thanks for the report Mr.Smith
Regards
damencho

On Thu, Sep 4, 2014 at 2:06 PM, Mr.Smith <mr.smith476@gmail.com> wrote:

Dear Devs, not important but occurring:
setting the global status menu to "away" turns all accounts to "away"
status but the global status indicator stays "online"
is this related to the IRC account? here only offline/online is
available and this probably causes the effect.

pls see below screenshot
Mac OS 10.8.5, Jitsi nb 5292

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing listdev@jitsi.org
Unsubscribe instructions and other list options:http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing listdev@jitsi.org
Unsubscribe instructions and other list options:http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev