Chat windows should always be openend automatically (in the background)

Bug #1098549 reported by Lars Karlitski
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Confirmed
Low
Unassigned
Telepathy Indicator
Triaged
Medium
Lars Karlitski
empathy (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

This is a regression of bug #206547, probably introduced when telepathy-indicator was introduced.

The problem is that telepathy-indicator doesn't approve incoming messages until the corresponding menu item is activated. ("Approving" means that the channel request is forwared to Empathy.)

My first idea to fix this was to make telepathy-indicator an observer only, not an approver. Empathy's "Display incoming events in the notification area" preference must be turned off for this to work, so that Empathy approves channels automatically and opens the chat window. However, as soon as the window is created, Empathy tells telepathy to remove the pending message, which means that the messaging menu doesn't contain the new channel (and doesn't turn blue). It works for every message after the initial one, though.

My second idea was to make telepathy-indicator approve every incoming channel request, so that it gets handled immediately by Empathy. This has the same problem as above: the first message is immediately removed and the messaging menu doesn't turn blue.

[Aside: Both solutions suffer from the problem that Empathy sometimes opens new chats in the foreground, even though the event is explicitely marked as not originating from a user action.]

I assume the last option is to patch Empathy to only remove pending messages when the window is focussed. Maybe someone with more insight into telepathy has a better idea on how to fix this?

Lars Karlitski (larsu)
Changed in telepathy-indicator:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Lars Uebernickel (larsu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in empathy (Ubuntu):
status: New → Confirmed
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Low
Changed in empathy (Ubuntu):
importance: Undecided → Low
Changed in hundredpapercuts:
milestone: none → papercuts-s-empthy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.