|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » bad visualization of a column list
|
|
Re: bad visualization of a column list [message #6753 is a reply to message #6741] |
Sun, 26 November 2006 10:35 |
|
forlano
Messages: 1185 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
luzr wrote on Sun, 26 November 2006 00:49 | Looks like but in painting code... (another one ;()
Is it easy to extract the code to create the test-case? (I can try here, but often small differences in the code result in not reproducing the bug).
Mirek
|
Here is the package. I tried to remove unnecessary code but something (perhaps too much) remained that do not interfere. Everything related to the bug should be in class VegaConsoleFrame and VegaTab1. If the program look messy I'll try to reduce it again. In the folder package there is a video-tutorial about how to reproduce the bug (by words it was not easy). Just double click the html file. Perhaps this can address you quickly to the problem.
I suspect there is some interference with the hided arrayctrl that stay in front of the column. In static situation nothing bad happen but when the rows of the columnctrl start to be deleted and the cursor move and disappear the strange behaviour happen.
To mantain all the the data in the archive (a big table) I've used a MAP of the NTL library. I do not thing it is the problem.
... I'm using 611-dev2.
Thanks a lot,
Luigi
PS: in the next days I'll remove the package to save space on the server forum.
(* I have deleted it for you after downloading, Mirek *)
[Updated on: Sun, 26 November 2006 11:31] by Moderator Report message to a moderator
|
|
|
Re: bad visualization of a column list [message #6778 is a reply to message #6739] |
Sun, 26 November 2006 23:56 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Such a stupid bug... That ArrayCtrl simply got scrolled even if it was not visible...
Quick Fix:
CtrlCore/CtrlDraw.cpp:109
void Ctrl::ScrollView(const Rect& _r, int dx, int dy)
{
if(IsFullRefresh() || !IsVisible())
return;
(or wait for the next release tomorrow)
Mirek
[Updated on: Sun, 26 November 2006 23:57] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 05 08:42:45 CEST 2024
Total time taken to generate the page: 0.02101 seconds
|
|
|