On Wed, Oct 14, 2020 at 9:50 AM Thomas Passin <[email protected]> wrote:
> Leo 6.3-devel, devel branch, build b6c70a7c7e > 2020-10-13 16:26:16 -0400 > Python 3.8.5, PyQt version 5.15.1 > Windows 10 AMD64 (build 10.0.19041) SP0 > > When I click on a node in the outline pane, hold the shift key and then > click on a later node - expecting all the nodes between clicks to be > selected - the initial node clicked on loses its highlighting. I don't > know if that means it isn't selected or that that it is still selected > though it is no longer highlighted. > Thanks for this report. This looks like a Qt bug. Traces show that qtree.onItemClicked is called directly from the main loop. Calling g.pdb() at the start of qtree.onItemClicked shows that the faulty tree highlighting has already happened by the time qtree.onItemClicked is called. Besides the behaviour you mention, if I shift-click more than once the previously-selected node is de-highlighted, no matter where it is. So if I extend the selection, an unselected node is shown in the middle of extended selection. There is nothing Leo can do about this because the bug is happening before Leo gets control. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAMF8tS1pWK8JXSm7uu2tbf18vgqOh4OFaeByKYHtPKpy3DOE9w%40mail.gmail.com.
