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
Move grid columns from the keyboard on Linux, and mark the saved column order done #3971
linux/ROADMAP.md, Backlog, "Browse, edit and structure", lists:
Save the column order per table.
Most of this already shipped with #3836: a header drag reorders the columns, the order is kept per connection, schema and table in the column layout file, a table opens in that order, a column added since goes at the end, a dropped one keeps its place for when it is back, and Reset Columns in the Columns dialog goes back to the table's own order. The roadmap line was never moved.
What is still missing: the order can only change with a mouse drag. The header takes no keyboard focus and the Columns dialog only shows and hides, so someone on the keyboard alone cannot move a column. Widths already have keys (Widen Column and Narrow Column).
Proposed solution
Move Column Left and Move Column Right in the cell menu's Column submenu and in the header menu, with Alt+Left and Alt+Right on the focused cell. These are GtkTreeView's keys for moving a focused header, and the ER diagram already moves a table with Alt and an arrow.
A move steps past hidden columns to the next column on screen, and stops at the edge. Left and right follow the text direction.
The move goes through the same layout path as a drag, so it is saved per table and Reset Columns undoes it.
Move the roadmap line to Implemented and describe the column layout there.
Alternatives considered
Up and down buttons in the Columns dialog. It lists columns with check boxes for showing and hiding; a move from the cell keeps the focus where the user is looking and matches the width keys.
Activity