Skip to content

fix(split): make the split settings work on tablets - #940

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/tablet-split-settings
Nov 26, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/tablet-split-settings

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Large screens ignore the regular split keys, so on tablets Enable split keyboard (portrait and landscape) did nothing.

  • Large screens without a hinge sensor: the regular switches and split distance now control the values the keyboard reads; the duplicate "unfolded" split settings are hidden.
  • Toolbar split key: no longer writes the base key on large screens (it could change a foldable's folded screen).
  • Phones: the landscape switch is no longer overridden by a value saved by the toolbar key.
  • "Split keyboard when unfolded" clears the saved landscape override.
  • Reading of split settings is unchanged, so no keyboard changes on update.
  • Settings map generator: drops a bogus "here" row.

Tested: ScreenProfileTest and EmojiSearchKeyboardTest pass. Not tested on a tablet or foldable device.

https://claude.ai/code/session_017YwBxUnnx3DqiiATw5XxUk

Large screens ignore the regular split keys, so on tablets the "Enable
split keyboard" switches did nothing and the keyboard stayed split.

- On large screens without a hinge, the regular switches and split
  distance now use the large screen values. Foldables keep their own.
- The toolbar key and all split switches save through one function.
- The toolbar key no longer writes the base key on large screens, which
  could change the folded screen of a foldable.
- The landscape switch is no longer overridden by a value the toolbar
  key saved earlier, and "Split keyboard when unfolded" applies to both
  orientations again.
- Settings map: SwitchPreference is generic, don't read a row name from
  it (it listed a bogus "here" row).

How split settings are read is unchanged.

Claude-Session: https://claude.ai/code/session_017YwBxUnnx3DqiiATw5XxUk
@LeanBitLab
LeanBitLab merged commit 9018565 into main Nov 26, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/tablet-split-settings branch November 26, 2026 17:20
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