Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve the order of tabs when reopening Wolvic #1745

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

felipeerias
Copy link
Collaborator

Tabs in the tray are sorted by recently used, while tabs in the visible bars have a fixed placement. In order to preserve the tab order between Wolvic sessions, we take the location of tabs into account when storing the list of tabs to disk.

Tabs in the tray are sorted by recently used, while tabs in the
visible bars have a fixed placement. In order to preserve the
tab order between Wolvic sessions, we take the location of tabs
into account when storing the list of tabs to disk.
Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. I was going to ask to sort tabs the same way in both widgets, but nobody indeed expects tabs to reorder when in the tabs bar. However for the tray it's indeed convenient to sort them by most recently used.

Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requested changes by mistake, lgtm of course

@svillar svillar merged commit 9b1e83d into main Feb 4, 2025
22 checks passed
@svillar svillar deleted the felipeerias/preserveTabOrder branch February 4, 2025 12:09
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