Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 474202

Summary: Dialog windows has the same application window type proprerty as main window
Product: [Eclipse Project] Platform Reporter: Alexander Yuzvyak <yuzvyaka>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, ericwill, markus.kell.r, noopur_gupta
Version: 4.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Alexander Yuzvyak CLA 2015-08-04 04:35:38 EDT
In pre 4.5 version Eclipse IDE dialogs has property _NET_WM_WINDOW_TYPE = _NET_WM_WINDOW_TYPE_DIALOG. It can help window managers to recognize main window and some custom preferences could be assigned to main window which wasn't applied to dialogs (i.e. no decoration, maximized, below other windows).
Now dialogs has same _NET_WM_WINDOW_TYPE as main window (_NET_WM_WINDOW_TYPE_NORMAL) and such customization for X.org window managers cannot be done for only main window. In my case this is a huge lack of customization functionality that could make work with eclipse less comfortable.
Comment 1 Noopur Gupta CLA 2015-08-04 07:39:13 EDT
Moving to Platform/SWT as I could see this property mentioned in some SWT bugs. Please move to the correct component if it is not related to SWT.
Comment 2 Markus Keller CLA 2015-08-05 09:05:46 EDT
Could also be a difference between GTK2 and GTK3. See https://www.eclipse.org/swt/faq.php#gtkstartup and maybe try starting with SWT_GTK3=0 .
Comment 3 Eric Williams CLA 2019-10-29 15:55:57 EDT
Eclipse's dialogs are no longer modal so they will be treated as normal windows -- this is a design choice. Applying dialog-like window properties to them wouldn't be correct.