evidence · 4.2 KiB

README.md

Committed at docs/evidence/notification-actions/board/README.md. This is what grounds the requirements that cite it.

Open raw source

Notification actions and close reasons on the board (task 3.2)

Evidence class: board, injected touch plus a probe app on the shell bus. No glass. The operator asked for injected events and captures instead of fingers on the glass (docs/evidence/glass-checklist-2026-10-29/operator-report.md).

The build is q8hbkb1g… (master at 6415e84c), test-activated on 2026-10-30 at 00:46:22Z. The probe is action_probe.py. It posts through org.freedesktop.Notifications and prints every NotificationClosed and ActionInvoked signal with a UTC timestamp. It ran as the shell user with the adaptor’s own interpreter and DBUS_SESSION_BUS_ADDRESS=unix:path=/run/shell-bus/bus, for example:

python3 -I action_probe.py 600 "Probe dismiss:open=Open,snooze=Snooze" \
  "Probe action:open=Open,snooze=Snooze" "Probe app close!close:open=Open"

probe-1.log to probe-4.log are the four runs’ complete output. Signals are broadcast, so a probe that was still running also printed signals for a later probe’s ids (the last lines of probe-2.log).

What happened

UTCInjected stepProbe output
00:55:28none; three notifications postedcapabilities body,actions
00:55:33none; the probe closes id 3 itselfNotificationClosed 3 3
00:57:55.0tap Snooze on “Probe action” (1026,451), na-01 → na-02ActionInvoked 2 snooze, then NotificationClosed 2 2
01:05:38.6swipe the top row “Probe swipe” right (650,200 → 980,202), list of five, na-08 → na-09NotificationClosed 7 2
01:05:58systemctl restart shell-notification-dbusnone
01:06:01none; two new notifications posted to the restarted adaptorcapabilities body,actions
01:06:07none; the probe closes id 2 itselfNotificationClosed 2 3
01:06:33.2tap Open on “After restart” (685,306), na-10 → na-11ActionInvoked 1 open, then NotificationClosed 1 2
01:11:49none; two notifications posted (one with an action)capabilities body,actions
01:12:00.3tap Dismiss all (1136,35), na-13 → na-14NotificationClosed 3 2, NotificationClosed 4 2

na-01-shade.png shows a row with Open and Snooze. Each button is 99 px tall and the row is 115 px taller than a row without actions. After the tap (na-02) the row is gone and the count drops from 3 to 2. na-12-cleared.png is the shade after Dismiss all removed the rest (see the third finding). The history count was 0 afterwards.

A notification expiring (reason 1) was not waited for on the board. It is covered by the host tests with the broker’s injected clock (task 2.2).

Findings

Limits: injected touch only, with no glass contact. The banner path was not captured. The adaptor’s “re-subscribe after a restart” was shown by the signals of notifications posted after the restart, not by older ones.