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

Bug 287530

Summary: [Widgets] Shell's drop shadow disappear when focusing its parent
Product: [Eclipse Project] Platform Reporter: Lars <shinfoo>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
drop shadow of a shell is rendered behind its parent none

Description Lars CLA 2009-08-25 04:40:14 EDT
Created attachment 145522 [details]
drop shadow of a shell is rendered behind its parent

example application:

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class Foo {
	public static void main(String[] args) {
		Display display = new Display();
		Shell shell = new Shell(display);
		shell.setText("Application");
		shell.setSize(200, 200);
		shell.open();
		Shell dialog = new Shell(shell, SWT.TOOL);
		dialog.setSize(50, 50);
		dialog.open();
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch())
				display.sleep();
		}
		display.dispose();
	}
}


Focus the application shell by clicking on it -> The small shell's drop shadow disappear.

Move the application shell to a position, so that the small shell partially overlaps the application shell -> The drop shadow of the small shell is rendered behind the application shell.


This seems to be the same behavior like in bug 133098.
Comment 1 Bogdan Gheorghe CLA 2009-08-25 11:45:06 EDT
Reproducible.
Comment 2 Leo Ufimtsev CLA 2017-08-03 12:26:35 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 3 Eclipse Genie CLA 2020-04-29 10:13:45 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.