https://bugs.kde.org/show_bug.cgi?id=482668
Jakob Petsovits <jpe...@petsovits.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|REPORTED |CONFIRMED --- Comment #6 from Jakob Petsovits <jpe...@petsovits.com> --- (In reply to Tom Englund from comment #5) > [BatteryManagement] > BatteryCriticalAction=1 > > and yeah removing it makes it work again Okay, nice. "1" is the value for "Sleep". What it looks like to me is that your system does not actually support the Sleep action (as in PowerManagement::canSuspend()), so it's missing from the list of combo box actions but the UI still tries to find and set it. One instance I could see this happening is if one copies an existing laptop Arch installation (with that setting already set) to a new drive that powers e.g. a PC without "Sleep" functionality. Or maybe "Sleep" was the default a long time ago and written to the config file before we used KConfigXT even for global settings (i.e. before my time here). Either way, we should probably do something more graceful with unsupported power actions than just crash. Although I'm not quite sure how to deal with that in the UI. For anyone to reproduce a crash like this, one can add this to their ~/.config/powerdevilrc: [BatteryManagement] BatteryCriticalAction=16 which is an action that generally exists (PromptLogoutDialog) but does not exist in the option list for the critical battery action combobox. -- You are receiving this mail because: You are watching all bug changes.