This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author taleinat
Recipients Todd.Rovito, cheryl.sabella, michael.foord, steven.daprano, taleinat, terry.reedy
Date 2020-09-20.18:38:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600627133.21.0.692883172108.issue1207613@roundup.psfhosted.org>
In-reply-to
Content
We've run into a significant technical hurdle in trying to implement a horizontal scrollbar: The Tk text widget sets the horizontal scroll position only according to the currently visible lines! If the text was scrolled to the right, scrolling down to where there are only shorter lines will scroll the text back to the left!!

Implementing this will require either getting a fix for this into Tk itself, or finding a good workaround.

The workaround I was considering--wrapping the text widget with a frame and implementing custom scrolling logic--is very unlikely to provide reasonable performance with large files. This is because it will have to have all of the text widget rendered at all times, which the Tk Text widget takes special care to avoid in order to achieve good performance.
History
Date User Action Args
2020-09-20 18:38:53taleinatsetrecipients: + taleinat, terry.reedy, steven.daprano, michael.foord, Todd.Rovito, cheryl.sabella
2020-09-20 18:38:53taleinatsetmessageid: <1600627133.21.0.692883172108.issue1207613@roundup.psfhosted.org>
2020-09-20 18:38:53taleinatlinkissue1207613 messages
2020-09-20 18:38:53taleinatcreate