Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On MacOS Sequoia IMKClient and IMKSession warning in Terminal apps #127352

Closed
ndegroot opened this issue Nov 28, 2024 · 2 comments
Closed

On MacOS Sequoia IMKClient and IMKSession warning in Terminal apps #127352

ndegroot opened this issue Nov 28, 2024 · 2 comments
Labels
OS-mac pending The issue will be closed if no feedback is provided topic-tkinter type-bug An unexpected behavior, bug, or error

Comments

@ndegroot
Copy link

ndegroot commented Nov 28, 2024

Bug report

Bug description:

In the terminal of Macos Sequoia 15.1.1 the below logging is shown when using certain (GUI en TIU) frameworks. Not critical.

2024-11-26 22:43:42.634 python[33014:3805202] +[IMKClient subclass]: chose IMKClient_Modern
2024-11-26 22:43:42.634 python[33014:3805202] +[IMKInputSession subclass]: chose IMKInputSession_Modern# 

Minimal script:

import tkinter as tk
tk._test()

Seems that the OS falls back to a legacy version of the IMK input. Application are supposed to update the use of inputmethod at least that what's suggested...

Mentions:

qt issue
apple discussion
post

CPython versions tested on:

3.13

Operating systems tested on:

macOS

@ndegroot ndegroot added the type-bug An unexpected behavior, bug, or error label Nov 28, 2024
@ronaldoussoren
Copy link
Contributor

This is a warning from an Apple system framework triggered from (in this case) the Tk library.

There's nothing we can do about this in CPython. Developers of GUI libraries like Tk and Qt may be able to avoid this output by changing to different APIs.

Also note that the last link is garbage output from ChatCPT (to safe anyone else the bother of reading it).

@erlend-aasland erlend-aasland added the pending The issue will be closed if no feedback is provided label Nov 29, 2024
@ned-deily
Copy link
Member

If you have a recent version of Tcl/Tk 8.6.x installed on the same version of macOS, you will probably see the same messages if you run a Tk app written in Tcl (no Python involved) from the command line, for instance starting the Tcl wish shell and then selecting its Widget Demo from the menu bar. If you would like to pursue this, the place to do so would likely be the Tk issue tracker here: https://core.tcl-lang.org/tk.

$ wish8.6
% 2024-12-02 00:14:27.171 wish8.6[36250:20498071] +[IMKClient subclass]: chose IMKClient_Modern
2024-12-02 00:14:27.171 wish8.6[36250:20498071] +[IMKInputSession subclass]: chose IMKInputSession_Modern

@ned-deily ned-deily closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-mac pending The issue will be closed if no feedback is provided topic-tkinter type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

6 participants