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 620970 - Terminal closed by clicking close window button of window above it
Terminal closed by clicking close window button of window above it
Status: RESOLVED DUPLICATE of bug 436537
Product: metacity
Classification: Other
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2010-06-08 13:41 UTC by Karderio
Modified: 2010-08-25 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Karderio 2010-06-08 13:41:30 UTC
Launch gnome-terminal, maximize it. Open another MAXIMIZED window (one that takes up the whole screen by itself when you open it), ie Nautilus, Totem, Gedit etc., now it should now be directly over the terminal window. Close the second window that you opened, by clicking the top right window border close button : it shuts the lower terminal window instead !

If you don't do things in this order, say you move the windows about, reduce/restore them, the bug does not necessarily appear. If you open a window that is not maximized after opening the terminal and maximizing it and double click it's title bar it is the terminal window which receives the action.

I had this issue in gentoo, and I noticed it once in Ubuntu (on other machine) - I have tested this in Debian so I'm supposing it is not distribution specific.

I'm surprised not to see reports of this elsewhere, can anyone confirm this bug ?

Thanks.
Comment 1 Christian Persch 2010-06-08 13:52:54 UTC
Which window manager is this with? If it is not metacity, with compositing _disabled_, try with that.

Also, are you sure your mouse isn't just misconfigured so it gives 2 click events instead of just one?
Comment 2 Rudolf 2010-06-11 19:35:15 UTC
Same problem (Ubuntu 10.04 (or 9.10) 32bit, with metacity, fglrx)

1. normal problem
(make sure "visual effects" are set to "none")
- start gnome-terminal, maximize the window (double-click on titlebar)
- start gedit, maximize the window (if not maximized already)
- click window-close icon of gedit window

result: gnome-terminal closed (gedit still open)

2. no problem with "visual effects"
the following replaces metacity by compiz:
- set visual effects "normal"
- start gnome-terminal, maximize the window (double-click on titlebar)
- start gedit, maximize the window (if not maximized already)
- set visual effects to "none"
- switch to gnome-terminal
- switch to gedit
- click window-close icon of gedit window

result: gedit window closed, gnome-terminal still there (tested 4 times, worked 4 times)
Comment 3 Christian Persch 2010-06-11 19:48:18 UTC
-> metacity
Comment 4 Mark Carbonaro 2010-07-01 00:59:30 UTC
I have this same problem using Metacity with compositing turned off both in 2.30 (Ubuntu) and 2.28.2 (Gentoo).
Comment 5 Mark Carbonaro 2010-07-02 02:05:36 UTC
(In reply to comment #4)
> I have this same problem using Metacity with compositing turned off both in
> 2.30 (Ubuntu) and 2.28.2 (Gentoo).

Actually this seems to happen to all applications, gedit was doing the same thing just now, not just gnome-terminal, it also happens with compositing on or off.
Comment 6 Thomas Thurman 2010-08-25 14:25:03 UTC
I believe this is a dupe of bug 436537; let me know if you disagree.

*** This bug has been marked as a duplicate of bug 436537 ***