[issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

2020-06-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyth

[issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

2020-06-14 Thread E. Paine
E. Paine added the comment: I am glad I was able to help. To be consistent with Tk, I don't think the tkinter behaviour should be changed. If you agree, I would really appreciate if you could close the issue as "not a bug" (to give the core devs one less issue they need to look through!).

[issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

2020-06-12 Thread Ben Li-Sauerwine
Ben Li-Sauerwine added the comment: Thanks for clarifying. Using Tk.geometry() instead of Tk.winfo_geometry() does indeed resolve the issue on Linux. Weird that using Tk.winfo_geometry() is idempotent under Windows, though. -- ___ Python tracker

[issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

2020-06-11 Thread E. Paine
E. Paine added the comment: This is interesting as it works fine on Windows but does the behaviour you describe on Linux. I presume the difference is due to how Tcl/Tk handles the title-bar, in which case this isn't really a tkinter issue and there isn't much that can be done (from a tkinter

[issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

2020-06-10 Thread Ben Li-Sauerwine
Change by Ben Li-Sauerwine : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue40945] TKinter.Tk.geometry(Tk.winfo_geometry()) should be idempotent

2020-06-10 Thread Ben Li-Sauerwine
New submission from Ben Li-Sauerwine : 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. -- c