Application crashes on power profile detection #33
Labels
No labels
backport release 26.05
bug
duplicate
enhancement
fix
good first issue
gui
nix
planned
question
refactor
security
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
xinux/settings#33
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Panic error:
If battarey profile not exists application crashedto Application crashes on power profile detectionPower Modecomponent whenpower profiles daemonis disabled #37mandayam chiqdi
shell.nix va default.nix ichiga gstreamer tiqvorildi
This issue still persist
After initial research cause of problem was in
general_pagedidnt handled correct logic for desktops.In #37 PR author made changes only for UI. This is not solution.
Because
GeneralPowerPageView::initstill callsorg.freedesktop.UPower.PowerProfilesdbus interface unconditionally.Important note!
PpdProxyBlocking::new(&connection)call doesn't check for interface existence.After calling any method, it throws error like
MethodError(OwnedErrorName("org.freedesktop.DBus.Error.ServiceUnknown"), Some("The name is not activatable").....This page should be refactored.
me (bahrom04). for the reference: #50 (comment)