<div dir="ltr">Actually I am using first <div><br></div><div>showFullScreen()</div><div><br></div><div style>before setting the geometry, otherwise on AP my window is wrongly resized.</div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Tue, Apr 9, 2013 at 3:50 PM, Martin Graesslin <span dir="ltr"><<a href="mailto:mgraesslin@kde.org" target="_blank">mgraesslin@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tuesday 09 April 2013 15:30:56 Bogdan Cristea wrote:<br>
> For full screen mode currently I use<br>
><br>
> QRect rect(0, 0, QApplication::desktop()->width(), QApplication::desktop()-<br>
><br>
> >height());<br>
><br>
> setGeometry(rect);<br>
</div>this is not a way to set a window to fullscreen. How should the window manager<br>
know that this is fullscreen? It sees such a geometry and says: wow that's<br>
wrong, it would overlap with the panel. That's obviously not what the<br>
application wants and so I give it the area without the panel.<br>
<br>
If you want to set a window to fullscreen use the proper EWMH hint. I'm not<br>
sure whether Qt provides a hint for it, but KWindowSystem does.<br>
<br>
Cheers Martin<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Active mailing list<br>
<a href="mailto:Active@kde.org">Active@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/active" target="_blank">https://mail.kde.org/mailman/listinfo/active</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bogdan Cristea
</div>