[ Bug/Question] Window doesn't open at the given location initially
Operating System
Manjaro XFCE, Windows 10
Python version
3.8.5
PySimpleGUI Port and Version
4.30.0
Your Experience Levels In Months or Years
3 years Python programming experience 10+ years Programming experience overall No, I have not used another Python GUI Framework (tkinter, Qt, etc) previously
You have completed these steps:
- [Yes] Read instructions on how to file an Issue
- [Yes] Searched through main docs http://www.PySimpleGUI.org for your problem
- [Yes] Searched through the readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
- [Yes] Looked for Demo Programs that are similar to your goal http://www.PySimpleGUI.com
- [Yes] Note that there are also Demo Programs under each port on GitHub
- [Yes] Run your program outside of your debugger (from a command line)
- [Yes] Searched through Issues (open and closed) to see if already reported
- [Yes] Try again by upgrading your PySimpleGUI.py file to use the current one on GitHub. Your problem may have already been fixed but is not yet on PyPI.
Description of Problem / Question / Details
When opening a window with the location specified as a tuple, the window position follows a sequence of different positions instead of opening directly at the given location.
- In a first step, the window opens with it's upper left corner at the middle of the 1st display (when two displays are connected side-by-side).
- Then the window is centered on the total available screen size, which means the left half of it is shown on the left display and the other half on the right display.
- In a last step, the window is moved to the given window location.
Even though this happens within a short period of 1 or 2 seconds (depending on the number of elements within the window, being hundreds in my case), this can be very annoying, especially because the number of displays and their resolution is known before even opening the window, as I'm using Python MSS (https://python-mss.readthedocs.io/index.html). Isn't there a way to open the window directly at the right location using the Tkinter geometry settings?
Source: PySimpleGUI/PySimpleGUI