Notifications: raise the window on click, application identity (icon, desktop entry, Windows app id) #55

Closed
opened 2026-11-11 11:06:21 +00:00 by charles · 0 comments
Owner

Deferred from Task 23 (#23); each item belongs to a later task.

  • Raise the window on click (shell, Task 17): a click on a notification already selects the message's channel (apps/fluxer runtime, click_actions), but nothing brings the window to the front or un-minimises it. The shell sees the SelectChannel on the applied channel but cannot tell a click from any other selection; it probably needs its own signal from the runtime (on Wayland also the activation token of the ActionInvoked signal).
  • UserAction::WindowFocus (shell, Task 17): the store only suppresses notifications for the open channel while ui.window_focused is true, and that is set by nothing until the shell reports focus changes.
  • Linux application identity (packaging, Task 25): send the desktop-entry hint and an application icon once a .desktop file and icon are installed, so Plasma/GNOME group and configure the notifications per application.
  • Windows application id (packaging, Task 25): toasts are shown under notify-rust's default app id, so Windows attributes them to PowerShell. Register an AppUserModelID with the installer and pass it with Notification::app_id.
  • Windows check by hand: crates/fluxer-platform/src/notify/windows.rs was written against the notify-rust 4.19 sources and is compiled only by the Windows runner; nobody has seen a toast or clicked one yet.

Seen on commit c0c5a4e (task/23-notifications).

Deferred from Task 23 (#23); each item belongs to a later task. - [ ] **Raise the window on click** (shell, Task 17): a click on a notification already selects the message's channel (`apps/fluxer` runtime, `click_actions`), but nothing brings the window to the front or un-minimises it. The shell sees the `SelectChannel` on the `applied` channel but cannot tell a click from any other selection; it probably needs its own signal from the runtime (on Wayland also the activation token of the `ActionInvoked` signal). - [ ] **`UserAction::WindowFocus`** (shell, Task 17): the store only suppresses notifications for the open channel while `ui.window_focused` is true, and that is set by nothing until the shell reports focus changes. - [ ] **Linux application identity** (packaging, Task 25): send the `desktop-entry` hint and an application icon once a `.desktop` file and icon are installed, so Plasma/GNOME group and configure the notifications per application. - [ ] **Windows application id** (packaging, Task 25): toasts are shown under `notify-rust`'s default app id, so Windows attributes them to PowerShell. Register an AppUserModelID with the installer and pass it with `Notification::app_id`. - [ ] **Windows check by hand**: `crates/fluxer-platform/src/notify/windows.rs` was written against the `notify-rust` 4.19 sources and is compiled only by the Windows runner; nobody has seen a toast or clicked one yet. Seen on commit c0c5a4e (`task/23-notifications`).
charles added this to the Foundation milestone 2026-11-11 11:06:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#55
No description provided.