You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(install): preserve explicit regular TUI mode during global installs #763
I searched open and closed issues and did not find a report of this problem.
I reviewed this report and removed credentials, tokens, private paths, hostnames, and other sensitive data.
Problem
Current main includes the install-time settings change introduced by #739. A successful postinstall in a recognized global Pi-managed npm installation writes "tuiMode": "fullscreen" even when the user explicitly selected "regular". The documented behavior also reasserts fullscreen on later recognized postinstall runs.
Pi 0.85.1 still marks fullscreen as experimental. In that mode, an ordinary mouse-wheel event moves one logical row; regular mode delegates scrolling to the terminal's faster native scrollback. The mismatch is tracked upstream in earendil-works/pi#9052.
As a result, installing or updating Gentle Pi can override an explicit user preference and place users back on a known slower scrolling path. The resulting regression is easy to attribute incorrectly to the whole Gentle Pi release.
Set Pi's global tuiMode to regular, for example through /settings.
Run the successful Gentle Pi postinstall again through a recognized global install or update.
Inspect the global Pi settings and observe that tuiMode is now fullscreen.
Start Pi 0.85.1 in Windows Terminal and scroll through a transcript with the wheel.
Compare with pi --tui-mode regular: fullscreen moves one row per ordinary event unless Alt is held, while regular mode uses the faster native scrollback.
Expected and actual behavior
Expected: A Gentle Pi install or update preserves an explicit tuiMode: regular selection. Fullscreen remains opt-in while the upstream scroll-rate mismatch is unresolved. An explicit tuiMode: fullscreen selection also remains untouched.
Actual: The recognized global postinstall replaces or reasserts tuiMode: fullscreen. A later install can therefore undo the user's switch back to regular and restore the slower wheel behavior.
gentle-pi version
main@4728187c4f64b44fd407c3e83563b0afd1d0fece (behavior introduced by #739; not present in the v2.5.0 tag)
Pi version
0.85.1
Operating system
Windows
Relevant logs or error output (optional)
Gentle Pi change: #739
Upstream scroll tracker: earendil-works/pi#9052
Pi fullscreen default wheel step: 1 logical row per event
Pi fullscreen Alt-wheel multiplier: 5x
Documented installer behavior: a later recognized postinstall can reset regular to fullscreen
Before submitting
Problem
Current
mainincludes the install-time settings change introduced by #739. A successful postinstall in a recognized global Pi-managed npm installation writes"tuiMode": "fullscreen"even when the user explicitly selected"regular". The documented behavior also reasserts fullscreen on later recognized postinstall runs.Pi 0.85.1 still marks fullscreen as experimental. In that mode, an ordinary mouse-wheel event moves one logical row; regular mode delegates scrolling to the terminal's faster native scrollback. The mismatch is tracked upstream in earendil-works/pi#9052.
As a result, installing or updating Gentle Pi can override an explicit user preference and place users back on a known slower scrolling path. The resulting regression is easy to attribute incorrectly to the whole Gentle Pi release.
Steps to reproduce
mainafter feat(shell): add responsive sidebar and global fullscreen setup #739 in the recognized global Pi-managed npm package location.tuiModetoregular, for example through/settings.tuiModeis nowfullscreen.pi --tui-mode regular: fullscreen moves one row per ordinary event unless Alt is held, while regular mode uses the faster native scrollback.Expected and actual behavior
Expected: A Gentle Pi install or update preserves an explicit
tuiMode: regularselection. Fullscreen remains opt-in while the upstream scroll-rate mismatch is unresolved. An explicittuiMode: fullscreenselection also remains untouched.Actual: The recognized global postinstall replaces or reasserts
tuiMode: fullscreen. A later install can therefore undo the user's switch back to regular and restore the slower wheel behavior.gentle-pi version
main@4728187c4f64b44fd407c3e83563b0afd1d0fece(behavior introduced by #739; not present in the v2.5.0 tag)Pi version
0.85.1
Operating system
Windows
Relevant logs or error output (optional)