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

Bug 287150

Summary: Bug in "org.eclipse.rap.examples" and using Editor
Product: [RT] RAP Reporter: Uwe <uwe72>
Component: DemoAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.3 M2   
Hardware: All   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 280745    
Attachments:
Description Flags
My example project
none
Adding tabs is working
none
A screenshot of the tab with content, but without a title none

Description Uwe CLA 2009-08-20 04:21:47 EDT
Environment: All browsers, inkl. Inline Browser on Windows XP

My RAP application is based on the Rap Example "org.eclipse.rap.examples" and is using the theme "org.eclipse.rap.design.example.business.theme".

I changed the demo, i don't use the view part in the center, but instead i am using a editor there.

The editor area is working fine, but when i want to add a new tab, the new tab content in the editor is visible, but the tab title is not visible.

(When i add items the first time, everything work fine, the bug described above, just happens when i add and remove all items, and then after re-add, the problem occurs.)
Comment 1 Ivan Furnadjiev CLA 2009-08-20 05:25:43 EDT
Uwe, please provide a snippet/simple project that demonstrate the problem.
Comment 2 Uwe CLA 2009-08-20 08:20:57 EDT
Created attachment 145114 [details]
My example project

My approach to include an editor in the demo app
Comment 3 Uwe CLA 2009-08-20 08:25:09 EDT
Created attachment 145116 [details]
Adding tabs is working

When i add them without removing all before
--> Everything work
Comment 4 Uwe CLA 2009-08-20 08:27:33 EDT
Created attachment 145117 [details]
A screenshot of the tab with content, but without a title
Comment 5 Holger Staudacher CLA 2009-08-20 08:57:07 EDT
It seems that this is a bug which occurs in org.eclipse.rap.design.example. Maybe this issue comes from the StackPresentation. I will take a closer look on this the next days.

Regards Holger
Comment 6 Uwe CLA 2009-08-20 14:08:17 EDT
Yes, i guess the bug "is arround" the StackPresentation class. I was often "there" while debugging.

Without using this branding, the editors work fine.
Comment 7 Holger Staudacher CLA 2009-08-21 04:00:34 EDT
Fixed and committed to CVS HEAD.
Comment 8 Uwe CLA 2009-08-23 07:34:26 EDT
(In reply to comment #7)
> Fixed and committed to CVS HEAD.
> 


I have the impression that the tab titles cannot set anymore after the fix?!
Comment 9 Holger Staudacher CLA 2009-08-24 04:51:05 EDT
Hi Uwe, 
you right. I forgot to add a PropertyListener. I fixed this error and I have committed it to CVS HEAD.