-
-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Hi @uilzzw
Sorry you're having difficulties.
I'm not seeing this behaviour on any of the Debian or Fedora Linux platforms I normally use for testing - this may be specific to your GUI management environment - though it should be simple to resolve.
Occasionally the main window may extend beyond the current screen dimensions if you add additional widgets to an existing row, but it's generally just a matter of resizing or maximising the window to fit.
Can you provide a little more information, as per the requested Issue Template?
- Can you confirm that by 'latest release' you mean v1.6.0?
- Can you confirm your full tkinter version?
from tkinter import Tcl print(Tcl().call("info", "patchlevel"))- When you say the window 'keeps expanding', do you mean of its own accord, without any user intervention?
- Can you provide the FULL TRACEBACK for the 'crash', if possible?
- Have you tried reverting to the previous version (1.5.23) and, if so, do you still see the issue?
- Have you actually tried making the change you describe to
main.pyand, if so, does that definitely resolve the problem?- What native screen resolution are you using?
FYI I have a provisional branch for the next release v1.6.1 which includes the ability to save an initial screen geometry (
root.geometry(f"{w}x{h}+{x}+{y}") the json config file. That may resolve your issue, but ideally I'd like to see a full error Traceback first.Anyone else seeing this?
Thanks
Originally posted by @semuadmin in #234
Sorry, I just saw this message today. The following is the situation I encountered.
1.yes
./pygpsclient -V
pygpsclient 1.6.0
2.tkinter version is 8.6.16
print(Tcl().call("info", "patchlevel"))
8.6.16
3.yes,without any user intervention
4.I cloned the source code and declared an initial window size to tk,Then it will not expand automatically
5. I did not use the previous version. I found that the window would expand from small to large until it crashed. Then I cloned a copy of the source code and declared an initial value for tk.
6.yes,I modified the source code to the following
root = Tk()
root.geometry("1800x800")
App(root, **kwargs)
root.mainloop()
sys.exit()
- The resolution of my laptop is 1920x1080, and the resolution of the external monitor is 1920x1080.
- My environment is archlinux+lightdm+xfce4, python venv is 3.11
Thanks