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

Bug 417067

Summary: Child shell doesn't show the close button on Linux with Gnome SHell 3.8
Product: [Eclipse Project] Platform Reporter: Luca Viggiani <luca.viggiani>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, ericwill, luca.viggiani
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Result on Linux none

Description Luca Viggiani CLA 2013-09-12 06:19:03 EDT
Created attachment 235419 [details]
Result on Linux

Try to run the following example on Linux (Ubuntu 13.04 64Bit Gnome edition with Gnome Shell / GTK+ 3.8.3):

http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/ChildShellExample.htm

On linux, the child shell doesn't have any Close button even if created with SWT.CLOSE, SWT.DIALOG_TRIM or any combination of styles.

The same example, if run on windows, does show the close button as expected.
Comment 1 Alexander Kurtakov CLA 2014-04-01 03:17:06 EDT
I guess you run with a gnome theme (like Adwaita) that doesn't show close buttons. I get the same experience like you with Adwaita(and the screenshots make me think its adwaita) but if I switch to e.g. Clearlooks the close button is shown. 
Please confirm. If this is the case I don't think there is much that can be done from SWT side.
Comment 2 Eric Williams CLA 2018-06-29 15:45:23 EDT
(In reply to Alexander Kurtakov from comment #1)
> I guess you run with a gnome theme (like Adwaita) that doesn't show close
> buttons. I get the same experience like you with Adwaita(and the screenshots
> make me think its adwaita) but if I switch to e.g. Clearlooks the close
> button is shown. 
> Please confirm. If this is the case I don't think there is much that can be
> done from SWT side.

No response in awhile and this seems to be a theming issue -- closing this ticket now.