Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+(View content can't scroll properly in Chrome 35+ by using ScrolledComposite in RAP 2.2/2.3)
icon5.gif  There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1391712] Tue, 01 July 2014 09:36 Go to next message
Shafiqul Alam is currently offline Shafiqul AlamFriend
Messages: 2
Registered: July 2014
Junior Member
Recently I'm facing a problem when browsing a view content in Chrome Version 35.0.1916.153. In my application I've used ScrolledComposite. On this composite I've created some sections by using Section. My application supports single sourcing, I mean it runs on both RCP & RAP 2.2. In RCP, there is no problem. On the other hand, in RAP though contents are showing properly in FF, IE, Safari but in Chrome Version 35.0.1916.153 not. In Chrome for first time when scroll view comes it shows ok. When trying to scroll down or up some section doesn't move or some part scrolled with overlapping with other portion. Not whole page is scrolling.

I found it was not happening in earlier version of Chrome 35+. Though there was an another problem (Widgets disappearing in Google Chrome, Safari or Opera ) which was fixed by adding a javascript code. However, that code is removed for Chrome 35+ but this new scroll problem is occurred. Even I've tested in RAP 2.3 the scroll problem is still there. For better understanding please see the attachment.

Can any body help me how can I fix this problem or is it a known issue?
  • Attachment: example.png
    (Size: 116.27KB, Downloaded 41 times)
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1391808 is a reply to message #1391712] Tue, 01 July 2014 12:47 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 2525
Registered: July 2009
Senior Member
Moving this to the RAP forum.
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1392421 is a reply to message #1391808] Wed, 02 July 2014 10:04 Go to previous messageGo to next message
Sebastien Arod is currently offline Sebastien ArodFriend
Messages: 37
Registered: July 2009
Member
We have the same issue when the scrolled composite contains a Browser widget.

I reproduced the issue on chrome 35 and chrome 37.0.2062.3 dev (dev channel).

Disabling hardware acceleration does not help.
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1392436 is a reply to message #1392421] Wed, 02 July 2014 10:35 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 155
Registered: March 2010
Location: France
Senior Member
Hello I confirm also this issue reproducible with rap demo

Go in http://rap.eclipsesource.com/demo/release/rapdemo/#gmaps, minimize your window in order to have vertical scrollbars and try to scroll verticall
It works fine in Firefox, but not in chrome

Arnaud
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1392444 is a reply to message #1392436] Wed, 02 July 2014 10:47 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1931
Registered: July 2009
Senior Member
Hi,
I can reproduce it on my machine with Chrome v35.0.1916.153. Reopened
the bug:
435200: Vertical scrolling broken in Chrome
https://bugs.eclipse.org/bugs/show_bug.cgi?id=435200
We will investigate it with a higher priority.
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1393000 is a reply to message #1392444] Thu, 03 July 2014 05:06 Go to previous messageGo to next message
Shafiqul Alam is currently offline Shafiqul AlamFriend
Messages: 2
Registered: July 2014
Junior Member
Thanks for your reply. However, I've a small figured out in a point when this problem is occurring. For creating set content composite of ScrolledComposite I'm using its style as SWT.DOUBLE_BUFFERED. If I use SWT.BORDER then Chrome 35+ scrolling fine. For any other style (SWT.NONE or SWT.DEFAULT etc.) Chrome 35+ can't scroll properly.

Example code that is not creating problem in Chrome 35+:

ScrolledComposite scrolledComposite = new ScrolledComposite(
parentComposite, SWT.H_SCROLL | SWT.V_SCROLL);
....
Composite contentComposite = new Composite(scrolledComposite , SWT.BORDER);//if use SWT.NONE or any other style then creating problem
scrolledComposite.setContent(contentComposite );
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1393840 is a reply to message #1392421] Fri, 04 July 2014 10:52 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1931
Registered: July 2009
Senior Member
Hi Sebastien, Arnaud,
what is the content of your Browser widget? Could you create a snippet
to demonstrate the issue with a similar content?
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1395711 is a reply to message #1393840] Mon, 07 July 2014 09:31 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 155
Registered: March 2010
Location: France
Senior Member
The content of browser widget is a google map, so same issue we have with demo
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1395740 is a reply to message #1395711] Mon, 07 July 2014 10:21 Go to previous messageGo to next message
Song David is currently offline Song DavidFriend
Messages: 191
Registered: April 2011
Senior Member
I met the same problem too in my project
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1403835 is a reply to message #1395740] Mon, 28 July 2014 08:21 Go to previous messageGo to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 155
Registered: March 2010
Location: France
Senior Member
Hello,

Do you have some ideas about what could cause this ? and are there anything we can do to help you investigate or solve this ?

Regards,
Arnaud
Re: There is a scroll problem with the RAP 2.2/2.3 in Chrome 35+ [message #1403844 is a reply to message #1403835] Mon, 28 July 2014 09:09 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 1931
Registered: July 2009
Senior Member
Hi Arnaud,
we believe that this is a WebKit bug. We opened a bugzilla against
WebKit [1] for the previous related issue (invisible elements - bug
428717), but there is no response till now. When only some elements in a
page are hardware accelerated (not the complete page), there are some
rendering glitches like the one with scrolling. Endorsing hardware
acceleration for the complete page [2] will fix the issue, but may lead
to other problems on some client PCs with older graphics adapters and
drivers.
Both WebKit problems have been introduced in Chrome version 33.

[1] https://bugs.webkit.org/show_bug.cgi?id=125070
[2]
https://wiki.eclipse.org/RAP/FAQ#Scrolling_looks_broken_in_Google_Chrome.2C_Safari_or_Opera
Best,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:ServiceHandler with RAP 2.3
Next Topic:how to set the i18n tip when the browser version is too low?
Goto Forum:
  


Current Time: Tue Mar 31 23:56:54 GMT 2015

Powered by FUDForum. Page generated in 0.02442 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software