Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ All notable changes will be documented here. The format follows [Keep a Changelo

### Changed

- `FAD-0502` Application controls now use a horizontally scrollable console with vertical percentage faders, aligned mute controls, logical application counts, and session-scoped System/Light/Dark selection (ADR-0003).

- `FAD-0205` XDG desktop-entry snapshots now refresh after debounced filesystem changes, advance a monotonic identity revision, and re-resolve active sessions once through the serialized mixer coordinator.
- `FAD-0206` Ordinary `fadrioctl apps` output no longer exposes process IDs; raw process and node details live in the explicit advanced inspector.
- `REL-00003` Visible XDG launchers now take precedence over hidden helpers when both have strong executable evidence; common `-bin` runtime names can match their launcher executable.
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Fadrio resolves PipeWire playback nodes into stable logical applications and gro
- Stable fallback identities that never use PID.
- Multi-session application grouping and application-wide volume/mute commands.
- Managed reconnect supervision with generation isolation.
- Diagnostic CLI, SQLite-backed identity overrides, and the first live Avalonia application rows with volume and mute controls.
- Diagnostic CLI, SQLite-backed identity overrides, and a live Avalonia application console with vertical volume faders, mute controls, and session-scoped themes.

## Architecture

Expand Down Expand Up @@ -91,7 +91,11 @@ The override appears in subsequent `apps` output while the canonical ID remains

Launch the in-development mixer with `dotnet run --project src/Fadrio.UI`. Its application rows reflect the live PipeWire snapshot and use the same application-wide volume/mute command path as the CLI. Application rows load validated local PNG icons asynchronously, fall back to an initial when artwork is missing or invalid, and show playback/mute state. Mixed-volume controls explain that an adjustment sets every owned stream to the same level. Output-device controls, tray behavior, and UI polish remain on the roadmap.

[See the current application-row screenshot](docs/screenshots/fad-0502-application-icon.png), captured with an isolated silent fixture and the normal host fonts.
The current console uses vertical percentage faders and a horizontally scrollable bank of logical applications. Choose System, Light or Dark for the current session.

![Current application console](docs/screenshots/fad-0502-console-dark.png)

This actual 940 × 680 capture uses four controlled silent applications and five streams on a private PipeWire daemon, with normal host fonts. [Light theme](docs/screenshots/fad-0502-console-light.png), [narrow layout](docs/screenshots/fad-0502-console-narrow.png), and [qualification evidence](docs/development/qualifying-console-ui.md) are available. Reproduce with `./scripts/capture-console.sh` after building.

[See the first live-row screenshot](docs/screenshots/fad-0501-live-fixture.png), captured with a controlled, silent PipeWire fixture rather than a user's applications.

Expand Down
4 changes: 2 additions & 2 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ Canonical ticket format:
- [x] `FAD-0501` `P0` Connect immutable mixer snapshots and commands to the Avalonia view models.
- [ ] `FAD-0502` `P1` Build accessible output and logical-application rows with mixed-volume state.
- Status: In progress
- Scope: Validated asynchronous local application icons, readable fallback/activity states, and mixed-volume help are the current application-row slice. Output-device rows remain pending.
- Scope: Application console with vertical percentage faders, session themes, logical counts, validated asynchronous local icons, readable fallback/activity states, and mixed-volume help. Output-device rows remain pending.
- Acceptance: Accessible logical-application and output rows, verified mixed-volume behavior, local icon fallback, and rendered keyboard/mouse checks.
- Evidence: `docs/development/qualifying-application-rows.md`; this slice does not complete output control or REL-00006.
- Evidence: `docs/development/qualifying-application-rows.md` and `docs/development/qualifying-console-ui.md`; this slice does not complete output control or REL-00006.
- [x] `FAD-0503` `P1` Add stable sorting, interaction freeze, empty, unavailable, and reconnect states.
- Scope: Deterministic active-row ordering and pointer/keyboard interaction freeze; connected-empty versus unavailable states and reconnect-safe commands. Persistent pinned/inactive rows remain FAD-0303.
- Acceptance: Rows are reused, structural changes wait until gesture end, removed targets disable immediately, queued commands are discarded on disconnect, and rendered controls recover after an isolated daemon restart.
Expand Down
2 changes: 2 additions & 0 deletions TECH_SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,8 @@ Do not open to a dashboard.

# 34. Main Mixer UI

> Active layout update (2026-10-07): the user selected a Voicemeeter-inspired application console. [ADR-0003](docs/decisions/ADR-0003-application-console-layout.md) supersedes the initial narrow-window geometry and horizontal row sliders below: default 940 x 680, horizontally arranged logical-application strips, vertical 0–100% faders, and scrolling at narrow widths. Application identity, command semantics and product scope are unchanged. The initial layout remains below as design history.

## 34.1 Window form

Default approximate size at 100% scale:
Expand Down
21 changes: 21 additions & 0 deletions docs/decisions/ADR-0003-application-console-layout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# ADR-0003: Application console with vertical faders

- Status: Accepted
- Date: 2026-10-07
- Owner: `FAD-0502`

## Context

The user requested a Voicemeeter-like visual direction for an app they intend to use daily. Sections 34 and 40 of TECH_SPEC.md prescribe a narrow vertical utility and discourage imitation studio controls. The request authorizes a presentation change, while the application-centric model, dependency direction, volume semantics and product scope remain authoritative.

The first-party Voicemeeter Banana screenshot (https://vb-audio.com/Voicemeeter/banana.htm) was reviewed for channel grouping, vertical faders, aligned mute controls and readable numeric levels. No artwork or source from that product is bundled.

## Decision

Default to a 940 x 680 application console, with fixed-width application strips arranged horizontally. Small windows and long application lists scroll instead of compressing controls. Each logical application retains one 0–100% fader, identity/icon, explicit playback/mute state and shared audio command path. The same row objects, interaction freeze, reconnect behavior and mixed-volume semantics remain in use. Provide System/Light/Dark theme selection for the current session.

This deliberately changes the default geometry and row layout in TECH_SPEC.md sections 34/40. It does not introduce audio buses, DSP, routing, fake signal meters, dB gain labels, physical-input strips or unsupported output controls. The existing output-control placeholder is secondary footer text. Playback state continues to describe stream activity rather than measured signal amplitude.

## Consequences

The user gets a directly inspectable fader bank; keyboard tests and screenshots must qualify the vertical orientation, theme contrast and overflow behavior. The native ABI, Core, resolver and persistent schema are unchanged. Theme persistence, a compact layout mode, signal metering and the full supported-desktop/scaling matrix remain future work.
4 changes: 2 additions & 2 deletions docs/design/ui-system.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UI system

The default mixer is a narrow vertical utility, approximately 360 pixels wide with a 320-pixel minimum. It prioritizes output and logical applications, using the spacing scale 4, 8, 12, 16, 24, and 32.
The current mixer is a 940 x 680 application console, with a 420-pixel minimum width. Fixed-width logical-application strips arrange horizontally and scroll at small widths or with many applications. Each strip uses a vertical 0–100% fader, name/icon, textual activity state, large numeric level and an aligned mute action. The spacing scale is 4, 8, 12, 16, 24, and 32. See [ADR-0003](../decisions/ADR-0003-application-console-layout.md) for the user-requested change from the initial narrow utility.

System, light, and dark themes are required. The visual tone is calm, compact, readable, and tactile. Avoid graph-editor terminology, neon gamer styling, excessive cards, and faux studio-console decoration.
System, light, and dark themes can be selected in the header for the current session. The visual tone is calm, readable and tactile: slate surfaces, restrained green track fill, and visible fader handles. Voicemeeter's aligned channel layout is the visual reference; all controls must correspond to implemented application behavior. There are no decorative signal meters, fictitious bus buttons or dB gain values.

Application rows eventually contain icon, name, volume, slider, mute, and contextual actions. PID and PipeWire node identifiers belong only in diagnostics.
41 changes: 41 additions & 0 deletions docs/dev-diaries/003-a-console-for-applications.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Fadrio Dev Diary #3 — A console for applications

I want Fadrio to be the Linux mixer I actually reach for while working and playing. The first working interface had one horizontal slider per application. It proved the plumbing, but I wanted something closer to the channel bank of a mixing console: several applications visible together, with levels you can compare at a glance.

The new window now has **vertical application faders**, a percentage scale, aligned mute buttons, and selectable System, Light and Dark themes. The screenshot is the actual Avalonia application connected to a private PipeWire daemon. Browser, Chat, Game and Music are controlled silent fixtures, not invented UI or a list of my private applications.

## What I borrowed from Voicemeeter

I looked at [Voicemeeter Banana's official interface](https://vb-audio.com/Voicemeeter/banana.htm). Its useful idea here is the repeated channel strip: a name at the top, a long vertical fader, and controls that sit at the same height across the bank.

Fadrio applies that layout to **logical applications**. Each strip contains its icon or initial, name, playback state, percentage and mute control. The fader scale runs from 0 to 100 percent; it does not pretend to be a calibrated decibel meter. Playing, Idle and Muted remain readable text. The new muted button also has a distinct appearance in both themes.

This is still Fadrio's own interface and artwork. Voicemeeter's buses, routing matrix and effects are outside this application's scope. The useful goal is quick application control, not fitting a recording studio into a volume popup.

## Four strips, five streams

The Browser fixture owns two streams, initially at 20% and 80%. Fadrio groups them into one strip showing **50% mixed**. Chat is at 60%, Game at 78%, and Music is muted with its level retained at 35%.

That example makes the application's central rule visible: two browser streams do not become two browser controls. Moving a mixed fader sets every stream owned by that application to the chosen level. The tooltip and accessibility help explain this; a single number should not conceal the operation behind it.

The application count also counts logical applications. During an active gesture, structural changes wait until the gesture ends, preserving the controls under your pointer. A disappearing target disables immediately, and commands still use the native PipeWire bridge.

## A wider window that can shrink

The development window opens at 940 × 680. At 420 pixels wide, the same strips remain available through horizontal scrolling rather than squeezing each fader into a sliver. The Light theme uses a contrasting dark thumb; Dark uses a pale thumb with a mint track. Theme selection currently lasts for the session only.

The local icon work from the previous development slice stays intact: validated local PNGs load asynchronously, with a readable initial when an icon is missing or cannot be decoded. The malformed PNG regression remains in the desktop check. An icon should not get promoted to application supervisor.

## What I actually checked

The local suite passes **111 managed tests**, including 25 UI cases, plus two native tests and the isolated PipeWire integration scenario. Formatting, roadmap checks and six Python roadmap tests pass too.

The real rendered desktop check moves the vertical fader to 37%, reaches 10% with Home followed by ten Up keys, and mutes the stream. It repeats those controls with a damaged icon, disconnects the private PipeWire daemon during a drag, restarts it, and verifies the recovered controls. The four-application capture separately checks the mixed level, muted state, both themes and narrow-window layout.

These are GNOME Wayland desktop checks through XWayland using normal host fonts and isolated silent streams. They do not qualify native Wayland, KDE, fractional scaling, screen readers or an installed package. The earlier font-startup stall's root cause also remains open; it has not reproduced in these checks.

## What comes next

This advances the application-control part of FAD-0502. Output-device controls, remembered application levels, pinned inactive applications and tray/single-instance behavior still need work. There is no new supported binary release: Fadrio remains a source-only public alpha.

For daily use, which would help you most next: remembered levels, pinned controls for currently silent applications, or quick access from the tray?
48 changes: 0 additions & 48 deletions docs/dev-diaries/003-icons-that-cannot-crash-the-mixer.md

This file was deleted.

Loading
Loading