Behavior of config variable ignore_closed_lid is inverted
- 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