PDA

View Full Version : Windows taksbar autohide and fullscreen frameless window



marwyn
2nd September 2011, 10:32
Hi,
I currently have an issue with handling a frameless window. All windows in my app are frameless windows, with nice style and stuff. To maximize, i use


QDesktopWidget *screen = QApplication::desktop();
window->showMaximized();
window->setGeometry( screen.availableGeometry() );


This works good, window does not overlap the windows taskbar.
The problem comes when the windows taskbar's autohide setting is set. In this case, having the window fullscreen prevents the taskbar to show as expected.

Is there any workaround to get this working ?

Regards,
Márwyn

llev
17th September 2011, 23:04
Why don't you use showFullScreen?

syclopse
20th September 2011, 07:20
use the setGeometry and set QApplication::desktop()->geometry to fullscreen your widgets.