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

Bug 373238

Summary: Editor's title disappears when dialog is open
Product: [RT] RAP Reporter: Setya Nugdjaja <jsetya>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 1.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Editor's title is missing when dialog is open
none
RAP Workbench Demo with missing part title none

Description Setya Nugdjaja CLA 2012-03-05 07:55:02 EST
Created attachment 212060 [details]
Editor's title is missing when dialog is open

Hi all,

When a dialog is opened, the Editor's title is missing. Kindly check the screenshot.

Here's the snippet to reproduce:

	@Override
	public void createPartControl(final Composite parent)
	{
	  parent.setLayout(GridLayoutFactory.fillDefaults().extendedMargins(5, 5, 5, 5).create());
		
	  Composite container = toolkit.createComposite(parent);
	  container.setLayout(GridLayoutFactory.fillDefaults().create());
	  container.setLayoutData(GridDataFactory.fillDefaults().grab(true, true).create());
	  
	  Button button = toolkit.createButton(container, "Click me to show dialog", SWT.PUSH);
	  button.addSelectionListener
	  (
			new SelectionAdapter()
			{
				@Override
				public void widgetSelected(SelectionEvent e)
				{
					MessageDialog.openInformation(parent.getShell(), "Dialog", "This a message dialog");
				}
			}
		);
	}

Thanks & Regards,

Setya
Comment 1 Ivan Furnadjiev CLA 2012-03-05 10:04:38 EST
Setya, I can't reproduce it with the current CVS HEAD and Workbench Demo. Could you provide a complete self-running snippet to demonstrate the issue? Is it reproducible with 1.5 for you? Is it reproducible in all browsers - FF, IE, Chrome, Safari?
Comment 2 Setya Nugdjaja CLA 2012-03-05 20:22:26 EST
Hi Ivan,

> Setya, I can't reproduce it with the current CVS HEAD and Workbench Demo. Could
> you provide a complete self-running snippet to demonstrate the issue? Is it
> reproducible with 1.5 for you? Is it reproducible in all browsers - FF, IE,
> Chrome, Safari?

I was reproducing it in internal browser, Chrome and Firefox in Ubuntu. In Windows I was using Chrome. The version was 1.4.2 & 1.5.0-M2. I haven't tried the CVS HEAD yet. The snippet is all there in the attachment, you just have to provide a standard EditorPart to contain it.

Thanks & Regards,

Setya
Comment 3 Setya Nugdjaja CLA 2012-03-05 21:03:11 EST
Created attachment 212108 [details]
RAP Workbench Demo with missing part title

Screenshot from RAP Workbench Demo
Comment 4 Setya Nugdjaja CLA 2012-03-09 06:12:52 EST
Hi,

As shown in the attachment, the missing title is reproducible in RAP Workbench Demo and affects ViewPart too.

Thanks & Regards,

Setya
Comment 5 Ivan Furnadjiev CLA 2012-03-21 05:02:02 EDT
Setya, I still can't reproduce it with CVS HEAD. Could you check your browser zoom settings? Are they on 100%?
Comment 6 Ivan Furnadjiev CLA 2012-04-03 04:14:06 EDT
(In reply to comment #3)
> Created attachment 212108 [details]
> RAP Workbench Demo with missing part title
> 
> Screenshot from RAP Workbench Demo
Setya, if you look carefully at the part title, you will see the text, but there is a strange (gray) text color.
Comment 7 Setya Nugdjaja CLA 2012-04-03 04:23:53 EDT
Hi,

Yes, after looking it more carefully I can see a blurred part title. Is this considered bug or just theming problem ?

Thanks & Regards,

Setya
Comment 8 Ivan Furnadjiev CLA 2012-04-03 04:40:49 EDT
As I can't reproduce it with current CVS HEAD (1.5M6) I could consider it as a theming glitch.
Comment 9 Ivan Furnadjiev CLA 2012-04-03 05:07:46 EDT
I will close it as WORKSFORME. Please reopen if you disagree and could reproduce it with 1.5M6 or CVS HEAD.