gnome-terminal menubar doesn't work with certain window managers (design flaw)
Submitted by dom..@..gmx.de
Description
Package: gnome-terminal Version: 1.0.3
E.g. using fvwm-2.3.3 the terminal's menu bar isn't swallowed by the terminal application. What happens is this:
fvwm like many other window managers does not allow applications to chose their position but finds a place on the desktop where the window fits best. I'm running fvwm standalone, without gnome.
When I start gnome-terminal from a shell (I have no config file for gnome-terminal), I can see it send ConfigureRequest events to the WM requesting the menu bar to be positioned at +109+58 and the terminal window somewhere near (doesn't matter).
After handling the ConfigureRequests, gnome-terminal sends a MapRequest event for the menu bar and fvwm maps it in the requested place. Next gnome-terminal sends a MapRequest for the main window. This time the window overlaps some other window and fvwm places it somewhere else on the screen. This leaves the menu bar orphaned and undecorated somewhere off the terminal window. No matter what you do, you can't reattach the bar to the main window.
Analysis:
The main problem is, that the menu bar window is a transient window for the main terminal window. Thus is might be placed or decorated independently from the terminal window.
Solution:
As long as the menu bar is swallowed by the gnome-terminal it must not be an independent window. It has to be a child of the terminal window. Only when it's ripped out it can become a child of the root window.
To reproduce this bug:
- install a clean fvwm-2.3.3 package (gnome compliant)
- create an empty .fvwm2rc in your home directory
- start X and open a xterm from the built in fvwm menu
- start gnome-terminal from the xterm
Bye
Dominik ^_^
-- Dominik Vogt, dominik.vogt@gmx.de Reply-To: dominik.vogt@gmx.de
------- Additional Comments From zucchi@zedzone.mmc.com.au 1999-08-24 19:20:42 ----
Subject: gnoome-terminal menu bar doing weird shit From: NotZed zucchi@zedzone.mmc.com.au To: 1542@bugs.gnome.org Message-Id: 199908242320.IAA29007@zedzone.mmc.com.au Date: Wed, 25 Aug 1999 08:50:42 +0930 (CST)
Can anyone confirm this?
I've never seen this behaviour, it could be a problem with the window manager (all other window managers i've tried work fine).
Michael
------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 15:16 ------- This bug was previously known as bug 1542 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=1542 Originally filed under the gnome-core product and gnome-terminal component.
Unknown version 1.0.x in product gnome-core. Setting version to the default, "unspecified". The original reporter (dominik.vogt@gmx.de) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-core-maint@bugzilla.gnome.org.
Version: 1.0.5x
Resolution: RESOLVED INCOMPLETE