Skip to content

Conversation

@clefebvre
Copy link
Member

Continuing the awesome work Joseph did earlier: #12586

@clefebvre clefebvre force-pushed the new-menu branch 4 times, most recently from 2478752 to 898fc22 Compare September 30, 2025 16:43
JosephMcc and others added 16 commits September 30, 2025 17:46
This helps prevent accidentally triggering another category when moving the
mouse from the categories to the application column.
Use a unique class for recent files and favorite files.
Removable ones are already in:

- nemo (which pops up when plugged)
- removable-drives applet

Permanent ones don't need quick-access, are already in nemo sidebar
and can be bookmarked.
- Unused code
- search-filesystem

Very niche and didn't work properly.
- Use ES2105 for loops (similar to python)
- forEach/filter/map for one-liners
Remove show-applications-icons.

Simplify refresh. When refreshing after a change in the prefs,
don't be selective, refresh everything. We're not looking for
performance here. This actually fixed a bug since favdocs catbutton
wasn't refreshed earlier on.

Simplify navigation. This was overly complicated. Simplify it
with .left/.right/.up/.down attributes.
This used to be an all or nothing preference. Turning it off allowed
more focus on the apps but it made the category box tiny and not very
good looking.

This commit replaces this with subtle symbolic icons. They're small,
they're all the same (same icon as for all-applications). The section
looks good but doesn't draw the user's attention. This is the new
default.
This allows us to remove the bottom bar.
This is important because:

- distributions want to be able to fill the menu with a number of
favs and places which fit nicely in the default menu size.

- Users can have a lot of bookmarks and might not want to see them
in the menu, but special dirs are bookmarks, so it's all or nothing..

- Some special dirs are more important than others, based on preference,
for instance you might never use Music, but use Downloads all the time,
other people don't..

- Just like distributions, users will want to fill their sidebar with
places and favs with the right mix and the right number of items which'
fits nicely. Having the ability to decide what is shown and what isn't
lets them do just that.
I can't manage to fix vfade issues when
it's used on multiple scrollviews:

- Scrolling the apps leads to the top of sidebar/category scrollviews
to shade randomly
- Random rendering issues on shade zones when hovering the categories

vfade would look nice everywhere but these issues make the menu
experience worst, not better.

Disable these until we find a proper fix.
Use different class names than the old menu.

That way we can update themes with the new style section without
having to affect the section for the old menu. This means the theme
can be updated for both new and old cinnamon versions, without having
to get versioned.

If people fork the old menu and bring it to spices, themes will
continue to work with it without needing it to get new class names
and support.
@clefebvre
Copy link
Member Author

This is all merged manually on master now.

@clefebvre clefebvre closed this Oct 1, 2025
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