Issue 117498

Summary: OO.o menus use incorrect window type
Product: General Reporter: asnimh <ryan.beasley>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: issues, philipp.lohmann
Version: version58   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description asnimh 2011-03-22 03:57:10 UTC
Seemingly all menus created within OpenOffice.org applications, such as those from the File/Edit menu bar as well as drop downs for font selection, are created using the wrong wm-spec¹ window type.  Rather than be identified as menus with _NET_WM_WINDOW_TYPE² set to _NET_WM_WINDOW_TYPE_MENU, they instead appear as _NET_WM_WINDOW_TYPE_UTILITY.

As you can see from the following description, this is clearly the wrong window type:
> _NET_WM_WINDOW_TYPE_UTILITY indicates a small persistent utility window, such as a palette or toolbox. It is distinct from type TOOLBAR because it does not correspond to a toolbar torn off from the main application. It's distinct from type DIALOG because it isn't a transient dialog, the user will probably keep it open while they're working. Windows of this type may set the WM_TRANSIENT_FOR hint indicating the main application window.

References:
1.  http://standards.freedesktop.org/wm-spec/wm-spec-latest.html
2.  http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2551529
Comment 1 Olaf Felka 2011-03-22 06:45:17 UTC
@ pl: Something for you?
Comment 2 philipp.lohmann 2011-03-22 09:08:45 UTC
WHich indicates that they should not be _NET_WM_WINDOW_TYPE_MENU, but _NET_WM_WINDOW_TYPE_DROPDOWN_MENU or _NET_WM_WINDOW_TYPE_POPUP_MENU. Which are defined since EWMH 1.4 which is still not final but in draft state.

But whatever, I guess it will be standard at some point.
Comment 3 Olaf Felka 2011-04-07 09:23:00 UTC
@ pl: How to proceed?
Comment 4 Oliver-Rainer Wittmann 2012-06-13 12:18:09 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.