Repository navigation
Custom shell fork: blur, Start styles, notifications, file manager, Control Panel, Spanish, multi-monitor - #164
Open
RexxColder wants to merge 46 commits into
Open
RexxColder wants to merge 46 commits into
RexxColder wants to merge 46 commits into
Conversation
added 30 commits
November 24, 2026 14:31
…, Control Panel, Spanish, Explorer replacement
# Conflicts: # .gitignore # README.md # plugins/topbar/src/main.rs
…vars, keep the dialog open on errors
…rlap at small widths)
…g recording, wired to PrintScreen
…ited recording, WASAPI audio
…g); central language; async delete
…ze and the WM_NCCREATE abort); Spanish keys
… input (WM_MOUSELEAVE binding)
added 16 commits
November 24, 2026 21:32
….rs double encoding
…not the focused one
Double clicking a program went through its association, and `"%1" %*` (what .exe/.bat/.cmd are registered to) resolves to nothing: every exe failed with "Could not start the program: %1". open_file now starts a program file itself, with its folder as the working directory. launch::program had the same working-directory bug: runas inherits the caller's cwd, so Blur.exe from H:\Blur (started from the Run box) exited at once. It now sets the program's folder for runas and ShellExecuteW.
An audit of this machine's registry found the same failure in three
classes, not only in .exe:
- six types point their command at themselves ("%1" %*): .bat .cmd .com
.exe .pif .scr. .pif was missing from the program list and .scr lost
its /S (it is "%1" /S, run it, not its settings box).
- 22 types put %* after the document (.msi .msc .vbs .js .msu .hta...).
args_after filled %* with the path again, so msiexec got a second,
bogus argument and mmc opened the console twice. %* now stays empty.
- 141 ProgIDs have no shell\open\command at all because a shell
extension opens them (.lnk .cpl .iso, pictures). Those went to our
picker; a .lnk now goes to the shell, and so does a type that
AssocQueryString resolves to a real exe (never OpenWith.exe).
launch::program asked runas first even from a normal session, and a
restricted token cannot start a program whose manifest asks for
elevation: it exited with an error and nothing happened, with no UAC -
the installer that "does nothing". The shell now goes first unless
WinRust itself is elevated, and a failing runas falls back to it.
Windows puts a new window on the monitor of the last focused window (or the primary), so an app started from a bar on the second screen opened on the first. common::place watches the started process for a moment and moves its window to the cursor's monitor: a windowed one keeps its size, a fullscreen one takes the whole monitor, and a late fullscreen switch (a game leaving windowed mode) is moved again. Only the window that was placed is touched, never the app's dialogs. The pid comes from ShellExecuteEx (SEE_MASK_NOCLOSEPROCESS) or from CreateProcess; `runas` and `explorer.exe <shortcut>` do not report it, so those are followed by process name. Our own windows are created on that monitor instead: rust-notepad used SM_CXSCREEN and the other three CW_USEDEFAULT. Start entries can now carry a chosen icon (common/starticons.rs, %ProgramData%\WinRust\icons.txt): right-click an app in Start or use the Icons rows of Settings -> Start menu, which lists the pinned apps with a reset button. Any .ico/.exe/.dll/picture is accepted; the bar re-reads the file on timestamp change, so no IPC between the two processes.
Audit of payload.txt against the plugin table: rs-clip.exe (Win+V helper), rust-control.exe (the hub's Control Panel page) and rs-notify-bridge.exe were shipped but nobody copied them; they now ride with rust-explorer, rust-settings and topbar and are in the updater's targets. The steps that still needed a script are in the installer: HKCU Winlogon\Shell (saved once, restored on uninstall), the IFEO blocks for Start/Search/Widgets/Cortana/ShellExperienceHost, the %ProgramData% defaults (lang, autohide, dodge, look, handlers-enabled) and the removal of the duplicate rs-overlay/topbar/reshell logon tasks. An update in shell mode swaps rs-shell/rust-explorer/rs-clip/reshell aside instead of killing them, so the session survives it. The IFEO blocks need care: shell-phase2.ps1 (and installs from before the journal) already set them to our own "cmd.exe /c exit", so recording that as the original would write the block back on uninstall and leave Start dead. Journal::reclaim_reg rewrites such an entry as "delete". The updater's BASE points at the fork's releases (an upstream build has neither rs-shell as the shell nor the fork's binaries), and scripts\release-fork.ps1 builds a fork release without touching git.
The paint computed the maximum from the layout it had already scrolled, so every step down lowered the ceiling and the page bounced back (240 -> max 170, then 170 -> max 120): the wheel looked broken. The unscrolled bottom is now bottom + scroll, which is what max_scroll() does too. Also: the bell drew an unread dot but nothing called toggle_center(), so the notification centre was unreachable; left click opens it, right click opens Windows' notification settings.
…he bars The button was only the grid drawn from the accent colour. look.txt's new start-icon key points at an .ico/.exe/.dll, chosen from Settings -> Start menu -> Start button (with a reset), and the bar draws it with the same press animation. rs-shot's region overlay covers the whole virtual screen and is topmost by design, which made every bar think a window had reached its strip and slide away in the middle of the screenshot. The dodge check now skips windows of class rs-shot-overlay.
The 11 screenshots are new captures of this session (window-level, no full-screen grabs) and docs/PERFORMANCE.md is now generated by scripts\metrics.ps1: binaries, idle RAM/CPU of the shell, window-visible time of every app, flyout latency from a real click, notification latency, MFT search, supervisor recovery and the installer size, each with its method. tools\\WinShot.cs + tools\\shots.ps1 take one screenshot per step so the images can be checked before landing in docs.
…n menu WinRust Settings runs unelevated and the settings live in %ProgramData%\WinRust, whose files the elevated install created with Users: (RX): every change failed silently and the bar kept showing the old value. The installer now grants Users modify on that folder (by SID, same on every language), and the empty/delete confirmations work for a non-admin user too. Closing Settings only hides it; a second launch posted the page message to that hidden window and never showed it, so the Start entry looked dead. The page message now shows and focuses it. Recycle Bin: right-click on the sidebar row opens a small menu (Open / Empty, which confirms); the row menu gains Delete permanently next to Restore, and both delete and empty ask before touching anything. Rows show the file name (the original path travels in Row::path, so Restore still knows where to put it) and the tab says "Recycle Bin" instead of the raw CLSID.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fork of WinRust with a personalised shell, kept opt-in: the upstream defaults still work and everything is reversible.
Highlights
rs-notify+ named pipe, frosted toasts with progress, a bell and a notification centre;rs-notify-bridgeforwards native Windows toasts (Discord, Steam, Serein) into it.bar-monitor=alldraws one bar per monitor; popups, context menus and toasts follow their monitor;common::monitorsis the single source of truth.-Restoreundoes both.Measurements: docs/PERFORMANCE.md (~70 MB and ~1.6 % of one core for the whole shell; 29-97 ms to open the tools; 8.7 ms per notification).
Details: README.md, FORK-CHANGES.md, PENDING.md, tools/multimonitor-review.md, tools/notify-bridge.md.