Description of problem:The power button that prevents the device from sleeping and activates the screen lock does not work. It is shown as deactivated and the device continues to go to sleep, when, if it is deactivated, this should not happen. I have tried activating the button but on the next reboot it appears as deactivated. I attach a screenshot of what I am explaining. Installing Mageia 9 from the alpha ISO from the web, completely updated. Version-Release number of selected component (if applicable): Mageia 9 and power save How reproducible: Install Mageia Plasma and go to battery icon, power button is deactivated. Steps to Reproduce: 1. 2. 3.
Created attachment 13666 [details] Button manager battery deactivated
Is this problem reproducible with an unaltered Mageia 9 installation? Your screenshot shows no standard Plasma desktop but an heavily modified one. It also looks like an external extension (from Plasma store?) is used to get this look...
Additionally you are actually running a massdownload via ktorrent. This influences the sleep/suspend/screenlock function of any desktop. Can you test the behaviour without a massdownload running by ktorrent and with disabled autostart of ktorrent?
No, the plasma desktop is not modified with any add-on. It only has two plasma panels and a change of theme and wallpaper. But no third party add-ons. I also attach a screenshot without ktorrent open (I had it open to stop me from suspending when the button I indicated in the bug didn't work).
Created attachment 13667 [details] Button manager battery deactivated without Ktorrent running
As I said before, this is a clean, up-to-date installation of Mageia 9 Plasma, without any installation of third-party add-ons for customisation. Mmm... maybe not everyone likes it, but .... might be able to offer something similar in Mageia?
(In reply to Jose Manuel López from comment #0) > The power button that prevents the device from > sleeping and activates the screen lock does not work. It is shown as > deactivated and the device continues to go to sleep, when, if it is > deactivated, this should not happen. I used a translator for your spanish screenshot and i compared also with the german and english translation for this feature. There seems to be some confusion on your side (or i read your statement in this bug wrong). Please correct me but: deactivated box=unticked box (not filled) activated box=ticked box (filled) In english this checkbox reads: "Manually blocking sleep and screen locking" In spanish: "Bloquear manualmente la suspension y el bloqueo de pantalla" This means, if you tick the box (filled) your device won't go to sleep and your screen wont lock automatically. If the box is unticked (not filled), your device will follow the settings from systemsettings5 (workspace behaviour and power management) and will automatically go to sleep or lock the screen. If i understand your initial description right, you expect that your device won't go to sleep if the box is unticked. But this is wrong. I testet this in the following way: - all powersaving and sleep settings in systemsettings disabled - checkbox in battery unticked (not filled) -> checkbox has no additional function as all powersavings and sleep modes are disabled via systemsettings -> correct behaviour - all powersaving and sleep settings in systemsettings disabled - checkbox in battery ticked (filled) -> checkbox has no additional function as all powersavings and sleep modes are disabled via systemsettings -> correct behaviour - enabled automatic screen lock in systemsettings (after 2 minutes) - checkbox in battery ticked (filled) -> the ticked box prevents the device from locking the screen -> correct behaviour - enabled automatic screen lock in systemsettings (after 2 minutes) - checkbox in battery unticked (not filled) -> screen locks after 2 minutes -> correct behaviour The only thing which i can confirm is, that if you tick the box and reboot your machine, that this setting is not permanent. But this could be an upstream decission, as the checkbox is only a "temporary" solution to disable sleep/lock and the permanent settings are done within systemsettings5.
(In reply to sturmvogel from comment #7) > The only thing which i can confirm is, that if you tick the box and reboot > your machine, that this setting is not permanent. But this could be an > upstream decission, as the checkbox is only a "temporary" solution to > disable sleep/lock and the permanent settings are done within > systemsettings5. Yes that seems like an upstream decission: If you tick the box "Manually blocking sleep and screen locking", this setting won't stick if you restart your machine. It is the same on following OS: Fedora 37 (Plasma 5.26.5) openSUSE Tumbleweed (Plasma 5.26.5) Mageia 9 (Plasma 5.26.5)
In reply to comment 6: I understand your answer, but it is not the way it works as shown in Mageia8. In mageia8, the button is checked by default, and the machine applies the power settings configured in plasma. If I disable the button, the machine does not lock and does not go to sleep. That's the default operation in Mageia 8, or that's what I've always seen. From what you say it seems that this operation has changed in Plasma 5.26 and now, you have to set the button as checked, so that the computer does not go to sleep. I will try what you say and if it is the new operation we could close the error, since in my opinion, this is how it should work and not how it is currently working in Mageia 8. Can anyone with a Mageia 8 Plasma installation confirm this? In my case I have several computers running Mageia 8 Plasma and the button is enabled by default and works as described above.
Created attachment 13668 [details] Mageia 8 Vbox with button power activated Here is a screenshot of My Machine for development and packaging with Mageia 8 Plasma without configurations, with the power button checked by default. If I disable the button, then Mageia 8 will not sleep. Maybe... Mageia 8 is malfunctioning and we've seen it now when testing Mageia 9?
(In reply to Jose Manuel López from comment #10) > Maybe... Mageia 8 is malfunctioning and we've seen it now when testing > Mageia 9? Nope! Mageia 9 and Mageia 8 are performing right in this case. The Plasma team did a massive overhaul of all menus starting with Plasma 5.25/5.26. Please read again the button description and you will see that the Plasma team inverted the function of this button: Mageia 8 with Plasma 5.20.4, the button description reads: "Permitir suspension automatica y bloqueo de pantalla" "Allow automatic sleep and screen locking" -> always ticked Mageia 9 with Plasma 5.26.5. the button description reads: "Bloquear manualmente la suspension y el bloqueo de pantalla" "Manually blocking sleep and screen locking" -> always unticked So the function of this button was fundamentally changed in Plasma 5.25/5.26 and does now the exact opposite as in Plasma 5.20.40 (Mageia 8). This is intended by the Plasma team. I also found a bugreport in the KDE bugtracker, that there is the whish that the box can uncheck itself after a defined amount of time, so that you don't need to restart/logout for automatically unchecking of the box. But it is not implemented yet...
Ok, ok, then we can close this bug because the button works fine in Mageia 9, as say the current Plasma version.
So…closing as Invalid.
Status: NEW => RESOLVEDResolution: (none) => INVALID