Bug Description
Bug Description
The client assumes localStorage is always readable and writable in a few places during app startup and settings initialization.
In restricted browser contexts like private browsing, embedded webviews, or environments where storage access is blocked, these calls can throw and break the UI. The trackpad page is also vulnerable to malformed stored values, especially for rein_invert.
Steps to Reproduce
Steps to Reproduce
- Open the app in a browser context where
localStorage access is restricted, or manually simulate malformed storage values.
- Visit
/settings or /trackpad.
- Observe that the app may fail during initialization or use invalid stored state.
Expected Behavior
Expected Behavior
The app should safely fall back to defaults when client storage is unavailable or malformed.
Desktop Operating System
Linux (Wayland - GNOME)
Client OS and browser
Firefox
Rein Version
1.0.0
Console Logs / Error Messages (Optional)
Screenshots / Recordings (Optional)
No response
Checklist
Bug Description
Bug Description
The client assumes
localStorageis always readable and writable in a few places during app startup and settings initialization.In restricted browser contexts like private browsing, embedded webviews, or environments where storage access is blocked, these calls can throw and break the UI. The trackpad page is also vulnerable to malformed stored values, especially for
rein_invert.Steps to Reproduce
Steps to Reproduce
localStorageaccess is restricted, or manually simulate malformed storage values./settingsor/trackpad.Expected Behavior
Expected Behavior
The app should safely fall back to defaults when client storage is unavailable or malformed.
Desktop Operating System
Linux (Wayland - GNOME)
Client OS and browser
Firefox
Rein Version
1.0.0
Console Logs / Error Messages (Optional)
Screenshots / Recordings (Optional)
No response
Checklist