Fix for Input Elements unresponsive on MacOS 13.2.1 Ventura when no-titlebar is enabled

This commit is contained in:
PySimpleGUI 2023-04-21 18:25:09 -04:00
parent f06fcdc0a6
commit 71c50d40b4
1 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3
version = __version__ = "4.61.0.169 Unreleased"
version = __version__ = "4.61.0.170 Unreleased"
_change_log = """
Changelog since 4.60.0 released to PyPI on 8-May-2022
@ -407,6 +407,8 @@ _change_log = """
Changed Radio activeforeground to be the same as the text so mouseover doesn't change color
4.61.0.169
Allow no end-key to be specified for perform_long_operation/start_thread. Careful with backward compatibility! If you skip adding parm on old versions of PySimpleGUI then it'll not work.
4.61.0.170
Possible fix for Mac Input Element issue that's been happening with no-titlebar windows on MacOS 13.2.1 Ventura
"""
@ -18234,6 +18236,9 @@ def StartupTK(window):
# for the Raspberry Pi. Need to set the attributes here, prior to the building of the window
# so going ahead and doing it for all platforms, in addition to doing it after the window is packed
# 2023-April - this call seems to be causing problems on MacOS 13.2.1 Ventura. Input elements become non-responsive
# if this call is made here and at the end of building the window
if not running_mac():
_no_titlebar_setup(window)
if not window.Resizable: