Skip to content

Fixed Crash on Lock Screen#218

Open
kodamaChameleon wants to merge 2 commits intojeffshee:masterfrom
kodamaChameleon:master
Open

Fixed Crash on Lock Screen#218
kodamaChameleon wants to merge 2 commits intojeffshee:masterfrom
kodamaChameleon:master

Conversation

@kodamaChameleon
Copy link
Copy Markdown

@kodamaChameleon kodamaChameleon commented Mar 21, 2026

Description

See issues #200 and #217. Hanabi makes calls to null objects when screen is locked.

Solution

Wraps this._reloadBackgrounds(); call with if (!Main.sessionMode.isLocked) to prevent calling null objects during screen lock.

Testing

  • ⚠️ Gnome 42
  • ⚠️ Gnome 43
  • ⚠️ Gnome 44
  • ⚠️ Gnome 45
  • ✅ Gnome 46 (Ubuntu 24.04.4 LTS, x11)
  • ⚠️ Gnome 47
  • ⚠️ Gnome 48
  • ⚠️ Gnome 49
  • ⚠️ Gnome 50

Legend
⚠️ Not tested
✅ Pass
⛔ Fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant