Review Request 106110: Make autohide panel do not intercept events in fullscreen app
Aaron J. Seigo
aseigo at kde.org
Mon Apr 8 14:04:38 UTC 2013
> On March 20, 2013, 2 p.m., Aaron J. Seigo wrote:
> > plasma/desktop/shell/panelview.cpp, line 1496
> > <http://git.reviewboard.kde.org/r/106110/diff/5/?file=120303#file120303line1496>
> >
> > Better would simply be to compare screens. If they are on the same screen -> don't interfere.
>
> Thomas Lübking wrote:
> a fullscreen window can cover more than one screen (@Martin: there's even a netwm hint on that for xinerama ;-)
> What you wanted to check is whether the panel and the window intersect.
which would require calculating the geometry when the panel is unhidden. it is easier to ask "is this window full screen and does it show on the same screen as this panel". it has nothing to do with "does a window only cover one screen" and can be done sth like: activeWindow.geometry().intersects(QApplication::desktop()->screenGeometry(screen()));
- Aaron J.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106110/#review29551
-----------------------------------------------------------
On March 22, 2013, 4:53 p.m., Alexey Shmalko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106110/
> -----------------------------------------------------------
>
> (Updated March 22, 2013, 4:53 p.m.)
>
>
> Review request for kwin and Plasma.
>
>
> Description
> -------
>
> Make autohide panel do not intercept events in fullscreen app.
>
> I changed PanelView::createUnhideTrigger() to check whether current active application is in fullscreen mode. So in fullscreen applications panel will be always hidden.
>
>
> This addresses bug 217560.
> http://bugs.kde.org/show_bug.cgi?id=217560
>
>
> Diffs
> -----
>
> plasma/desktop/shell/panelview.cpp 7713740
>
> Diff: http://git.reviewboard.kde.org/r/106110/diff/
>
>
> Testing
> -------
>
> Tested with patched gentoo ebuild. Works fine.
>
>
> Thanks,
>
> Alexey Shmalko
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20130408/be2d6b83/attachment.html>
More information about the Plasma-devel
mailing list