Tk window geometry functions are returning the wrong values on Linux (KDE Plasma)
An application I contribute to, which uses Tk for its UI, has subpanes which follow the main window around. While attempting to add proper Linux support I found that the subpanes jump downwards and slightly to the right whenever the program moves them (due to following the main window, resizing widgets, etc.) After some experimentation I determined that every function for getting window geometry seems to return the top-left corner inside the window border, while setting the geometry places it according to the outside of the window border. (The Tk docs by comparison say that both should be usin
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.