[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-08-22 Thread Pastafarianist
https://bugs.kde.org/show_bug.cgi?id=392798

Pastafarianist  changed:

   What|Removed |Added

 CC||dfa...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-06-13 Thread Peter Wu
https://bugs.kde.org/show_bug.cgi?id=392798

Peter Wu  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=336369
 CC||pe...@lekensteyn.nl

--- Comment #9 from Peter Wu  ---
This is possibly related to bug 336369 which requests a GUI item to trigger
suspend while this bug requests functionality for normal power/suspend keys.

In that enhancement request, Kai said:
> We removed the shutdown option and the like due to security reasons, so it 
> doesn't make sense to add a suspend option, I suppose?

There were also some arguments from Nate about how other platforms (Windows,
macOS, GNOME) still provide the options to shutdown/suspend the device.

Given that in most cases (*handwaving*) Plasma runs on consumer laptops and
desktops, and not in a lab setting, what about handling suspend/power buttons
(and add GUI buttons if necessary) by default and provide a setting to disable
it if necessary (for lab setups?)? In many setups, you could also pull out the
battery, remove the power cable or force-press the power button.

To illustrate why I find this feature desirable: sometimes I lock a screen,
walk away and when I return, I just want to suspend it using a shortcut from
the lock screen. That does not work at the moment, I have to type a long
password just to be able to suspend (inconvenient if I am in a hurry).

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-29 Thread Brennan Kinney
https://bugs.kde.org/show_bug.cgi?id=392798

Brennan Kinney  changed:

   What|Removed |Added

 CC||polarathene-signup@hotmail.
   ||com

--- Comment #8 from Brennan Kinney  ---
Can System Settings for the lockscreen not have a UI toggle for soft buttons to
allow shutdown/suspend/hibernate? Sometimes I've suspended the machine only to
find it wake up again shortly after, I have to manually type out the password
again just to attempt a suspend once more.

It'd be nice if the user has allowed the lockscreen to display power button UI,
that you could then do such actions via lockscreen without requiring an unlock.
My machine isn't a laptop and it's power button isn't that accessible.

Suspend shouldn't cause any harm/risk to running processes and the like? If
such a setting were off by default it shouldn't cause any harm/risk to other
users that is mentioned for avoiding it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-29 Thread Mayeul Cantan
https://bugs.kde.org/show_bug.cgi?id=392798

Mayeul Cantan  changed:

   What|Removed |Added

 CC||mayeul.can...@live.fr

--- Comment #7 from Mayeul Cantan  ---
To be fair, I often just change TTY and press the suspend button there. It
should also work with the power button to poweroff the computer (or
ctrl-alt-del), so some points here are rather moot.

Showing a confirmation UI (maybe with a timer) would probably be a better
solution. Ideally, the screen locker could know what kind of activity there is
in the background (KTorrent downloading, disk copy, compilation) and show a
message that some actions could be interrupted, but that might be just me
overthinking this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=392798

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-25 Thread Nicolas Girard
https://bugs.kde.org/show_bug.cgi?id=392798

Nicolas Girard  changed:

   What|Removed |Added

Version|unspecified |5.12.4
 CC||girard.nico...@gmail.com
 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #6 from Nicolas Girard  ---
Confirmed here on Kubuntu 18.04beta.
kscreenlocker 5.12.4 as well.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-07 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=392798

David Edmundson  changed:

   What|Removed |Added

 CC||k...@davidedmundson.co.uk

--- Comment #5 from David Edmundson  ---
shutdown is a problem as we potentially have app prompts for example if there's
unsaved changes.

This doesn't apply for suspend/hibernate.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-07 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=392798

--- Comment #4 from Martin Flöser  ---
Is the power button just a global shortcut? I thought that this is a physical
event. Now thinking about it I doubt it makes sense to allow it as we cannot
show ksmserver's logout dialog.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-07 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=392798

--- Comment #3 from Kai Uwe Broulik  ---
I need to whitelist the global shortcuts for power off in kscreenlocker then.

However, how is allowing to press a keyboard combination to shutdown any
different from clicking a UI button that we deliberately not out there to avoid
"unauthorized interruption of a potentially running task" such as in a lab you
always brought up?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-06 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=392798

--- Comment #2 from Martin Flöser  ---
We don't show a UI, but the actions on power button and lid close should still
work, shouldn't they? After all I doubt that powerdevil knows that the screen
is locked and kscreenlocker knows nothing about physical buttons.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-06 Thread Kai Uwe Broulik
https://bugs.kde.org/show_bug.cgi?id=392798

Kai Uwe Broulik  changed:

   What|Removed |Added

 CC||k...@privat.broulik.de

--- Comment #1 from Kai Uwe Broulik  ---
@Martin I thought this was intentional? We don't show a shutdown UI either.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Powerdevil] [Bug 392798] Power button actions should be handled from lock screen

2018-04-06 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=392798

Martin Flöser  changed:

   What|Removed |Added

  Component|general |general
Product|kscreenlocker   |Powerdevil

-- 
You are receiving this mail because:
You are watching all bug changes.