Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Trouble with virtual table and notifyResize()
Trouble with virtual table and notifyResize() [message #871415] Sun, 13 May 2012 14:34 Go to next message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
Hi, I could need a little help with my virtual tables. I mostly used GridLayout in the RCP version I started with and while porting to RAP I find that when my ScrolledForm's layout is calculated, at some point theres a notifyResize() on the virtual table which causes all items to be initialized (i.e. it completely hangs on large tables). I tried to google something about it, but I am still completely clueless. This happens on the setBounds of the table. I think I could set the Viewers input async after the Layout has completed, but that somehow looks ugly to me. Maybe I am getting something completely wrong here with the virtual tables?

Any help will be appreciated!
Re: Trouble with virtual table and notifyResize() [message #871529 is a reply to message #871415] Mon, 14 May 2012 10:48 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Thomas,
which RAP version are you using? It looks like a bug for me. Could you
open a bugzilla and attach a snippet to reproduce it?
Thanks,
Ivan

On 5/13/2012 5:34 PM, Thomas Kratz wrote:
> Hi, I could need a little help with my virtual tables. I mostly used
> GridLayout in the RCP version I started with and while porting to RAP
> I find that when my ScrolledForm's layout is calculated, at some point
> theres a notifyResize() on the virtual table which causes all items to
> be initialized (i.e. it completely hangs on large tables). I tried to
> google something about it, but I am still completely clueless. This
> happens on the setBounds of the table. I think I could set the Viewers
> input async after the Layout has completed, but that somehow looks
> ugly to me. Maybe I am getting something completely wrong here with
> the virtual tables?
>
> 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: Trouble with virtual table and notifyResize() [message #871545 is a reply to message #871529] Mon, 14 May 2012 11:36 Go to previous messageGo to next message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
Hi Ivan,

Hope I can provide a snippet on thursday.
I filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=379400

Thomas
Re: Trouble with virtual table and notifyResize() [message #871548 is a reply to message #871545] Mon, 14 May 2012 11:49 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Thomas,
I can't reproduce it with Controls Demo -> Table tab.... Resizing
virtual table doesn't materialize (create) items. Snippet to reproduce
the issue is really need.
Best,
Ivan

On 5/14/2012 2:36 PM, Thomas Kratz wrote:
> Hi Ivan,
>
> Hope I can provide a snippet on thursday.
> I filed https://bugs.eclipse.org/bugs/show_bug.cgi?id=379400
>
> Thomas

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Trouble with virtual table and notifyResize() [message #871555 is a reply to message #871548] Mon, 14 May 2012 12:03 Go to previous messageGo to next message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
Hi Ivan,

I still believe there's something wrong with my code Sad But I have no clue.
I'll try to dive into it on thursday.

Thomas
Re: Trouble with virtual table and notifyResize() [message #871708 is a reply to message #871548] Mon, 14 May 2012 18:00 Go to previous message
Thomas Kratz is currently offline Thomas KratzFriend
Messages: 165
Registered: July 2009
Senior Member
I was able to reproduce it quickly. Snippet is attached to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=379400
Previous Topic:old business theme cannot work in Rap1.5M7(table or tree)
Next Topic:Jaas Login integration refresh problem
Goto Forum:
  


Current Time: Mon Nov 29 22:13:52 GMT 2021

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

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

Back to the top