sddm-greeter check occasionally finishes too early #5

Open
opened 2022-03-21 12:05:59 +00:00 by hygienic-books · 0 comments

When initializing cec-dm-controller the sddm-greeter check occasionally finishes too early.

With the sddm-aerial-breeze theme for example we expect two sddm-greeter windows to show up. We only check number of windows twice and call it a day afterwards. If at the time of the second check only one of two sddm-greeter windows has loaded we accept that as the final number and never manually force a focus switch.

To the user with their TV remote the behavior manifests being unable to control sddm-greeter account selection via TV remote.

Suggestion:

  • Add config option for expected amount of sddm-greeter windows, defaults to 1
  • Wait for more than two sddm-greeter checks
  • We may also want to move the sddm-greeter checks into a thread so they don't lock up the rest of the program
When initializing `cec-dm-controller` the `sddm-greeter` check occasionally finishes too early. With the `sddm-aerial-breeze` theme for example we expect two `sddm-greeter` windows to show up. We only check number of windows twice and call it a day afterwards. If at the time of the second check only one of two `sddm-greeter` windows has loaded we accept that as the final number and never manually force a focus switch. To the user with their TV remote the behavior manifests being unable to control `sddm-greeter` account selection via TV remote. Suggestion: - Add config option for expected amount of `sddm-greeter` windows, defaults to 1 - Wait for more than two `sddm-greeter` checks - We may also want to move the `sddm-greeter` checks into a thread so they don't lock up the rest of the program
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Quico/cec-dm-controller#5
No description provided.