Tk Source Code

View Ticket
Login
Ticket UUID: 1414025
Title: thin entry insertion cursor not visible
Type: Bug Version: None
Submitter: nobody Created on: 2006-01-24 20:28:37
Subsystem: 07. [entry] Assigned To: fvogel
Priority: 6 Severity: Minor
Status: Closed Last Modified: 2015-10-22 22:13:26
Resolution: Fixed Closed By: fvogel
    Closed on: 2015-10-22 22:13:26
Description:
In an entry widget with -insertwidth 1 -justify right,
the insertion cursor is not visible after the last
character.  The same problem occurs if the entry is not
right-justified, but full:

    entry .e -insertwidth 1 -width 2
    .e insert end "00"

In both cases, it is the -insertwidth 1 setting that
makes the cursor disappear after the last character. 
With the setting -insertwidth 2, the widget behaves as
expected.  The bug is present on all platforms.

Actually, this bug report partly duplicates the one
with the number #643823, concerning right-justified
entry widgets on the Macintosh.  It looks like
(contrary to what was suspected in connection with that
bug) the reason of the reported behavior on the Mac was
not the platform, but the -insertwidth 1 setting, which
is the default on Mac OS X Aqua.
User Comments: fvogel added on 2015-10-22 22:13:26:
Merged to core-8-5-branch and trunk. Closing.

fvogel added on 2015-10-20 08:32:48:
Bug fix now in branch bug-1414025