Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Performance issue with many ComboViewers
Performance issue with many ComboViewers [message #807959] Mon, 27 February 2012 08:24 Go to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 163
Registered: July 2009
Senior Member
Hi I'm currently porting my application to Rap 1.5M5 (had some serious progress last weekend). I have quite complay MultiPageFormEditors, and on pages with many ComboViewers with potentially hundred or more entries it gets awfully slow to render the Formpage. Any hints how I can improve that? Can I make the content of the Boxes beeing lazyly created somehow? Any other ideas?

Any help will be appreciated.
Re: Performance issue with many ComboViewers [message #807984 is a reply to message #807959] Mon, 27 February 2012 09:00 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1817
Registered: July 2009
Senior Member
Hi Thomas,
are you using IE. There is already an opened bug about it:
352558: Combo's on IE cause very bad performances
https://bugs.eclipse.org/bugs/show_bug.cgi?id=352558
Apart of that, using a combo with hundreds of items is not a good idea.
Probably JFace filed assist API (ContentProposalAdapter) will fit better.
Best,
Ivan

On 2/27/2012 10:24 AM, Thomas Kratz wrote:
> Hi I'm currently porting my application to Rap 1.5M5 (had some serious
> progress last weekend). I have quite complay MultiPageFormEditors, and
> on pages with many ComboViewers with potentially hundred or more
> entries it gets awfully slow to render the Formpage. Any hints how I
> can improve that? Can I make the content of the Boxes beeing lazyly
> created somehow? Any other ideas?
>
> Any help will be appreciated.

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Performance issue with many ComboViewers [message #807988 is a reply to message #807984] Mon, 27 February 2012 09:07 Go to previous messageGo to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 163
Registered: July 2009
Senior Member
Thanks Ivan for the quick reply, but no I'M testing on chrome mostly.
It's that I don't know how big the combos actually get, so I'm testing worst case. And Users are known to the Combos (I have some quick type extensioon on it) so I would like to keep that, to keep the user experience as close as I can get to the desktop version.
I'm just guessing that the combos make it slow.
Re: Performance issue with many ComboViewers [message #807993 is a reply to message #807984] Mon, 27 February 2012 09:07 Go to previous messageGo to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 163
Registered: July 2009
Senior Member
Thanks Ivan for the quick reply, but no I'M testing on chrome mostly.
It's that I don't know how big the combos actually get, so I'm testing worst case. And Users are known to the Combos (I have some quick type extensioon on it) so I would like to keep that, to keep the user experience as close as I can get to the desktop version.
I'm just guessing that the combos make it slow.
Re: Performance issue with many ComboViewers [message #808202 is a reply to message #807959] Mon, 27 February 2012 14:28 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf Sternberg
Messages: 1290
Registered: July 2009
Senior Member

Hi Thomas,

Combo boxes are just not designed to contain hundreds of entries. There
is no lazy-loading mechanism in this widget. You may try to add a JFace
content assist to a text field instead. Alternatively, you can create
your own combo-like widget by placing a button next to a text field and
open a drop-down menu on click.

HTH, Ralf


--
Ralf Sternberg

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Performance issue with many ComboViewers [message #808210 is a reply to message #808202] Mon, 27 February 2012 14:39 Go to previous messageGo to next message
Thomas Kratz is currently offline Thomas Kratz
Messages: 163
Registered: July 2009
Senior Member
Thanks for clearing this up. So there's no easy way Smile
Maybe I'll do something like the nebula TableCombo wigdet does. i.e. create the table in a seperate shell only if the user clicks the button. that should save me. Maybe I can even hack the widget to work on rap.
Re: Performance issue with many ComboViewers [message #808515 is a reply to message #808210] Mon, 27 February 2012 21:44 Go to previous message
Chris Fairhall is currently offline Chris Fairhall
Messages: 99
Registered: February 2011
Member
I've gone down the path of using Label widgets with some custom_variant css styling and an image to give the appearance of a combo. There's a MouseDown listener that opens a Menu when the user clicks the labels. The only issue with that is there is no tab support. Not required for my purpose but I don't think it would be hard to replace the "drop down button" label with an actual button so it can accept focus.
Previous Topic:How to set the table column to self-adaption the width according the content?
Next Topic:How to set the table column to self-adaption the width according the content?
Goto Forum:
  


Current Time: Mon Sep 22 20:32:11 GMT 2014

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

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