GNOME Bugzilla – Bug 710848
private messages vs shell chat
Last modified: 2021-06-10 11:04:40 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.
(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
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.
(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.
(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.
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.