Skip to content
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

Kubuntu: windows placed outside screen #1149

Open
floooh opened this issue Nov 12, 2024 · 2 comments
Open

Kubuntu: windows placed outside screen #1149

floooh opened this issue Nov 12, 2024 · 2 comments

Comments

@floooh
Copy link
Owner

floooh commented Nov 12, 2024

...on my new Asus Zenbook with KDE Plasma 6 Wayland session (2880x1800 display and 200% scaling) windows are placed outside the visible screen area.

@floooh
Copy link
Owner Author

floooh commented Nov 12, 2024

Hmm ok, that's because for some reason there's an 'Unknown' display in the KDE display setting configured next to the builtin display, and sokol_app.h seems to place the window on that 'Unknown' display.

Disabling that 'ghost display' fixes the problem, but WTAF.

@floooh
Copy link
Owner Author

floooh commented Nov 12, 2024

...yeah, the screen-size is reported as the combined monitors by xlib, but I don't seem to be able to detect that situation because the number of screens is reported as 1. Googling around this seems to be a somewhat common issue in Ubuntu 24.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant