AP - full screen mode

Bogdan Cristea cristeab at gmail.com
Tue Apr 9 14:18:56 UTC 2013


I don't consider yet multiple screens, the reason for using this is that
showFullScreen() alone does not work on AP.


On Tue, Apr 9, 2013 at 4:17 PM, Martin Graesslin <mgraesslin at kde.org> wrote:

> On Tuesday 09 April 2013 15:54:42 you wrote:
> > Actually I am using first
> >
> > showFullScreen()
> >
> > before setting the geometry, otherwise on AP my window is wrongly
> resized.
> it still sounds quite wrong. Don't set geometries manually unless you
> really
> have to. The code you pasted would break on a desktop for example as it
> doesn't handle multiple screens. In general we just don't like that (and
> that's one of the reasons why I just look forward to Wayland).
>
> Cheers
> Martin
> >
> > On Tue, Apr 9, 2013 at 3:50 PM, Martin Graesslin <mgraesslin at kde.org>
> wrote:
> > > On Tuesday 09 April 2013 15:30:56 Bogdan Cristea wrote:
> > > > For full screen mode currently I use
> > > >
> > > > QRect rect(0, 0, QApplication::desktop()->width(),
> > >
> > > QApplication::desktop()-
> > >
> > > > >height());
> > > >
> > > > setGeometry(rect);
> > >
> > > this is not a way to set a window to fullscreen. How should the window
> > > manager
> > > know that this is fullscreen? It sees such a geometry and says: wow
> that's
> > > wrong, it would overlap with the panel. That's obviously not what the
> > > application wants and so I give it the area without the panel.
> > >
> > > If you want to set a window to fullscreen use the proper EWMH hint. I'm
> > > not
> > > sure whether Qt provides a hint for it, but KWindowSystem does.
> > >
> > > Cheers Martin
> > >
> > > _______________________________________________
> > > Active mailing list
> > > Active at kde.org
> > > https://mail.kde.org/mailman/listinfo/active
> _______________________________________________
> Active mailing list
> Active at kde.org
> https://mail.kde.org/mailman/listinfo/active
>



-- 
Bogdan Cristea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/active/attachments/20130409/0129a92f/attachment.html>


More information about the Active mailing list