bugGNUstep - Bugs: bug #45442, Document windows obscure submenus...


bug #45442: Document windows obscure submenus & floating panels on Ubuntu

Submitter:  Josh Freeman <tedge>
Submitted:  Tue 30 Jun 2015 04:50:31 AM UTC
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  In Progress
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Thu 05 Nov 2020 12:21:41 AM UTC, comment #3: 

comment #1:

> Can someone with Ubuntu test this to see if it's still an issue?

Still appears on the latest Ubuntu (20.10), under the following desktop environments (and their default window managers):
- Plasma (KWin WM): Floating utility windows can be obscured by normal windows
- Xfce (Xfwm WM): Submenu windows can be obscured by normal windows
- Unity (Compiz WM): Both floating and submenu windows can be obscured

Josh Freeman <tedge>
Sun 01 Nov 2020 10:43:29 AM UTC, comment #2: 

I just tried to build on Debian and had an issue with clang there.
 The compiler crashes.  I am going to try to build with GCC to see if I can reproduce this issue.

Gregory John Casamento <gcasa>
Group administrator
Fri 30 Oct 2020 03:46:30 PM UTC, comment #1: 

Can someone with Ubuntu test this to see if it's still an issue?

Gregory John Casamento <gcasa>
Group administrator
Tue 30 Jun 2015 04:50:31 AM UTC, original submission:  

Tested 4 up-to-date 32-bit Linux distros installed on VirtualBox 4.3.28 (latest), with Clang 3.7 & GNUstep from the current SVN trunk:
- Ubuntu 14.04.2
- Ubuntu 15.04
- Linux Mint 17.1 Cinnamon
- Linux Mint 17.1 MATE

Also tested Linux Mint 17.1 MATE as a hardware install, using Clang 3.5 & current GNUstep trunk; Same results as Mint MATE on Virtualbox, so the issue likely isn't due to virtualization, but that can't be ruled out until also tested with Ubuntu on a hardware install.

The issue appears on Ubuntu 14.04.2 & 15.04, both of which use the Compiz window manager. It does not appear on Mint 17.1 (based on Ubuntu 14.04.2) Cinnamon, which uses the Muffin window manager, or MATE, when using its default window manager, Marco. However, 17.1 MATE also supports Compiz - switching to Compiz causes the issue to appear on Mint as well, so Compiz - or interfacing with it - is the likely cause.

Under the affected configurations mentioned above, the issue can be reproduced in GNUstep GUI applications that have a main menu and normal windows (window level: NSNormalWindowLevel); Several apps were checked and shown to display the issue, including Graphos, PRICE, and FisicaLab.

To reproduce the issue: Run a GS GUI application, open a document window, and position the app's main-menu panel over the document window so that when a menu-item is clicked, its submenu panel will overlap the document window. (See attached image). Clicking a main-menu item will cause the submenu to appear behind the document window instead of in front.

Additional details:
- When the submenu/floating-panel is revealed behind the document window, it can be brought to the front by clicking its titlebar. However, if the submenu/panel is hidden again, the next time it appears it will return to its previous ordering behind the document window.

- Issue affects windows at level NSFloatingWindowLevel & NSSubmenuWindowLevel, but doesn't appear to affect windows at level NSMainMenuWindowLevel or NSStatusWindowLevel - those will correctly remain in front of document windows.

- Switching the document window's level from NSNormalWindowLevel to NSDesktopWindowLevel will prevent it from obscuring submenus/panels.

Josh Freeman <tedge>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gcasa (Posted a comment)
  • -email is unavailable- added by FredKiefer (Updated the item)
  • -email is unavailable- added by tedge (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-01 gcasa StatusNone In Progress
        Assigned toNone gcasa
    2017-08-24 FredKiefer CategoryNone Gui/AppKit
    2015-06-30 tedge Attached File- Added Ubuntu15.05_GNUstepWindow.png, #34346

    Back to the top

    Powered by Savane 3.13-58d6.
    Corresponding source code