Issue 117498 - OO.o menus use incorrect window type
Summary: OO.o menus use incorrect window type
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: version58
Hardware: PC Linux, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 03:57 UTC by asnimh
Modified: 2013-08-07 15:31 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
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.