Tk Source Code

View Ticket
Login
Ticket UUID: 49e1cba27d2a59fb5c89333c52be811715189009
Title: Aqua : new ifdef to disable systray when building
Type: RFE Version: 8.7a4
Submitter: nab Created on: 2021-02-02 04:44:18
Subsystem: (unused) Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2021-02-04 08:16:51
Resolution: Fixed Closed By: nab
    Closed on: 2021-02-04 08:16:51
Description:
Hi as reported here https://core.tcl-lang.org/tk/info/effc24d25bd6ee92, tkMacOSXSysTray.c contains function that are only available for macOS11.

is it possible to disable it when using -mmacosx-version-min option < 11?

thanks,
Nicolas
User Comments: kevin_walzer added on 2021-02-02 17:37:09:
I've just built with the minimum OS flag set as 10.14 and see no errors, but I'm testing on Big Sur, so I seem to have the same issue as you.

nab added on 2021-02-02 12:07:25:
Hi Kevin,
it just issue that warning, but I've no macOS < 11 to test if the app crash or not...

++

kevin_walzer added on 2021-02-02 11:33:25:
tkMacOSXSystray.c calls into older API's when built for 10.14 or earlier, so disabling it is not an option. When you build Tk with -mmacosx-version-min=10.14 on Big Sur, does it refuse to build, crash, or does it simply issue that warning?