Tk Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 008533d80b291398884ca33c732f79c2730488e8b52568cd19e018916745e82b
Ticket: 539776b62c7de320a215f0c574c0c0647f2407ed
Application hangs when navigating table cells via arrow keys
User & Date: nemethi 2018-10-11 15:42:25
Changes

  1. Change icomment to:

    Unfortunately, up to now I haven't been aware of this ticket.

    The repeated behavior happens only with Tablelist_tile, if the current theme is "aqua" and the first column is right-aligned. Under these circumstances the procedure tablelist::seeCell, implemented in the file tablelistWidget.tcl, triggers an endless while loop. To eliminate it, we have to take into account some internal details related to the way the header labels for the "aqua" theme are placed in their parent frame.

    Here is the bug-fix: Locate the line starting with "set rX":

    set rX [expr {$lX + [winfo width $data(hdrTxtFrmLbl)$col] - 1}]

    Just below this line insert the following code:

    if {[string compare [getCurrentTheme] "aqua"] == 0} { incr lX if {$col == 0} { incr lX } }

    This patch will be contained in the next Tablelist release 6.4.

  2. Change login to "nemethi"
  3. Change mimetype to "text/plain"
  4. Change resolution to "Fixed"
  5. Change username to "nemethi"