Sorry for the noise. It seems that my email client was not synchronized with the server and I didn't saw your last post. Happy to see that you fixed the problem.
Vicent. 2008/11/18 Edward K. Ream <[EMAIL PROTECTED]>: > [quote] > On Linux, a QTreeWidget will typically scroll horizontally when an > item to the right of the present item is selected programatically, > i.e., not with the mouse, but with code triggered from a keystroke. > Worse, scrolling doesn't get restored to zero horizontal offset when a > "leftward" item is selected. Not good. > [end quote] > > It turns out that the difference in behaviors in the QTreeWidget on > the XP and Linux platforms was the result of a call to > QTreeWidget.scrollToItem in an item-expanded event handler. On XP, > this scrolls only vertically; on Linux, it may scroll in either > direction. Removing this call makes the QTreeWidget usable on Linux. > > I'm tempted to call this the most serious bug I've found with PyQt, > which is another way of saying that PyQt has been very very good to me > :-) > > Edward > -------------------------------------------------------------------- > Edward K. Ream email: [EMAIL PROTECTED] > Leo: http://webpages.charter.net/edreamleo/front.html > -------------------------------------------------------------------- > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt > -- Share what you know, learn what you don't. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
