QListView glitches, drag & drop not working
chris at atomice.net
Tue Oct 5 11:00:19 CEST 2004
> Chris January wrote:
> >>thanks Chris,
> >>if you give me some hints which source files in the Qt lib I should
> >>debug I could try to find out
> >>the cause to these QListView glitches by myself and report my
> >>and possibly fixes here.
> >Have a look through the various font classes (qfontengine_win.cpp,
> Ok, but do you think this has nothing to do with the QListView class
> itself since it is higher level and calls lower
> level functions so it could be that it's the same code as
> Qt-X11 ? The strange thing is that QListBox seems to work
> well which should call
> the qfontengine stuff too ?
> Il looks like QListView has problems when refreshing the previously
> selected item. (the item above the currently selected one).
> (it seems like it first refreshes the text and then erases the
> background over it ? Ideas ? )
It's not a problem in QListView itself since we haven't modified it. It has
to be a problem in one of the files with a _win.cpp extension. My guesses
are that either:
A) the font rendering code is still not completely working and it gives the
wrong coordinates to refresh/erase.
B) the painting code is broken and rendering is occuring in the wrong
I'd say both explanations are as likely as each other. I know the painting
code is broken because checkboxes and radio buttons don't work.
More information about the kde-cygwin