Skip to main content



      Home
Home » Eclipse Projects » NatTable » [ColumnReorderEvent] Possible inconsistent behavior(Information stored in the event is not replicating GUI state)
icon1.gif  [ColumnReorderEvent] Possible inconsistent behavior [message #1070655] Thu, 18 July 2013 08:05 Go to next message
Eclipse UserFriend
Assuming we got a NatTable with 5 Columns:

(To see the screenshots you will have to replace the white-space with "//" since I am not allowed to post any links apparently.)

GUI
http: i.imgur.com/a6f03HP.png
(4 "normal" columns and the very first one you can not reorder at all.)

To (hopefully) reproduce the issue follow those steps:

1) Drag [Column 1] between [Column 3] and [Column 4]

GUI looks like:
http: i.imgur.com/SzAOywN.png

2) Restore the initial state and drag [Column 1] after/behind [Column 4]

GUI looks like:
http: i.imgur.com/2zgtpyk.png

So, the GUI is behaving as intended (in my opinion).

However, the ColumnReorderEvent for those two operations contains exactly the same values. So one (identical) event is replicating two different GUI states.

What do you guys think about this? Am I missing something?
Re: [ColumnReorderEvent] Possible inconsistent behavior [message #1070740 is a reply to message #1070655] Thu, 18 July 2013 11:14 Go to previous messageGo to next message
Eclipse UserFriend
Which version?

http://www.eclipse.org/forums/index.php/t/487774/

If it still exists with NatTable 1.0.1 it might be a bug.
Re: [ColumnReorderEvent] Possible inconsistent behavior [message #1070765 is a reply to message #1070740] Thu, 18 July 2013 11:55 Go to previous messageGo to next message
Eclipse UserFriend
org.eclipse.nebula.widgets.nattable.core_1.0.1.201307031725.jar

I checked the thread you linked before I posted this one. Should have mentioned it.
Could you try to reproduce the bug (if there is one) just to make sure that it is not my mistake?

[Updated on: Thu, 18 July 2013 11:57] by Moderator

Re: [ColumnReorderEvent] Possible inconsistent behavior [message #1072609 is a reply to message #1070765] Tue, 23 July 2013 02:28 Go to previous message
Eclipse UserFriend
Bug reported: https://bugs.eclipse.org/bugs/show_bug.cgi?id=413490
Previous Topic:Dynamic Column in Nattable
Next Topic:Problems with ColumnGroupHeaderLayer in a Grid
Goto Forum:
  


Current Time: Wed Jul 23 21:28:28 EDT 2025

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

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

Back to the top