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

2023-12-27 Thread D. Debnath
https://bugs.kde.org/show_bug.cgi?id=348529

D. Debnath  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #62 from D. Debnath  ---
Okay, seems like this is working in my laptop as well (KDE Neon Plasma 6.0 Beta
2). I'll mark it as resolved.

-- 
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-12-27 Thread D. Debnath
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #61 from D. Debnath  ---
I rebooted my desktop once. It seems to be working now! Not sure if it will
work reliably though. I'll report back after checking again on my laptop.

-- 
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-12-26 Thread D. Debnath
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #60 from D. Debnath  ---
Created attachment 164469
  --> https://bugs.kde.org/attachment.cgi?id=164469=edit
Timeout of 10s

(In reply to Jakob Petsovits from comment #59)
> What timeout value are you using for when the screen is locked? There's
> currently Bug 476962 which causes this to break for locked timeouts of 0
> seconds. If it's not that, could you post reproduction steps?

I'm using a timeout value of 10s. Please see attached screenshot.

Reproduction steps are simply:

1. Set timeout to any value (10s, 30s, whatever).
2. Lock screen.
3. Wait for 10 seconds (or 30 or whatever is set).
4. Screen does not turn off.

But I should mention that I've noticed that screen does turn off randomly
(sometimes) when screen is locked. But it certainly does not happen at the
exact set timeout. It's completely random. Sometime it NEVER turns off.

This happens both on my laptop and desktop. Laptop is running Plasma 6.0 Beta 2
in KDE Neon. Desktop is running Plasma 6.0  Beta 1 in Arch Linux. Desktop
details:

Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10400 CPU @ 2.90GHz
Memory: 7.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

-- 
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-12-26 Thread Jakob Petsovits
https://bugs.kde.org/show_bug.cgi?id=348529

Jakob Petsovits  changed:

   What|Removed |Added

 CC||jpe...@petsovits.com

--- Comment #59 from Jakob Petsovits  ---
(In reply to D. Debnath from comment #58)
> This is still not working for me in Plasma 6 (KDE Neon Unstable). Display
> never turns off when screen is locked.

What timeout value are you using for when the screen is locked? There's
currently Bug 476962 which causes this to break for locked timeouts of 0
seconds. If it's not that, could you post reproduction steps?

-- 
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-12-22 Thread D. Debnath
https://bugs.kde.org/show_bug.cgi?id=348529

D. Debnath  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 CC||d_debn...@outlook.com
 Status|RESOLVED|REOPENED

--- Comment #58 from D. Debnath  ---
This is still not working for me in Plasma 6 (KDE Neon Unstable). Display never
turns off when screen is locked.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.91.90
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.2.0-34-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-7700HQ CPU @ 2.80GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 630

-- 
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-05-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=348529

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0

-- 
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-05-10 Thread Méven
https://bugs.kde.org/show_bug.cgi?id=348529

Méven  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/powerdevil/commit/914419
   ||dc929dec949d8c652962cef18cc
   ||7c25b13
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #57 from Méven  ---
Git commit 914419dc929dec949d8c652962cef18cc7c25b13 by Méven Car, on behalf of
Jonathan Haney.
Committed on 10/05/2023 at 12:11.
Pushed by meven into branch 'master'.

When screen is locked, turn off screen with a shorter timeout

Added a "Turn off screen while locked" config under Screen Energy Savings group
to allow users to pick a different timeout during screen lock.

M  +19   -0daemon/actions/bundled/dpms.cpp
M  +1-0daemon/actions/bundled/dpms.h
M  +11   -0daemon/actions/bundled/dpmsconfig.cpp
M  +1-0daemon/actions/bundled/dpmsconfig.h

https://invent.kde.org/plasma/powerdevil/commit/914419dc929dec949d8c652962cef18cc7c25b13

-- 
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-05-09 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #56 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/powerdevil/-/merge_requests/173

-- 
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-05-04 Thread Michel Filipe
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #55 from Michel Filipe  ---
I'm studying to move from Fedora Gnome to openSuse Tumbleweed KDE and found out
this behavior in KDE using a LiveCD. Actually I didn't get why this bug is so
irrelevant for KDE (don't see this as a feature but a bug). 

See 3 points where this bug affects the users:

1. Energy consumption once turn off the screen will use the energy efficiently;
2. New displays like OLEDs need to be in the stand-by mode to be able to
execute the pixel refresh to avoid burn-in;
3. Don't see logic on allow the display be turned on in a black screen with
clock (there is an option to disable the clock) and the cursor. I'm a MacOS and
Gnome user, both DE turn off the screen on the lock screen.

@jonathan opened https://invent.kde.org/plasma/powerdevil/-/merge_requests/142
to implement this 1 month ago, pushed a commit and that's it, nothing happen. I
see a
https://www.bountysource.com/issues/72539369-turn-off-screen-after-lock-screen
that I can add $50 as well but I don't think money is the real problem here. 

I wonder what we really need to make this bug relevant to KDE. I'm not a C++
programmer but have two decades of software engineer, so I believe I can
implement this with someone mentors me, but I'm vision the problem is
motivation and not a new person writing code.

-- 
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-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-05 Thread Jeff
https://bugs.kde.org/show_bug.cgi?id=348529

Jeff  changed:

   What|Removed |Added

 CC||jeffclay+...@gmail.com

--- Comment #53 from Jeff  ---
(In reply to jonathan haney from comment #51)
> Created attachment 156995 [details]
> 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.

Thank you for this!
Out of curiosity, will you be able to only enable screen power off when locked
without enabling it for a logged in session.
Session Locked -> power save after X minutes.
Session ! Locked -> power save never.

-- 
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-05 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #52 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/powerdevil/-/merge_requests/142

-- 
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.

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

2023-02-03 Thread Chris
https://bugs.kde.org/show_bug.cgi?id=348529

--- Comment #50 from Chris  ---
Created attachment 155925
  --> https://bugs.kde.org/attachment.cgi?id=155925=edit
Shorten screen power off timeout when screen is locked

-- 
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-02-03 Thread wazhai
https://bugs.kde.org/show_bug.cgi?id=348529

wazhai  changed:

   What|Removed |Added

Summary|When screen is locked, turn |When screen is locked, turn
   |off screen at some point|off screen with a shorter
   ||timeout
Version|5.15.4  |5.26.5

--- Comment #49 from wazhai  ---
I have changed the bug summary/title to clarify the essence of this feature
request, because "turn off at some point" is already the case.

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