Skip to content

feat(linux-sidebar): drag the sidebar's edge to set its width - #4155

Merged
datlechin merged 44 commits into
TableProApp:mainfrom
sedax90:feat/linux-sidebar-width
Nov 11, 2026
Merged

datlechin merged 44 commits into
TableProApp:mainfrom
sedax90:feat/linux-sidebar-width

Conversation

@sedax90

@sedax90 sedax90 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • A handle on the sidebar's edge widens or narrows it by dragging, or with the arrow keys once focused. It has the separator role and a name, and hides while the sidebar is collapsed.
  • The width, in sp, is kept in the new sidebar-width setting (280 by default, 220 to 1200) and every open window follows it.
  • The width is the most the sidebar takes: sidebar-width-fraction 0.5 keeps half the window for the content, so a wide sidebar never pushes the window's minimum width up.
  • AdwOverlaySplitView has no divider of its own; the handle is recorded in docs/toolkit-workarounds.md.
  • Stacked on feat(linux-sidebar): choose which schemas the sidebar lists #4150.

Test plan

  • the_sidebar_takes_the_width_kept_in_settings_and_has_a_handle_to_set_it: the default, a change of setting, the floor, the handle's role, name and collapsed state.
  • the_sidebar_width_stays_between_its_floor_and_its_cap (platform).
  • the_arrow_towards_the_content_widens_the_sidebar, left to right and right to left.
  • The drag itself is not covered: the headless display sends no pointer.

Screenshots

Light Dark
Before
After

…oter

# Conflicts:
#	linux/crates/app/src/ui/workspace/tests/shell.rs
…ar-width

# Conflicts:
#	linux/crates/app/src/ui/workspace/workspace_shell.rs
…ma-filter

# Conflicts:
#	linux/crates/app/src/ui/workspace/workspace_shell.rs
…ux-sidebar-schema-filter

# Conflicts:
#	linux/crates/app/src/ui/workspace/mod.rs
@datlechin
datlechin enabled auto-merge (squash) November 11, 2026 00:13
…hema-filter

# Conflicts:
#	linux/crates/app/src/ui/workspace/imp.rs
#	linux/crates/app/src/ui/workspace/mod.rs
#	linux/crates/app/src/ui/workspace/tests/shell.rs
#	linux/crates/app/src/ui/workspace/workspace_shell.rs
#	linux/data/resources/ui/workspace-shell.ui
…hema-filter

# Conflicts:
#	linux/crates/app/src/persistence/filter_settings_store.rs
#	linux/docs/storage.md
# Conflicts:
#	linux/crates/app/src/ui/workspace/tests/shell.rs
#	linux/crates/app/src/ui/workspace/workspace_shell_imp.rs
#	linux/data/resources/ui/workspace-shell.ui
@datlechin
datlechin merged commit dd47304 into TableProApp:main Nov 11, 2026
29 checks passed
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.

2 participants