Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 12:05 Go to next message
John Doe is currently offline John DoeFriend
Messages: 5
Registered: July 2013
Junior Member
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 15:14 Go to previous messageGo to next message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1434
Registered: July 2012
Senior Member
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 15:55 Go to previous messageGo to next message
John Doe is currently offline John DoeFriend
Messages: 5
Registered: July 2013
Junior Member
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 15:57]

Report message to a moderator

Re: [ColumnReorderEvent] Possible inconsistent behavior [message #1072609 is a reply to message #1070765] Tue, 23 July 2013 06:28 Go to previous message
John Doe is currently offline John DoeFriend
Messages: 5
Registered: July 2013
Junior Member
Bug reported: https://bugs.eclipse.org/bugs/show_bug.cgi?id=413490
Previous Topic:Text exporter for nattable tree grid
Next Topic:Problem with my Custom Editors with Nattable 1.0.1
Goto Forum:
  


Current Time: Fri Dec 19 17:45:19 GMT 2014

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

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