Project

General

Profile

[BUG] Adding items to WTableView

Added by Thomas Suckow about 11 years ago

When items are added to the model, the Table View is not updated properly. There appears to be an error in the calculation of how many rows are visible, but after I traced it to that I got lost in the inner workings of Wt. Interestingly enough, if you click where a row should be you still get the proper clicked event.

Test case below:

http://pastebin.com/5RCCYPvs

g main.cpp -lwt -lwthttp


Replies (3)

RE: [BUG] Adding items to WTableView - Added by Thomas Suckow about 11 years ago

Forgot to mention Wt3.3.0

RE: [BUG] Adding items to WTableView - Added by Wim Dumon about 11 years ago

Cannot reproduce with current git version?

BR,

Wim.

RE: [BUG] Adding items to WTableView - Added by Thomas Suckow about 11 years ago

Koen fixed in 53cd1449. Forgot to post back here, sorry.

Though that commit also added a memory leak caused by WPopupWidget (see the last message in the thread): Possible bug in WPopupWidget

    (1-3/3)