Skip to content

[BUG] Game window does not respect available screen space #458

@JeanJPNM

Description

@JeanJPNM

Before creating a new issue

  • I checked if there's already an issue or PR open for this
  • I tested it in the latest commit on dev branch

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Launch the game on a desktop with a floating window manager (checked on both windows and linux with kde plasma).
  2. Move the snake to the bottom of the screen.
  3. Verify that part of the snake and the "N" for muting the game are obscured by the system task bar, making the user experience worse.
  4. Verify that the game does not allow you to resize the window.

Expected behavior
The game should either allow users to resize the window, or consider the available viewport before setting a fixed window size.

Screenshots

Image

Additional context
I have a screen resolution of 1920 x 1080.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions