Skip to content

Listeners do not resume after lock is uninhibited #163

@VoxelPrismatic

Description

@VoxelPrismatic
  1. Create listener (10-15s)
  2. Launch hypridle
  3. Inhibit locking within those 10-15s
  4. Wait & observe

Expected result:
Either:

  1. Hypridle would check if locking is inhibited every so often. If not, any previously inhibited listeners would be immediately run; or
  2. Once the inhibit condition is lifted, all previously inhibited listeners are reset to 0.

Observed result:
Once a listener is inhibited, it is not checked again even after the inhibit condition is no longer present.

My scenario:
KDE connect inhibits locking while my phone is connected. If I leave to the store, I expect to come back with my computer locked. This does not happen because the listener, once inhibited, is not revisited even after the phone is no longer connected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions