-
Notifications
You must be signed in to change notification settings - Fork 148
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
Make the game window not resizable #759
Conversation
With the user using tiling window manager which tries to move all the windows in the tile, the game shows skewed screen regardless of configured value. Making the window not resizable will fix that issue, allowing the window to be positioned and sized as configured.
I kinda disagree, one way or another, if that's an issue for you, e.g. because you have several tiles visible in the workspace, you will have to put the window in full-screen. Also should be noted: right now it follows LR2!!! 😄 |
All instances of "full-screen" in my previous message can be replaced with "floating mode". :) Why don't you just make the game start in floating mode for yourself? I'm really against forcing the option from the PR on everybody. {
id = "my cool beatoraja floating mode",
properties = { floating = true },
rule_any = { class = { "beatoraja %d.%d.%d", }, },
}, |
For my common sense if a game has a configuration for its screen resolution, it should be honored first and does not allow to be modified. From my experience beatoraja is the only app which ask user for window size, then ignore it when window manager tries to change its size. Do I need to modify my window manager not to do this? Maybe. Can we make the app window non-resizable? Why not. |
I personally disagree, as I have observed users who play with resized windows. I think that the screen collapse when resizing should be considered first to fix the skin side, not the main unit side. (Some skins are written not to support resizing to reduce implementation time.) |
Re: #759 (comment) Just want to check what is the purpose of window size configs. If they are to provide sort of constant gameplay experiences then resizing(especially with different window aspects) could be prohibited. If they are to just to provide some initial configs then this PR may not be merged. My personal opinion is that game developers usually don't expect different window aspects other than standard ones. The game does not look great with 90' rotated monitor screen size, and people like me suffer from invalid window size from the beginning. But I would understand if the game values more on "whatever freedom the user can do" than small conveniences like this and just discard this PR. It looks #528 is about user not able to choose the right window size they want to use, where window resizing is being used to mitigate that bug. For me it's also unusual use case due to missing window size config user want to use, and could be fixed with upgrading library etc, then it would no longer block this PR's purpose. I think "how the game is playing in unusual window aspect" is a separate problem and not the concern of this PR. It's way harder to make the game responsive to any window aspects and I don't think the game should support that way. |
I just thought, this PR is hard coded as (Of course, as stated, it would be better if the various library issues are resolved.) |
Tiling window manager tries to move all the windows in the tile, the game shows skewed screen regardless of configured value.
Making the window not resizable will fix that issue, allowing the window to be positioned and sized as configured.