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 745503 - Kick a lot of telepathy functionality back to empathy
Kick a lot of telepathy functionality back to empathy
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: telepathy
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Shell Telepathy maintainer(s)
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-03-03 08:45 UTC by Giovanni Campagna
Modified: 2015-03-03 22:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
TelepathyClient: remove subscription request notifications (6.65 KB, patch)
2015-03-03 08:45 UTC, Giovanni Campagna
committed Details | Review
TelepathyClient: remove account status notifications (10.40 KB, patch)
2015-03-03 08:45 UTC, Giovanni Campagna
committed Details | Review
TelepathyClient: remove call and file transfer approval (6.60 KB, patch)
2015-03-03 08:45 UTC, Giovanni Campagna
committed Details | Review
TelepathyClient: stop handling room invitations (6.96 KB, patch)
2015-03-03 08:45 UTC, Giovanni Campagna
committed Details | Review
ShellTpClient: remove unused code (4.02 KB, patch)
2015-03-03 08:45 UTC, Giovanni Campagna
committed Details | Review
NotificationDaemon: stop filtering notifications from empathy (1.72 KB, patch)
2015-03-03 08:45 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2015-03-03 08:45:21 UTC
In the early 3.2 days when this features were added, the idea was
that empathy would be for the most part optional or invisible, and
chat integration was a prominent part of the shell.
These days on the other hand we want chat to be an application feature,
and in particular it is not possible to be online unless a full
fledged chat application is launched or set to autostart, which
means that most of this code is unnecessary, and even dangerous
in days where the shell is the trusted display server whose crash
kills the session. Additionally, with the new message tray rework
most of these features are broken because they rely on having actions
in summary mode.

What this patchset breaks is the ability to have working calls,
file transfers and group chats by using 'mc-tool request' or 'mc-tool auto-connect'
from the command line. I don't think it is a significant regression:
it is just as easy to configure empathy to autostart as a daemon in
background (empathy -hn), in which case there will be code taking care
of this.
Comment 1 Giovanni Campagna 2015-03-03 08:45:25 UTC
Created attachment 298382 [details] [review]
TelepathyClient: remove subscription request notifications

The ones handled by empathy are just fine
Comment 2 Giovanni Campagna 2015-03-03 08:45:29 UTC
Created attachment 298383 [details] [review]
TelepathyClient: remove account status notifications

These notifications are annoying for the most part: presence
changes happen inside an app (empathy or polari), and that app
should have in app notifications for errors, instead of spamming
the global notifications.
Comment 3 Giovanni Campagna 2015-03-03 08:45:34 UTC
Created attachment 298384 [details] [review]
TelepathyClient: remove call and file transfer approval

Let empathy deal with these.
Comment 4 Giovanni Campagna 2015-03-03 08:45:39 UTC
Created attachment 298385 [details] [review]
TelepathyClient: stop handling room invitations

Let empathy deal with these
Comment 5 Giovanni Campagna 2015-03-03 08:45:44 UTC
Created attachment 298386 [details] [review]
ShellTpClient: remove unused code
Comment 6 Giovanni Campagna 2015-03-03 08:45:49 UTC
Created attachment 298387 [details] [review]
NotificationDaemon: stop filtering notifications from empathy

Now that we don't have our own code for showing telepathy
notifications, we don't need to filter out empathy's.
Comment 7 Florian Müllner 2015-03-03 10:38:35 UTC
Review of attachment 298382 [details] [review]:

In the other patches you remove stuff from shell-tp-client as it becomes unused, except here where you did a separate commit. Please squash the two, otherwise LGTM
Comment 8 Florian Müllner 2015-03-03 10:38:41 UTC
Review of attachment 298383 [details] [review]:

LGTM
Comment 9 Florian Müllner 2015-03-03 10:38:45 UTC
Review of attachment 298384 [details] [review]:

LGTM
Comment 10 Florian Müllner 2015-03-03 10:38:49 UTC
Review of attachment 298385 [details] [review]:

LGTM
Comment 11 Florian Müllner 2015-03-03 10:38:55 UTC
Review of attachment 298386 [details] [review]:

Should be squashed with the subscription request patch
Comment 12 Florian Müllner 2015-03-03 10:39:01 UTC
Review of attachment 298387 [details] [review]:

OK
Comment 13 Giovanni Campagna 2015-03-03 22:33:21 UTC
Pushed with suggested change.

Attachment 298382 [details] pushed as 38a2f26 - TelepathyClient: remove subscription request notifications
Attachment 298383 [details] pushed as e01076a - TelepathyClient: remove account status notifications
Attachment 298384 [details] pushed as fab25e1 - TelepathyClient: remove call and file transfer approval
Attachment 298385 [details] pushed as 707cc9e - TelepathyClient: stop handling room invitations
Attachment 298387 [details] pushed as 8eb236a - NotificationDaemon: stop filtering notifications from empathy