Review Request 126627: Replace screensaver inhibition by direct dbus calls

Martin Klapetek martin.klapetek at gmail.com
Mon Jan 4 20:21:04 UTC 2016



> On Jan. 4, 2016, 9:18 p.m., Kai Uwe Broulik wrote:
> > app/mainwindow.cpp, line 738
> > <https://git.reviewboard.kde.org/r/126627/diff/1/?file=428424#file428424line738>
> >
> >     Is this check neccessary?

Probably not, but then if you think about Gwenview
actually being used outside of Plasma and whoknows
in what environments, I thought it's better to be 
safe.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126627/#review90590
-----------------------------------------------------------


On Jan. 4, 2016, 9:07 p.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126627/
> -----------------------------------------------------------
> 
> (Updated Jan. 4, 2016, 9:07 p.m.)
> 
> 
> Review request for Gwenview, KDE Base Apps and Kai Uwe Broulik.
> 
> 
> Bugs: 334525
>     http://bugs.kde.org/show_bug.cgi?id=334525
> 
> 
> Repository: gwenview
> 
> 
> Description
> -------
> 
> This is a better approach to fix bug 334525 than
> https://git.reviewboard.kde.org/r/125910/ which forces
> a default reason (which is user visible).
> 
> With this new patch Gwenview will set a proper reason
> why is it inhibitting the screensaver ("Full Screen Presentation")
> and will use the DBus directly rather than the obsolete
> KNotificationRestrictions API.
> 
> 
> Diffs
> -----
> 
>   app/mainwindow.cpp 7b30c4e 
> 
> Diff: https://git.reviewboard.kde.org/r/126627/diff/
> 
> 
> Testing
> -------
> 
> PowerDevil correctly shows that Gwenview is inhibitting
> the PM because "Full Screen Presentation".
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gwenview-devel/attachments/20160104/d8a8abd1/attachment-0001.html>


More information about the Gwenview-devel mailing list