Skip to content

tkinter filedialog keeps outputing info message(CATransaction synchronize) on macOS 13 Ventura #101895

@1155159410

Description

@1155159410

Bug report

When calling the tkinter.filedialog module for a file dialog, below's info message keeps printing in the console:

2023-02-14 17:33:27.943 python[8474:96190] +[CATransaction synchronize] called within transaction

Especially when I drag and move the dialog window, it keeps spamming the above message in the console.
The same report on this issue can also be found on Stackoverflow: How can I stop tkinter from outputting "[CATransaction synchronize] called within transaction" on Mac?

Here is a code to reproduce the problem:

from tkinter import filedialog
print(filedialog.askdirectory())

This issue can be reproduced in both IDE and executable(i.e. pyinstaller) environments. And it only occurs on macOS, Windows does not have such a problem. (Probably starting from macOS 13.0)

Your environment

  • CPython versions tested on: Python 3.10
  • Operating system and architecture: macOS 13.2 (ARM)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions