On Nov 18, 7:16 am, "Edward K. Ream" <[EMAIL PROTECTED]> wrote:

> I've just sent the following to the PyQt people:
>
> QQQ
> On XP, a QTreeWidget never scrolls horizontally automatically, and
> that works well in practice.
>
> 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.

Fixed! Not yet on committed.  Coming soon.

Here is my latest report to PyQt:

QQQ
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
:-)
QQQ

Edward
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to