Skip to content

Stacks version 2, better version of stacking icons on the Desktop

Sundeep Mediratta requested to merge smedius/desktop-icons-ng:stacks2 into master

Builds on arrange-icons with more functionality.

Created "dynamic" stacks functionality.

When stacking is turned on-

If there are more than one icon for the same type of file on the desktop, they are all gathered up and displayed as a "stack", one icon on the desktop, that has a folder icon and down arrow emblem, the stack "anchor". e.g. all .png files will be displayed by one stacked icon file with the emblem.

The stack can be expanded, or "unstacked" to display all the files in the stack, by a right click menu item that is only enabled and contextually correct with stacking enabled. They can be also be expanded by left click on the stack "anchor" icon.

The stack can be collapsed, "stacked", by a right click menu item button on any of the files that belong to the stack with a contextually correct right click menu. The stack can also be collapsed by left click on the stack "anchor" icon as well.

Multiple stacks can be expanded or collapsed, kept expanded or collapsed, independent of each other by the above method.

If there is only one of a type of file on the desktop, it is not stacked, ie if there is only one .png file, it will never form a stack.

Stacking is disabled by design for special files - drives, application launchers, home folder, recycle bin, and all directories on the desktop.

When stacking is enabled, sort is by default initially set to be by "Type", icons cannot be moved and are always arranged by Type. Sort order can then be changed for all icons on the desktop, icons will always stay arranged set by the sort order, eg by name, size etc. The files in the stack will also be sorted by the sort order selected. Relevant menu items that cannot work are deselected.

Respects, and does not change preferences for showing drives on the opposite side.

Edited by Sundeep Mediratta

Merge request reports