Hello,
As a newbie learning wxWidgets on Windows 10, I have the following suggestions (entered as a bug to avoid having to subscribe to the mailing-list just for this):
In the Download section (https://sourceforge.net/projects/wxglade/files/wxglade/1.1.0/), explain the difference between the two zip files with very different sizes (wxGlade-1.1.0a2_win_amd64_update.zip and wxGlade-1.1.0a2.zip). I figured out the former includes Python etc. so can run on a bare new computer, while the latter assumes Python and wxPython are already installed in the system
While the problem doesn't occur with the self-contained zip (ie. 40MB file), the smaller zip displsys the console even when double-clicking on wxglade.pyw (which shouldn't occure with a .pyw file)
wxGlade always starts with the window ~half the size of the screen, so the user must maximize it manually, and the application doesn't remember this so it must be done every time even though "Remember position and size of wxGlade windows" in Edit > Preferences is checked by default.
When running wxglade.py(w) the first time, Windows says: "Windows protected your PC" with the "Don't run" button. I suggest finding how to tell Windows wxGlade is a safe binary.
As of 20/01/2024 11:58:36, the URL doesn't work ("An error has been encountered in accessing this page.") : https://wxglade.sourceforge.net/docs/acknowledgements.html
Cheers,
Hi Gilles,
thanks for reporting. Next time please use the Github bug tracker at https://github.com/wxGlade/wxGlade/issues
It's also linked from the wxGlade help menu.
I will update the readme file for the next version, telling people about the binary version. This is the first time I have uploaded a binary at all. It's more for the people who are using C++ or Perl. When using wxPython, the recommendation is to use the wxglade.py with the target version.
What is your OS, Python and wxPython version? I don't see the problems with .pyw or window positions.
Just to be sure: you're closing the GUI window, not the console?
The position should get saved to "C:\Users...\AppData\Roaming\wxglade\wxglade.ini" when wxGlade is closed. Do you have this file and does it get updated on saving?
wxGlade has a debug console built in. When you run the .pyw file, could you please press F7 and check this in the console?
For me that would display '... \Python36\Pythonw.exe'' or '...wxGlade-1.1.0a2\python\pythonw.exe'
If you see python.exe instead, then this means that your registry is set up such that .pyw is linked to python.exe instead of pythonw.exe.
Also, I don't get the protection message. Probably there's no way to get rid of this other than the user deactivating SmartScreen:
https://stackoverflow.com/questions/65488839/how-can-i-avoid-windows-protected-your-pc-problem-when-my-friends-try-to-use-m
https://www.minitool.com/backup-tips/windows-protected-your-pc.html
As of now, the html page seems to be available. The online version of the documents is more for people who have not yet downloaded wxGlade. After download, press F1.
Regards,
Dietmar
Last edit: Dietmar Schwertberger 2024-01-20