[New-bugs-announce] [issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

Ben Li-Sauerwine report at bugs.python.org
Wed Jun 10 16:04:10 EDT 2020


New submission from Ben Li-Sauerwine <bsauerwine at gmail.com>:

One would expect that calling TKinter.Tk.geometry(tk.winfo_geometry()) would be idempotent.  However, based on the system window frame, it is not and doing so moves the window down the screen.

Running the example below reproduces the issue.

----------
components: Tkinter
files: tkinter_ex.py
messages: 371236
nosy: Ben Li-Sauerwine
priority: normal
severity: normal
status: open
title: TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent
versions: Python 3.6
Added file: https://bugs.python.org/file49225/tkinter_ex.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40945>
_______________________________________


More information about the New-bugs-announce mailing list