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

Bug 434001

Summary: TabItem content not displayed on Firefox 29
Product: [RT] RAP Reporter: Sebastien Arod <sebastien.arod>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: ivan
Version: 2.3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
snippet project
none
Screenshot illustrating the issue (chome on the left, firefox 29 on the right none

Description Sebastien Arod CLA 2014-05-02 10:44:14 EDT
Created attachment 242636 [details]
snippet project

Since Firefox 29 the content of Tab Item is not displayed anymore.

To reproduce:
* Import the attached snippet project in eclipse
* Right click on project and select run as RWT application
* Open the app using firefox 29

Actual Result:
* Tab Items seem empty

Expected Result:
* A label should be visible as tab item control.

This works fine on other browsers or previous firefox versions.
I reproduced the behavior using rwt 2.2 and rap 2.3.

FYI after some quick investigation in the browser it seems that the div representing tab item content have no width. If I add "width: 100%;" using the dom inspector firefox displays the content correctly.
Comment 1 Ivan Furnadjiev CLA 2014-05-04 11:07:07 EDT
Sebastien, your snippet is working fine for me in Firefox 29 under Windows 7 x64. Could you test it under Windows? Maybe it's reproducible only under Linux?!
Comment 2 Sebastien Arod CLA 2014-05-04 15:01:43 EDT
Created attachment 242684 [details]
Screenshot illustrating the issue (chome on the left, firefox 29 on the right

I reproduced the issue using firefox 29 under a windows 7 64s bits see attached screen shot.
Comment 3 Sebastien Arod CLA 2014-05-04 15:33:30 EDT
To be more specific I ran FF 29 on a windows 7 running as a virtualbox VM and reproduced the issue
Comment 4 Ivan Furnadjiev CLA 2014-05-04 16:22:13 EDT
(In reply to Sebastien Arod from comment #2)
> Created attachment 242684 [details]
> Screenshot illustrating the issue (chome on the left, firefox 29 on the right
> 
> I reproduced the issue using firefox 29 under a windows 7 64s bits see
> attached screen shot.

Could you try to disable the "Use hardware acceleration when available" in Firefox -> Options -> Advanced -> General tab? Does it make any difference?
Also online Controls Demo is working for me [1]. Could you try it?

[1] http://rap.eclipsesource.com/demo/release/controlsdemo/controls#TabFolder
Comment 5 Sebastien Arod CLA 2014-05-04 16:34:50 EDT
(In reply to Ivan Furnadjiev from comment #4)

Disabling hardware acceleration does not fix the issue on my side on my sample.

The tab folder in the "controls demo" work fine!!! 

I'll try to run the "controls demo" from my eclipse environment to see if I reproduce the problem when running the demo locally.
Comment 6 Ivan Furnadjiev CLA 2014-05-05 03:35:05 EDT
Seb, are you using recent nightly (master) RAP version where this bug 433179 is fixed? Could you try with latest nightly build? All my tests are based on RAP master.
Comment 7 Ivan Furnadjiev CLA 2014-05-05 06:17:15 EDT
I'll close this bug as duplicate of bug 433179. Sebastien, please reopen if the issue persists with the latest nightly RAP build or upcoming RAP 2.3M3.
For older RAP versions see workaround for bug 433179 here:
https://wiki.eclipse.org/RAP/FAQ#Blank_page_or_client_crash_in_Firefox_29.2B

*** This bug has been marked as a duplicate of bug 433179 ***
Comment 8 Sebastien Arod CLA 2014-05-05 06:41:05 EDT
Hi Ivan,

I didn't test with 2.3 from master but the workaround works fine.

Thanks
-Seb