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
Console on Right places the Console top-right after it was placed bottom-right #18921
RStudio Edition: Desktop and Server
RStudio Version: 2026.01.0 and later (any build with the generated pref accessors)
OS Version: any
Steps to reproduce
In Global Options > Pane Layout, move the Console to the bottom-right quadrant and apply. This stores panes.consoleRightOnTop = false.
Choose View > Panes > Console on Right (or run the layoutConsoleOnRight command).
Expected
The Console goes to the bottom-right quadrant, where it was last placed on the right.
Observed
The Console goes to the top-right quadrant.
Cause
scripts/generate-prefs.R emits boolean getters on preference objects as return this && this.<prop> || <default>;. When the default is true, a stored false is replaced by the default, so the stored value can never be read back. PaneConfig.getConsoleRightOnTop() is one such getter (PaneManager uses it to pick quadrant 2 or 3). The same generator bug also affects other true-default booleans on prefs/state objects, e.g. the Save Plot as Image dialog's "Use device pixel ratio" option never persisting as off.
The fix (emit typeof this.<prop> === "boolean" ? this.<prop> : <default>) is part of #18895.
Fixed in 2026.10 as part of #18895. The generated boolean preference getters now return the stored value when one exists instead of replacing a stored false with a true default, so Console on Right returns to the bottom-right quadrant and other on-by-default options (such as "Use device pixel ratio" in Save Plot as Image) can be saved as off.
Activity
add a news entry for the boolean pref getter fix
add a fixed plot size option to the plots pane (#18895)
kevinushey commentedon Oct 5, 2026
Fixed in 2026.10 as part of #18895. The generated boolean preference getters now return the stored value when one exists instead of replacing a stored
falsewith atruedefault, so Console on Right returns to the bottom-right quadrant and other on-by-default options (such as "Use device pixel ratio" in Save Plot as Image) can be saved as off.