Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nattable-dev] Problems with checkbox/nattable

Sounds related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=463121 which should be already fixed with 1.3.0.

Am 22.05.2015 13:48 schrieb "Peter Kis" <peter.kis@xxxxxxxxxx>:
Greetings Nattable devs,

I'm Peter Kis from AdNovum Hungary, and i'm contacting you regarding a
possible bug in the Nattable. We are using the component in multiple
places in our applications, and encountered a bug, when upon clicking on
the checkbox cell once, the table "flickers", and the action associated
with clicking runs twice.

Some background:
We are using a custom implementation, where we use the checkbox as a
down/left pointing arrow, to implement a collapsing table.

I'm using a custom class, extending the CheckBoxpainter, and one
extending the CheckBoxCellEditor. I don't really want to disclose the
contents of these, but as far as i saw, they are not releavnt.

I debugged a lot, and my problem boils down to the
CustomCheckBoxCellEditor.activateCell method called multiple times for
one mouse click. I timed the mouse clicks, theere were only 1 ms between
them, so it's not an accidentall two-click problem (also, i've tested it
multiple times). So far the multiple calls could be traced down only to
the imported nattable classes. My best guess was some mouse buffer overflow.

I hope that's understandable, if i can provide more information, please ask.

Is it a known issue? Can you give me any pointers how to solve this?

Thanks for your generous support,

--
Peter Kis, Junior Software Engineer
AdNovum Hungary Kft.
Kapás utca 11-15, 1027 Budapest, Hungary
phone +36 1 487 5000
peter.kis@xxxxxxxxxx
www.adnovum.hu

Locations: Zurich (HQ), Bern, Budapest, Ho Chi Minh City, Singapore
_______________________________________________
nattable-dev mailing list
nattable-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/nattable-dev

Back to the top