[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #17713] Popup Menu does not work on modal window with EWMH window m
From: |
Yen-Ju Chen |
Subject: |
[bug #17713] Popup Menu does not work on modal window with EWMH window manager |
Date: |
Tue, 12 Sep 2006 20:07:24 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5 |
URL:
<http://savannah.gnu.org/bugs/?17713>
Summary: Popup Menu does not work on modal window with EWMH
window manager
Project: GNUstep
Submitted by: yjchen
Submitted on: Tuesday 09/12/2006 at 20:07
Category: Backend
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
_______________________________________________________
Details:
In save panel in Ink.app or Gorm.app,
the popup menu does not work with GNOME or EWMH window manager.
It is because the save panel is declared as modal in xwindow,
but the popup menu is not.
Therefore, the popup menu is always placed under the save panel.
I attach a patch to declare popup menu always modal.
It tricks the window manager to put it in front of a modal window.
Since popup menu disappear when mouse button is released,
declaration of modal does not have real side effect on other windows so far.
Of course, more tests are needed.
Another solution is to have a window level to mark a popup menu
for a modal window, not a normal window,
ex. GSModalPopupMenuWindowLevel.
Then it can be properly set in backend.
Another suggestion is that it would be nice to have an internal
flag to mark the difference of menu, panel, window, etc.
Currently, it depends on window level,
but I guess it is not what window level is intended to do
since the level can be arteibrary.
By the way, since the GNOME adapts EWMH mostly,
I guess it is not necessary to handle GNOME window manager
separately from EWMH anymore.
It may reduce the maintaince on x11 backend.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tuesday 09/12/2006 at 20:07 Name: XGServerWindow.m.diff Size: 513B
By: yjchen
<http://savannah.gnu.org/bugs/download.php?file_id=10743>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?17713>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #17713] Popup Menu does not work on modal window with EWMH window manager,
Yen-Ju Chen <=