boltgolt / boltgolt/howdy

Behavior of config variable ignore_closed_lid is inverted

Open
#565 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
7.8k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Current behavior is when ignore_closed_lid is true, the lid state is checked and when it's false, the lid state is ignored. The expected behavior is when an "ignore" variable is true, the thing gets ignored.

FIX:
change line 30 of pam.py to `if not config.getboolean("core", "ignore_closed_lid"):`
OR
change all occurrences of ignore_closed_lid to sense_closed_lid

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in pam.py at line 30 and inspect the other occurrences of ignore_closed_lid. Confirm which naming or conditional change is consistent with the configuration semantics, then verify that true causes the closed-lid check to be ignored and false causes it to be performed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication, security
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.