Fullscreen widgets under GNU/Linux
-
wrote on 4 Jun 2015, 17:09 last edited by
Hi,
I wrote this function for fullscreen:
void Player::setFullScreen(bool fullScreen) { Qt::WindowFlags flags = windowFlags(); if (fullScreen) { flags |= Qt::Window; flags &= ~Qt::SubWindow; setWindowFlags(flags); showFullScreen(); } else { flags &= ~(Qt::Window | Qt::SubWindow); setWindowFlags(flags); showNormal(); } }
What should I change?
-
Hi,
Can you give more information about your crash ? e.g. a stack trace ?
-
wrote on 5 Jun 2015, 01:51 last edited by
Just to be clear, it's not app crash, I did not describe it good.
Sometimes fullscreen mode look messy(look at image), let say it's happening every 10th time.
But, I can exit from that messy fullscreen and video plays in normal mode.I tried:
resize(QApplication::desktop()->width(), QApplication::desktop()->height());
But no effect.
@SGaist
I have Gamma Ray, I guess it can help.
Which informations are relevant?
2/3