Bug 578326

Summary: Popups have wrong size on window manager using `WM_NORMAL_HINTS(WM_SIZE_HINTS)`
Product: [Eclipse Project] Platform Reporter: Thomas van Velthooven <blackdragon2447>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.22   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
output of xprop ran on the popup. none

Description Thomas van Velthooven CLA 2022-01-22 13:27:37 EST
Created attachment 287870 [details]
output of xprop ran on the popup.

the size values for a popup passed to xorg via `WM_NORMAL_HINTS(WM_SIZE_HINTS)` by eclipse are 0, resulting in the window manager assigning the default size to the popup, which is usually too small for said popup.

steps to reproduce:
1. run eclipse in a window manager using `WM_NORMAL_HINTS(WM_SIZE_HINTS)` for window size.
2. open any popup, for example file outline.
(optional)3. use a tool like xprop to check the windows properties.
result: the popup will open with the wrong size.

attachments:
the output of xprop ran on an eclipse popup, showing that `WM_NORMAL_HINTS(WM_SIZE_HINTS)` is not set correctly.