Tk Source Code

View Ticket
Login
2018-08-17
15:01 Closed ticket [ec8c931570]: mac os x: after using the color selector, restarting the program displays the color selector again plus 6 other changes artifact: 77323c0b24 user: bll
14:35 Ticket [ec8c931570]: 3 changes artifact: 145b4b01eb user: bll
14:27 New ticket [ec8c931570]. artifact: 0b9cecf7af user: bll

Ticket UUID: ec8c931570e613f1840f20780ab7e9ea0315d13d
Title: mac os x: after using the color selector, restarting the program displays the color selector again
Type: Bug Version: 8.6.8
Submitter: bll Created on: 2018-08-17 14:27:48
Subsystem: 99. Other Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2018-08-17 15:01:50
Resolution: Works For Me Closed By: bll
    Closed on: 2018-08-17 15:01:50
Description:
I used the color picker to select a color.
Exited the color picker window.
Then exited the application completely.
Restarted the application.
The color picker window also restarts.

Mac OS X: 10.12.6

My code has:
          set c [tk_chooseColor -parent $w \
            -initialcolor $newmv($key) -title [_GT {} {Choose Color}]]

Test script:

#!/Users/bll/Desktop/BallroomDJ.app/Contents/MacOS/darwin/64/tcl/bin/tclsh

package require Tk

proc cc { } {
  set c [tk_chooseColor -parent . \
      -initialcolor #abcdef -title {Choose Color}]
    puts $c
}

ttk::button .b -text go -command cc
pack .b
User Comments: bll added on 2018-08-17 15:01:50:
Unable to reproduce after reboot.

bll added on 2018-08-17 14:35:08:
Wow, that is annoying.
Fortunately I have my own color chooser I can use.
I am rebooting to get rid of that problem (I hope).