A fast file manager for Windows and macOS that never freezes: tabs, dual panes, archives as folders, Quick Look-style previews. A File Explorer and Finder alternative written in Rust.
The dock (experimental)
rustyfiles.exe --dock puts three floating "islands" above the bottom of the primary monitor (and, with "Dock'u her ekranda göster", of every other monitor: see "A dock on every monitor"), in the spirit of a taskbar of our
own. Version 1 is an addition to Windows' taskbar, not a replacement: Explorer keeps the desktop, the Start menu and the
notifications, nothing is injected into anything, nothing needs administrator rights, and everything the dock did is undone when
it exits.
[ Windows logo | Ara ......... | 12° ] [ app app app | bin downloads ] [ net vol | 14:05 12.11.2026 | bell ]
left island middle island (the dock) right island
What each island does
| Island | Contents | Clicks |
|---|---|---|
| Left (48 px high) | Windows logo, a search field, the weather | logo: our own Start panel (see "Panels, Start and search"; with "rustyfiles Başlat menüsünü kullan" off, the Windows key as before); search field: the same panel with the keyboard in its field, and the text typed there is shown in the field on the island (off: rustyfiles' quick search window); the weather is shown, not clicked |
| Middle (72 px high at rest) | the apps pinned to the Windows taskbar in its order, the other running apps, a thin separator, the Recycle Bin, Downloads | not running: start it; running: bring its last used window forward; in front: minimise it; middle click: another instance; right click: the dock's own app menu; the pointer resting on a running app: a preview of its windows (see "The app menu, the hover previews and the dock's own pins") |
| Right (48 px high) | (with a tray source only: the other programs' notification icons and a chevron, see "The tray strip and its overflow panel") network and volume glyphs that show the real state (the volume glyph shows mute), the time and date in two lines, a bell | network, volume: our own control centre (see "The control centre"; with "rustyfiles denetim merkezini kullan" off, Windows' quick settings, Win+A, as in version 1); time: our own calendar panel (see "The calendar and the notification panel"; with "rustyfiles takvimini kullan" off, Windows' notification centre and calendar, Win+N, as before); bell: our own notification panel, with a small dot while there are notifications (with "rustyfiles bildirim panelini kullan" off, Win+N as before) |
A dot under an app means it is running; the app in front has a wider dot.
The Start button (start_button.rs). The logo is four squares (8 px, 1.5 px apart, 1.2 px corners) filled with one diagonal gradient, light sky
blue (GRADIENT_FROM, 0x7FDBFF) at the top left to a deeper blue (GRADIENT_TO, 0x0A84E0) at the bottom right; both colours live in that file only.
The toolkit fills one shape with one gradient, so each square has the piece of the big gradient its place has (square_stops; its two ends sit a corner
away from the square's centre, outside the shader's 0..1, so no corner is clamped and the logo's corners show exactly the two tuned colours). The squares
and the gap are whole device pixels at every scale factor and at every moment of the motion (logo_geometry), because GPUI snaps each quad's edges on its
own: at 100 % the logo is 18 px at rest, 15 pressed and 20 at the top of the spring. Behind it a rounded
plate fades in on hover (the dock's hover fill with a hairline lighter top edge), is stronger while pressed (x1.6), and stays while the Start panel is
open. On press the logo shrinks to 0.82 in 80 ms (ease out); on release inside it springs to 1.06 in 110 ms and settles at 1.0 (280 ms in all); a
release outside eases back in 160 ms without the spring (the pointer leaving while the button is held does not end the press: the
pointer is followed by a probe on mouse moves, not by the toolkit's hover callback, which reports "gone" on the first move of a held button). A panel opened by the keyboard or by the search field plays
the same press and release once; one opened by a press on the logo does not play it twice. With animations off (the app's setting or Windows') every
state changes at once. The states are a pure function of the events and the time (StartButton, tested); a frame is asked for only while something
moves, so the button at rest costs nothing.
Magnification (the middle island)
Like the Mac's dock. Icons rest at 44 px. With the pointer over the island every icon grows by a smooth bell of the horizontal distance between the pointer and the icon's REST centre (a raised cosine over 2.5 icon slots, 135 px, to each side): the icon under the pointer to 1.55 times, its neighbours one slot away to about 1.36, two slots away to about 1.05. The size is a continuous function of the pointer, so moving between icons changes every size a little and never one icon by a step. The icons stand on one baseline (12 px above the glass's bottom edge) and grow UP: out of the glass, over its top edge, into the window's headroom, where nothing clips them. They push their neighbours apart so nothing overlaps, and the glass widens with them, symmetrically around the island's centre; its height never changes. The running dots stay under their icons, the separator and the Recycle Bin / Downloads take part like any icon. Coming in and going out are eased (smoothstep) over 160 ms, and while the pointer moves inside the sizes follow it directly; leaving, the bell shrinks away where the pointer last was. With the animations setting off the sizes jump.
Where the glass cannot widen (a narrow screen, the side islands close by: their least gap of 8 px is kept) the gaps between the icons give way down to 2 px and then the icons shrink together; the icon under the pointer is still the biggest. The icon bitmaps are loaded once at 44 x 1.55 px times the scale and only ever scaled down, so a big icon is sharp.
Settings, "Dock" page, GENEL: "Simge büyütme" / Icon magnification: off, subtle (1.25) or full (1.55, the default). All the lengths here, and the 12 px of headroom, are for the default dock size; the size setting scales them together (see "The dock's size").
The dock's size (setting "Dock boyutu" / Dock size)
One setting scales the whole dock: Küçük (Small, 0.85), Orta (Medium, 1.0, the default), Büyük (Large, 1.2), Çok büyük (Extra large, 1.4)
(dock_size = small / medium / large / xlarge, dock/size_pref.rs; the numbers and the arithmetic are rf_win::dock::size).
Orta is exactly the dock of the rest of this page: every number written here is for it. The size applies to a running dock at once (the
dock reads its settings file, which the main app announces when the choice changes) and is kept.
- HOW IT IS BUILT. Every length of the islands is a number of DOCK UNITS, the logical px of the default size. A unit becomes device px by
size::unit(dpi_scale, factor), the monitor's scale times the size factor (the factor 1.0 gives the DPI scale itself, bit for bit), and that one product is what every pure layout function takes where it took the monitor's scale:layout::islands,layout::placements,layout::growth_room,layout::reserved_thickness,tray_strip::cell_rect,chevron_rect,drop_target, and the corner radius the glass is given.magnify,hoverandplanwork in units and have no size parameter at all; the views multiply a unit by the factor at the moment something is drawn (look::Env::size;Env::unit()is the product). The places the lengths were spread over (layout,magnify,plan, the views,tray_stripin both crates,start_button) therefore keep their numbers and the size enters in one place (host::geo_for) and at the drawing. - WHAT FOLLOWS: the three islands' heights, the margin above the screen's bottom and from its sides, the gaps between the islands, the
corner radius of the glass, the icon cells, gaps, padding and the icons, the running marks, the magnification (its peak is relative to
the rest size, the bell's reach is in slots, the headroom and the window's reserve for the glass to widen are in units, so the region
and the room follow), the Start button's logo and plate, the search field and its text and icon, the weather, the network and volume
symbols, the clock's two lines and its block, the bell and its dot, the tray strip (cells, chevron, separator, the room it may take),
the band the dock reserves when it reserves space (
reserved_thickness), and the distance a pop-up above an icon keeps from the glass (the growth of the icons is a unit length:preview::icon_gap). - WHAT DOES NOT: the panels' contents (Start, search, control centre, calendar, notifications, the tray's overflow panel, the app menu, the preview's cards) are windows of their own and keep the monitor's scale; they follow the dock by where they are anchored, which is the island's glass rectangle the layout gives, so they open above the bigger or smaller islands without a change of their own. The drag threshold of a tray icon stays in the monitor's scale.
- ICONS. The icon bitmaps are asked for at the largest size they get at the current size (
plan::icon_request_px(unit), 44 x 1.55 x unit, at least at the monitor's scale), so they are sharp at every size; a change of size (or of the monitor's scale) asks for them again at once (MiddleIsland::size_changed, called by the host), and the cache keeps drawing the old pictures until the new ones arrive (IconCache::mark_stale), so the dock is neither soft nor flashing letters meanwhile. A load that was asked for at the old unit and ends later is dropped. - LIMITS. At 1366 px wide the middle island gives way first at every size (
size::tests::nothing_overlaps_on_a_1366_screen_at_any_size). A change of size closes a panel that is open, as a change of monitor does. NOT seen on a screen by the one who wrote it.
A right click on the empty glass starts Task Manager
A right click on the glass of any island where there is no icon, field, symbol or other control starts Windows' Task Manager
(taskmgr.exe), as a right click on the empty part of Windows' taskbar offers it. It is started through the shell's "open" on the shell
thread (actions::open_task_manager -> rf_win::sta::run, rf_win::dock::launch::start), by the program's full path in the system
folder (taskmgr::launch: the shell does no search of its own); the dock requests no elevation (the verb is never "runas": Task
Manager's own manifest decides, as when the taskbar starts it, and a declined prompt is an answer, not a fault, taskmgr::was_cancelled).
Once: a right click while it starts, and for 2 s after the call returned, starts nothing (rf_win::dock::taskmgr::StartGate, opened
by the same job when the call returns; it stays shut as long as an elevation prompt is waiting, with 5 minutes as the net for a call
that never comes back); with Task Manager already open, starting it again brings the open one forward. Note that the shell thread is
shared: a prompt left unanswered holds the dock's other shell requests (icons) behind it until it is answered or closes itself.
WHAT IS EMPTY is decided from the layout's rectangles, never from what the toolkit has under the pointer (rf_win::dock::empty_spot,
the boxes in dock/empty.rs): the point is on the island's rounded glass and in none of the boxes of the controls. The controls are the
logo and the search field (left); the tray strip's cells and chevron, the network and volume buttons, the clock and the bell (right);
the icons of the dock, as they are drawn at that moment, with the ones grown out of the glass (middle). An icon's own right click (its
menu) is not changed. The weather and the thin separators are drawn but are not controls: a right click on them is a right click on the
glass. The running mark under an icon belongs to the icon: the strip from the icon's bottom edge to the mark's lower edge is part of its
box (empty::IconBox), and a right click on it opens that icon's menu (it is outside the icon's element, so the middle island's row
passes it on, MiddleIsland::row_right_click). There is no setting; the right click did nothing there before.
Windows, margins and the pointer
The three windows are always on top, never activated by a click (they do not take the keyboard from the app you are typing in), have
no taskbar button and are not in Alt+Tab. The VISIBLE glass of all three has its bottom edge 4 px (10, then 6, until a user asked twice for less room above and below the dock; the band keeps the same 4 above the middle island) above the bottom of the monitor's
work area, so with the Windows taskbar visible they float just above it, and the band the desktop toolbar reserves is unchanged. With
shell_hide_taskbar on and the hide confirmed the dock takes the bottom edge instead: the islands are placed from the monitor's bottom
edge (dock::system::take_edge), the dock's own toolbar registration is given back, and the host sets the work area itself (the monitor
less the band, or the whole monitor with dock_reserve off): docs/design/taskbar-hide.md.
They hide while a full-screen application (a game, a video) is in front on the primary monitor and come back when it leaves.
Each window is BIGGER than its glass (layout::placements): 4 px of transparent margin on every side (where the screen ends the
margin stops there) for the glass's anti aliased edge and the pixel the window region keeps beyond it; the middle window has 12 px of
headroom above its glass for the icons growing out of it (a grown icon reaches 8 px over the glass's top edge) and keeps 40 px more on
each side for the glass to widen. The glass is a SHAPE inside the window (GlassOptions::shape), the rest is transparent.
THE POINTER GOES THROUGH WHAT IS NOT THE ISLAND'S. A window region (SetWindowRgn, hit.rs) is set to the glass (a rounded rectangle,
the shape's own, grown by 1 px so that the glass's anti aliased edge is not cut) plus the boxes of the icons that stand out of the
glass, and is updated at every frame of the magnification (the region first, then the glass, in one task, so the system never clips a
glass that has just grown). The system treats everything outside the region as not being part of the window, for painting and for hit
testing, so a click on the margin goes to whatever lies below, also in another process (the Windows taskbar under the dock is
Explorer's). WM_NCHITTEST / HTTRANSPARENT was not used: it passes only to windows of the same thread.
WS_EX_LAYERED | WS_EX_TRANSPARENT was not used: it would take the island's own clicks too, and the per pixel alpha of a layered
window is not what DirectComposition draws. While a mouse button is held on the dock the icons stand still, so a click that begins
during the 160 ms of the bell coming in ends on the icon it began on.
THE SHADOW AND THE POINTER EXCLUDE EACH OTHER, and the dock chooses the pointer. The region is also the system's clip (Microsoft: the
area where the system permits drawing), and a shadow lies outside the glass, so it is expected to be clipped away; a region wide
enough to keep it would be a band 22 px to the sides and above and 26 px below that takes the clicks meant for the taskbar and for the
windows above the dock. So by default the islands draw NO shadow and their windows keep only the edge room described above (under half the pixels of a
window with room for the shadow, which also costs region textures and swap chains). The engine can draw it
(GlassOptions::shadow, tested offscreen: black 26 % at the outline, 4 px down, gone 22 px out, never under the glass), and
RUSTYFILES_DOCK_SHADOW=1 starts the dock with 28 px of room around every glass and the shadow on, to see on a real screen whether the
system really clips it. If it does not, the switch can become the default; if it does, a shadow needs a window of its own that takes no
input (not built).
The screen's bottom corners
A click in the very bottom-left corner of a screen does what the Start button does, one in the very bottom-right corner shows the desktop (and the next brings the windows back), as with Windows' taskbar (issue 313). On every monitor that has a Dock, also while the Dock is auto-hidden (it comes up for Start). Only while the Dock has hidden Windows' taskbar, whose own corners are there otherwise, and not under a full-screen program. No setting; the "Show desktop strip" switch does not matter. A right click in a corner does nothing.
The side islands stand in from the edges and their windows are clipped to the glass, so each corner is a window of its own: a square of
6 logical px (the monitor's scale, not the Dock's size), topmost, never activated, a tool window, layered with alpha 1 (alpha 0 or
WS_EX_TRANSPARENT would let the mouse through). Not a wider island region, which would change the islands' geometry, and not a mouse
hook, which would see every click on the PC. A click is a press and a release on the square: a drag that ends there does nothing, and a press whose release went elsewhere is
dropped when the pointer leaves (a window that is never active cannot capture the mouse; and the buttons' state cannot be asked
while a window with more rights is in front).
The windows are made topmost once and not raised again, so the snip screen and the switcher stay over them. The open Start panel does
not count a press in its monitor's Start corner as a click outside; without that the press closed it and the release opened it again.
The bottom-right corner uses the same Show desktop as the strip (shell::keylayer::toggle_show_desktop).
rf_win::dock::corners has the rules (tested) and the windows; dock/corners.rs keeps them up to date: the dock's changes ask for
it, and a look every 2 seconds catches the taskbar's hide taking force.
Not run here: more than one monitor, a scale other than 100%.
The glass
HyperGlass is behind each island: the same engine and the same look as the main window (the four Settings sliders reach the dock:
at its start from the settings file, and when the file changes, which rustyfiles announces to the dock for every slider step once the
slider has settled). A small piece has the same optics, frost, tint, saturation and rim light as a window; the only difference is
that its rim band is bounded by its size, at most a third of its short side (16 px for the 48 px islands, 24 px for the 72 px one;
a window's is 44 px): without the bound the band of a 48 px island was nearly all of it and the glass looked like marble. The rule is
the engine's, by the glass's short side below 160 CSS px, so it also holds for the popups drawn on HyperGlass (menus, dropdown lists,
flyouts: glass_watch.rs): a 196 x 122 popup keeps a calm band of about 41 px across its middle, where text is read. What is
seen: a bending band along the outline, a thin bright rim light, a frosted centre for text and icons. While the glass is not running
(starting, failed) an island paints its own rounded translucent fill, inside the glass's rectangle of its (larger) window and in the
colours of the island's current tone, so the dock is never invisible. It starts from the system's light / dark theme.
Light or dark foreground. Over a white page the glass is light grey and white text can hardly be read, so each island looks at
how bright the picture behind its glass is and turns its text, symbols and glass tint the other way. The glass engine measures it
for free: at each draw that looks at the backdrop it reads back one coarse level of it for its loop guard, and the mean brightness
(Rec. 709 weights on the encoded colours, 0 to 1) comes from the same bytes (rf_win::glass::backdrop_luma(hwnd); None while
unknown). Which texels count is ONE definition for the brightness and for the loop guard's fingerprint: the texels under the glass
(Geometry::glass_rect: the whole window for a window, the SHAPE for an island in its larger window), the fingerprint with the
glass's padding added, the brightness without it. So a bright window beside an island, or in the transparent margin of its own window,
neither turns the island's text dark nor keeps the glass drawing. (The brightness is the mean over the shape's bounding box; the
four rounded corners are not cut out.) A draw that only moves the shape, which uses the backdrop it already has and reads nothing
back, leaves the last brightness as it was; the next draw that looks at the backdrop measures the new rectangle. The dock looks at
the value four times a second. An island switches to dark text on light glass above 0.58 and back to light text on dark glass
below 0.46 (between the two it stays as it is, so a page near the line does not make it flicker); the colours ease over 300 ms and
the engine is given the matching tint (set_dark). Nothing is drawn when nothing changed. While the glass is not running, or has
not measured yet, the system's theme decides.
The tint and the shape are two changes of ONE options value of an island (IslandGlass): a change of the shape is sent with the
tint the engine has, a change of the scale with both, and the engine's set_dark changes the tint only, so neither undoes the
other. A change of the tint is a new backdrop pass (the glass tint differs); a change of the shape alone is the cheap draw below.
What the animation costs the engine: one constant buffer upload and one draw of the window's size per frame, and one Present. The
backdrop did not change, so no copy of the screen, no blur pyramid, no read back and no new texture or swap chain (a change of the
shape alone is a different case from a change of the backdrop; Win::set_options). The engine is NOT paced by the display for it
(DwmFlush would hand every shape to the engine one refresh after the app drew its scene): it takes each shape the moment it
arrives, a capture session's wait ends on a command and a Desktop Duplication wait is cut to 2 ms for 120 ms after a change, and
presents at once, so the glass lands in the same composition as the icons. At rest nothing runs. The app side per frame: one
layout (a few small vectors), one shape for the engine, one region for the system, no icon loading; a mouse move that changes nothing
visible (the magnification off, or a quarter of a pixel while the bell is settled) draws nothing. In Desktop Duplication mode (the
fallback) the compositor may report a new frame after our own Present, which restales the islands once (a copy and a pyramid at
the window's size, then the loop guard skips the draw); this is the same for a moving lens and has not been measured.
Glass that is not in front (rf_win::glass::rest, engine.rs)
The engine already did no work for glass nobody can see (hidden, minimised, cloaked, completely covered: cover.rs). This section is
about the glass that IS seen but is not the window the user works in: a window behind the one in front, a dock island, a window on
the other monitor. Each such window is owed one of three things (rest::Care), worked out by the engine on every turn from facts it
can read without a timer of its own (Engine::update_care: GetForegroundWindow, GetCursorPos + WindowFromPoint, and the root
owner of each window, a few syscalls a turn). The turn itself does not wait for a clock to learn that something changed: a change of
the foreground window is an event (glass/watch.rs, a WinEvent hook on a thread of its own that only puts Cmd::CareChanged in the
engine's channel; one tiny message per change, nothing between), and the pointer coming over one of the app's main windows is another
(glass::pointer_over, called from the window's own hover event, one call on entering; nothing is sent for a window that is in front
already). Both end the engine's wait like any command. What has no event: a window that another program moves or resizes (it is seen
by the next turn; see "Frozen" below for how long that can be), and a window that is covered or uncovered (the z order is looked at,
as before this section). If the foreground hook cannot be set the engine keeps looking on its short clock.
- Front: the window (or the window that owns it or that it owns, so an open menu counts) is the foreground window, or the pointer is over it, or it was either a moment ago (400 ms, so a click that moves the focus, or a pointer that crosses an edge and comes back, does not make the frost step down and up). The old behaviour: the capture runs at the normal rate (60 a second, 30 on battery), a changed backdrop is drawn at once.
- Behind: seen, not in front. The monitor's capture is asked for 20 frames a second at most when NO glass on it is in front
(
SetMinUpdateIntervalon the running session,Monitor::set_pace; Desktop Duplication, which has no such interval, leaves a gap of 50 ms between twoAcquireNextFramecalls). And a window that is behind while another window of its monitor is in front, so that the capture is fast, still draws from a new backdrop only once the 50 ms are over (rest::draw_due; the loop never sleeps past that moment,Engine::draw_wait). A lens that slides or a shape that widens does not depend on the capture: it is drawn as often as before. A window whose RECTANGLE changes (a panel growing, a window dragged by another program) is treated as in front for 400 ms from each change (Win::geometry_changed), so its glass follows its edge at the full rate whoever has the focus. The engine's quiet wait for a frame is 100 ms instead of 50 ms while no glass is in front, a capture session is used and no glass window of another process of ours was seen at the last scan (rest::quiet_wait_ms; a frame or a command ends the wait anyway). THAT LONGER WAIT WAS NOT SHOWN TO LOWER THE ENGINE THREAD'S WAKE-UPS (see the measurements): it stays because it cannot delay anything the events above deliver, not because a number supports it. - Frozen: only for a window the app marked (
set_freezable: the main windows, not the dock's islands or a menu) and only when the setting "Odakta değilken camı dondur" / "Freeze the glass while not in front" (Settings, Appearance, in the HyperGlass card; off by default;hg_freeze_behind) is on, and only once the window has shown a picture. It is then treated like a covered window: not prepared, not drawn, not read back, not counted when the engine decides what to capture (a monitor with only frozen glass lets its session go after 5 s), and its last picture stays on the screen. It thaws the moment the window is in front or the pointer is over it, and is drawn from a fresh backdrop, presented whatever the loop guard remembers, like a window that comes out from under a cover. While all the engine's glass is frozen it sleeps up to 1 s (FROZEN_NET) and is woken by the two events above; the second is only the net for a frozen window that another program moves (a geometry change thaws it). That is a clock, and it is the only one this section adds: about 1 turn a second in that state, not measured; without the foreground hook the engine looks every 100 ms while all its glass is covered or frozen, as it does for covered glass. (Glass that is COVERED is still looked at every 100 ms, as before this section: nothing tells the engine that the window above it went away.)
RUSTYFILES_GLASS_BG_FPS=<n> (read once) overrides the 20; 0 turns the rate rules off (rest::rules_on): every seen window is
treated as in front (nothing slowed, nothing frozen, the old quiet wait, no Desktop Duplication gap), for comparing on a live desktop
without a new build. It does NOT turn off what a window nobody sees gives back (the pyramid after 15 s), the scan for glass of other
processes (step 1) or Desktop Duplication's use of its dirty rectangles, so it is the old behaviour only for what the rules slow.
Why Desktop Duplication frames that stand for several are "changed everywhere". The engine leaves Desktop Duplication frames alone
for 50 ms while no glass is in front (DupMonitor::gap); the duplication then reports one frame for several of the display
(AccumulatedFrames above 1). How the system merges the dirty and move rectangles of the frames in between was not checked against
a moving desktop (the probe glass_session_cost dirty --dup --slow was written for it and has not been run), and a
window that is not drawn when its backdrop changed keeps an old frost, which no CPU number would show. Such a frame is therefore
taken as changed everywhere (capture::dup_dirty); only a frame that is exactly one frame of the display uses its rectangles. Cost:
while content moves behind seen glass, every window of that monitor is drawn again at its own 20 a second, not only the ones the
rectangles touch. For the capture session the rectangles are used at 50 ms on the evidence of the earlier probe at 400 ms (54 frames,
none outside) and 16.7 ms; the probe at 50 ms (glass_session_cost dirty --interval 50) has not been run either. It is item 6 of the
live test.
What a window that nobody sees gives back. After 15 s of not being worked for (hidden, covered or frozen) a window drops its
backdrop pyramid (Win::region; the swap chain stays, it holds the picture the window shows) and, when no glass is worked for at all,
the driver is told to release what it caches for the device (IDXGIDevice3::Trim). The next draw makes the pyramid again after the
first fresh capture, before anything is shown.
Desktop Duplication reports where a frame changed (capture::frame_dirty: the dirty rectangles and the destinations of the move
rectangles of the frame that is held). Before, every frame was treated as touching every window, so a change anywhere on the monitor
(a video, a clock, a visualiser) made every glass window copy, blur and read back its backdrop, only for the loop guard to find nothing
had changed under it. Anything the duplication does not say clearly is "everywhere", as before, and so is a frame that stands for more
than one frame of the display (above).
What it measured (2026-11-12 and 13). A 900 x 560 glass window and a Mica window of the same size, each a test copy of its own with its own settings folder, neither activated, about 25 s per state. The picture behind the glass was a still window of ours, or a window of moving bars of ours at about 60 repaints a second (the "backdrop changes" line of the script is the proof the bars moved; only the later runs have it). CPU is a percentage of ONE core, GPU the sum of the process's GPU engines. Each cell is every run, in the order before1/before2/before3 and after1/after2/after3; a median of three is shown only where there are three valid runs. The runs are NOT alike: the "before" and "after" executables were built at different times and the Mica control process, which this change does not touch, differs between them too (working set 87 to 92 MB in the before runs, 106 MB in the first after run, 88 to 92 MB in the other two), so a difference smaller than the spread inside one column is not a result. What is below is what holds and what does not.
Desktop Duplication (that evening CreateForMonitor of the capture session failed with E_INVALIDARG on both monitors for every
process, ours and a windowless probe alike, so the session path was measured only the next day, below):
| state | CPU % before | CPU % after | GPU % before | GPU % after | wake-ups/s before | after |
|---|---|---|---|---|---|---|
| seen, not in front, still | 7.85 / 3.87 / 1.23 (median 3.87) | 0.88 / 0.79 / 0.77 (0.79) | 2.3 / 0.58 / 0.03 | 0 / 0.02 / 0.25 | 1215 / 740 / 395 | 359 / 436 / 463 |
| seen, not in front, moving behind | 18.27 / (1.06) / 16.69 | 2.05 / 0.66 / 1.97 | 5.44 / (0.11) / 3.33 | 0.34 / 0.02 / 0.36 | 2644 / (414) / 1848 | 462 / 415 / 494 |
| completely covered | 0.31 / 0.31 / 0.77 (0.31) | 0.44 / 0.55 / 1.17 (0.55) | 0 / 0 / 0 | 0 / 0 / 0.14 | 275 / 262 / 286 | 257 / 280 / 385 |
| minimised | 0.25 / 0.31 / 0.66 (0.31) | 0.25 / 0.30 / 0.00 (0.25) | 0 / 0 / 0 | 0 / 0 / 0 | 257 / 248 / 258 | 251 / 262 / 248 |
| state | private MB before | private MB after | GPU memory MB before | after | working set MB before | after |
|---|---|---|---|---|---|---|
| seen, not in front (still, moving) | 127 / 127 / 124 and 127 / 127 / 125 | 125 / 124 / 126 and 127 / 124 / 127 | 75 | 75 to 76 | 108 / 109 / 103 and 108 / 109 / 104 | 140 / 112 / 104 and 142 / 112 / 105 |
| completely covered | 127 / 127 / 125 | 103 / 103 / 126 | 75 / 75 / 75 | 41 / 41 / 76 | 108 / 109 / 104 | 139 / 111 / 103 |
| minimised | 140 / 141 / 139 | 103 / 102 / 102 | 90 / 90 / 90 | 41 / 41 / 41 | 108 / 108 / 104 | 139 / 111 / 101 |
(Figures in brackets: the second before run's "moving" cost 1.06 % CPU, so the mover evidently was not moving then (a check picture was taken to find out why), and it is not a before of the moving case. Only the third after run and the session runs carry the "backdrop changes" check that proves the bars moved (321 of 3525 sampled pixels in 250 ms in the third after run); that the mover moved in the first and third before runs (16 to 18 %) and in the first two after runs (2.05 and 0.66 %) is not proven by a check of their own, and the 0.66 % of the second after run is below the other two.)
What holds: (1) Moving behind seen glass: about 17 to 18 % of a core and 3 to 5 % GPU before (two valid runs) against about 2 % and 0.02 to 0.4 % after (three runs); the engine took every frame of the monitor and drew all of them (620 frames and 312 draws in 5 s) and now takes and draws 20 a second (99 frames, about 96 draws). (2) Minimised and covered, memory: the private bytes fall from about 127 (covered) or 140 (minimised) MB to about 103 and the GPU memory from 75 or 90 MB to 41 MB, in 2 of 3 covered runs and in 3 of 3 minimised runs; the third covered run did not give the memory back (1.17 % CPU, 0.14 % GPU, 385 wake-ups: it looks like an uncovered window, the cause was not looked into), so for "covered" the saving was seen in two runs out of three. What does NOT hold: the "still" row (the spread of the before runs, 1.2 to 7.9 %, is larger than every difference; the first run had the user's own screen behind the glass and changing), the "covered" and "minimised" CPU and wake-up figures (0.25 to 1.2 %, 250 to 390 wake-ups in both columns: no saving shown, and the covered after median is higher than the before one), the working set (not lower after; the 140 MB of the first after run was also seen in its Mica control), and GPU memory in the "seen" states (unchanged). The wake-up counts are of the whole process; 200 of them a second in every glass process are the display driver's own threads (two of them at exactly 100 a second, one per D3D device) and cannot be reached from here. In a Mica process the biggest idle cost of ours is the GPUI fork's renderer monitor thread (a 500 ms sampler, 6 to 21 wake-ups a second).
The same on the capture session (the default backend; 2026-11-13, 28 s per state, ONE run before and ONE after, the same two test copies, the user's own screen around them, so the "still" rows are not still: other windows changed on the monitor, and the "backdrop changes" probe saw 0 changed pixels in the still row and 639 to 657 in the moving row). Noisy, read the direction, not the decimals:
| state | CPU % before / after | GPU % before / after | wake-ups/s before / after | private MB | GPU memory MB | working set MB |
|---|---|---|---|---|---|---|
| seen, not in front, "still" | 3.42 / 2.11 | 0.23 / 0.05 | 883 / 728 | 128 / 125 | 90 / 90 | 110 / 140 |
| seen, not in front, moving behind | 5.95 / 4.57 | 1.10 / 0.46 | 1449 / 1609 | 128 / 127 | 90 / 106 | 110 / 142 |
| minimised | 0.39 / 0.25 | 0 / 0 | 273 / 261 | 128 / 104 | 105 / 56 | 109 / 140 |
The completely covered state was NOT measured on this path: the script's cover window (a PowerShell process that has to compile its form first) came late, so the window was not covered during the sample (3.41 % CPU and 1026 wake-ups before, 1.66 % and 537 after: both are those of an uncovered window).
The frames the engine took in the moving case: 290 per 5 s before (the monitor's rate), 96 per 5 s after (19 a second). What this
supports: the cap of 20 frames a second on the session path, and that a minimised window gives back about 24 MB of private bytes and
49 MB of GPU memory. What it does NOT support: any CPU, GPU or wake-up saving worth the name on the session path (one run each, the
difference is inside the noise seen on the Desktop Duplication path), the covered state, and anything about
working sets (the after copy's 140 MB is also in its Mica control: 88 to 106 MB). Wake-ups did not fall on this path: the
rf-glass thread woke 521 times a second in the "still" state before and 517 after, in the moving state 765 and 935 (up), and
142 times a second on Desktop Duplication; the 100 ms quiet wait therefore did nothing visible, and it was not found what wakes the
thread 500 times a second when the capture delivers at most 20 frames a second and nothing changes behind the glass (the 50 ms scan
for glass windows of other processes, crossproc.rs, costs about 0.3 ms a scan on this PC with 311 top-level windows, about 0.6 % of a
core, and is part of the turn, not a wake source). The engine now counts why its thread wakes (turns, commands by name, waits for a
frame that ended with and without one, command waits that ran out) and logs it with the other statistics under
RUSTYFILES_GLASS_STATS=1; the first live run with that on says what it is. Until then wake-ups are a goal NOT met on the session path.
A covered window measured in an own run with the debug log (17.4 s sample, 0.36 % CPU, 269 wake-ups, 105 MB private) is a diagnosis run, not a table row, and shorter than the 20 s asked for: its log shows the window reported covered, uncovered again about 5 s later, and the capture session closing about 10 s after the first report, so about 10 s of the sample came before the close. The scratchpad of this track holds 10 launches of the two test copies (6 on Desktop Duplication, 2 on the session, 1 cover diagnosis, 1 picture): the whole budget. The review that followed made no launch.
The thin dock (setting "Pencere büyütüldüğünde dock'u incelt" / Make the dock thin when a window is maximized)
The user's words: when any other window fills the screen, the dock drops to the thinness of the parts at its left and right, grows
back when the mouse comes near; the point is to free room on the screen. dock_thin_when_maximized, Settings, Dock page, ORTA ADA;
ON by default (the dock itself is off until asked for); a key of the running dock (control::Keys::thin_when_maximized), so a switch
reaches it at once. Off is the dock of the rest of this page, bit for bit (thin::picture returns plan::picture for the full
squeeze; the tests say so). Pure rules and their tests: rf_win::dock::thin; the windows' facts: rf_win::dock::zoomwatch; the dock's
side: dock/thin.rs.
- WHAT "THIN" IS. The middle island's glass is
SIDE_HEIGHThigh (48 units, the left and right islands' glass; the same number of device px at every scale and size,glass_height_px), on the same line (all three bottoms stay 10 units above the work area's bottom). Its icons are 30 units instead of 44 and keep their CENTRES, so the island is as wide as it was and nothing beside it moves; the running marks stay 7 units under the icons' feet, which stand 12 units above the glass's bottom, as at full size (the foot 12 + the icon 30 leaves 6 over its head). The magnification's bell is nothing while thin. The island's WINDOW never changes (it was always big enough for the full glass and the icons growing out of it): only the glass in it and the icons do, in the frames the magnification already draws, and the region/shape go out throughhost::set_middle_frame. At rest nothing runs. - WHEN IT IS THIN. Setting on AND a maximised window the user can see is on the dock's monitor (the primary one) AND the pointer is
not near AND nothing of the dock is open. A "maximised window" (
thin::counts_as_maximized):WS_MAXIMIZE, visible, not minimised, not cloaked (another virtual desktop), on that monitor, not a window of the dock's own process, not a piece of the shell (fullscreen::is_shell_class), and a window the task list would give a button (tasklist::style_is_task). A true full-screen program still hides the whole dock (fullscreen.rs, unchanged). - NEAR (
thin::zone). From 36 units above the thin glass (the full glass is 24 units higher and grown icons reach 12 above that: everything the island's own pointer region can hold, so the island's mouse events and the look at the cursor never disagree), 40 units to each side of the thin glass (the room the glass may widen into, so the whole of a widened glass is inside), down to the monitor's last row; less the two side islands' glass (the Start button and the clock are not the dock). The top of the zone is 12 units above the full glass's top. (It was counted from the band's margin until the margin became 4 units.) A mouse button held while the pointer was near keeps it near (a press that began on the dock). The pointer on the island itself is known at once from its mouse events; for the part above the thin glass, which is another program's window, the cursor is read (below). - GROWING AND SHRINKING. Near or something open: grows at once, over the time the dock's other motions take (160 ms, smoothstep, the
magnification's
Presence; at once with animations off), the icons growing in place under the pointer (centres fixed, up from the same foot: every point of a thin icon is a point of the same icon during the whole growth,a_point_on_a_thin_icon_stays_on_that_icon_all_through_the_growth), and then it is the dock above: the bell, the previews, the menus. It floats over the maximised window. The pointer gone and nothing open (panel::is_open,app_menu::is_open,hover_preview::is_shown): it goes thin at that moment, in ONE motion with the magnification going out (it waited 400 ms until a user saw the dock shrink in two steps: the bell first, then a pause, then the glass; while the pointer is at the dock the cursor is read every 16 ms so that the two start within a frame). A window that has just been maximised makes the dock thin AT ONCE too (SEEN_MSandSETTLE_THIN_MSare 0), and its band with it, while the system's own maximize animation still runs: with the waits there were (400 and 600 ms) the user saw the window finish maximizing, then the dock shrink, then the window grow once more into the room the dock gave up. Only the band's way back to full waits (600 ms after the last maximised window went, and the hold of 2 s between two changes). The Start panel opened by the Windows key, and any panel opened by the keyboard, is an open panel: the dock is grown while it is open (seen at the next look, 60 ms at the most). - THE BAND (
BandSettle). The band the dock reserves (the application desktop toolbar, or the work area the host sets itself while it has hidden Explorer's taskbar: both come throughhost::apply_reserve->system.reserveandtaskbar_hide::band_changed) is the thin one, 68 units (the thin glass and 10 above and below) instead of 92, from the moment a maximised window is there (it waited 600 ms until the user asked for one motion; the numbers here are the old margins' and are 56 and 80 now); so the maximised window gains 24 units. It follows the WINDOW and never the pointer: the dock grown under the pointer floats over the window and the work area stays where it is, so nothing resizes under the user's hand. It changes at most once in 2 s (a window maximised and restored in quick succession changes nothing; the story test plays that), and never while a panel is open (a change of the band is aLayoutChanged, which closes panels; the look at what is open goes on until the change is made). With Explorer's taskbar hidden by the host, the work area follows every change of the band: a set that follows the dock's own word does not count against the host's limit of four sets a minute (tbctl::Controller::band_owed; that limit is for Explorer taking the work area back, and it still applies to that). Switching the setting off gives the full band back at once. With "Pencere dock'un altına girmesin" off there is no band and nothing to change; the glass still goes thin. - WHERE THE FACTS COME FROM. A maximised window: the task list's events the middle island already follows (it calls
thin::task_changed()from its watch) plus the placement events ofzoomwatch::ZoomWatch(EVENT_SYSTEM_MOVESIZEEND,EVENT_OBJECT_LOCATIONCHANGEfiltered to a change of a top-level window's maximised bit or of the monitor of a maximised one,EVENT_OBJECT_DESTROY), started only while the setting is on. The hook thread remembers the maximised windows and their monitors (zoomwatch::ZoomSet) and is SEEDED with the ones that are maximised when it starts, so the restore of a browser that was already maximised when the dock started (or the setting was switched on) is heard, and Win+Shift+Arrow (the bit stays, the monitor changes) is heard too. Starting the watch does not wait for its thread. Either asks for ONE walk over the windows on a worker thread (maximized_on, about 25 us on this PC in a debug build, a style read per window and the other questions only for maximised ones), one at a time, spaced 50 ms. No timer reads windows. The CURSOR is the one thing that is polled: a window with a region is not told that the pointer is near it, and the part above the thin glass belongs to another program. While the setting is on AND a maximised window is seen, or the band is still the thin one (Model::needs_polling: a window can go while a menu is open, and the band's change then waits for the menu, with only this look to notice that it closed), the UI thread reads the cursor and the mouse buttons every 60 ms (two system calls, 0.4 us) and touches anything else only whennearoropenchanged. With the setting off there is no timer, no hook and no thread of this feature. With the setting on and no maximised window there is no timer, but the placement hook and its two threads exist (they are how a maximise is heard at all). - COST. Off: one atomic read per task-list event (
thin::task_changed), one per mouse move over the dock, nothing else; no hook. On, no maximised window: the placement hook (see the probe's numbers below). On, a maximised window seen, dock thin and the pointer far: a 60 ms look at the cursor. The growth itself costs what a pointer move over the dock costs. - NOT SEEN ON A SCREEN by the one who wrote it; the lead's live test is the list in the report. Not measured: the placement hook's rate
while the mouse moves all the time and while a window is dragged (
cargo run -p rf-win --example zoomwatch_probe -- 30prints the counts and the process's CPU; run it while moving the mouse and dragging a window). Measured without input: 15 s with one hook call and 40 s with 22 calls (13 for whole windows, none needing a style read), 0.0 ms of CPU.
A dock on every monitor (settings "Dock'u her ekranda göster" and "Uygulamalar hangi ekranda görünsün")
The user: "bir de ikinci ekrana da gelsin dock". With the switch on (dock_all_monitors, Dock page, GENEL; ON by default, the dock itself is
off until asked for; a key of the running dock, so a running dock opens and closes the other monitors' docks at once) every monitor has a
dock of its own, in the one dock process. COST when it is not used: with the switch OFF (and no secondary dock) host::sync_docks returns
before it enumerates anything; with the switch ON (the default) and ONE monitor the list of monitors is read once at the start and once
for each display-change message of the system, and no timer runs (monitors::watch_ticks: the 2 s look at the other monitors runs only
while there is a secondary dock or a second monitor in the list); the list of docks holds the home dock only and every shared path below
(task_feed, the icon loads) takes its one-dock branch, which keeps nothing.
- THE PER-MONITOR VALUE.
host::Dockis everything one monitor has: its monitor, its layout (Geo), its three windows and their glass, its widths, the region of its middle window, what it holds (Content), whether it is hidden for a full-screen program THERE.Hostkeeps a list of them; the first is the HOME dock (MonId::HOME), the dock the process always had: it follows the primary monitor, takes its band and holds everything. The others are the secondary monitors' docks. The rest stays shared: the settings, the glass engine, the system watcher, the panels' windows, the tray source, and the work on the windows: ONE watch of the task list and ONE listing of the running windows serve every dock (task_feed.rs: the first island starts the watch, an island that is gone drops out of its listeners, a listing made after the latest window event is handed to the island of the other monitor that asks for it, and each island applies only its own monitor's rule to it), and ONE read of the pin list (the home island reads it every 20 s and hands it to the others). Each middle island keeps its ownIconCacheandLevelStore, at its own monitor's pixels: the PICTURES (the GPU images) are not shared, but the LOAD is - docks that ask for the same icon at the same sizes (monitors of the same dock unit) share one shell call and one resampling while any of them still holds it (icons::load_levels_shared; it keeps its result for 400 ms after the first dock is done, so the island of the other monitor, which reacts to the same window event a few milliseconds later, finds it). Monitors of another unit load their own, as they must. Each island's view knows itsMonIdand asks the host with the_onfunctions (insets_on,visible_glass_rect_on,size_on,env_on); the panels, the app menu and the previews are shared by all monitors (one at a time) and ask for the ACTIVE monitor (host::active), which an island sets when it is pressed or hovered and an open panel keeps until it is gone (host::set_active,force_active). A hover or a right click on another monitor's icon while a panel is open on the first: no preview opens (the pop-up would be placed from the panel's monitor's numbers), and a right click is a click outside the panel, which is put away before the menu opens (host::claim_active). The app menu and the preview take the dock's size and the icon scale of the active monitor. - WHICH DOCKS THERE ARE (
rf_win::dock::monitors, pure and tested): one per monitor that is not the primary one, KNOWN BY THE MONITOR'S DEVICE NAME (\\.\DISPLAY2), never by its handle (the handle changes whenever the display configuration is rebuilt).reconcileturns the list of docks there are and the monitors now into closes (first, so a monitor that went does not keep a window while the next is built), places again (the monitor's rectangle, work area or scale changed) and opens. A monitor that becomes the primary one loses its secondary dock and the home dock moves there, as it always did; the old primary monitor gets a secondary dock. A change of a secondary monitor reaches the host throughWM_DISPLAYCHANGEand the 2 s tick of the system window, which looks at every monitor's rectangle, work area and scale only while the switch is on (system::watch_all_monitors). - WHAT A SECONDARY MONITOR'S DOCK HOLDS (the product owner's choices): the same three islands. Left: the Start logo and the search field, no
weather. Middle: the apps. Right: the clock and the bell, no tray strip, no network and volume buttons, no separator (they stay on the
primary monitor's, as on Windows' secondary taskbars). On a monitor too narrow for it (
monitors::content: the three islands with the middle island at the width it wants must fit) things give way in this order: the search field becomes a button as big as the logo (Search::Button), then the bell goes, then the middle island squeezes as it always did (layout::islands) - the middle island is not asked to squeeze while either of the others can still give room, so the search field turns into a button as the apps fill the dock (on the user's 1440 px portrait monitor at 100 %: from roughly 17 apps; the exact number depends on the clock's width). The same monitor with fewer apps loses nothing. A list of displays that cannot be trusted (empty, or with no primary monitor: a display wake, a remote session attaching) changes nothing (monitors::usable), and the docks are not closed and opened again for it. - WHICH APPS WHERE (
dock_apps_where, Middle section): "Her ekranda hepsi" (default): every dock shows the pins and every running app. "Pencerenin olduğu ekranda": the pins are on every dock; the running apps are filtered by the monitor each WINDOW is on (monitors::filter_groups, asked of each window withmonitors::monitor_of_window, on the worker thread that lists the windows, and only in this mode and only with more than one dock), so an unpinned app is only on the dock whose monitor has its window, a pinned app's running mark only there, and a click on it brings forward that monitor's window of the app. A minimised window counts where it will be restored. A window whose monitor cannot be told counts on every dock. A window that moves to another monitor moves its app at the next change of the task list (the list does not fire for a plain move: that is the specified behaviour). The Windows key opens Start on the monitor that has the pointer, and a tap while Start is open closes it wherever the pointer has gone (monitors::key_target). - PANELS (
monitors::panel_target,panel_request): the Start panel, the calendar and the notifications open on the monitor whose island was pressed and grow out of that island (the grown glass knows its monitor,grow_host::island_fade(mon, ..)); one panel at a time over all monitors: the same panel's button on the other monitor moves it (it shrinks into one island and grows out of the other), another panel is the ordinary hand-over. The Windows key opens Start on the monitor that has the pointer (host::monitor_at_pointer). The control centre (the network and volume buttons), the tray strip and its overflow panel are the home dock's. - EACH MONITOR ON ITS OWN. Its scale and size (
host::env_on: the system's look with that monitor's scale and the size fitted to that monitor's width), its icons asked for at that monitor's pixels, its pointer and magnification (the island's own state), its thin state (thin.rskeeps aMonThinfor each dock: thin while a maximised window is on THAT monitor, near its own glass; one walk over the windows asks about each dock's monitor), its hiding for a full-screen program (the home dock's is the system watcher's; a secondary one's is looked for twice a second while a secondary dock exists,host::look_for_fullscreen: the verdict is about the window IN FRONT, so a full-screen program in the background does not hide anything and the keyboard layer stands down only for a full-screen program that has the focus). - THE BAND OF A SECONDARY DOCK, while our hide of Explorer's taskbar is in force (
shell_hide_taskbar; the user's setup): the host that holds the taskbar hidden also holds each secondary monitor's work area at the monitor less THAT dock's band (dock_reserveon), thin or full by that monitor's own thin state, so a maximised window on the second monitor stops above its dock, as on the first. The pieces:host::apply_secondary_bandsworks out each secondary dock's band (thin::reserved_thickness(unit of that monitor, thin of that dock)) and tellsshell::taskbar_hide::other_bands_changed;TaskbarHider::set_other_bandsposts it to the hider's thread;Controller::set_other_bands(rf-shellguard) keeps the list and drives the edge like a change of the primary band;tbwork:: plan_edge_bandsgives a monitor with a band the monitor less the band, a monitor without one the whole monitor (as before), and knows the rectangles it set itself (held) so a band thinner than the taskbar's strip is still recognised as its own. The user's own work area of that monitor is written down before the first change and put back on every way out, by the code that already did it for every monitor whose taskbar we hid (nothing new in the restore, and the guard process restores from the same state file). The dock's islands stand on the monitor's bottom edge inside the band (monitors::placement_areaputs the band back into the area, from the bands the host told lately, only while the hide is in force). Without the hide, the monitor's own taskbar (if it has one) reserves its strip and the dock stands above it inside the work area; NO band is reserved and NO desktop toolbar is registered on a second monitor, so a maximised window there runs under the dock. Not done either: the band in a session with no Explorer (shell::live's own work-area keeper), and the glass-grown panels' field on a secondary monitor whose search is a button (the panel's field is laid out for the field's width). - ONE MONITOR OF ANOTHER SCALE: the app menu, the previews and the dock's own islands use that monitor's scale and size; the PANELS' windows (Start, calendar, notifications, control centre) are made once at the home monitor's scale, and the Start panel's avatar and the notification panel's text are sized from the home scale. Mixed scales are not supported yet (the user's two monitors are both 100 %).
- NOT SEEN ON A SCREEN (all of it): the secondary docks' windows, their glass, a panel growing out of a secondary island, a panel moving from one monitor to the other, the thin dock on the second monitor, the secondary band and the work area it holds (the controller's steps are tested against a pretend desktop, the real calls are not run), the window-monitor rule with real windows, a monitor plugged in or out, a panel window (made at the home monitor's scale) shown on a monitor of another scale.
Panels, Start and search
A panel is a borderless pop-up window of the dock process on HyperGlass that opens 8 px above an island's visible glass, lined up with
its left edge (left island) or right edge (right island), inside the monitor's work area (rf_win::dock::panel::place). The island's
visible glass is host::visible_glass_rect: the glass rectangle of the layout (Placement::glass, screen coordinates, device px),
NOT the island's window, which is larger (a transparent margin, the middle island's headroom) and keeps the system's invisible
frame. At 100 % the left island's glass is (12, 974, 342, 1022) on a 1920 x 1080 monitor and its window (8, 970, 346, 1026): the Start
panel's bottom edge is 966 (8 px above the glass), not 962, and its top edge 246 (it is 720 high); on a 2560 x 1440 monitor with the 48 px taskbar the left glass is
(12, 1334, 342, 1382) and the Start panel (12, 606, 654, 1326), the control centre (2188, 926, 2548, 1326). The rectangle is where
the panel's CLIENT area goes (what it draws and what its glass covers): rf_win::dock::panel::show_at measures how far the window's
outer rectangle reaches beyond its client area (the islands' windows keep the system's invisible resize frame, 8 px left, right and
below at 100 %; the panels are the same kind of pop-up and may too, nothing is changed if they do not) and sets the outer rectangle that gives exactly that client area. This was not seen
on a screen. The same rectangle is what the open panel's outside-click test keeps (a
click on the island's own logo, field or symbol is the island's button, which toggles the panel; a click on the island's transparent
margin is another program's and closes the panel). Only one panel is open at a time. Unlike the islands a panel IS activated: it takes the keyboard while it is open, and when it is put away with Escape
or by its button the window that had the keyboard gets it back (after a click elsewhere, a thing started from the panel or a window
taking the foreground, the foreground is left alone). It closes on Escape, on a mouse button going down outside it (not on its own
island: that button toggles it), when another window takes the foreground, when the dock hides for a full-screen application, when
the monitor, its scale or its work area changes (the islands move; a panel left open would stay behind), on Alt+F4 (the window is
only put away: a destroyed panel window is never opened again) and when its button is clicked again. Opening and closing ease over
120 ms (opacity and a 6 px rise; at once with animations off). The panel's glass is the popups' (glass_watch::PopupGlass: a plain
fill until the engine has drawn, for good if it fails) but with the system's ordinary round corners (DWMWCP_ROUND, 8 px at 100 %,
PopupGlass::start_panel; menus and dropdowns keep the small 4 px ones), dark or light with the tone its island has at the moment the panel opens (IslandGlass::dark, the island's target tone: the brightness behind its glass with the system's theme as the fallback); the panel's own views paint with the island's palette (host::frame_palette). The panel is brought
to the front without the last-resort tap of the Alt key that bring_to_front has (that tap goes into whatever window is in front and
can light up its menu bar); if Windows refuses the foreground the panel closes itself by the 1.2 s foreground rule.
While a choice is being carried out the panel does nothing more. A start, a power action or the like sets a closing flag at once:
clicks and keys are ignored while the panel eases out, so a double click on an app starts it once, and a held Enter does not repeat.
A click that removes a menu or answers the question starts a 350 ms quiet period, so the second click of a double click cannot land on
the row that lies under the place where the menu was. The start itself runs off the UI thread; the panel waits up to 300 ms for it: a
failure that arrives within that keeps the panel open with a line above the bottom row ("Başlatılamadı. Kaldırılmış ya da taşınmış
olabilir.", "Bu işlem yapılamadı. Yeniden deneyin."), a call that takes longer (a sleep returns only when the PC wakes, Windows' consent
prompt waits for the user) is not waited for, and declining the consent prompt is not a failure.
What it costs. Each panel's window (the Start panel's, the control centre's, the calendar's, the notifications') is made WHEN THE
PANEL IS FIRST OPENED and kept hidden after that (it used to be made at the dock's start): a dock whose user never opens a panel holds
no window, no swap chain and no view tree for it. The click that asks for the panel makes the window from a task of the foreground
executor (panel_more::toggle_made, with its Making guard so that a second click before the window exists does not toggle the panel
shut again), then opens it; every later opening is a move and a show. The time the user waited is logged at info level, from the
click to the panel being on the screen with its glass attached:
dock: panel start window made in 31ms from the click (only the first time) and dock: panel start shown in 74ms from the click (window made for it). There is no timer, no thread and no glass of a closed panel (the control centre's sources run only while it is
open; the sound and the network are followed all the time, as the right island shows them). The glass engine is attached when the panel
opens and taken off after it has closed. While it is open one 50 ms task looks at the foreground and the mouse buttons. The Start
panel's app list, pins and the user's name are read when the panel is first made (about 0.4 s for 273 apps on the machine this was
written on: the first opening shows the empty list for that long, where the old four-second warm-up after the dock's start had it
ready; this is the price of making nothing at the start).
The Start panel (642 x 720 logical px at most, shortened to the room above the island on a short screen: startpage::panel_height; the
logo, and the search field, open it). It is shaped after Windows 11's Start menu, in the panels' glass, on TWO PAGES, and always opens on
the first.
- Top: the search field, a pill (36 px high, 18 px radius, 28 px from the sides, 24 px under the panel's top edge). Typing searches from either page (the result list is shown over the page); Escape empties it first.
- THE HOME PAGE. "Sabitlenenler" (14 px semibold) with a "Tümü >" button at the right of its heading; the user's pinned apps in six
columns, three rows of 94 px tiles (a 36 px icon and the name under it on up to two centred lines); under it, 24 px lower,
"Önerilenler" (see below). Right click a tile: pin / unpin ("Başlat'a sabitle", "Sabitlemeyi kaldır"), run as administrator (Windows'
consent prompt, because that is what the user asked for), open the program's place in rustyfiles. More pins than a page holds
(18) are reached by PAGES, with dots in the padding at the grid's right edge (a click on a dot), the mouse wheel over the grid (one
page for each roll, the smooth stream of small steps counted by
startpage::WheelPager) and the keyboard (Page Up / Page Down, or the arrows running on past the last tile). A page turned by the wheel or a dot drops a keyboard cursor that was on a pin of the page that went (startpage::spot_after_turn), so Enter never starts an app that is not on the screen. Paging was chosen over scrolling because a page never shows half a tile, the keyboard cursor needs no scroll-into-view arithmetic (the page simply follows it), and it is how Windows 11's Start does it. On a panel too short for three rows the grid gives up a row first (down to two), then "Önerilenler" a row (down to one), then the grid's last rows, last "Önerilenler" itself (startpage::home_layout, tested over every height). With nothing recommended the grid takes the room (up to five rows, as many as the pins need). - "ÖNERİLENLER" (
dock_start_recommended, on by default; one switch in Settings, "Başlat'ta önerilenler"). Up to six entries in two columns filled across, each a 32 px icon, the name and a quieter second line: for a document, when it was last opened ("Az önce", "5 dk önce", "3 sa önce", "dün", else the date in the user's own format); for an app, "Son eklenen". The documents are the recent files Windows keeps (the shortcuts in%APPDATA%\Microsoft\Windows\Recent, whose modification time is the last opening; the same source as the file manager's Home page), read on a worker thread at each opening (the shortcuts through the one shell thread,sta::call, six shortcuts to a job and no more jobs once six files are there, 3 s in all:startrecent::gather, so the icon requests that share that thread are never behind forty resolutions), newest first, each file once, folders left out, a file that is gone or lies on a network (a UNC path or a network drive: a share that is asleep must not make the panel wait) not shown, and the entries of the last opening are put away first, so a file deleted since is not shown even for the moment the reading takes (startrecent::choose). RECENTLY INSTALLED APPS: the list of installed apps the panel has (apps::list, the AppsFolder) gives a name and an id and no date of installation, so there is no source for them today; the code has the entry kind ("Son eklenen") and its ordering by time, and nothing makes one. A click opens the document (Ctrl+click shows it in its folder; a failed opening is logged without the path). The pictures of the documents stay in the icon cache only while they are among the recommended ones (keep_icon_on_hide), so the cache does not grow with every document opened over weeks. With nothing to recommend, or the setting off, the section is not drawn and the grid gets its room. While the first reading is on its way its room is kept empty, so the grid does not grow when the entries come. - THE ALL APPS PAGE ("Tümü", or Tab to the button and Enter). Heading "Tüm uygulamalar" with a "Geri" button at the right, and the
alphabetical list of every installed app in the user's alphabet (Turkish letters in the Turkish order) with letter headers, in the
app's virtual list; an icon is asked for only for rows in view, through the dock's icon cache and the shell thread. Escape and
Backspace on an empty search, and "Geri", lead back to the home page; ONLY from the home page does Escape close the panel
(
startpage::escape,backspace_goes_back; a held Backspace does not step back). - Bottom: a line, then the user's ACCOUNT PICTURE (round, 28 px) and name at the left; the gear (Windows' Settings,
ms-settings:) and the power button at the right (Kilitle, Uyku, Oturumu kapat, Yeniden başlat, Bilgisayarı kapat; the last two ask "Emin misiniz?" in the panel first). The picture is the one Windows keeps for the account: the files listed underHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture\Users\<SID>(valuesImage32...Image1080), read on a worker thread once for each size it is drawn at (the smallest that is big enough, decoded and cropped to a square:rf_win::dock::startuser). It is only read (the registry key and the file); an account without a picture shows the initial in a disc, as before. The round clip is the picture's own corner radius (the toolkit'soverflow_hiddenclips to a rectangle only). - A one-line notice ("Başlatılamadı…") is paid for before the home page is fitted to the window (
startpage::page_room, 28 px), so that a page that fits exactly does not draw over it.
The question of the power button is a small box in the MIDDLE of the panel, not where the menu's rows were
(it appears under the pointer that chose "Yeniden başlat" or "Bilgisayarı kapat", and the second click of a double click must not
answer it), "Evet" is drawn faint and does not count for the first 600 ms (power::yes_counts), and the keyboard starts on "Hayır"
(Left / Right move, Enter answers what it is on). The pins are start-pins.json in the config folder: seeded once from the taskbar's
pins (matched by AppUserModelID, program or name), then the user's own; an app that is not installed any more stays in the file and out
of the grid. A seeding whose taskbar read did not come back in time writes nothing and is tried again at the next opening (an empty
list from a failed read must not become the user's choice for good); a pin file that exists and cannot be read is moved aside
(start-pins.json.broken), never written over; writes are numbered and a stale snapshot never overwrites a newer one.
Keyboard: typing goes to the field (also from the bottom row's buttons); the arrows move through the grid (a page follows the
cursor), on to "Önerilenler" and back (startpage::step_home: down from the bottom row lands under the same half of the grid, up
from the first row returns to the bottom row), and through the all-apps list; Page Up / Page Down turn the grid's pages; Enter starts,
Ctrl+Enter shows the program in rustyfiles (the footer offers it only for a file or an app); Escape steps back (query, all apps, then
the panel); Tab goes field, "Tümü" ("Geri"), gear, power (the button is a stop only while it is drawn: over a result list or before the apps have
come, Tab goes field, gear, power: startpage::next_tab_stop); the Menu key or Shift+F10 opens the app menu of the thing under the cursor
(arrows and Enter in it), and the power menu takes the arrows and Enter. The keyboard cursor is the app's selection pill, like every
list. Menus are drawn inside the panel (a window of their own would take the activation and close it), placed from the panel's real
size: the window is shorter than 720 px on a small screen. There is no key that opens the panel from the keyboard but the Windows
key's tap when shell_win_key is on; the logo and the search field are the way in.
WHAT THE REDESIGN COSTS. Nothing while the panel is hidden or closed (no timer, no thread). An opening starts two reads on worker threads (the recent shortcuts, about 40 files' times and, six at a time on the shell thread, as many resolved as it takes to find six files; the account picture, once for each size) and builds one page of the grid (at most 18 tiles) and at most six entries instead of the whole pin file; the all-apps list is built only when that page is open. The first opening's window creation is unchanged. With "Başlat'ta önerilenler" off the shortcuts are not read at all.
Search. The sources and the ranking are the quick search's own (quick_search::search_local: apps, bookmarks, the web;
quick_search::search_files: the name index), shared, not copied. The dock process does not hold the name index (memory), so the
files come from the running rustyfiles over pipes (search_pipe.rs): the dock writes \x01qs-files <id> <query> to the main app's
SEARCH pipe (rustyfiles-search, served only by a main app that knows the protocol: on the ordinary instance pipe a main app from
before this would read every keystroke as a launch argument, open an error tab and raise its window; with an older main app running
the dock simply finds no search pipe and says "no main app"), the main app searches its index on a thread of its own and writes
\x01qs-files-reply <id> <state> <hits> to the dock's pipe (these pipes are one-way, so there are two). Apps and the rest answer within a frame or two from a worker thread
(about 1.2 ms per keystroke in a debug build, 273 apps and the bookmarks); the files arrive after them and slot in after the apps
without moving the row the user has moved to (the selection follows the row, not its number), and an Enter before they arrive waits
for them only when the first row is not an app. The files of the previous query stay on the screen until the answer for the new query
replaces them (rows that vanish at every keystroke and come back make the list jump). If no rustyfiles is running the dock starts one
without a window (rustyfiles.exe --no-window) by itself, at most once a minute (a user with "run in the background" off saw no files
and did not notice the row that offered it, 2026-11-23), and asks again when it answers; if that fails there is one row that says so
and starts it when chosen. That
process has no window and no tray icon, so it ends itself after 10 minutes without a request for files, if no window has been opened
in it by then (search_pipe::watch_idle; a window opened in it makes it an ordinary rustyfiles). The field in the left island shows what is
typed in the panel (the island is never activated, so it cannot take keys itself).
The Start panel grows out of the left island (setting "Paneller adalardan büyüyerek açılsın" / Panels grow out of the islands)
While the Start panel is open the search field in the island's row WIDENS with the glass, from the island's own 220 units to the row's
right padding, and narrows with it on the way home; the weather, whose room it takes, fades out in the first fifth of the growth and
comes back in the last fifth of the closing (grow_head.rs: Layout::field_width, weather_alpha). The field is the island's own to
the pixel when pressed: the same word in the same place, colour and size, the caret where the word starts (the kit's input stood 10 px
in, drew at 14 px whatever the dock's size, and used the theme's muted colour: a user saw the word and the place to type move).
The user's idea: when Start is pressed the glass at the left grows and widens and IS the Start panel; when the search field is pressed it
grows too, ready to type. (First built with the field travelling to the top of the panel and the account, gear and power button in the
island's row; the user then asked for it the other way round, see "THE ROW STAYS AS IT IS" below.) On by default (dock_start_grow, switched on at the user's own
request, and settings.rs and its test say so; it was written as off until seen on a screen, which the person who wrote it could not do).
Off: everything above this section is exactly as it was. NOT SEEN ON A SCREEN.
- THE MOTION (
rf_win::dock::grow, pure and tested at the four dock sizes and at 100, 125 and 150 %). The island's glass (a capsule) grows to the GROWN rectangle: the panel's rectangle taken down to the island's bottom edge, so the panel's content is on top, then the 8 px gap, then the island's own row, all one glass. One corner of the island stays where it is while it grows (Corner::BottomLeftfor the left island: up and to the right;BottomRightfor the right one: up and to the left); the logo does not move. The corner radius eases from the island's (24 units) to the panel's (8 px) with the rectangle. Opening takes 220 ms, closing 160 ms; the glass followsu = ease_out(s)wheresis the position along the motion (time), so the way back is the same curve run the other way; a press during the motion turnssround where it is (no jump, the rest of the way at the speed of the new direction). Nothing of the island's row fades or moves; the panel's content (the header, the pages) fades in over the second half and, closing, goes first. With animations off (the app's setting or Windows') the panel is whole in one frame and gone in one frame.rf_win::dock::grow::arm_done: the clock starts when the panel's glass is running (at once when the engine has none and is not working on one; after 1000 ms,ARM_ENGINE_MAX_MS, only as a net for an engine that neither runs nor fails). - HOW IT IS BUILT (
crates/rf-app/src/dock/grow_host.rs) AND WHAT WAS CHOSEN INSTEAD OF THE ONE-WINDOW DESIGN. The panel keeps its own window; hosting its content in the island's window (the island is never activated, the panel must be: keyboard, text field, menus, hand-back of the keyboard) was judged too large a change to make without a screen. What changed: the panel's window is as big as the grown glass and its glass is a SHAPE inside it (GlassOptions::shape, the way the middle island's glass is inside its window) that every frame of the motion moves together with its radius (glass::set_options; the engine treats shape plus radius as one constant and one draw,only_the_shape_and_radius_differ), and the window's REGION follows the shape (hit::set_region), so a click outside the visible glass reaches what lies below. The island's own glass is put away while the panel's stands in its place (IslandGlass::set_hidden: the engine is given no shape, the tone stays as it was) and the growing island's window (only that one) is raised above the panel's, and put back above it whenever the panel's activation has lifted it (island::is_above, asked in the panel's own 50 ms watch), so the logo is drawn over the grown glass, is pressed where it is (pressing it again closes), and takes its click through the island's own window region, whatever the panel's region is. The island's window is never activated; the panel's window is, as before, and gives the keyboard back as before. The panel's own system rounding and border are put away (grow::set_frameless) and given back when it is hidden (finish). - OPENING BY THE LOGO OR BY THE SEARCH FIELD is the same path (
panel::toggle_start); the field in the panel has the keyboard from the moment the window is shown and what is typed meanwhile stays in it; with text in it the results show as before. The panel's field is drawn in the island's row, in the island's own field's place (see "THE ROW STAYS AS IT IS"). - WHAT DRIVES THE FRAMES.
view_frame(the panel'srender) reads the clock, queues the glass shape and the region for that frame (one task of the message loop; nothing when it is the frame already sent) and says whether another frame is wanted; the island'srenderasksisland_fadethe same way. The frames therefore follow the display. A DEADLINE task per motion (the motion's end plus 25 ms, replaced at every turn) applies the last frame and ends the motion whatever the views did, and the close path'sfinishgives the island its glass and the window its region and frame back whether the deadline ran or not: the click region is right even if no frame is ever drawn again. The region of the panel's window is set BEFORE the window is shown (the island's rectangle), so the window never shows as a whole for a frame. A press on the desktop outside the glass as it is at that moment closes the panel (grow_host::visible_rect). A layout change or a full-screen program close it at once, without the motion. - COST. Off: nothing (
grow_host::configreads one setting when a panel opens; the views callview_frameandisland_fade, which look at a global that is not there). On: while a motion runs, per frame one layout (a few numbers), oneset_options(a constant and a draw of the window's size, no new picture of the screen), one window region (a few rectangles) and the two views' render; after the motion nothing runs (no timer, no frame request; the 50 ms look of an open panel is the panel's own, as before). One info line at the start and one at the end:dock: grow start: opening, 220 ms ...,dock: grow end: opening finished after 14 frames in 231 ms. - NARROW SCREENS. The grown glass is as wide as the panel (642 px, 803 at 125 %) all the way down to the island's bottom edge, so where
the middle island begins less than that from the left island's left edge (1920 px wide at 125 %, 1366 or 1600 px wide at 100 %; the
user's 2560 px at 100 % has 400 px to spare) the glass would lie under the middle island's first icons and take their clicks. Such a
panel does NOT grow:
grow_host::fits(grow::reaches_other_island, with the 8 px gap as margin) says no, an info line says why (dock: grow skipped: ...), and the panel opens the ordinary way, a pop-up above the island with its own 120 ms easing, as with the setting off. A click on another island is therefore always outside the panel and closes it, as before. Not an L-shaped glass: the glass engine's shape is one rectangle. - THE ROW STAYS AS IT IS (
dock/grow_head.rspure and tested,start_row.rsdraws; the user's "başlattaki arama çubuğu olduğu yerde mi kalsa? üste gitmese? kullanıcı bilgileri ve ayarlarla güç simgesi üste gitse?", which replaced the first arrangement: the field travelling to the top and the account, gear and power button in the island's row). While the glass is grown the island's row is the glass's bottom row EXACTLY as it is with the panel closed: the logo, the search field in its place and the weather. The weather stays, by the right island's rule (its whole row stays;Stays::RowAndFieldfor the left island,Stays::Rowfor the right, neither fades anything), and its text can change while the panel is open: the island's width is told as always (left.rsno longer holds it back) and the host's layout works the growth out again (panel::layout_applied). A hairline stands over the row across the glass (grow_view::hairline, the right island's). THE FIELD: the island's window is never activated and cannot take keys, so while the glass runs the island does not draw its field (island_fade().field_hidden, opacity 0, it keeps its room) and the PANEL draws its own field, the one with the keyboard, in the same rectangle: same place (padding + logo + gap in from the island's left edge), same size (220 x 32 units), same fill, picture and text size (14 units;start_row.rs::render_row_field,grow_head::Layout::field). Its opacity is 0 until the glass runs and 1 from then on, the island's field going in the same frame. The placeholder in the row is the island's own word, "Ara", which the field says with the panel closed: the panel's sentence ("Uygulama, dosya ya da web'de ara") needs about 200 units and the pill leaves 174 (plan::SEARCH_TEXT_ROOM), so it was cut mid-word there;StartView::sync_placeholderswaps it whenever the growth starts, moves or ends, and the panel's field keeps the sentence where it stands at the top. The field's pill lengths (12 / 8 / 14 units) are shared constants (plan::FIELD_PAD_X...) thatleft.rsandstart_row.rsboth draw from. The island's window lies over the panel's field and takes the pointer; a press on it gives the keyboard to the panel's field (panel::focus_start_field, a text cursor over it) and does not close the panel, which the island's field did while it was a button. A KNOWN LIMIT: clicking INTO the text to place the caret, double click to select a word, dragging a selection and the right click's paste are not possible (the press is the island window's; the keyboard does all of it). The way to give them is to cut the field out of the island window's region while the glass runs (a newPartthat is subtracted inhit::set_region, set when the growth starts and given back when it ends and on every layout), so that the pointer reaches the panel's field itself; it was not built because it is a window call that cannot be tried without a screen and a hole left behind would make the idle island's field dead. THE HEADER: the account's picture and name (left), the gear and the power button (right) stand in the room at the top that the panel's own field used to take (60 px: 24 + the 36 px pill), the panel's own lengths (28 px picture, 36 px buttons, 18 px pictures, 28 px from the sides, the footer's), centred above a hairline that is the header's last pixel row; their menus open from there (the power menu just under its button). The panel's own line and footer are not drawn and the panel is placed 65 px shorter (grow::height_without_own_row,grow_host::panel_size): the content area keeps the height it had (24 px under the header down to the panel's bottom edge; the page layout counts the 65 px back in,grow_host::own_row_given_up), and the 8 px gap stays inside the glass as room under the content. The header fades in with the content (second half of the opening, first part of the closing). Nothing of the panel stands under the island's window any more, so the check "the island would lie over the gear" (buttons_clear_of_island) is gone: a long weather text no longer stops the panel from growing. A right click on the island's empty glass is not Task Manager's while the glass is grown. With the setting off, or where the panel does not grow, the panel keeps its own field at the top and its own footer, as before. NOT SEEN ON A SCREEN. - THE KEYS WITH THE FIELD BELOW THE CONTENT (
rf_win::dock::startkeys, pure and tested). Up from the field lands on the thing nearest to it (the first tile of the last row drawn: the recommended entries, else the grid's bottom row); Down, Right and Page Down from the field still land on the first thing; Down on the bottom row goes back to the field (the cursor leaves); on the all-apps page Down from the last app goes back to the field and Up (Page Up) from the field lands on the app on the last row fully in view (the view measures it from the list's scroll state,startlist::last_visible_app); Down from the field there still lands on the first app. Left and Right are the field's unless the cursor is in the grid. Tab follows the screen from top to bottom: gear, power button, "Tümü" ("Geri"), field. RESULTS: the list reads top down as it always did, the best match first, SELECTED (the selection pill) and marked "Enter" on its row, and Enter starts it; Up and Down move the selection and wrap, so no arrow ever leaves the list for the field and the field keeps Left, Right, Home and End. Chosen over a list turned upside down (best match nearest to the field) because that reverses the sections' order (apps, files, bookmarks, web), which the rest of the dock and the quick search read top down, and makes Up mean "next"; this is also how Windows 10's Start looked with its search box at the bottom. The strip with the key hints ("Enter: aç" ...) is directly over the field. - THE TONE AT THE HAND-OVER. The island's own glass has no wash over it; the panel's has (28 % black, 45 % white in the light theme). The
panel's wash is drawn with an opacity that follows the glass's growth (
Run::wash_alpha: 0 while the glass starts and at the first frame, 1 at the end, 0 again when the island is home), so the first and the last frame of the motion are the island's glass and nothing else and there is no step in its tone. Where the panel's glass never comes (the plain fill) the fill is whole as soon as the clock runs. THE DARK FIRST FRAME (seen in a capture on the user's screen: one frame of an opaque dark box, about 235 x 170, before the glass). The cause, from the order of calls: the clock starts the moment the ENGINE reports the panel's glass running (arm_step, every 8 ms), but the panel's view learned it from itsPopupGlasswatch, which looks every 50 ms. For up to 50 ms the view still believed "no glass yet" with the island's glass already put away, and painted the plain fill whole (dark 0x1C1C1E at 82 %, alpha 1) over the growing shape. Now one source decides:Run::wash(u, engine_running)is given the engine's report at that frame (glass_running, one table lookup per frame drawn), and the view takes both the fill and its opacity from it (ViewFrame::plain). THE SECOND WAY TO THE SAME BOX (found by the review, fixed): the old wait gave the engine at most 90 ms (ARM_MAX_MS) and then started the clock anyway, which puts the island's glass away; an engine slower than that (the first opening, a busy GPU) left the island with no glass and the panel with a plain dense fill for every frame until the engine caught up. The clock now waits for the engine's own signal:grow::arm_done(Engine, waited): running starts it,Gone(the engine refused the window or lost it,GlassState::OfforFailed) starts it at once with the plain fill (waiting would only delay what is all there is), andStartingwaits, up to the net of 1000 ms (ARM_ENGINE_MAX_MS). THE LONGEST WAIT with a working engine is therefore however long its first frame takes, bounded by 1000 ms; the island stays on the screen exactly as it was meanwhile, so a slow engine costs the press some delay and not a frame of the box. After the net (an engine stuck in "starting" for a whole second) the plain fill is shown, as there is no glass. WHAT IS NOT PROVEN: the cause was read from the order of calls; no capture has been looked at since. The log line at the end of each motion says how many of its frames were drawn with the plain fill (dock: grow end: opening finished after N frames in ..., M of them with the plain fill): M should be 0; if it is 0 and a dark frame is still seen, the cause is elsewhere (the first slow render of the grown window, or the window shown before the engine has drawn the new shape) and the log line fromgrow start(engine Running/Starting,waited) says which. - PRESSED AGAIN DURING A CLOSING reverses the motion from where it is and keeps what the panel shows (
StartView::on_reopen: typed text, results, page and selection stay, the searches that closing stopped are asked again). With animations off the panel is whole in one frame and the island's glass comes back in the closing's deadline like in any closing, before the window is hidden, and the opening waits for the panel's glass (up to the 1000 ms net), not for any motion. - LIMITS. The hand-over between the island's glass and the panel's glass (two windows, two presents) may show one frame of either the one or the other at the first and the last frame of the motion; the two stand in the same rectangle for a few ms at the end of a closing (the window is hidden 60 ms after the motion, the island has its glass back 25 ms after it). The panel's glass is made when the panel opens, as before, so the first 20 to 90 ms after a press are the island as it was (and the logo's own press motion) before the motion starts. The size of the panel's window changes (56 px taller by the gap and the island's row at 100 %); the panel's own rectangle, its contents and its layout are the same.
- THE RIGHT ISLAND'S PANELS: see the next section.
The right island's panels grow out of their island (the same setting, now "Paneller adalardan büyüyerek açılsın" / Panels grow out of the islands)
The user: "sağdaki kontrol merkezi de büyüyerek açılmıyor" (the control centre on the right does not open by growing). The control centre
(the network and volume buttons), the calendar (the clock), the notifications (the bell) and the tray's overflow (the chevron) now open
on the same mechanism as the Start panel. ONE setting for all of them: dock_start_grow keeps its name (it was the Start panel's), its
text on the Dock page is about every panel and the row is in the page's general section. On by default, as it was. NOT SEEN ON A SCREEN.
- THE MOTION. The island's bottom RIGHT corner stays where it is (
Corner::BottomRight); the glass grows up and to the left into the panel; radius, clock (220 / 160 ms), fades and the engine wait are the Start panel's (rf_win::dock::grow, unchanged). The grown glass is the panel's rectangle taken down to the island's bottom edge: content on top, the 8 px gap, the island's row at the bottom. - THE WHOLE ROW STAYS (
Stays::Row). The right island's window is raised above the panel's, as the left island's is, so the tray strip, the network and volume buttons, the clock and the bell are drawn where they were and keep working; nothing of the row fades. The island's own glass is put away while the panel's stands in its place and the island paints no fill of its own over it (right.rs). A HAIRLINE (grow_view::hairline, the island's separator tone, 1 px) stands across the glass at the row's top edge and comes in with the content. The panel's content comes in over the second half of the opening and goes first on closing (ViewFrame::content), in its own rectangle of the window (ViewFrame::area): the 8 px gap stays inside the glass above the hairline. Each panel keeps its contents and its layout; the views changed only in WHERE they paint their fill (over the glass's rectangle of the moment,grow_view::wash, instead of the whole window) and where their body stands (grow_view::body). - A PANEL NARROWER THAN THE ISLAND. The overflow panel (136 px for three icons) is narrower than the right island (207 px and the tray
strip). The glass is as wide as the island then (
grow::grown_rectis the union) and the panel's content is lined up with the island's right edge in it, where it stands with the setting off (grow_panels::content_rect); the strip finds the overflow panel's cells from that rectangle (panel::overflow_rectis the CONTENT's rectangle now, which is the window's for an ordinary panel). - PRESSING A BUTTON OF THE ROW while a panel is open (
rf_win::dock::grow_panels::press, pure and tested): the button of the open panel closes it (it shrinks into the island); ANOTHER button hands over to that button's panel. WHAT WAS BUILT: close, then open. The open panel shrinks into the island (its content out, then the glass: 160 ms) and the pressed one grows out of it when the first one's window has gone (PanelHost::after, opened from the end ofpanel::close's task; 220 ms). WHY NOT ONE GLASS GOING FROM THE ONE PANEL'S SIZE TO THE OTHER'S: each panel is a window of its own with a glass of its own, and the rules that exist (Spec: one starting rectangle, the island's;Run: one hand-over, island glass to panel glass, where the two are the same rectangle) do not cover a hand-over between two panel windows. It would need the second window's glass on the screen at the first one's rectangle while the first still stands (two glasses over each other, the tint twice) and then the first taken off in the very frame the second starts to move; that could not be tried here and would show as a flash on the user's screen. Each half of the sequence is a motion that exists already. The foreground is not given back to the window that had it before in between: the window it would go back to is handed to the next panel as the one to remember (the foreground at that moment is whatever Windows activated when the first window went), and when the waiting panel cannot open it is given back at once. A tap of the Windows key with a panel grown only queues Start behind it, and counts as having worked (grow_panels::took_effect), so Windows' own Start does not open as well. More presses: a press on the button of a panel that waits for its turn takes it back; a press on a third button takes the waiting one's place; a press on the button of the panel that is shrinking turns it round (and drops the one that waited). Where the first panel is not grown (setting off, no room) the old way stays: it goes at once and the new one opens. - WHERE IT DOES NOT HAPPEN. Where the grown glass would reach the middle (or the left) island, with the 8 px gap as margin, the panel
opens as it does with the setting off, a pop-up above the island (
grow_host::fits,grow_panels::grown_if_clear; one info line says why). The same where the panel had to be moved off the island's right edge to fit the screen. On the user's 2560 x 1440 monitor at 100 % every panel grows at every dock size and tray width tested; at 125 % and 150 % at the default size or smaller; the largest dock at 150 % squeezes the middle island up to the right one and falls back (the tests check both verdicts across 1366, 1600, 1920, 2560, 3440 and 3840 px wide screens at 100, 125 and 150 % and the four dock sizes). - THE ISLAND'S WIDTH CHANGES WHILE A PANEL IS GROWN (a new minute that makes the clock wider, an icon dragged between the overflow
panel and the strip): the host's layout tells
panel::layout_applied, which works the growth out again for the island's new rectangle and moves the panel's window (panel::refit, the same path as a panel that changes its height: the control centre gaining a card, the overflow panel gaining an icon). The corner does not move, so the island does not jump. (The left island does the same now: its weather text can change while the Start panel is open.) The window is moved without anything else being in front of the island's row (the island's window is raised again in the same task) and the glass's shape and the region are sent in that task too. The same check as the opening's (grow_host::fits) runs again at every such move: a middle island that has come to meet the glass (apps pinned or launched while the panel is open) puts the panel away at once (CloseCause::LayoutChanged) instead of leaving it grown over the island. - PRESSED AGAIN DURING A CLOSING reverses the motion and the panel keeps what it shows (
on_reopenof each view: the sources never stopped, the month the user turned to stays). - COST. Off: nothing more than the Start panel's (
grow_host::configreads one setting when a panel opens;layout_appliedlooks at a global that is not there). On: as the Start panel's, per frame one layout, oneset_options, one region and the two views' render. The right island's width and the clock's tick are not held back.
Drag and drop in the Start panel
The user: "ayrıca başlat penceresinde de drag drop olmalı". Nothing in the panel could be dragged. No new setting. NOT SEEN ON A SCREEN (no
real mouse was available when it was written; the rules are tested, the gesture is not). Rules: rf_win::dock::startdrag (pure, tested);
the view: rf-app/src/dock/start_drag.rs (a child of start.rs); the island's highlight: drop_hint.rs.
- CLICK OR DRAG. A press on a pinned tile, a row of "Tümü" or a recommended entry is remembered. It becomes a drag when the pointer has
moved MORE than the system's drag distance (
SM_CXDRAG/SM_CYDRAG, 4 px by default, divided by the window's scale) in either direction; until then nothing was done and the click starts the app as before. The release after a drag is not a click (ClickGate, forgotten at the next press). - THE MOUSE. GPUI holds the mouse for the window from the press on (
SetCapture), so the moves and the release keep coming while the pointer is outside the panel. They are heard with window-level capture-phase listeners in acanvas(the desktop's way), not with element listeners. At rest: three closures that return at once and one empty canvas that remembers the pinned grid's bounds. - REORDER. A held pinned tile follows the pointer (a tile-sized ghost at the place it was grabbed); the other tiles stand at absolute
places that SLIDE to make room (
Slides: the dock's ownmagnify::ease_in_out, 120 ms, from where each tile is drawn, at once with animations off) while the tile is over a cell of the grid; the cell it would land in is marked quietly. Letting go over a cell puts the pin at that slot (the pins between shift by one) and writesstart-pins.jsonat once; the panel stays open. Onto itself, or anywhere in the panel outside the grid: nothing changes. Pins of apps that are not installed (kept in the file, not shown) keep their places in the file (apply_move). Slots are the cells of the page on the screen; moving a pin to another PAGE of the grid is not built, and the wheel does not turn a page under a held tile. - ON THE DOCK. A pinned app or an app of "Tümü" let go over the dock's middle island is added to the dock's own pins
(
own_pins::pin_start_app, on a worker thread:ownpins::changeas the dock's menu uses it, the list seeded from the taskbar first if it was not), at the END of the pinned part; a dock-pins shortcut copy is made in the dock's own folder, never over a file that is there. An app already on the list (found by AppUserModelID, program or the program its pin starts:PinFile::find) is not added and nothing is said. The panel closes. WHAT THE DOCK KEEPS: a packaged app is its AppUserModelID; a classic app is its Start-menu shortcut (read on the shell thread,pins::pinned_from_shortcut), else the program the shell names for it. While the pointer is over the island the island shows the dock's quiet highlight (drop_hint, the hover fill and a hairline over the glass, drawn under the icons: one.children(...)line inmiddle.rs's render; nothing at rest). "Over the island" is the layout's glass rectangle in screen px against the cursor, so a dock that is thin or magnified at that moment is still judged by its full rest rectangle. NOT BUILT: dropping at a chosen place among the dock's icons. - OUT OF THE PANEL, AS A FILE (the existing
rf_win::dnddrag source, run on the shell thread like the file list's, after aReleaseCapture). The effects allowed are COPY and LINK only (dnd::drag_out_copy_only): a target that honours the allowed effects (Explorer, other programs' OLE targets) decides between the two. OUR OWN windows (the file list, the desktop, a folder tab) do not see the allowed effects, they get the dropped paths and askdnd::default_transfer, which moves on the same drive; sodrag_out_copy_onlyalso marks the dragged paths (dnd::mark_copy_only, until 5 s after the drag's loop ends) anddefault_transfercopies a marked path whatever the keys say. A recommended document is therefore never moved by a drop on our own windows either (an explicit "move" from a menu still is the user's choice). A RECOMMENDED FILE is the real file, and the file drag starts the moment the press has moved. An APP is its Start-menu shortcut (startdrag::shortcut_of: the.lnkin the all-users or the user's Programs folder whose file name, or the name the folder'sdesktop.inishows for it, is the app's name; the folders are walked once a minute with std only), and the drag carries a COPY of it made in%TEMP%\rustyfiles-start-drag\<unique>\, so a target that moves by default (a same-drive drop in a program that ignores the allowed effects) moves the copy and never takes the shortcut out of the Start menu (a move out of the all-users folder would also ask for administrator rights); copies older than an hour are removed at the next drag. When the drag starts only the shortcut is LOOKED FOR (a worker thread, a read); the copy is written, on a worker thread, when the pointer first leaves the panel, and the system's drag takes over the moment it is ready (the pointer need not move again; the pointer already shows "allowed" while it is made). A reorder inside the panel writes nothing. A PACKAGED APP has no such file: it can go to the dock only, and the pointer shows "not allowed" (IDC_NO) everywhere else; so does a classic app whose shortcut is not found by name. On the machine this was written on, 188 of 220 classic apps (and none of 53 packaged) have a shortcut found; the other 32 are dock-only. - THE DOCK AFTER THE HAND-OVER. The way from the panel to the island runs over the desktop, so for a classic app the drag has already
become the system's by the time the pointer is over the island. The island is watched while the system's loop runs (every 50 ms, lit while
the pointer is over it) and a drop that ENDS over it adds the app to the dock's pins, but only when the top-level window under the pointer
is the island's own (
startdrag::is_island_window,WindowFromPoint): the island's window takes the file drop as a copy and does nothing with it, and where the island is thin or has a window region a point inside the rectangle may belong to another program, which then got the shortcut and must not also get a pin. If the shell thread's job never answers, the state is freed anyway (and at the next opening). A drag that came back over the panel itself, or ended with no effect (Escape), does nothing and leaves the panel open; one that was dropped somewhere closes the panel. - PUT BACK. Escape (and no other key does anything meanwhile), the right (or any other) mouse button, the left button found released for three 50 ms looks in a row while no mouse event has been heard for 400 ms (a lost pointer; touch, pen and remote input send mouse messages without setting the button the look reads, so events that keep coming decide, not the look. A finger held still for 400 ms ends the drag), and the panel closing end the drag with nothing changed (the tiles go back, the island's highlight goes off). The panel stays open during a drag.
- WHAT THE TARGET DOES. rustyfiles' own file list and desktop take a dropped file as a file drop and ask
default_transfer; for these drags that is a copy (see above). The shortcut's COPY in the temp folder is a copy too, so a move of it would only move the copy. Explorer's windows and other programs take COPY or LINK by the effects the drag allows. - COST. Off (nothing held): the three listeners and the grid's canvas per frame. A drag: a redraw per mouse move, a 50 ms look at the button, for an app one directory walk of the two Start-menu folders (about 20 ms for 281 shortcuts, once a minute) on a worker thread, and, only when it leaves the panel, a copy of one small file (about 2 ms) on a worker thread. The pin file is written once, on release, on a thread of its own as before.
The control centre
The network and volume glyphs of the right island open our own panel instead of Windows' quick settings. It is the same machinery as
the Start panel (panel.rs: one slot per panel, placed 8 px above the island's visible glass, lined up with its right edge, one panel
open at a time), about 360 logical px wide and as tall as what it shows, on HyperGlass (glass_watch::PopupGlass, a plain fill until
the engine has drawn) with the liquid controls (liquid::slider_parts). The clock and the bell are NOT part of it: they still open
Windows' notification centre and calendar (Win+N), which is a later piece of work.
[ tile: Network ] [ tile: Bluetooth ] connectivity tiles, two to a row ("Pil" joins them on a laptop)
[ art Spotify |< > >| ] now playing (only while a media session exists)
[ outputs: Hoparlör, Kulaklık ... ] the list of outputs (a card of its own, only while open)
[ (speaker) ----o------ (^) ] sound: mute, volume slider, the outputs
Analogue 1/2 (Audient iD4)
[ (sun) ----o------ ] brightness (only when the monitor answers DDC/CI)
Parlaklık
(gear) Windows' Settings
- Tiles. Network: the Wi-Fi name and its strength in a word (Zayıf / Orta / Güçlü), "Ethernet", "Bağlı değil" or "İnternet yok";
Bluetooth: off, on, or the connected device's name (the first and "+n"); Battery (only when the machine has one): the percent and
charging / plugged in / battery saver. A tile whose source is not on the machine (no Bluetooth radio, no battery, no network source)
is left out, never shown dead. A tile opens Windows' page for the thing (
ms-settings:network,ms-settings:bluetooth,ms-settings:powersleep) and puts the panel away: nothing is switched from here. Wi-Fi and Bluetooth on / off isRadio.SetStateAsync, which the research note marks as not verified for a program with no package identity, and trying it would change the user's radios, so it is not in this version. - Now playing. The system media session (
GlobalSystemMediaTransportControlsSessionManager), the one Windows' own flyout shows. It works for an unpackaged program (checked on this machine: the manager activates, a session is listed, its properties and thumbnail read). Artwork, title, artist, the program's short name and previous / play-pause / next for the session Windows calls current; choosing between several sessions is not offered. The artwork is decoded on the media thread and cut to a 128 px square. A track whose thumbnail has not come yet keeps the previous picture of the same program for ONE more look (Windows' event, or 1.5 s later), and is read again until a picture has been decoded for this very track; if none comes the cover is dropped rather than left on the wrong song (media::ArtState, tested). - Sound. A liquid slider for the master volume with the speaker at its left (a click mutes; raising the volume of a muted
speaker unmutes, as Windows' slider does; two quick clicks flip the state the first one asked for, not the stale snapshot) and the
default output's name under it. Changes made elsewhere (the keyboard's volume keys,
another program, Windows' own panel) move the slider at once (
IAudioEndpointVolumeCallback,IMMNotificationClientfor devices coming, going and the default changing). A drag sets the volume continuously without waiting: the COM call is made on the audio thread, one at a time, and only the newest value of the drag is applied. The slider takes the endpoint's own positions (GetVolumeStepInfo; the interface on the development machine reports 51, so 2 % steps). The chevron opens a list of the active outputs with the default one ticked, read-only: switching the default device isIPolicyConfig, undocumented and fragile (the research note marks it so). The list is plain lines (they do nothing, so they do not look like choices) and ends with one row that does something: "Çıkışı değiştir: Ses ayarları" opens Windows' sound page. It is a card ABOVE the sound card, and the window grows upwards, so the chevron the user has just clicked (and the slider) stay under the pointer; its arrow points up while it is closed. - Brightness. DDC/CI of the primary monitor (
dxva2). Read once when the panel opens (a transfer takes tens of milliseconds, and there is no event for a monitor's own buttons), written only by the slider. The row appears only when the monitor answers; a laptop's own panel does not answer DDC/CI (it needs WMI, which is not implemented), so there the row is left out. - Gear. Opens Windows' Settings home.
- The keyboard. Every control is a tab stop (the tiles, the speaker, the volume slider, the outputs button, the media buttons that can be pressed, the brightness slider, the gear) with a ring in the accent colour while it has the focus by key; Enter and Space press a button; a slider takes the arrows (one position), Shift or the page keys (ten), Home and End; Escape closes. The icon-only buttons have tooltips. The colours are the app's own palette for the island's tone (its accent, lifted on dark, and the text colour that goes on it).
What runs, and when. rf_win::sysstatus has one module per source (snapshot struct = plain data; a read; a follow function that
calls back from the source's own thread on a system event; no polling loops):
| source | events | runs |
|---|---|---|
audio |
IAudioEndpointVolumeCallback, IMMNotificationClient |
one MTA thread from the dock's start, blocked on its channel when nothing happens: the island shows the volume glyph all the time |
network |
NetworkStatusChanged |
one MTA thread from the dock's start: the island shows the network glyph all the time. Windows has no event for a Wi-Fi signal that only changes in strength, so the panel reads again when it opens and every 5 s while it is open |
media |
sessions, current session, playback info, media properties | one MTA thread while the panel is open |
bluetooth |
Radio.StateChanged, a DeviceWatcher (classic and low energy) |
one MTA thread while the panel is open |
power |
RegisterPowerSettingNotification, callback form (no window) |
nothing of ours; registered only on a machine with a battery, only while the panel is open |
brightness |
none | one MTA thread while the panel is open |
None of these threads is the shell thread, and none is a single-threaded apartment that does not pump: audio and WinRT want MTA.
The callbacks only post a message and return. The app side (dock/sysstate.rs) hands the audio and network snapshots to the app's
thread through a channel and keeps them in a global that the island's glyphs and the open panel read; the panel's other sources
(control_centre.rs) are started when it opens and dropped when it is hidden, and what they last said is kept so that the next opening
starts with the same cards and corrects them within a moment. The panel's height follows what it shows (cc_model::height); a card
that appears while it is open (the first reading of Bluetooth or the brightness, a media session starting) places the window again,
growing upwards (panel::relayout).
The glyphs. Volume: muted, no device, level 0, up to a half, above a half. Network: not connected, Ethernet, Wi-Fi in four strengths (Windows' five bars as none / low / medium / full), something else. Both follow the state, not a fixed symbol.
Pure and tested. The volume to slider and back with the endpoint's positions, the glyph from a snapshot, the text of each tile in
Turkish and in English, the coalescing of slider writes (Latest), which tiles a machine gets, the panel's height for what is shown,
the pointer to slider arithmetic, the brightness range mapping, the program name of a media session, the artwork cut, the battery
status decoding. cargo run -p rf-win --example sysstatus_probe prints what each source reports on the machine it runs on (read-only;
no titles).
The calendar and the notification panel
Two more panels of the same machinery (panel.rs; their slots are in panel_more.rs): the same placement above the right island's
glass (8 px up, lined up with its right edge, kept inside the work area), the same closing rules (Escape, a click elsewhere, another
window in front, a layout change, the button again), one panel at a time, the glass, the island's tone, the 120 ms easing. Each has
its own setting (below) and falls back to Win+N when it is off. A panel's window is made at its first click (see "What it costs" above), so a
setting switched on while the dock runs needs no special case.
The clock's panel (a click on the clock)
- Top: today's long date ("12 Kasım 2026 Perşembe" / "Thursday, November 12, 2026"). Then the month's name with the buttons to the
month before and after (a click on the name goes back to today), the month grid, the time WITH SECONDS in the user's own time
pattern, and "Tarih ve saat ayarları" (opens
ms-settings:dateandtime). - The grid is always six rows of seven (the panel does not change its height from month to month). The week starts on the user's own
first day (
GetLocaleInfoEx(LOCALE_IFIRSTDAYOFWEEK)); week numbers are off. Today is filled with the accent colour, the days of the neighbouring months are dimmed, the chosen day (the keyboard's) has a ring. A click on a day chooses it; on a dimmed day, moves to its month. The years are 1900 to 2100; the month buttons stop at the ends. - Keys: the arrows move the chosen day (left and right a day, up and down a week: the day above or below in the grid), Page Up and Page Down a month, Home goes to today, Escape closes, Tab visits the month buttons, the name and the link.
- NAMES come from the app's own Turkish and English tables, chosen by the app's language and not by the Windows region (the rest of the panel speaks the app's language; a mix would read badly). Any other language of the app gets the English table.
- NOT in this version: an agenda (there is no source of events that works without an account), other time zones, alarms.
- The seconds tick only while the panel is open: one task that wakes at each second, ended when the window is hidden.
- Pure and tested (
rf_win::dock::calendar,cal_view.rs): leap years (1900 no, 2000 yes, 2100 no), the weekday of every day of 1900 to 2100, month grids for all seven first days of the week, adding days and months with the ends held, the names, the keys.
The bell's panel (a click on the bell)
- It shows the notifications other programs have posted, read through the WinRT
UserNotificationListenerWITHOUT package identity. What was verified on this machine (build 26300, from a program with no identity):GetAccessStatus()andGetNotificationsAsync(Toast)work (about 10 ms a call), the push eventNotificationChangedthrows0x80070490. So the list is POLLED: when the panel opens and every 2 seconds while it is open, never while it is closed (the reader is a thread of its own, COM MTA, ended when the panel is hidden). - ACCESS. Only
GetAccessStatus()is called; the call that makes Windows show a consent prompt (RequestAccessAsync) is never made (a test reads the module's source and fails if it ever appears in code), and the list is read only when the status isAllowed. Otherwise the panel says it in one line ("Bildirimlere erişim kapalı. Windows'ta izin verin.") with a button that opensms-settings:privacy-notifications. - EACH NOTIFICATION: its program's icon (the dock's icon code, on the shell thread, by the AppUserModelID) and name as a heading, then its title, up to three lines of text and its age ("şimdi", "5 dk", "2 sa", "dün", else the date in the user's format). Grouped by program, the program with the newest notification first, newest first inside a program. A click starts the program (by its AppUserModelID, as the Start panel does); it does not press any button of the toast (no API for that). With none: "Bildirim yok".
- REMOVING. A small x on a notification (shown when the pointer is on it or the keyboard is) calls
RemoveNotification(id), and "Tümünü temizle" callsClearNotifications(). Both are documented, but whether they work for a program without package identity was NOT verified (they change the user's list, so the research did not call them). They were first shipped off; the user tried the panel, missed the clearing and asked for it, so they are ON now (RUSTYFILES_TOASTS_REMOVE=0switches them off). While on,rf_win::toasts::RemoveWatchhides the x and "clear all" for the rest of the opening when a call returns an error, or when a notification asked to go is still listed after two more polls and no removal has been seen to work. In the made-up mode below they work on the made-up list without the variable. - THE BELL'S DOT is a count of the list, kept while the panel is closed by ONE cheap signal: a plain directory-change wait
(
ReadDirectoryChangesW, no polling) on%LOCALAPPDATA%\Microsoft\Windows\Notifications, where the notification database lives. A change there only triggers one count (after the folder settles for 0.8 s, never later than 3 s after the burst began, and never within 3 s of the last read:rf_win::toasts::read_at, kept byHintTimer). While the panel is open the worker is paused (the panel polls the list itself), and the panel's closing makes it read once for what changed meanwhile; the panel also tells the count at each of its readings. That every new notification touches that folder is an observation of the research, not a promise of Windows. How much it costs on a busy machine is NOT measured: in one 85 s observation with no new notification on the test PC the folder was silent (0 change bursts), which says nothing about a machine whose programs update tiles or badges all day; the worst case is one count (about 10 ms of a worker thread) per 3 s. If the folder cannot be watched, the dot is only as fresh as the last time the panel was open. - PRIVACY. The texts of notifications are never logged and never written to a file (
Toast'sDebugprints only an id and the lengths). They live in memory while the panel is open and are dropped when the window is hidden (the view lets go of them, and the hidden window is drawn twice with nothing in it so that GPUI's copies of the last frame, its elements and its shaped text, go too:panel_more::scrub, not yet seen live); what stays is the count. A notification Windows gave no time shows no age. A read of the list that fails is not an empty list: the panel keeps what it shows and the dot keeps its count until a read works. - NO FLICKER. A poll that finds the same list (
rf_win::toasts::diffis empty, whatever order Windows lists them in) redraws nothing. A poll that finds a different list keeps the keyboard cursor on its notification (or moves it to the one that followed). - Keys: Up and Down walk the notifications, Enter starts the program of the one under the cursor, Delete removes it, Escape closes.
- Pure and tested (
rf_win::toasts,notif_model.rs): the access decision, grouping and order, the three-line clamp, the age in both languages, the difference between two polls, the keyboard cursor across polls, the remove watch, a poll that failed, the timing of the dot's reads and its pause, the one answer for "is the x offered", the age of a notification with no time, the panel's height.cargo run -p rf-win --example toasts_probeprints COUNTS only (never a title, a text or a program's name). - TRYING IT WITHOUT TOUCHING THE REAL LIST.
RUSTYFILES_TOASTS_FAKE=manymakes the reader answer with five invented notifications (three programs, a long title, a five-line text, ages from seconds to days) that the x, Delete and "Tümünü temizle" really remove, in memory;empty,deniedandnotaskedshow the other states. In this mode Windows is not asked at all and nothing is changed there. Off unless the variable is set. - WHAT THIS CANNOT DO (unchanged from the research): press the buttons or type in the reply boxes of other programs' toasts; stop Windows' own banners (beside Explorer they still appear; the panel is the list, not a replacement for the pop-ups); get the push event without a package identity.
The app menu, the hover previews and the dock's own pins
Three things that belong to the middle island's icons (shell plan increment B8). Each of the two pop-ups has its window made when first
needed, kept hidden afterwards, and is placed above the ICON (rf_win::dock::preview::above_icon: centred on the icon, 16 px above the
dock's glass, kept inside the work area), not lined up with an island's edge like the panels.
The app menu (a right click on an app's icon; setting "Simge sağ tık menüsü", on)
On glass above the icon, top to bottom, like the taskbar's: the app's jump-list SECTIONS (Tasks, the app's own categories, Pinned,
Recent or Frequent, as the source orders and names them, a title above each that has one), a separator, and the FIXED part: the app's
name with its picture (starts a new instance, as a middle click does), "Dock'a sabitle" / "Dock'tan kaldır", and for a running app
"Pencereyi kapat" (one window) or "Tüm pencereleri kapat (n)" (the windows are asked to close the way their own close button does,
WM_SYSCOMMAND with SC_CLOSE, posted: the program may ask about unsaved work, and one that has no close command is not sent one).
The rows and the keyboard's walk are rf_win::dock::appmenu (pure, tested).
A WINDOW IS ACTED ON ONLY WHILE IT IS STILL THE ONE SEEN (
rf_win::dock::winops::WinRef: the handle and the process it belonged to when the menu opened or the pointer came onto the icon; the close request, a card's activation and the card list check that the handle still belongs to that process and is visible). A menu left open on the keyboard for minutes cannot close a window of another program that was given the number of a destroyed one.A LONG JUMP LIST IS CUT, never scrolled or clipped: at most 10 lines to a section, and fewer when the menu would be taller than the room above the dock; lines go from the end of the last section first (
appmenu::fit_entries), so the fixed rows at the bottom are always on the screen and the keyboard only reaches rows that are.THE MENU OPENS AT ONCE with the fixed part; the sections are asked for on a worker thread afterwards and appear when they arrive (the window is anchored by its bottom edge, so it grows upwards). A highlighted row stays highlighted. Nothing waits for them.
THE JUMP-LIST SEAM is
jump_source.rs: a section is a title and entries, an entry is a title, an optional icon and an opaque action (Action(String)).sections(&JumpApp)andrun(&JumpApp, &Action)are the only two functions the menu calls; here they return nothing and do nothing, and wiring them torf_win::jumplistsis a matter of those two bodies. Both are called from worker threads.THE NAME LINE. A pinned app shows its pin's name. A running app nobody pinned is named by the dock with its program's file name ("WindowsTerminal"); the menu asks the shell apart from the lists (
jump_source::display_name, shell thread, never waited for) and the bold line changes when the answer comes: the name "All apps" shows for a packaged app (what the Start panel shows: "Terminal"), else the program file's description for a classic program (at most 40 characters: a sentence is not a name), else the file name stays (appmenu::menu_name, pure).AN ENTRY WITHOUT A PICTURE OF ITS OWN WEARS THE APP'S. The tasks of a packaged app are links to an execution alias (
...\Microsoft\WindowsApps\wt.exe, a zero-length reparse point the shell draws as a generic program) or name a package resource; such an entry has no icon (jumplists::lnk::is_package_path), and so does one whose icon the reader could not draw: the row shows the app's picture, the one on the name row. While an entry's own icon is still being read the row is empty, as before.KEYBOARD: Down, Up, Tab (Shift+Tab), Home, End, Enter or Space on the highlighted row, Escape. The menu IS activated (it needs the keys) and gives the keyboard back to the window that had it when it is put away with Escape.
CLOSES on Escape, on a mouse button going down anywhere outside it (the dock's own icons too: a right click on another icon closes this menu and that click's release opens the other icon's), when another window takes the foreground (after the 1.2 s grace the panels have), when the dock hides for a full-screen application, when the monitor, its scale or the glass's top changes, on Alt+F4 (only put away) and when a row has been chosen. One menu at a time. While it is open the hover previews are blocked.
LOG (info):
dock: app menu shown in <time> from the click at x=<device px>(with "window made for it" the first time).Only apps have a menu; a right click on the Recycle Bin or Downloads does nothing, as before.
The dock's own pin list (own_pins.rs, rf_win::dock::ownpins, file dock-pins.json in the config folder)
Until the user pins or unpins from the dock's menu, the middle island shows the apps pinned to the Windows taskbar, read-only, as it
always has (so nothing changes for a user who does not use the menu). The FIRST pin or unpin copies the taskbar's pins into
dock-pins.json (once, up to 32), applies the change, writes the file atomically and makes the island read it again at once; from
then on the file is the list, the taskbar's pins are not read for the island and an empty list is the user's choice. The seeded shortcuts are COPIED into
dock-pins/ beside the file, so that unpinning in Windows does not take the dock's pin away. WINDOWS' STORES
(the taskbar's pin folder, Taskband) ARE NEVER WRITTEN. An entry holds the name, the identities a running window is matched by (the
AppUserModelID, the program), how to start it (shortcut, program with arguments, package id) and where its icon comes from; a pin
whose program is gone stays in the file and out of the island. A file that exists and cannot be read is moved aside
(dock-pins.json.broken), never written over, and the island follows the taskbar meanwhile; a seeding whose taskbar read did not come
back in time writes nothing, and neither does one whose read came back EMPTY while the pin folder could not be listed or held shortcuts
that could not be read (ownpins::empty_read_is_believable: that would make an empty list the user's list for good). The shortcuts are
copied only after the change is known to change something (a change that changes nothing leaves no copy and no file). Changes are made
one at a time under a lock, each reading the file again.
An app is found again among the pins by its AppUserModelID, then its program, then the program it starts, and by NAME only when the dock already shows it as pinned (a second build of the same app with the same name is not "pinned"). Not yet done: dragging to reorder or to pin.
The hover previews (setting "Simge üzerinde pencere önizlemesi", on by default for the dock; the dock itself is opt-in)
The pointer resting on a RUNNING app's icon for 400 ms opens a small glass preview above it: one card per window of the app (up to 6
to a row and 3 rows; a window beyond that is not shown), each with a LIVE picture of the window (DWM, DwmRegisterThumbnail, through
the switcher's ThumbApi, this pop-up as the destination; registered after the glass is on, unregistered before the window moves,
changes size or hides), the app's large icon in the box for a MINIMISED window (or one DWM refuses), the title under the picture, and
on the card under the pointer a small x at the right end of the title row (not over the picture: DWM's picture is drawn over anything of
ours that lies on it). A click on a card brings that window to the front with the switcher's activation sequence
(rf_win::switcher::activate, off the UI thread: it may wait a quarter of a second for a minimised window to restore; it flashes
the window's button if the program refuses the foreground); the x asks the window to close.
- THE TIMING is
rf_win::dock::preview::Machine(pure, tested): 400 ms dwell; moving to another running app's icon swaps the preview at once; moving from the icon into the preview keeps it open (either order of the two hover events); leaving both closes it after 300 ms and coming back inside that time cancels the closing; a click on an icon closes it and it does not come back until the pointer has left that icon; a right click replaces it with the menu (the menu blocks the machine while it is open); a block closes at once. No polling: the app sleeps until the machine's next deadline. - IT IS NEVER ACTIVATED AND NEVER TAKES THE KEYBOARD. The panels are activated (they need keys); this is not a panel. Its window is
styled like the islands' (
island::make_island: a tool window withWS_EX_NOACTIVATE,MA_NOACTIVATEforWM_MOUSEACTIVATE, so even a click on a card does not activate it), shown withSWP_NOACTIVATEand never brought to the front. A click on a card is still input of this process, which is what lets the activation sequence bring the chosen window forward. - It closes when the dock hides for a full-screen application, when the monitor or the work area changes, when the setting is switched
off, and when its last window closes; while it is open one 100 ms look removes the cards of windows that have closed and reads the
REAL POINTER: Windows sends a window no last mouse move when the pointer leaves it, so the toolkit's hover events never report a
pointer that goes from a card straight out of the preview or from an icon up out of the dock's window. When the pointer is on
neither the preview nor the dock's glass (
preview::pointer_away; the part an icon grows over the glass counts as the dock) the look tells the machine that it left both, and the 300 ms of grace runs from there. Expected limit (from reading the toolkit; not yet seen live): after that, coming back onto the very same icon gives no hover event either (the toolkit still believes the pointer is on it), so the preview comes again after the pointer has touched another element of the dock. There is no easing (DWM draws its pictures at full strength, so a fading card would show its picture first). - LOG (info):
dock: hover preview shown in <time> at x=<device px> (<n> cards, <m> live pictures, shapes asked in <time>, <k> of unknown shape), anddock: hover preview pictures: <n> boxes, the first <w>x<h> at (<x>, <y>) in client px, client area starts at (<dx>, <dy>) in the window. - THE CARDS' GEOMETRY IS ONE FUNCTION (
preview::layout, thenLayout::card(i)giving the card, its picture box and its title row). The toolkit paints from those rectangles and DWM is given the same box (to_deviceofcard(i).picture, thenfit_pictureof the source's size into it), so the two cannot drift. A card is 196 px wide whatever the window; its picture box is 190 wide and as high as the window's shape asks (preview::pic_height: height / width of the source times the box's width, kept between 1/3 and 1.1 of the width; beyond that the picture is fitted and centred in the box; a source whose size is not yet known is 16:10). The cards of a row share the row's tallest box (titles stay on one line) and the window follows the rows. The sources' sizes are asked BEFORE the window is sized (thumbs::probe_size: register, ask, unregister; the window's own rectangle if DWM refuses). The gaps are thin: 4 px between the window's edge and the cards, 3 px between a card's edge and its picture, a 1 px light frame on a card, and the glass's rim band is capped at 8 px (rf_win::glass::set_rim_cap,hover_preview::RIM_CAP;RUSTYFILES_PREVIEW_RIM=<css px>tries another value) so it does not read as a thick border. The window is never taller than the room above the dock:preview::layout_incaps every row's box at the highest value whose rows fit (never below the lowest box, 1/3 of the width), and a window taller than the cap is fitted and centred in the box. - WHY THE LIVE PICTURES STOOD "CROOKED": the preview window keeps the system's invisible resize frame (8 px at 100 % on the left, right and
below, none on top), so its client area starts 8 px right of the window's own left edge, and DWM measured the thumbnail's destination
from the window's own origin, not from the client area's. Every picture stood exactly the left inset (8 px) left of its box, with no
vertical error, whatever its proportions (measured on the user's screenshots, one and three cards).
ThumbSet::with_originadds the client area's offset (panel::client_origin_in_window) to what DWM is given; the card keeps the client rectangle. For comparing on the screenRUSTYFILES_PREVIEW_THUMB_ORIGIN=0sends the client rectangles unchanged. The switcher's window (shell/switcher/view.rs) uses the sameThumbSetwithout an origin and may have the same offset if its window has the same frame: not changed here.
Feeling a click, and moving the icons by dragging them
Two reports of the user: "docktaki geri bildirim az, tıkladım mı tıklamadım mı anlayamıyorum" (the dock says too little; I cannot tell
whether I clicked) and "dockta simgelerin yerini değiştiremiyorum" (I cannot change the icons' places). Both are in the middle island
(middle.rs); the rules are pure files with tests: feedback.rs and reorder.rs, and rf_win::dock::pinorder for the pin file.
What an icon does after a click (feedback.rs)
The press itself (the icon drawn a little smaller and dimmer while the button is down: PRESS_DIP, PRESS_DIM) was there. After the
release the icon answers by what the click did (feedback::answer, from model::click_action and whether a start is pending):
| the app | answer | the icon |
|---|---|---|
| not running | start it | two soft bounces upwards (10 and 4 dock units, 780 ms, in place), and under it a mark that pulses (900 ms period, never dark) |
| not running, a start pending | answered, NOT started a second time | one pulse (10 % bigger and back, 240 ms) |
| running, not in front | bring its last window forward | the same single pulse |
| in front | minimise | a dip (4 units down and back, 220 ms) |
| a start that failed | one shake (3 swings dying away, 360 ms), and a red mark under the icon for 1.6 s (all that is left with animations off) |
The starting mark ends when the app's first window is in the task list (MiddleIsland::apply looks at it each time the items change),
when the launch call fails (the icon shakes; the sentence is shellless::start_failure_text, the one the Start panel shows, and goes to the
log, since the dock has no line to put text on), or after ten seconds (feedback::start_state: the window comes first, then a failure,
then the clock). Feedback is kept under the app's identity (feedback::key_of): a pinned app keeps its pin's, so the mark finds the app
again once it runs under another group key.
Only the picture moves, as a child of the icon's cell: the cell, the running mark and the layout stay (bounces are vertical, a bounce is
cut so that the icon never leaves the window). The window is also cut to a region (hit.rs: the glass and the boxes of the icons that
stand out of it) and shows nothing outside it, so while a picture is raised, grown or moved away from its cell, its box
(feedback::posed_box) joins the region; otherwise the top of a bounce of the magnified icon under the pointer, which stands above the
glass, would be cut off flat. At rest nothing is looked up and no frame is asked for; a frame is asked for only while a
motion or a pulsing mark is on. With animations off nothing moves and the starting mark is steady (one repaint at the time-out).
A second click while an app is starting does not start it again (a user who sees nothing clicks twice).
The other buttons (look::press_plate)
The search field, the network, volume, clock and bell buttons, the tray strip's cells and chevron and the cells of the hidden-icons panel
show a plate while a button is held on them, stronger than the hover plate and than pressed_fill (white 24 % on dark glass, black 19 %
on light). The buttons of the right island and the search field use the toolkit's active style; the tray's cells read the strip's own
press (TrayState::press, until it turns into a drag, which has its own look). The Start logo has its own plate and spring.
Moving the icons by dragging (reorder.rs)
A press on an icon that moves more than 5 dock units sideways picks the icon up; one that does not move stays a click (and then gets all
of the above). The icon follows the pointer along the dock (a little bigger, drawn over the others), the others slide into the room
(150 ms), and on release the icon stays where it was dropped. The magnification is held (the existing frozen state), the hover preview and
the app menu do not open meanwhile, and the click that ends the drag is not a click.
- a pinned app goes among the pinned apps: the dock's own pin list is rewritten (
PinFile::apply_order: the places the shown pins held are filled again in the new order, a pin whose program is gone keeps its place; the first change seeds the list from the taskbar as pin and unpin do). The drop is told to the file BY POSITION among the shown pins, not by looking the apps up again, so two pins that start one program (two profiles of one browser) move like any others; the island also sends the names of the pins it showed, and a file whose shown pins are not those (it changed meanwhile) is left alone; - a running app that is not pinned goes among the running ones: the island's remembered order (
seen_order) is rewritten. That order lives in memory for the session, as it always did: nothing is written for it, and it is first-seen order again after a restart; - a running app dropped among the pinned ones is pinned there (if it has a way to be started again; one that has none stays among the running ones);
- the separator, the Recycle Bin and the Downloads folder keep their places and nothing goes behind them;
- Escape, the right button, or the button let go well outside the dock (more than 40 units above or below the glass) puts everything back and changes nothing; nothing is ever unpinned by dragging (unpinning stays in the icon's menu);
- the model is changed at once and the island rebuilt from the last task list, so nothing flickers back while the file is written; if the write fails the island reads the list again and the icons go back.
Escape and a lost release cannot be heard as events (the dock's windows are never activated), so while an icon is in the hand a 40 ms look
reads the key and the buttons (rf_win::dock::dragkeys); a button seen up twice in a row ends the drag as a cancel. A drag also ends
(as a cancel) when the items change under it. Known limits: Escape is only read, not taken, so the program in front of the dock gets it
too (taking it needs a keyboard hook like the screen snip's, not built for this); and a touch or pen press promoted to the mouse may not
show as a button in that look and is cancelled after about 80 ms (the tray strip's drag reads the buttons the same way). When the
icon is let go or put back away from the dock, the dock is told that the pointer left (the toolkit's leave event is held back while the
pointer is captured), so the bell does not stay grown. The right button that puts an icon back does not also open a menu or Task Manager
when it comes up (reorder::RightGuard).
The tray strip and its overflow panel (shell plan increment D3)
The other programs' notification icons in the right island: a row of small pictures to the LEFT of the island's own symbols, a chevron
that opens an overflow panel above the island, and a thin separator before the network symbol. Off unless there is a tray source: the
dock makes no tray state at all without one, and with a source that has no snapshot (the tray host off) the island is exactly what it
was. The real source is the tray host (rf_win::trayhost, setting shell_tray_host) through tray_feed.rs (see tray-host.md, "The
feed to the dock's strip"); the made-up one (RUSTYFILES_TRAY_FAKE=1, below) wins when set. The strip is made at the dock's start whenever
a source exists (the host being off is a missing snapshot, not a missing source) and follows the host when the setting turns it on or off.
Cost with the host off: one small global, an order-file read that finds no file, one idle task; nothing runs and nothing is drawn.
[ app app app app app app > ] | [ net ] [ vol ] | [ 14:05 12.11.2026 ] [ bell ]
strip: 16 px pictures in 24 px cells, chevron the island's own symbols, unchanged
- The strip. Cells of 24 px (the picture 16 px, centred) at the island's left padding, as many as fit a width limit (a quarter of the
monitor's work area, at most 240 px, chevron included), then the chevron. The icons that do not fit are the LAST of the strip and go to
the overflow panel, together with the ones the user moved there. The chevron is there whenever there is any icon (it is the place to
drop an icon to hide it; with nothing hidden the panel says so). The island is anchored at the right edge of the screen, so it grows to
the left by
Layout::extra_widthand the symbols stay where they were; the dock's layout follows (RightIsland::set_tray_extra->host::set_width), the middle island gives way as it always does. - Clicks. Left, right, middle and the second press of a double click go to the program through the tray host's click engine
(
tray_source::deliver_click(key, TrayClick { kind, at, id })). A press is not yet a click: it might become a drag, so the click is made when the button comes up without the pointer having moved 4 px, and only if the pointer is still on the cell it went down on and the key still names the icon that was pressed. The click carries that icon's identity (id) and the host must refuse it when its icon under the key has another identity by then (a program that exited and another that took its key). - Tooltip. The pointer resting on an icon for 400 ms opens its tip (cleaned: control characters and runs of blanks gone, cut at 200
characters; no tip, no tooltip) in a small glass window above it that is NEVER ACTIVATED (the hover previews' kind of window). Moving to
another icon swaps it at once, a press (which also covers the menu the program opens from the click), a drag or the keyboard in the strip closes it and keeps it
from coming back until the pointer has left the icon, or the keyboard has left the strip. The window is made when the first tip is due (
tray_tip.rs); the timing isrf_win::dock::tray_tip(pure). - Drag. A left press that moves 4 px is a drag of that icon. The real pointer is read every 16 ms while the button is held (the toolkit's events stop at the window's edge and do not follow a drag from the overflow panel to the island). A marker shows the gap in the strip the icon would land on, the chevron lights when it is the target, the open panel gets a frame. Let go on a gap: reorder. On the chevron or the open panel: hidden (moved into the overflow). From the panel onto a gap of the strip: shown again. Anywhere else, or on the panel again for an icon that came from there: nothing happens. There is no picture of the icon following the pointer (the dragged icon is dimmed where it was).
- Keyboard. The islands are never activated, so the keys reach the strip only after
dock::focus_tray_strip(cx)took the foreground for the island's window (SetForegroundWindowonly: unlike the panels it does not touch the window's topmost state). Then: Left, Right, Home, End and Tab move a ring over the icons and the chevron, Enter or Space is a left click, the context-menu key or Shift+F10 a right click (the click carries the icon's top left corner as its place), Tab past either end and Escape leave. The ring is on an icon by its key, so an icon that comes or goes under it moves the ring along and Enter always reaches the icon the ring shows. The keyboard goes back to the window that had it: at once after Escape or Tab; after a click 400 ms later, and only if the program did not take the foreground itself (an icon that does its work in the background); and Enter on the chevron opens the overflow panel with that window handed over as the one to go back to, so Escape in the panel gives the keyboard back to the user's program and not to the island. If Windows refuses the foreground the strip gives the keyboard up after 1.2 s. Nothing callsfocus_tray_stripby itself: a key is wired to it at the merge. The overflow panel IS activated like the other panels and has its own keys: the arrows walk the cells (down into a shorter last row lands on its last cell), Tab and Shift+Tab walk on and wrap, Enter, Space, the context-menu key and Shift+F10 as above, Escape closes. - The overflow panel (
tray_overflow.rs, its slottray_panel.rsis a child module ofpanel.rs): up to six columns of 40 px cells with 20 px pictures, lined up with the island's right edge like the calendar and the bell's panel (not above the chevron), made when first opened like the other panels, a tip after 400 ms, a click puts it away after the click was delivered (on every path, also when the icon went meanwhile). A drop on the end gap of a full strip makes the icon the strip's last cell (the last shown icon goes out). - The order is
tray-order.jsonin the config folder (rf_win::dock::tray_order): one list of every icon ever shown in the user's order and the list of the hidden ones. An icon is known by its GUID (when the program gave one) or by its program's path and the id the program chose, NEVER by its tip text (it changes with the program's state) and never by a window handle. An icon that is not there now keeps its place and its hiding; the list is cut at 256. The file is written (whole, to a temporary file, then renamed) only when the user changes something, never for reading; a file that exists and cannot be read is moved aside (.broken) before anything is written. A packaged app gets a new GUID with every version, so after an update its icon is a new icon at the end of the strip. - Where the icons are is reported to the tray host (
tray_source::report_icon_rects): the cells of the strip, and for an icon in the overflow its cell while the panel is open and the chevron's rectangle otherwise, forShell_NotifyIconGetRect.
The made-up source (RUSTYFILES_TRAY_FAKE=1)
Six invented icons (coloured 16 px squares): "Posta" (a GUID; a left click or Enter on it counts a message, which changes its tip and its
colour: the way an update from the host reaches the strip), "Bulut eşitleme", "Ses karıştırıcı", "VPN" (a GUID; a tip of two lines),
"Güncelleme" and one with no tip (a GUID; no tooltip). Three are known by a GUID and three by a program and an id. Clicks are logged
(tray fake: click #n Kind on icon k at (x, y)), nothing else. RUSTYFILES_TRAY_FAKE_FOCUS_MS=<n> moves the keyboard to the strip n ms
after the dock started, so that the keyboard can be tried before a key is wired to do it. Use a test config folder
(RUSTYFILES_CONFIG_DIR): reordering writes tray-order.json there.
cargo run -p rf-win --example tray_strip_probe --offline -- <icons> <work width> <scale> <hidden> prints where the cells, the chevron,
the overflow panel's cells and a tip fall for that many icons (arithmetic only; no window, nothing read from the system).
Not run, and limits
- No window was shown by the work that wrote this: the strip, the drag, the tooltip, the overflow panel, the keyboard's taking of the foreground for a no-activate island and the keyboard in it have been compiled and covered by tests of the arithmetic and the state, not seen.
- The tray host is not wired; the wire format its parser expects is still the documents' and the other shells' (not this machine's).
- Not built: moving an icon by keyboard, a picture following the pointer in a drag, "restart that app" for programs that never re-add their icon, balloons, a Settings switch for the strip (the tray host being on is the switch). The island's own symbols (network, volume, clock, bell) are unchanged.
Settings (Settings, "Dock" page)
The dock has a page of its own in Settings, right after "Görünüm" (dock_page.rs). It used to be a block at the end of "Gelişmiş" called
"Dock (deneysel)". One list of entries (dock_page::entries) draws the page and feeds the Settings search. Sections: GENEL (the dock,
keep-out, size, magnification), SOL ADA (Start, recommended, weather city), ORTA ADA (previews, icon menu, thin while a window is maximised), SAĞ ADA (control centre,
calendar, notifications). Both pages carry a "Deneysel" pill in the page list and "(deneysel)" in their title. While the
dock is off every control but the dock switch is dimmed with a line that says why.
The one switch (dock/parts.rs, dock/parts_status.rs)
The dock is ONE switch, "rustyfiles Dock'unu kullan (deneysel)" (dock_enabled), and it brings everything the dock needs: the dock with
Start, search and the control centre; our desktop (shell_desktop_cover); the programs' tray icons in the dock (shell_tray_host);
Windows' taskbar hidden while it runs and back when it stops (shell_hide_taskbar); the Windows key and Alt+Tab opening ours
(shell_win_key, shell_own_switcher). Reason: the user, after a day of trying the parts one by one, "when one of them is missing it
does not work properly in the end" (with the taskbar hidden and no tray host there are no tray icons; with the dock and Windows'
taskbar two bars; without the keyboard layer the Windows key opens Windows' Start under the hidden taskbar; without our desktop the
dock floats over Explorer's).
THE RULE (
parts::runs): a part runs whendock_enabledis on AND its own value is not false. The five own values stay in the file under their old names as troubleshooting overrides; the page shows no switch for them (a test keeps it so) and their DEFAULT is true.Keys::shellincontrol.rsisparts::run_flags, so the one switch reaches the running dock at once.OFF: none of them run. The switch going off ends the dock process (
shutdown: the keyboard hook first of all, a few milliseconds, then the taskbar and the work area, then the tray window and the desktop). For a part whose own value changes while the dock runs (several at once with "Hepsini aç")apply_reloadedhides the taskbar LAST, after the tray window and the hook are in place, and shows it FIRST (taskbar_hide::goes_first), the mirror of the start-up order.FILES FROM BEFORE: the old defaults were false, but a file only holds
= falsewhen it was written whole; since the settings are saved key by key (settings_merge.rs) an older file that had the dock turned on later holdsdock_enabled = trueand no part at all. So the file cannot tell "chosen" from "old default", and nobody is given a keyboard hook or a hidden taskbar by an update: a false is held off, and so is a part that a file with the dock on does not name while the file has nodock_one_switchmarker (Settings::migrate, fed byparse_lenient; the first save writes the marker together with the held values, so the hold outlives the marker). While the switch is on the page shows ONE line under the switch naming the parts the file holds off (parts::held_off_line) with the button "Hepsini aç" (parts::clear_overrides, which sets every own value to true and does not touch the dock switch). A file with the dock off, or a new install, gives every part when the dock is turned on. A part's own value that cannot be read is a false too (a typo must not install a keyboard hook); a wrongdock_enabledis off.UNDER THE SWITCH the page prints the warnings the risky parts carried (the keyboard hook looks at the Windows key and Alt+Tab and, while the switcher is open, Tab, the arrows, Enter, Esc and the Alt release, and sends one invisible key that does nothing; Win+E and Win+D when Explorer is not the shell; the taskbar comes back when the dock stops, no Windows taskbar setting is changed, and the guard program brings it back if the dock dies), the "never run on a PC" line (red, until the real path has been run; remove
parts::untried_linethen) and, in red, a part that could not start (the guard missing or not confirming or lost, the record not written, the hook refused, the tray window or a part not started), each with "the other parts keep running". The dock process writes the faults it knows todock-parts.txtin the settings folder (words only, every 3 s, only when the set changed; no fault, no file; the writes are numbered and an overtaken one writes nothing, and the file is removed when the dock ends); the page reads it on a background thread every 2 s while it is drawn (and only when a dock answers on its pipe, since a dead dock leaves its last word behind). Not reported: a hook that was installed and is lost later (the heartbeat handles it, the page does not say so), and the desktop only when its loader thread cannot start. The taskbar's line during the guard's retry pauses (5, 15, 60 s) keeps naming the real cause (not found, not confirmed), not "lost" (Controller::guard_fault).The Masaüstü page keeps the desktop's own choices (icons shown, the five system icons), has no on/off of its own and says in one line that the desktop comes with the dock. The Settings search finds the one switch by the old names (its description names the desktop, the taskbar, the tray icons, the Windows key and Alt+Tab).
A dock started by hand (
--dock) withdock_enabledfalse in its settings file runs none of the parts. A TEST COPY therefore needsdock_enabled = truein its own settings file.rustyfiles takvimini kullan / Use rustyfiles' calendar. On by default. The clock opens the calendar panel; off: it sends Win+N (Windows' notification centre and calendar), as before.
rustyfiles bildirim panelini kullan / Use rustyfiles' notification panel. On by default. The bell opens the notification panel and wears a dot while there are notifications; off: it sends Win+N, as before, and the dot's worker and folder watch are not running.
rustyfiles Başlat menüsünü kullan / Use the rustyfiles Start menu. On by default. The logo opens the Start panel and the search field the search; off: the logo sends the Windows key and the field opens the quick search window, as in version 1.
rustyfiles denetim merkezini kullan / Use the rustyfiles control centre. On by default. The network and volume symbols open the control centre; off: they send Win+A (Windows' quick settings), as in version 1. (The symbols themselves keep showing the real state either way.)
rustyfiles Dock'unu kullan (deneysel) / Use the rustyfiles Dock (experimental). Off by default. Switching it on starts the process now and at every start of rustyfiles, with all its parts (see "The one switch"); switching it off stops them and the process. The dock keeps running when rustyfiles' window closes: it is your taskbar.
Pencereler dock'un altına girmesin / Keep windows from going under the dock. On by default. The dock registers as an application desktop toolbar at the bottom of the primary monitor (the middle island's height plus the margins), so maximised windows stop above it, and unregisters on exit. Off: it only floats.
Paneller adalardan büyüyerek açılsın / Panels grow out of the islands. On by default (
dock_start_grow, in this general section). The left island's glass grows into the Start panel and the right island's into the control centre, the calendar, the notifications and the overflow panel, and shrink back into their island (see "The Start panel grows out of the left island" and "The right island's panels grow out of their island").Dock boyutu / Dock size. Orta (Medium) by default (
dock_size; Küçük 0.85, Orta 1.0, Büyük 1.2, Çok büyük 1.4). Scales the whole dock and applies to the running dock at once (see "The dock's size").Simge büyütme / Icon magnification. Full by default (see "Magnification").
Simge üzerinde pencere önizlemesi / Window previews on icons. On by default (
dock_hover_previews). Off: resting the pointer on an icon shows nothing.Simge sağ tık menüsü / Right-click menu on icons. On by default (
dock_app_menu). Off: a right click on an icon does nothing, as before.Pencere büyütüldüğünde dock'u incelt / Make the dock thin when a window is maximized. On by default (
dock_thin_when_maximized). Off: the dock of before, and nothing of the feature runs. What it does: "The thin dock" above.Başlat'ta önerilenler / Recommended in Start. On by default (
dock_start_recommended). The Start panel's "Önerilenler" section (the documents opened most recently). Off: the section is not drawn, the recent shortcuts are not read, and the pinned grid takes its room.Hava durumu şehri / Weather city. Empty (the default): no weather is shown and no network request is made at all. With a city, the dock asks Open-Meteo (
geocoding-api.open-meteo.comonce for the place,api.open-meteo.comfor the temperature) every 30 minutes. Nothing else leaves the machine: only the city name you typed and the coordinates it returned; no location API is used (unless "Konumumu kullan" below is on). A failed request shows nothing and is retried after 5 minutes, then 10, 20 and 30; a city Open-Meteo does not know is asked about again only once an hour.Konumumu kullan / Use my location. Off by default (
dock_weather_location); a user who did not ask for it sees and sends nothing new. On: the PC's approximate position is asked from Windows' location service (Windows.Devices.Geolocation, the lowest accuracy, on a worker thread with a 10 second limit) each time the weather is refreshed, and the forecast is asked for that position. The numbers are cut to two decimals (about a kilometre) the moment Windows gives them; only that rounded pair goes into the Open-Meteo forecast address, and it is not written to the settings file, not logged and not looked up as a name (no IP guess, no reverse geocoding). The ORDER: the position when the switch is on and Windows gives it; else the typed city; else no weather and no request. If location is off in Windows (Privacy > Location: "Location services" or "Let desktop apps access your location") Windows is not asked at all, Settings shows one line saying so with a button that opensms-settings:privacy-location, and the weather falls back to the city; a refusal is asked again only at the next refresh (an hour), never in a loop. With the switch on, a refresh that fails (Windows has no position yet after a wake, a change of network) leaves the last good reading on the screen for up to two hours (plan::keeps_last_reading); a typed city alone still shows nothing after a failed request.The condition in words. Under the temperature, in smaller text, as Windows' taskbar shows it ("Çok bulutlu"): one text for every group of weather codes (
dock/weather_text.rs). The left island is as wide as the longer of the two lines (plan::weather_width_lines) at every dock size. On a narrow display (less room between the islands than the middle island's own width, and never less than 320 dock units) the line is the first thing to go, before the icons are squeezed, and the weather is the picture and the temperature, as before. The text column has exactly the planned width and cuts a longer word with an ellipsis.
The dock process is told to read the settings file again when any of these changes: the four switches of the panels (dock_own_start,
dock_own_control_centre, dock_own_calendar, dock_own_notifications), the two switches of the icons' menu and previews
(dock_app_menu, dock_hover_previews), the thin dock's switch (dock_thin_when_maximized), the Start panel's recommended section (dock_start_recommended), the keep-out switch, the city, the size, the magnification, the animations setting, the four HyperGlass sliders and which of the five parts run
(control::Keys: the one switch and the overrides, see "The one switch"). The process's views read the two panel switches from the settings it loaded last, at every click.
The process
--dockis a process of its own, like--bar-preview. It never hands over to a running rustyfiles and never starts DirectLook. It owns no tray icon, no hotkey and no name index, does not re-register the file manager or the Open/Save dialogs, and never writes the settings: it only reads them.- It is a single instance of its own group (
rustyfiles-dock: a named mutex and a named pipe). The pipe carries one-word lines:ping,reload(the settings file changed) andstop(undo everything and exit). A second--dockgreets the first and ends. - It reads the settings file again when the main rustyfiles tells it a dock setting changed, and every 5 seconds when the file's modification time differs (hand edits). A file it cannot read right now is left alone, and the dock keeps the settings it has.
- Resource use: the middle island repaints only when what it shows changed (about 26 of 28 task-list events in a minute change
nothing: a repaint asks for a frame, and a frame keeps GPUI's vsync thread following the display for a second). With the renderer
setting on Auto the dock is kept on the graphics card (
settings::renderer_mode), so a busy card cannot make it build a software device; a user who chose the software renderer keeps it. The glass shaders are compiled when rustyfiles is built (rf-win/build.rs), not at the dock's start. - What the glass engine costs (
crates/rf-win/src/glass, shared with the main window and the popups; measured windowless withexamples/glass_session_cost.rs,glass_cover_probe.rs,glass_capture_check.rs):- Every D3D11 device of a process has a thread of the graphics driver (
nvwgf2umx.dllhere) that wakes about 100 times a second from the moment the device exists, with no capture and no frame: the engine's device and GPUI's device each have one. It is the driver's, and cannot be changed from here. - A capture session is asked for at most 60 frames a second, 30 on battery or with the battery saver on (
wgc::min_interval_ticks; never faster than the display makes them), where it was one refresh period (5 ms at 200 Hz). Nothing the engine animates itself needs a fresher backdrop: lenses and shapes draw again from the backdrop already held, and a window that is dragged is drawn on a picture that is at most one interval old. What is given up: a video, a game or an animation BEHIND a glass window shows through the frost at 60 instead of up to 200 updates a second. A running session takes a new interval (SetMinUpdateIntervalon the live session; read back as 16.67 and 33.33 ms); the power state is looked at every 5 s. A frame that the engine asks for (the list is sent again: after a pause,Exclusion::nudge) is not held back by the interval (measured: 300 forced frames a second at 5, 16.7 and 100 ms alike). NOT measured here: that natural frames follow the interval (this desktop made 0.3 to 7 frames a second in every run, far below either cap), and that the frame that ends a burst of changes is still delivered once the interval has passed (the documentation ofMinUpdateIntervalsays nothing about it).RUSTYFILES_GLASS_MAX_FPS=0(or any number) sets the cap for one run of the program, 0 being the old behaviour: it is how to compare on a live desktop with a video playing. - Glass that is seen is the only glass that is worked for. A window that is hidden, minimised or cloaked, or that other windows hide
completely (
cover.rs: a z order walk from the top down to the window, counting only opaque windows), is not prepared, not drawn and not read back. The walk is made when the foreground window changes or moves, and otherwise every 100 ms while some glass is covered and every 500 ms while none is (the dock's islands are always in view, so they do not set the pace). A layered window without a redirection bitmap (a Chromium browser, and also a transparent overlay made with the same toolkit) counts only when it is maximised or has a title bar and is not a tool window. A glass with no area (an island that has not had its shape yet) is never covered. The window keeps reportingRunning, and the app's Mica fallback is never involved (the app reacts toFailed, and toStartingonly before the first picture). When it is in view again its capture is resumed first (the frames queued from before the pause are not drawn from: measured, a session left alone for 3 s hands out a frame from before the pause right after, and on a still desktop nothing newer follows; now the list is sent again, which makes the service produce a new frame in about 2 ms), then it is drawn from a fresh backdrop and presented whatever the loop guard remembers; meanwhile its window shows its last picture. The dock's islands are topmost and are only covered by other topmost windows; the full screen case stays the dock's own (fullscreen.rshides its windows). - A monitor's capture session (frame pool and mirror: about 38 MiB of video memory at 2560x1440 here) is kept for 5 s after its last seen glass went, and then closed; it is opened again when a glass needs it. If that fails after sessions had worked in this run, it is tried again after 1, 2 and 5 s (the window keeps its last picture) before the process goes over to Desktop Duplication.
- Every frame that is taken is copied whole into the mirror. Copying only the parts some glass reads was built and measured and taken
out again: it saved 0.8 to 7 us of GPU time a frame against 15 us for the monitor (
glass_session_cost copy), nothing on the CPU (205 us a frame with it, 214 without, in a forced-frame loop), and it made the mirror depend on the dirty rectangles of every frame being true across the frames a minimum interval skips, with a "wait and ask for a frame" path for a glass that moves onto a part that was not copied. Not worth a picture that can be wrong. (The dirty rectangles still decide which windows are drawn again;glass_session_cost dirtycompares every picture with the one before it: 0 changed pixels outside the reported rectangles in 30 s at the 16.7 ms interval, on a desktop that changed in only one picture, so this is weak evidence; the earlier probe at 400 ms saw 54 frames and none outside.) - Only a picture that changed something a glass reads counts as activity for the engine's clock. A frame that changed something elsewhere (a caret, a terminal) no longer keeps the loop at its 8 ms wait for a second after it, which on an ordinary desktop made it turn about 100 times a second instead of 20.
- Taking a popup out of the exclusion list sends nothing: the removal goes with the next list that has to be sent. The handles that left are looked at once a second and the list is sent if one has become a window of another process. Opening a popup is two sends.
- Where the busy threads of a process with glass are (no window needed to see it:
glass_session_cost run --drive 2): the driver's worker (nvwgf2umx.dll, unnamed) wakes 2 to 4 times per captured frame and the capture service's thread once per frame, so a busy monitor at 200 frames a second is 400 to 800 context switches a second in threads that are not ours; the cap cuts that to a third of it when frames are the cause. The driver's timer thread (about 100 a second) is there with a device and no frame. A session's video memory is the same with one pool buffer as with two (48.5 MiB both), so the pool stays at two.
- Every D3D11 device of a process has a thread of the graphics driver (
RUSTYFILES_NO_DOCK=1keeps a rustyfiles from starting or stopping a dock (automated runs, a second copy for testing).- Updates and uninstalling: the dock holds
rustyfiles.exeopen, so the updater's restart and the uninstall hook ask it to stop first; the next start of rustyfiles brings it back while the setting is on. - Ending:
stop, or Windows ending the session. The glass is taken off every island, the windows close, the toolbar band is given back. If the dock panics, the band is given back from the panic hook before the process aborts. If the dock is killed (Task Manager) nothing can run: the band stays registered until Windows notices the dead window (this has not been verified), and the dock's next start registers again. If Explorer restarts, the dock hears theTaskbarCreatedbroadcast and registers again. - Keystrokes (
SendInput: Win, Win+A, Win+N, and the Alt tap that lets a window come forward) are sent only as the direct answer to your click on that element, never at start-up and never from a timer. Win+A is now only the answer to the network and volume symbols with "rustyfiles denetim merkezini kullan" off; Win+N is the clock's and the bell's only with "rustyfiles takvimini kullan" and "rustyfiles bildirim panelini kullan" off.
Where things are
crates/rf-win/src/dock/: the system side.size.rs(the four sizes and the unit every layout function takes),empty_spot.rs(is this point the island's empty glass),taskmgr.rs(the start-once gate for Task Manager),layout.rs(the three glass rectangles and their windows from a work area and a scale),model.rs(merge and order of pinned and running apps, the click decision),identity.rs(a window's packaged-app id),pins.rs(the taskbar's pins, their order, and which are alive, moved or dead),icons.rs(the shell's icons and the window's own, as a chain of sources per app),magnify.rs(the magnification),hit.rs(which part of a window takes the pointer, and the window region),hover.rs(the slots),clock.rs,fullscreen.rs(the full-screen decision),island.rs(window styling and placing),system.rs(display / DPI / theme / work-area watch and the toolbar),launch.rs,triggers.rs.weather.rshas the Open-Meteo requests (WinHTTP) and the weather-code mapping. Every call into the shell runs on the one thread that pumps messages (rf_win::sta::call).crates/rf-app/src/dock/: the views and the process.host.rs(the three windows, events, settings, the clean exit),left.rs,middle.rs,right.rs,backdrop.rs(an island's glass; its state machine isglass_watch.rs, shared with the popups),control.rs(starting and stopping the process),size_pref.rs(the saved size),empty.rs(the controls' boxes and the empty-glass test of each island),plan.rs(widths, layout and timing arithmetic),look.rs(colours, and the palette that eases between the dark and the light look),tone.rs(light or dark foreground from the brightness behind the glass, with its hysteresis),icons.rs(the icon cache, keyed by an app's first source),actions.rs. The panels:panel.rs(the hidden window, opening, closing, the watch),start.rs(the Start panel's view and keys) with its childstart_home.rs(the pages, drawn),search.rs(the result rows, the selection that stays on its row, whether Enter waits).crate::search_pipeis the pipe protocol for files;quick_search.rsholds the sources and the ranking.- The control centre:
crates/rf-app/src/dock/control_centre.rs(the view),cc_model.rs(what is shown, the heights, the words and symbols, the slider's pointer arithmetic; all pure),sysstate.rs(the sound and network the island follows all the time), and in rf-wincrates/rf-win/src/sysstatus/(audio,network,media,bluetooth,power,brightness, and the hub / write-coalescing helpers inmod.rs). - The tray strip:
crates/rf-app/src/dock/tray_source.rs(the one seam to the tray host, and the made-up source),tray_strip.rs(state, pointer, drag, keyboard, the strip's elements),tray_tip.rs(the tooltip window),tray_overflow.rs(the overflow panel's view),tray_panel.rs(its slot inpanel.rs); in rf-wincrates/rf-win/src/dock/tray_order.rs(identity, order, file),tray_strip.rs(layout, drop targets, clicks, keys),tray_tip.rs(tip timing, text, window). - The calendar and the notification panel:
crates/rf-app/src/dock/cal_view.rs(the calendar's view and its small model),notif_view.rs(the notification panel's view),notif_model.rs(its height, words and cursor arithmetic; pure),notif_state.rs(the count behind the bell's dot and its worker),panel_more.rs(their slots in the panel machinery),panel_parts.rs(the colours and buttons they share); in rf-wincrates/rf-win/src/dock/calendar.rs(dates, grids, names, keys) andcrates/rf-win/src/toasts/(mod.rsthe pure model,listener.rsthe WinRT reader,hint.rsthe dot's worker; namedtoastsbecausenotifyis a crate this one uses). - The panels' system side in
crates/rf-win/src/dock/:panel.rs(placement, toggle, close and foreground decisions, the easing),power.rs(the power menu and its question, the real calls, the user's name),startlist.rs(the alphabet, headers, rows, arrow keys),startpins.rs(the pin file and its seeding),startapps.rs(start, start as administrator, find the program). - The island that grows into its panel:
crates/rf-win/src/dock/grow.rs(the motion, the clock, the fades; pure) andcrates/rf-app/src/dock/grow_host.rs(the windows, the glass, the region, the deadline; the views ask it for their frame). - The glass engine takes a per-window corner radius, a shape and (off for the dock by default) a shadow:
rf_win::glass::attach_with(hwnd, GlassOptions { dark, radius_px, cut_corners, shape, shadow }); the shape follows the glass throughrf_win::glass::set_options(cheap, made for animation) and the tint throughrf_win::glass::set_dark.
Which apps appear
- A pin and a running window are the same app when their AppUserModelIDs agree (case aside) or the program is the same. The windows
of a packaged (Store) app often set no id of their own (Telegram, Spotify, WhatsApp, Claude, Windows Terminal), so the id of the
process's package is used (
identity.rs); without it the pin and the running app were two items, and the running one had the icon of an exe underWindowsAppsthat the shell cannot open (a generic white window). - A pin whose program is gone is looked for under the next version: the deepest folder of its path with digits in its name is
looked for beside itself (
Adobe Photoshop 2026->Adobe Photoshop 2027, newest first, the rest of the path must exist), thenApp Pathsof Windows, then a Start menu shortcut to a program of the same file name. The pin then stands for that program (and starts it). How Explorer itself resolves such a pin was not found out: its link tracking,IShellLink::Resolve, the shortcut's property store and theTaskbanddata do not point at the new install on this machine; these rules reach the same result for Photoshop, Illustrator and After Effects. A pin for which nothing is found is left out. A pin whose program is there stays even when the icon file its shortcut names is gone (DaVinci Resolve's installer cache): the taskbar shows it, and the dock draws the program's own icon. The Start menu rule only takes a shortcut that stands in a folder of the same name as the old program's (theUpdate.exeof one app is not another's). - An icon that cannot be loaded is tried from the icon one of the app's task windows has set itself (
WM_GETICONwith a timeout, the class icon), then from its package's logo; only then is the app's first letter drawn.
Not in the control centre (yet)
Switching Wi-Fi or Bluetooth on and off, choosing the output device (the list is read-only), per-application volume, the microphone, airplane mode, hotspot, Night light, Focus, projection, HDR, the power-mode slider; brightness for a laptop's own panel (WMI); a choice between several media sessions and a progress bar; the clock's and the bell's own panels (Win+N still opens Windows'); the volume and brightness on-screen display for the hardware keys.
Not in version 1
Hiding or replacing Windows' taskbar, becoming the shell, other monitors' docks, drag to reorder or pin, the jump-list DATA in the app menu (the menu and its seam are there, see below), notification badges, progress rings. Hiding Explorer's taskbar is a later version and needs a watchdog that brings it back if the dock dies.
Known limits
- Whether the islands' GLASS stands where the layout says:
visible_glass_rectis the layout's glass rectangle, and the islands' windows are placed by their outer rectangle while the glass is drawn from the client area (which starts at the invisible frame). If the frame is really 8 px there, the seen glass is that far from the layout's, and a panel lined up with the layout's rectangle would be that far from the seen glass. One look at a running dock settles it (the first step of the panels' live test). - What has been seen on a screen: the placement, the glass, the apps and their icons, the light or dark foreground (main's live runs,
before the magnification was added). What has not: the magnification, the glass as a shape inside a larger window, the window
region and the clicks through it, the merged whole, and the control centre and the Start panel (the sources were read with a
windowless probe; the panels' look, placement against the glass rectangle, glass, tone, focus, dragging and the first-open growth
are untested live). They are covered by pure tests of the arithmetic and decisions and by offscreen pictures of the glass. To look
at: whether the shadow shows with
RUSTYFILES_DOCK_SHADOW=1(expected not: see above), the glass following the icons frame by frame, the top of a grown icon while it is still growing (the region follows the scene by one task of the message loop and is a pixel larger than it), the corners of the region (a region has no anti aliasing; the glass's own edge is inside it), and clicks on the margin reaching the taskbar. - On the first opening of the control centre the Bluetooth tile and the brightness row arrive a moment after the window is shown (their first reading takes tens to hundreds of milliseconds), so the panel grows upwards once; later openings start from what was last known. The brightness row sits between the sound card and the gear, so on that first opening it moves the sound card up by its own height (the tiles and the media card are above everything and move nothing).
- The Start panel's two pages, the paging dots, the wheel, "Önerilenler" and the account picture were written without a screen: the arithmetic (rows for a height, pages, the cursor's walk, the wheel, the second lines, the choice of entries, the picture's size) is tested, and the two readings were run windowless on this PC (the recent shortcuts: 32 candidates, 6 chosen; the account picture: 11 sizes listed, 56 x 56 read in 2 ms). NOT seen: the pill field's inner padding (the input has its own), the dots in the padding, the round picture's clipping, the tiles' two-line names, the wheel's feel, every click, the pages at 125 % / 150 % / 200 %.
- The icon cache of the Start panel lets go of the pictures of found files when the panel hides, but a fast scroll through the app list still queues one icon job per row passed (no cancellation); they share the shell thread with the middle island's icons.
- The 50 ms look at the foreground and the mouse buttons while a panel is open is kept (the foreground rule catches a click that took another window's foreground, which is almost every click outside). A press and release inside one 50 ms look that lands on something that does not take the foreground is the case it can miss.
- Wi-Fi name and bars could not be exercised here (this machine is on Ethernet).
- The pinned apps' order comes from the
Taskbandregistry value read as text runs, not as a full shell item list; a Windows build that changes the record layout gives the shortcuts in name order instead. - A frameless maximised window is told from a full-screen game by its sizing frame and maximised state; a game that is maximised and has a sizing frame would not hide the dock.