[Powerdevil] [Bug 348529] When screen is locked, turn off screen with a shorter timeout

2023-03-05 Thread jonathan haney
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #54 from jonathan haney  ---
Sadly the short answer is no.
TBH I didn't think anyone that would want "Switch off after" disabled but
"Switch off while locked" enabled.
Allowing "Switch off after" to be set to 0 would be trivial and would allow for
this behavior but I haven't traced its usage fully so I'm not super confident
in it not causing new issues atm.
However, now that I think about it I'm pretty certain they'll ask me to move
the code out of dpms and make a special home for it elsewhere.
If so it might be a few weeks before I can resubmit due to health issues but
you'll probably end up getting that behavior sooner than 8 years.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Powerdevil] [Bug 348529] When screen is locked, turn off screen with a shorter timeout

2023-03-04 Thread jonathan haney
https://bugs.kde.org/show_bug.cgi?id=348529

jonathan haney  changed:

   What|Removed |Added

 CC||jonathan.ha...@gmail.com

--- Comment #51 from jonathan haney  ---
Created attachment 156995
  --> https://bugs.kde.org/attachment.cgi?id=156995=edit
Bug fix sample

Looks like the last attempt got shot down by the maintainers.
So out of curiosity I spent a few hours and have a local fix with some changes
around dpms.cpp/h dpmsconfig.cpp/h
I adding an extra timer and the GUI controls seen in the attachment above.
I think I spent more time figuring out how to test this and handling
dependencies vs actually writing code :P
If people think the interface is good I'll go jump some hoops to figure out how
to put in the merge request.

-- 
You are receiving this mail because:
You are the assignee for the bug.