| Summary: | Hibernate button even though unable to hibernate | ||
|---|---|---|---|
| Product: | [Unmaintained] kscreenlocker | Reporter: | gbug222222 |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED DOWNSTREAM | ||
| Severity: | minor | CC: | nate, php4fan |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
gbug222222
2023-05-04 22:55:13 UTC
The hibernate button appears when your system has hibernation enabled. But it's the system's responsibility to make sure that everything is set up correctly for hibernation to actually work--either your distro, or you (if you're using a DIY distro). > The hibernate button appears when your system has hibernation enabled
Enabled where?
On the row with the Sleep and Switch User buttons. > On the row with the Sleep and Switch User buttons. I'm not sure whether I'm not understanding your answer or you didn't understand my question. You said: > The hibernate button appears *when your system has hibernation enabled* My question is: when the system has hibernation enabled where? Where is the system setting that enables hibernation? The way Hibernation is set up is outside of the scope of KDE; this is generally done at the installation step, and requires an appropriately sized swap partition. It's not something you can just turn on with a switch, AFAIK. > The way Hibernation is set up is outside of the scope of KDE; this is generally done at the installation step, and requires an appropriately > sized swap partition. It's not something you can just turn on with a switch, AFAIK. Ok, but you seemed to imply that KDE checks somewhere to see whether or not hibernation is "enabled" in the system. This is what you said: > The hibernate button appears *when your system has hibernation enabled* So: A) If you are not checking at all, and are just displaying a Hibernate button no matter what (but that doesn't seem to be what you said), then I think you should do better than that. You say it's someone else's responsibility to make sure that hibernation works, and that's true, but that might be just impossible on some systems, and it _is_ your responsibility to not show a Hibernate button that fakes hibernation if hibernation is not available at all (unless someone else is lying to you as per point C). B) If you are supposedly checking whether hibernation is available, i.e. working, you are not doing it correctly, because it's not on my system and yet you show the button C) If you are checking somewhere that hibernation is enabled (which is what I seemed to understand from the sentence I've quoted for the third time), then you would probably be right that it's not KDE's fault if some other piece of the system has enabled hibernation without making sure it can work. Which is why I'm asking WHERE you are checking whether it's enabled, so that I can report the bug to whoever is responsible for that. |