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

ofSetFullscreen broken again in Ubuntu 18? #6283

Open
genekogan opened this issue Apr 24, 2019 · 3 comments

Comments

@genekogan
Copy link
Member

commented Apr 24, 2019

Fresh install of latest nightly (of_v20190324_linux64gcc6_release) in Ubuntu 18.04, methods to make window fullscreen in beginning of sketch fail for me, either using ofAppBaseWindow::setFullscreen or ofSetFullscreen. A workaround is to wait 1 second, then call ofSetFullscreen(true), this makes fullscreen work, but not sure what's wrong with the normal way.

@arturoc

This comment has been minimized.

Copy link
Member

commented Apr 24, 2019

I believe ubuntu 18.04 came with wayland by default, we use a method specific to xwindows to change to fullscreen so that might be the reason, try starting the session with xorg instead of wayland (you can choose it in the password screen).

@arturoc

This comment has been minimized.

Copy link
Member

commented Apr 24, 2019

also OF_GAME_MODE instead of OF_FULLSCREEN should work but doesn't allow to go back and forth between window and fullscreen

@gorkacortazar

This comment has been minimized.

Copy link

commented Aug 9, 2019

@arturoc I was researching this subject and is not wayland related. I tried:

  • calling in the window settigns: fails in wayland and x11
  • call ofSetFullscreen(true) in setup: fails in wayland and x11
  • call ofSetFullscreen(true) in first run of the update: fails in wayland and x11
  • call ofSetFullscreen(true) in first run of the draw: works in wayland and x11

in my case i was doing also multimonitor full screen, see some examples here https://forum.openframeworks.cc/t/ubuntu-18-and-fullscreen-multimonitor/33165

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.