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

Closed
genekogan opened this issue Apr 24, 2019 · 5 comments
Closed

ofSetFullscreen broken again in Ubuntu 18? #6283

genekogan opened this issue Apr 24, 2019 · 5 comments
Milestone

Comments

@genekogan
Copy link
Member

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
Copy link
Member

arturoc 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
Copy link
Member

arturoc 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
Copy link

@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

@ofTheo ofTheo mentioned this issue Dec 1, 2019
48 tasks
@ofTheo ofTheo added this to the 0.11.1 milestone Dec 1, 2019
@ofTheo
Copy link
Member

ofTheo commented Jan 20, 2021

@gorkacortazar @genekogan - very late follow up can you try the latest nightly builds and see if you still are having the issue?
( Botton of the page here https://openframeworks.cc/download/ )

@ofTheo
Copy link
Member

ofTheo commented Jan 21, 2021

Hi @gorkacortazar - just tried on a fresh vanilla 20.04 install with the nightly builds ( see link in comment above ).
This was in X11 not Wayland but I could both toggle fullscreen and start in fullscreen by setting it in main.cpp.

Going to close for now but feel free to re-open or comment if this is still an issue.

@ofTheo ofTheo closed this as completed Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants