False reports of "Window not responding" error

Bug #29584 reported by Douglas Green
46
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Metacity
Fix Released
High
metacity (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Dapper
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Whenever I have made some edits to a document, then try to close the application using the X in the upper right corner, it asks if I want to close, cancel, or save. Before I even get a chance to respond, within 1-2 seconds, a second dialog pops up saying:

--------------
Warning

The window "*Unsaved Document 1 - gedit" is not responding.

Forcing this application to quit will cause you to lose any unsaved changes.

[Cancel] [Force Quit]
--------------

This has happened in different applications, gedit, gimp, etc. The warning is actually a false alarm because the window is actually responding just fine. I can cancel the warning and continue saving or exiting as normal.

Note that this only happens for the X in the upper right corner of the window, NOT for the Close or Quit options on the menu, which wait for me to make a choice normally before exiting.

I am running Dapper Drake Flight 3 on AMD64 (plus a bunch of other installed software and updates).

Revision history for this message
John Dong (jdong) wrote :

Confirmed with GNOME. It seems like GNOME's "Window Not Responding" detector is not the brightest thing alive. Basically, if the window isn't off the screen within a few seconds, GNOME will say that it's not responding.

The fix is probably complex at best though :-/

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for your bug. I've no such issue on my i386 dapper, does anybody has an idea of what could trigger that behaviour for you?

Changed in gnome-desktop:
assignee: nobody → desktop-bugs
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Confirmed with KDE as well. It takes more than 1-2 seconds, but if I close a program with the X and some dialog pops up and for any reason I don't let the program close right away, that dialog comes up that the window is not responding.

Kubuntu AMD64 latest updates.

Revision history for this message
Sebastien Bacher (seb128) wrote :

what version of Ubuntu do you use? Is that specific to gedit?

Revision history for this message
John Dong (jdong) wrote : Re: [Bug 29584] False reports of "Window not responding" error

This should be filed as a separate bug, as KDE (KWin)'s inner workings are
different from GNOME's.

Recently I've been unable to reproduce these again, both on Dapper and
Breezy. I think it has to do with non-KDE, non-GNOME programs only (i.e.
Matlab still does this). I don't think there's much (if anything) we can do
about that.

On 3/16/06, Yuriy Kozlov <email address hidden> wrote:
>
> Public bug report changed:
> https://launchpad.net/malone/bugs/29584
>
> Comment:
> Confirmed with KDE as well. It takes more than 1-2 seconds, but if I
> close a program with the X and some dialog pops up and for any reason I
> don't let the program close right away, that dialog comes up that the
> window is not responding.
>
> Kubuntu AMD64 latest updates.
>

Revision history for this message
Noah Medling (noah-medling) wrote :

I've had the same problem on Dapper beta 2 amd64 with Firefox, OpenOffice, gedit, and The Gimp.

Revision history for this message
Sebastien Bacher (seb128) wrote :

what do you do exactly to get those applications displaying that dialog?

Revision history for this message
Noah Medling (noah-medling) wrote :

In Firefox:
1. open a Firefox window
2. open a new tab (CTRL T)
3. try to close the window by hitting the "x" button up in the title bar
4. a dialog pops up with the text "You are about to close 2 open tabs. Are you sure you want to continue?"
5. wait 5 seconds (maybe a little more or less, I didn't measure it)
6. another dialog pops up that says the window is not responding, with options to cancel or force quit.

In OpenOffice.org or gedit:
1. open a new window
2. type some stuff
3. try to close the window by hitting the "x" button
4. get the "are you sure you want to quit" dialog
5. wait
6. get the "not responding" dialog

Similar for The Gimp.

Revision history for this message
Noah Medling (noah-medling) wrote :

The problem seems to have gone away after an apt-get update about an hour ago. I'll take a closer look tonight or tomorrow in the event that nobody can confirm that it's fixed.

Revision history for this message
Noah Medling (noah-medling) wrote :

My previous message should have said "upgrade" instead of "update". But you all knew what I meant, right?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Does anybody still have that issue?

Revision history for this message
Lukas Sabota (punkrockguy318) wrote :

Yes, I do. Here is how I can reproduce it:
Open a ssh connection.
Edit a file on the ssh connection with gedit
Press close.
Gnome will ask for the password to the ssh connection to edit the file.
Wait two seconds.
Metacity will then complain about the window not responding.

Revision history for this message
Lukas Sabota (punkrockguy318) wrote :

Latest dapper x86

Revision history for this message
Noah Medling (noah-medling) wrote :

I installed the release version this morning, and the bug is back.

I'm not sure what changed, as I was running an up-to-date dapper before the reinstall and it wasn't happening. Perhaps having also installed KDE and XFCE had something to do with it.

Revision history for this message
Pete Savage (petesavage) wrote :

Bug is still present, tried in gedit and GIMP.

In pygtk at least, the problem seems to be due to a delete_event signal being captured and held onto whilst waiting for user input. I have a way round this for small apps, but it would be great to have it fixed at the source

Revision history for this message
Sebastien Bacher (seb128) wrote :

on edgy gedit asks for the password on opening, closing the gedit window while the password dialog is opened leads a hang to the password dialog but no "Window not responding" message

Revision history for this message
Niko Rosvall (niko-rosvall) wrote :

I can confirm this. Thought it only happens in my amd64 box, but not with x86 box. Both are running Dapper with latest updates.

Revision history for this message
Niko Rosvall (niko-rosvall) wrote :

I have tryed debug this with older versions of metacity too, it seems to exist in version 2.10.3 of metacity too. I'm not even sure is this metacity problem(?)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do all the people having that issue use and amd64 installation? I've commented upstream about that on http://bugzilla.gnome.org/show_bug.cgi?id=348305. That might be a GTK bug

Changed in metacity:
status: Needs Info → Confirmed
Changed in metacity:
status: Unknown → Confirmed
Revision history for this message
Niko Rosvall (niko-rosvall) wrote :

Yes, what I have heard from people who have amd64 installation, it appears on them.

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed upstream

Changed in metacity:
status: Confirmed → Fix Committed
Changed in metacity:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

That upload fixes the issue:

 metacity (1:2.16.2-0ubuntu1) edgy; urgency=low
 .
   * New upstream version:
     - partial audit to fix timestamp usage (partly fixes #355180)
     - remove compilation warnings
     - automatic detection of stable/unstable in configure script
     - make windows be stacked correctly before showing them (Ubuntu: #33879)
     - use guint32 for timestamps (Ubuntu: #29584)

Changed in metacity:
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

opening a dapper task since the fix is easy enough and that would be nice to get a backport for dapper

Changed in metacity:
assignee: nobody → desktop-bugs
importance: Untriaged → Low
status: Unconfirmed → Confirmed
Revision history for this message
Niko Rosvall (niko-rosvall) wrote :

Yes, I agree. It would be nice to see this fixed in Dapper.

Changed in metacity:
importance: Unknown → High
Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The version of Ubuntu you're reporting this issue on is in End of Life status, and newer versions have fixed this issue. You can learn more about this at https://wiki.ubuntu.com/Releases

Changed in metacity (Ubuntu Dapper):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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