After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710848 - private messages vs shell chat
private messages vs shell chat
Status: RESOLVED OBSOLETE
Product: polari
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-24 23:55 UTC by William Jon McCann
Modified: 2021-06-10 11:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2013-10-24 23:55:37 UTC
I started Polari and got a shell chat message that was really a private message from IRC. I clicked on this notification and Empathy started. I closed Empathy and went back to Polari but there was no sign of the private message.

So I initiated a new private message chat with the person and then got notifications for each message from the user regardless of whether Polari was focused or not.
Comment 1 Florian Müllner 2013-10-25 13:12:43 UTC
(In reply to comment #0)
> I started Polari and got a shell chat message that was really a private message
> from IRC. I clicked on this notification and Empathy started.

Yup, that's a known shell issue[0], we explicitly ask for empathy when "activating" a notification (see bug 686296 for the reasoning behind the change). Unless we just revert the patch and live with possibly autostarting the wrong app, this will require some work on both the tp and shell sides ...
(it's pretty much on top of my "tp-stuff-to-figure-out" list)


> I closed Empathy and went back to Polari but there was no sign of the 
> private message.

Yeah, empathy closes channels on exit (as does Polari btw). This should be a non-issue once we fix the first one (empathy being auto-started for a channel polari is expected to handle). On the polari side, bug 709846 and bug 710271 would also improve this.


> So I initiated a new private message chat with the person and then got
> notifications for each message from the user regardless of whether Polari was
> focused or not.

And another shell issue :-)

(bug 658988 I guess?)

Basically I think that we should not show the built-in chat notification if the focused application is capable of handling it, but there's currently no straight-forward way to express that (read: will likely require some API on the tp side together with gnome-shell changes).


[0] https://git.gnome.org/browse/gnome-shell/tree/js/ui/components/telepathyClient.js#n548
Comment 2 Jean-François Fortin Tam 2015-10-06 20:21:35 UTC
Not sure if this bug report is the right place, but when someone messages me in a private chat I would expect not just the notification, but also for that user name to show up as in the "channels list" like in most other IM/IRC clients. Otherwise, it is 100% impossible to access the private message other than clicking on the notification--if you haven't missed/dismissed the notification, that is.
Comment 3 Florian Müllner 2015-10-06 20:59:24 UTC
(In reply to Jean-François Fortin Tam from comment #2)
> Not sure if this bug report is the right place, but when someone messages me
> in a private chat I would expect not just the notification, but also for
> that user name to show up as in the "channels list"

Yes, that's how it's supposed to work. It broke at one point and was fixed in bug 752422.
Comment 4 Florian Müllner 2015-10-06 21:01:16 UTC
(In reply to Florian Müllner from comment #1)
> (In reply to comment #0)
> > I clicked on this notification and Empathy started.
> 
> Yup, that's a known shell issue[0], we explicitly ask for empathy when
> "activating" a notification

FWIW, this was changed to request Polari for IRC channels at one point, so while not perfect (launch whatever program you're currently using for chat), it's at least less of an issue now.
Comment 5 André Klapper 2021-06-10 11:04:40 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Polari, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/polari/-/issues/

Thank you for your understanding and your help.