
Windows apps
Foldergeist
A Windows tray app that makes desktop folders roll out on hover, as grids that look like the desktop.
- When
- Sep – Nov 2026
- Status
- In personal use; installer v0.1
- Built with
- C#.NET 10WPFWindows Shell APIInno SetupxUnit
Foldergeist gives chosen desktop folders a handle: hover it, or rest on the folder's icon, and the folder's contents roll out beside it as a grid in the desktop's own icon size, font and spacing. Items open, drag and right-click as they do in Explorer, and Explorer carries out every move. When a display change or a re-sort scrambles the desktop, the folders are put back where they were.
The need
Grouping desktop shortcuts into folders keeps the desktop tidy but hides them behind a double-click and a new window. Foldergeist keeps the folders and puts their contents one hover away. Windows can also rearrange desktop icons after a driver update or an accidental sort; Foldergeist puts its folders back.
What was built
- One animated window per folder that rolls out as a grid: items keep the cells they are dropped on, folders inside folders roll out too, and zip, rar, 7z and tar archives can be browsed without being extracted to disk.
- Drag and drop between a roll-out and the desktop in both directions, carried out by Explorer's own drop targets, with folders that open when a drag rests on them and a live outline of the cells a drag will take.
- Explorer's own right-click menu and keyboard shortcuts on every item, with Explorer running each command, plus in-place rename and box selection.
- Folder positions saved and restored after a display change, an Explorer restart or a re-sort, always with a notice saying why, or a question first if preferred.
- A per-user installer built with Inno Setup, with no administrator prompt, and the app and its installer translated into 14 languages that follow Windows' display language.
- Tripwire tests that scan the source and the compiled IL and fail on any delete, move, write, launch, drag or input call outside a commented allowlist; the only files the app writes are its own settings and log.
What was hard
- The app needs each desktop icon's hit box, which comes from accessibility (MSAA) queries; the interface is declared with its two read-only calls alone, and the tripwire bans the rest. Those queries wait on Explorer's desktop thread and once froze the app for 7.7 s: a UI-thread stall watch named the wait, and the reads moved to a worker thread, one at a time, with the last known box used meanwhile.
- Re-placing a window on every DPI change fed itself: the window's own move raised the event again at the same scale, more than 900 times a second. It now reacts only when the pixel scale actually changes.
- A drag from the desktop carries no layout of the selected icons, and its picture's hot spot ignores which icon was pressed. The drop shape is rebuilt from the desktop's own icon positions and the press noted by the hover poll, so a column of files lands as a column.