-
Notifications
You must be signed in to change notification settings - Fork 16
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
GUI has two different sizes #58
Comments
Can you provide an example of how BasicShell looks when this happens? |
Strange. I've never seen this behaviour. I've modified the GUI initialization code of the BasicShell to see if that has any effect. Please give it a try. |
Console: Small size at the first start, then always the bigger size |
No idea then...I've switched the order of some stuff in the BasicShell, please see if that does something... |
Perhaps this helps: here is the hwininfo of the big and the little windows: xwininfo: Window id: 0x200003 (can't convert UTF8_STRING to unknown encoding) Absolute upper-left X: 0 xwininfo: Window id: 0x200003 (can't convert UTF8_STRING to unknown encoding) Absolute upper-left X: 0 |
The problem seems to be, that Java's layout manager thinks, that the window is empty when it actually shouldn't be. That's quite strange and I can't reproduce it. I'm on vacation now for two weeks but I'll try to reproduce it on Linux afterwards. |
The different window size is not really a problem, so this issue can wait. Have a beautiful holiday |
I've really no idea, why it behaves so erratically. I guess it must have something to do with the fact that the size is dynamic. I'm giving it a preferred size and an actual size (both set to the same value), but the layout manager is free to change it, if it thinks that these values won't fit for some reason. My guess is, that the OS reports something strange so that the layout manager gets confused. I'm not sure what to do about that ... |
I still haven't solved the issue, but my son made a UI in .NET, which is much more comprehensive. It should run under Windows and Linux (at least it did for me). Maybe you want to give that one a try instead: https://github.com/Error504TimeOut/MoSpeedUI/releases |
After starting console or basicshell there is the problem, that the GUI can have different screen sizes.
E. g. console can have two diffent sizes
With console it is only a cosmetic problem, but basicshell is often so small that it must be retarted to be able to work with it.
I'm using Ubuntu with WSL and VcSrv X Server.
With C64Screen there is no such problem.
The text was updated successfully, but these errors were encountered: