Tk Source Code

View Ticket
Login
Ticket UUID: d2331df5a66f5ba1b3562dfa663baf117d4f87c
Title: Revised [text]: textDisp-6.6 redraws line 3.0
Type: Bug Version: revised_text
Submitter: fvogel Created on: 2021-07-14 16:03:20
Subsystem: 18. [text] Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2022-06-08 06:02:59
Resolution: Fixed Closed By: fvogel
    Closed on: 2022-06-08 06:02:59
Description:
test textDisp-6.6 in the legacy code has expected results:

{1.0 9.0 10.0} {1.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0}

Those results seem to be correct when observing the text widget picture according to what's going on in the test.

Nevertheless the revised text widget has the following results:

{1.0 9.0 10.0} {1.0 3.0 4.0 5.0 6.0 7.0 8.0 9.0 10.0}

i.e. it redraws line 3.0 whereas this seems to be superfluous.

This was observed on Windows 10.
User Comments: fvogel added on 2022-06-08 06:02:59:

Further fix (second thoughts after having slept on it) committed, see [46c06e54bb].


fvogel added on 2022-06-07 21:13:16:

Cherrypicked the fix, see [a883bcb1fa4]. Closing now.


fvogel added on 2021-07-18 18:33:51:

I have committed a fix for this, see [92312600d2].