Tk Source Code

View Ticket
Login
2023-10-01
08:04 Ticket [ba98f9bbcb] Tk uses stale values of scaling status still Closed with 5 other changes artifact: fced053677 user: fvogel
2023-08-25
12:47 Closed ticket [ba98f9bbcb]. artifact: 33ab5f6e02 user: kjnash
2023-08-11
09:10 New ticket [ba98f9bbcb]. artifact: 41c31d815d user: kjnash

Ticket UUID: ba98f9bbcb3bfca8519ed2f13ebac81da1224bbb
Title: Tk uses stale values of scaling
Type: Bug Version: Tk 8.7
Submitter: kjnash Created on: 2023-08-11 09:10:44
Subsystem: 46. Unix Fonts Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-10-01 08:04:48
Resolution: Fixed Closed By: fvogel
    Closed on: 2023-10-01 08:04:48
Description:
Tk uses stale values of scaling

The value [::tk::ScaleNum] is not updated when [tk scaling] changes.

The value is that of variable ::tk::scalingPct, which is cached on the first call to [::tk::ScalingPct].

The value is used in mousewheel bindings, the font chooser and color picker dialogs, and the system tray.

The current value should be used in place of the startup value.

Fix: see branch "scaling-fixes".
User Comments: fvogel added on 2023-10-01 08:04:48:

This was fixed by [05c42054], which was merged in trunk by [003f186c].