-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not remembering Windows position or size #1271
Comments
@mattrixed Could you test the same with the demo organ? |
What desktop environment do you use with Ununtu? |
@mattrixed I installed ubuntu22, grandorgue 3.9.2 and I can not reproduce this problem: after restarting GrandOrgue and loading Friesach it opens at the same position and size as it was saved. I need more information and tests from you for reproducing and fixing this problem. Are you ready to do more tests and to provide me additional information? |
I too with the system running in the office/studio can't replicate either - the only difference is the monitor - when connected to the small touch screen 19" 4:3 monitor 1280x1024 it doesn't save - something to do with the display size if it detects a large screen (like in office 2560x1600) its fine if its under the size of the odf if goes full screen - Not a big deal..... |
This issue is related to the |
@larspalo I remember you use Ubuntu. Do you use I've never used |
@oleg68 I'm still using Ubuntu 20.04 mostly at home so it is X11 (xorg) by default. I think they changed it in 21.04 so when I decide to upgrade to 22.04 it's likely that Wayland will be used. However, window positioning works fine here with 20.04. We really should be careful to not "fix" things that really are bugs in other software, I think. If we're using the "correct" wx methods and issues still arise it's still fine and the bugs should be fixed where they really are. If, however, there are multiple ways of doing things and one version indeed gives better compatibility then that's another case... In my experience, too many "special fixes" only makes for more issues somewhere down the line and it makes the code more difficult to maintain. |
@larspalo After some research I found two issues:
This bug is present in wx 3.0.5, but it has already been fixed in wx 3.2.0. If I compile GO with 3.2.0, the restored panel has the same size as it has been saved, but it has another position. But 3.2.0 is still absent in most linux distros. If we build GO against 3.2.0, most of users will not be able to use it out of box without installing 3.2.0 manually. So I'd like to find some workaround. |
@larspalo What is your opinion: what direction should we go:
|
@oleg68 For now I think that the first option (1.) is best as it seems to be quite easy to switch to not use Wayland. As soon as major distributions ship a newer wx version we should change too. |
@rousseldenis Do you agree with not supporting wayland? |
As I'm on Ubuntu 22.04 too, just tested and windows position is well saved. I suppose I'm on xorg (I'm not really used to graphics stuffs). So, I would say yes 😃 That apart, I think as there is a common workaround for that, option 1 is the best (for the time being). |
I run native 22.04 with wayland (default) and GO 3.6.2-debian. I haven't experienced any trouble regarding this issue. You can check whether xorg(x11) or wayland: Open Terminal and issue cli command echo $XDG_SESSION_TYPE. |
The trouble with wayland is reproduced only when the saved panel size is a little bit less than the screen size. Otherwise you may not notice small increasing the panel size. See the screenshots above. |
@ministerinmarin The crescendo panel did not fit on the screen before you saved. That is why GrandOrgue shows it centered. Try to move/resize it to fit in the screen area before saving. |
I have dragged the panels to the areas where they don't touch the taskbar or go beyond the screen anymore. Now that should fix my issue. Gratitude! |
Linux Ubuntu 22.04
GO 3.9.1
Loading samplet freisach for eg window is full screen. Move it and position it - save - close down and start up again goes back to full screen.
The text was updated successfully, but these errors were encountered: