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

Bug 410810

Summary: Tile bar disappears when setting SWT.ON_TOP style to dialog
Product: [Eclipse Project] Platform Reporter: Fedor Malyshev <fmalyshev>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: jan.public, ndjensen, rwa5908, xixiyan
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
test case illustrating issue none

Description Fedor Malyshev CLA 2013-06-14 08:39:59 EDT
On Ubuntu 12.04 LTS 
When I set SWT.ON_TOP style for jface Dialog, it appears with no top bar nor border. (Looks like drop-down or context menu window.)
Comment 1 Ron Anderson CLA 2017-02-28 13:20:15 EST
This has been an issue with all dialogs since at least 3.2.
Please fix this!
Comment 2 Alexander Kurtakov CLA 2017-02-28 13:46:50 EST
Would you please come with snippet showing your exact problem?
Comment 3 Nate Jensen CLA 2017-05-23 11:58:47 EDT
Created attachment 268532 [details]
test case illustrating issue
Comment 4 Nate Jensen CLA 2017-05-23 12:03:04 EDT
Attached a simple test case.  On Windows you get a dialog trim with SWT.ON_TOP.  On Linux with gtk you do not.

Since it's specific to gtk and SWT.ON_TOP, I consider it related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=516907

See that ticket and its corresponding links for discussions about the underlying gtk calls used when SWT.ON_TOP is used.
Comment 5 Xi Yan CLA 2018-06-29 13:44:24 EDT
I can reproduce the issue on SWT master as of today, with GTK3.22 and Fedora 28 on both X11 and Wayland.
Comment 6 Xi Yan CLA 2018-12-07 11:29:09 EST
I cannot reproduce this anymore on Fedora 29, GTK3.24, using SWT master on x11/wayland. I think it was fixed by some of the previous patches.