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

Window is not kept fullscreen after switching workspaces in i3wm #9505

Closed
DavidHusicka opened this issue Jul 10, 2020 · 9 comments
Closed

Window is not kept fullscreen after switching workspaces in i3wm #9505

DavidHusicka opened this issue Jul 10, 2020 · 9 comments
Labels
osu!framework issue Can't resolve this without changes to osu!framework. platform/linux priority:3 Nice to have, at some point

Comments

@DavidHusicka
Copy link

Describe the bug:
When switching between workspaces, osu!lazer is not kept in fullscreen and pops into windowed mode telling it's in fullscreen. Correct behaviour should be keeping osu!lazer in fullscreen (same as other games do).

Screenshots or videos showing encountered issue:
https://youtu.be/l9XiqzJIFBU
(the artefacts in video are caused by recording software)

osu!lazer version:
2020.710.0

Logs:
Not necessary

@bdach
Copy link
Collaborator

bdach commented Jul 10, 2020

I did notice this myself running i3 but it's definitely a niche setup so very low priority. Another one for the "osutk issue, fingers crossed for SDL" pile.

For now a reasonable workaround might be to enable cursor confining if on multiple monitors.

@bdach bdach added osu!framework issue Can't resolve this without changes to osu!framework. priority:3 Nice to have, at some point platform/linux labels Jul 10, 2020
@smoogipoo
Copy link
Contributor

Please test with the --sdl argument.

@bdach
Copy link
Collaborator

bdach commented Jul 14, 2020

SDL doesn't have full screen yet, so that will have to wait a bit.

@IsaacElenbaas
Copy link

Not sure if this is WM-specific but I believe it's on focus lost, not anything fancy with how workstations work. On Herbstluftwm I have the same issue when focusing a window on another monitor (or switching workstations).

@DavidHusicka
Copy link
Author

DavidHusicka commented Jul 27, 2020

Not sure if this is WM-specific but I believe it's on focus lost, not anything fancy with how workstations work. On Herbstluftwm I have the same issue when focusing a window on another monitor (or switching workstations).

I tried it today with dwm and the problem is still there so it's not WM-specific.

@jai-x
Copy link
Member

jai-x commented Jul 27, 2020

I suspect this is due to OpenTk/osuTK not adhering to the EWMH specifications which X11 window managers rely upon.

I believe that optional SDL2 window implementation is more compliant in this regard. (I can't find any documentation for this but anecdotally I have found it more compliant from testing with smaller C programs.)

@DavidHusicka As suggested above, I would try running osu!lazer with the --sdl command line flag to test this.

@DavidHusicka
Copy link
Author

DavidHusicka commented Jul 27, 2020

@DavidHusicka As suggested above, I would try running osu!lazer with the --sdl command line flag to test this.

SDL doesn't implement fullscreen as I am aware of. It was already mentioned here.

I will try this dwm patch but I don't have any hopes it will help.

Edit: i3wm already support for EWMH and it doesn't work so I won't test the patch.

@bdach
Copy link
Collaborator

bdach commented Jul 27, 2020

Well, SDL itself as a library does, we're just not using that functionality yet in the framework. I probably wouldn't hold my breath when it comes to WM patches, the version of opentk we're using right now has been broken many times over in multiple ways.

@DavidHusicka
Copy link
Author

Doesn't happen on 2020.1203.0 anymore. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
osu!framework issue Can't resolve this without changes to osu!framework. platform/linux priority:3 Nice to have, at some point
Projects
None yet
Development

No branches or pull requests

5 participants