Tk Source Code

View Ticket
Login
Ticket UUID: 0e8c47b3cdc412426adb46ca4326dd7369ec7bfb
Title: Command tk_getOpenFile temporary shows files greyed
Type: Bug Version: 8.6.10
Submitter: nicolasdanet Created on: 2020-01-16 09:35:13
Subsystem: 37. [tk_get*File] Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2020-07-07 13:44:34
Resolution: Works For Me Closed By: kevin_walzer
    Closed on: 2020-07-07 13:44:34
Description:
On macOS 10.15, tk_getOpenFile shortly show all files or folders greyed.
It was not the case with 10.14 and it is not the case using the finder.
It seems very slow (proportional to the number of files).

Below a link to a video done with the basic script that is after.

https://www.dropbox.com/s/tnel2w1q5hz5gkq/OpenFile.mov?dl=0

menu .mbar
menu .mbar.open
.mbar.open add command -label "Open" -command { tk_getOpenFile }
.mbar add cascade -menu .mbar.open -label "Open"
. configure -menu .mbar
User Comments: kevin_walzer added on 2020-07-07 13:44:34:
This issue appears to be resolved on 10.15.5, likely by an Mac system update. Closing this ticket.

nicolasdanet added on 2020-01-16 15:33:55:
I suspected something like that ; thanks for the confirmation/explanation.

kevin_walzer added on 2020-01-16 13:19:26:
The file dialogs on Catalina are slower than on Mojave and earlier; this is because of some internal architectural changes on Apple's end. File dialogs no longer attach as sheets to their parent window either, even when that flag is passed to the command in Tk (-parent .). Because these are system dialogs, we have no control over their performance.