Public bug reported:

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?

** Affects: telepathy-indicator
     Importance: Medium
     Assignee: Lars Uebernickel (larsu)
         Status: Triaged

** Affects: empathy (Ubuntu)
     Importance: Undecided
         Status: New

** Changed in: telepathy-indicator
       Status: New => Triaged

** Changed in: telepathy-indicator
   Importance: Undecided => Medium

** Changed in: telepathy-indicator
     Assignee: (unassigned) => Lars Uebernickel (larsu)

** Also affects: empathy (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to empathy in Ubuntu.
https://bugs.launchpad.net/bugs/1098549

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

Status in Telepathy Indicator Service:
  Triaged
Status in “empathy” package in Ubuntu:
  New

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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/telepathy-indicator/+bug/1098549/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to