oliverhenshaw added a comment.
Surely the ideal world is one where the movie player realises the screen is
locked and makes the decision to pause by itself? Media controls might still be
a better option for audio players, but I wonder whether volume controls are
better than that?
This revision was automatically updated to reflect the committed changes.
Closed by commit rPOWERDEVILaa7c7560c213: Explain re-triggering lid close on
profile change (authored by oliverhenshaw).
REPOSITORY
rPOWERDEVIL Powerdevil
CHANGES SINCE LAST UPDATE
This revision was automatically updated to reflect the committed changes.
Closed by commit rPLASMAWORKSPACE1531c7688315: Improve ksmserver debug output
(authored by oliverhenshaw).
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
CHANGES SINCE LAST UPDATE
oliverhenshaw updated this revision to Diff 7093.
oliverhenshaw added a comment.
Add patch 3 - Use QLoggingCategory in ksmserver-logout-greeter
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D2935?vs=7092=7093
BRANCH
oliverhenshaw updated this revision to Diff 7092.
oliverhenshaw added a comment.
Add patch 2 - Use QLoggingCategory more in ksmerver
REPOSITORY
rPLASMAWORKSPACE Plasma Workspace
CHANGES SINCE LAST UPDATE
https://phabricator.kde.org/D2935?vs=7090=7092
BRANCH
phab/better-logging
oliverhenshaw created this revision.
oliverhenshaw set the repository for this revision to rPLASMAWORKSPACE Plasma
Workspace.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
Correct misleading debug output. Make all
oliverhenshaw added a reviewer: Plasma.
REPOSITORY
rPOWERDEVIL Powerdevil
REVISION DETAIL
https://phabricator.kde.org/D2934
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: oliverhenshaw, #plasma
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg,
oliverhenshaw created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This code was added for https://bugs.kde.org/show_bug.cgi?id=243618 but
the frameworks repo splitting makes the history hard to reach
oliverhenshaw added a comment.
In https://phabricator.kde.org/D2033#50969, @broulik wrote:
> So, should we go with this patch then? Powerdevil is now a separate binary,
so
>
> IdleTime::instance()->removeAllIdleTimeouts();
>
> shouldn't cause side-effects on other modules and
oliverhenshaw added a comment.
In https://phabricator.kde.org/D2033#44650, @broulik wrote:
> So, what should we do with this? Since we now have powerdevil as a separate
binary we could savely do
>
> KIdleTime::instance()->removeAllIdleTimeouts();
>
> without jeopardizing other
oliverhenshaw created this revision.
oliverhenshaw added reviewers: Plasma, broulik.
oliverhenshaw added a subscriber: plasma-devel.
oliverhenshaw set the repository for this revision to rPOWERDEVIL Powerdevil.
oliverhenshaw added a project: Plasma.
REVISION SUMMARY
Simply use cached value so
oliverhenshaw reopened this revision.
oliverhenshaw added a comment.
This revision is now accepted and ready to land.
> I can't find any evidence about the reason this was put in there in the
first place.
'git blame' [1] shows that this was added for
oliverhenshaw requested changes to this revision.
oliverhenshaw added a reviewer: oliverhenshaw.
oliverhenshaw added a comment.
This revision now requires changes to proceed.
I may not have much pull, but I'd rather these changes were revised again
before being landed. Sorry!
Note that
oliverhenshaw added inline comments.
INLINE COMMENTS
> powerdevilcore.cpp:151
> +// to an idle session by removing all idle timeouts
> +KIdleTime::instance()->removeAllIdleTimeouts();
> +m_registeredActionTimeouts.clear();
Like you said, other kidletime users
oliverhenshaw added a comment.
Cancelling all timeouts set by powerdevil when the session becomes inactive
is probably the right thing to do here.
Also, by my reading, QList::erase(iterator pos) is a safe way to delete
iterator elements. But I could be wrong.
REPOSITORY
rPOWERDEVIL
15 matches
Mail list logo