Skip to content

Windows shell replacement in Rust: taskbar, file manager, NTFS search, task manager, disk cleaner. One installer exe.

Rust

Release v0.5.0

Lemxy2ccbe514df33
diff --git a/Cargo.lock b/Cargo.lock
index 09179d2..e476956 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -156,7 +156,7 @@ dependencies = [
[[package]]
name = "plugin-launcher"
-version = "0.4.1"
+version = "0.5.0"
dependencies = [
"embed-resource",
"windows-sys",
diff --git a/Cargo.toml b/Cargo.toml
index 2b3e292..5025d57 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
-[package]
+[package]
name = "plugin-launcher"
-version = "0.4.1"
+version = "0.5.0"
edition = "2024"
license = "MIT OR Apache-2.0"
diff --git a/ROADMAP.md b/ROADMAP.md
index 13ca72f..a184c89 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -43,6 +43,8 @@ emoved.txt`. `purge.exe` lists, `--ask` asks for YES (the bar's right-click menu
- **Shortcuts closed**: reshell's watchdog restores the taskbar and then restarts the bar (up to 3 tries in a row, a bar stable for a minute gives them back); topbar remembers the user's own taskbar mode (auto-hide / always on top) in `%APPDATA% opbar-taskbar-state.txt` and gives it back on exit and `--restore`; the rust-explorer desktop sizes its icon area from the real work area (bar at the top or bottom, any height, dock style) and follows changes; rust-settings gets a Scale step and an HDR switch for the primary display (orientation was already there). Night light stays a link to Windows. *built, tests; scale and HDR only read on a live system, not switched; the watchdog restart and the other changes not run on a live system*
- **Several displays and icons**: rust-settings picks the display its rows act on (resolution, rate, scale, orientation, HDR), switches extend / duplicate / one screen only (confirmed like a resolution, goes back after 15 s) and makes a display the main one. rust-explorer, rust-settings, topbar, wiztree, photoview and the installer got icons in one style (graphite tile, one coloured glyph, drawn 4x and shrunk: smooth at 16-256 px) from `scripts\make-icons.py`; rtaskmgr keeps its own. *built, tests; the display logic ran only on a one-display PC (reads), the icons were checked in the built exes*
+- **v0.5.0, from the issue tracker**: the gear menu has "Hide the bar automatically" (`%ProgramData%\WinRust\autohide.txt`, off by default); Win+Shift+S is our own region clipper (a dimmed copy of the desktop, drag a rectangle, it goes to the clipboard and `Pictures\Screenshots`); the volume keys and Surface's power + volume-up work without Explorer; a keyboard button sits in the Start search; brightness goes through the video driver (`\\.\LCD`); the Wi-Fi switch goes through Windows' radio manager (the WLAN API cannot undo airplane mode); rust-explorer shows desktop shortcut names and mapped network drives, and Space opens a picture in photoview. *built, tests; brightness read and write ran on a laptop; the clipper, volume keys, Surface buttons, Wi-Fi and Bluetooth fixes not run on a live device*
+
## Next (in order)
0. **Phones and safe removal in rust-explorer** (#2): not started, too big for a quick fix. (a) MTP/PTP phones have no drive letter, so they need the Windows Portable Devices API (`IPortableDeviceManager`, `IPortableDeviceContent`, enumerate objects, read and write through `IPortableDeviceResources` streams) behind a second "file system" in rust-explorer next to the path-based one; copy, paste, delete and drag and drop have to be redone on it. (b) Safe removal: a tray icon in topbar (it already hosts tray icons) that lists removable drives, and `CM_Request_Device_Eject` on the device node of the chosen drive (flush first, report "in use" with the process that holds it). (b) is the smaller half and works for USB sticks and disks; (a) is what the issue is mostly about. Needs a real phone and a USB stick to test: nothing here can be checked by unit tests alone.
0. **Taskbar-style reordering in topbar** (#6, wish): dragging a file onto the bar already pins it. Missing: dragging the window buttons to change their order, and dragging a button off the bar to unpin. Needs the order stored (like `topbar-start.txt`) and a drag state in `topbar` (mouse capture, an insertion marker, a repaint per move).
diff --git a/ROADMAP.ru.md b/ROADMAP.ru.md
index 8cfbc69..14a9c46 100644
--- a/ROADMAP.ru.md
+++ b/ROADMAP.ru.md
@@ -43,6 +43,8 @@ emoved.txt`. `purge.exe` показывает список, `--ask` просит
- **Закрыты упрощения**: watchdog reshell возвращает панель задач и затем перезапускает bar (до 3 попыток подряд, bar, проработавший минуту, возвращает попытки); topbar запоминает собственный режим панели задач пользователя (автоскрытие / поверх окон) в `%APPDATA% opbar-taskbar-state.txt` и возвращает его при выходе и `--restore`; рабочий стол rust-explorer считает область значков по настоящей рабочей области (панель сверху или снизу, любой высоты, режим дока) и следит за её изменениями; в rust-settings появились шаг масштаба и переключатель HDR для основного экрана (ориентация уже была). Ночной свет остаётся ссылкой в Windows. *собрано, тесты; масштаб и HDR только прочитаны на живой системе, не переключались; перезапуск watchdog и остальные правки на живой системе не запускались*
- **Несколько экранов и иконки**: rust-settings выбирает дисплей, к которому относятся строки (разрешение, частота, масштаб, ориентация, HDR), переключает «расширить / повторять / только один экран» (с подтверждением как у разрешения, через 15 с возвращает) и делает дисплей основным. У rust-explorer, rust-settings, topbar, wiztree, photoview и установщика появились иконки в одном стиле (графитовая плитка, один цветной значок, рисуются в 4 раза крупнее и сжимаются: гладкие от 16 до 256 px) из `scripts\make-icons.py`; у rtaskmgr осталась своя. *собрано, тесты; логика дисплеев запускалась только на ПК с одним экраном (чтение), иконки проверены в собранных exe*
+- **v0.5.0, по тикетам**: в меню шестерёнки есть «Скрывать панель автоматически» (`%ProgramData%\WinRust\autohide.txt`, по умолчанию выключено); Win+Shift+S — собственный выбор области (затемнённая копия рабочего стола, выделите прямоугольник, он попадает в буфер и в `Pictures\Screenshots`); клавиши громкости и «питание + громкость вверх» на Surface работают без Проводника; кнопка клавиатуры в поиске «Пуска»; яркость идёт через видеодрайвер (`\\.\LCD`); переключатель Wi-Fi идёт через менеджер радио Windows (WLAN API не отменяет режим «в самолёте»); rust-explorer показывает имена ярлыков рабочего стола и сетевые диски, а Пробел открывает картинку в photoview. *собрано, тесты; чтение и запись яркости проверены на ноутбуке; выбор области, клавиши громкости, кнопки Surface, правки Wi-Fi и Bluetooth на живом устройстве не запускались*
+
## Дальше (по порядку)
0. **Телефоны и безопасное извлечение в rust-explorer** (#2): не начато, для быстрой правки слишком много. (а) У MTP/PTP-телефонов нет буквы диска, поэтому нужен Windows Portable Devices API (`IPortableDeviceManager`, `IPortableDeviceContent`, перечисление объектов, чтение и запись через потоки `IPortableDeviceResources`) как вторая «файловая система» в rust-explorer рядом с путевой; копирование, вставку, удаление и перетаскивание придётся переделать под неё. (б) Безопасное извлечение: значок в трее topbar (трей там уже есть), список съёмных дисков и `CM_Request_Device_Eject` для узла выбранного диска (сначала сброс буферов, при «занято» показать, какой процесс держит). Часть (б) меньше и работает для флешек и дисков; (а) это то, о чём в основном issue. Для проверки нужны настоящий телефон и флешка: одними юнит-тестами не обойтись.
0. **Перестановка кнопок на панели как на панели задач** (#6, пожелание): перетаскивание файла на панель уже закрепляет его. Нет: перетаскивания кнопок окон для смены порядка и вытаскивания кнопки с панели для открепления. Нужно хранить порядок (как `topbar-start.txt`) и состояние перетаскивания в `topbar` (захват мыши, маркер вставки, перерисовка на каждое движение).