Bug 333829 - Chat window (ktp-text-ui) hangs when "Application Menu in Window Decoration" is enabled
Summary: Chat window (ktp-text-ui) hangs when "Application Menu in Window Decoration" ...
Status: RESOLVED UPSTREAM
Alias: None
Product: telepathy
Classification: Unmaintained
Component: text-ui (show other bugs)
Version: 0.8.0
Platform: Kubuntu Linux
: NOR major
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-24 14:33 UTC by Alvaro Manuel Recio Perez
Modified: 2014-07-23 08:31 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
First stage of unresponsive chat window (31.45 KB, image/png)
2014-04-24 14:34 UTC, Alvaro Manuel Recio Perez
Details
Second stage of unresponsive window (28.91 KB, image/png)
2014-04-24 14:35 UTC, Alvaro Manuel Recio Perez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Manuel Recio Perez 2014-04-24 14:33:33 UTC
I'm a user of the "Application Menu in Window Decoration" feature as described by Martin Gräßlin here: http://blog.martin-graesslin.com/blog/2013/01/4-10-feature-presentation-application-menu-in-window-decoration/.

I recently updated Kubuntu from version 13.10 (Saucy Salamander) to 14.04 (Trusty Tahr), which in turn updated KDE Telepathy to version 0.8.0. From that moment onwards, whenever I try to open a chat window it "freezes". That is, the window appears, the toolbar is visible but the contents remain "empty". After a while, the following error appears:

"org.freedesktop.Telepathy.Error.NotAvailable: Handler no longer available."

After that, the window contents are visible but the window remains "frozen". Typing is not possible.

I may be wrong but other "requests" seem to be blocked until the error message appear. For example, trying to close the KDE session or trying to capture a screnshot by pressing the corresponding hotkey while the chat window is unresponsive does nothing but the request seems postponed. Once the error message appear, those requests happen at once.

Reproducible: Always

Steps to Reproduce:
1. Ensure the "Application Menu in Window Decoration" feature is enabled in System Settings.
2. Open a chat window by double-clicking a contact in KDE Telepathy.
Actual Results:  
An unresponsive chat window is shown.

Expected Results:  
A chat window which actually works should be shown.

The symptons seems identical to those described in Bug #332099 (https://bugs.kde.org/show_bug.cgi?id=332099). The screenshot of the chat window seems identical to the ones I'm getting.

I've successfully reproduced the bug in a guest session in Kubuntu. As far as I know, guest sessions use the default configuration so I believe it has nothing to do with my particular configuration other than the application menu in window decoration.
Comment 1 Alvaro Manuel Recio Perez 2014-04-24 14:34:34 UTC
Created attachment 86249 [details]
First stage of unresponsive chat window
Comment 2 Alvaro Manuel Recio Perez 2014-04-24 14:35:07 UTC
Created attachment 86250 [details]
Second stage of unresponsive window

This is how the window looks after the error message has been shown.
Comment 3 David Edmundson 2014-04-24 14:42:49 UTC
You are correct. I explain the cause here if you're interested.
https://plus.google.com/101211744280964358210/posts/UYkWKz884S3

Either way it's not our fault.
I wrote a patch here: https://git.reviewboard.kde.org/r/117746/
Comment 4 Alvaro Manuel Recio Perez 2014-04-24 14:50:14 UTC
Thanks for the incredibly prompt response, David. Do you happen to know if this is Kubuntu specific? If so, perhaps someone should notify them.