imsd-messages/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf 75d1cbdce1
Ui, project: on screen means active and not suspended; Crafter.Graphics at c006519
A conversation counted as on screen while its window was up and no
close was pending, and a text for the conversation on screen is stored
read and not notified. A window is up behind a lock screen too, behind
another application, minimised, with the display off: a text for the
conversation left open there was marked read unseen, and no
notification told of it.

The compositor says of a window whether it counts as the active one and
whether it is ordinarily being repainted: xdg_toplevel's `activated`
state and, from version 6 of xdg_wm_base, `suspended`. The pinned
library dropped both. Crafter.Graphics c006519, one commit on the pin
before, keeps them on the window (Window::activated, suspended) and
fires onToplevelState when a configure changes either.

Now the window is on screen while it is up, no close is pending, and
the compositor counts it active and has not suspended it: both, since
which of the two a lock screen or another window in front changes is
the compositor's choice. When the compositor's word changes the app
does what it does at a close and at a Show: out of sight Sync is told
that no conversation is open, so a text is stored unread and notified;
in sight again the open conversation is read and its notification
withdrawn. Opened waits for it too: a conversation is read once its
window is on screen in this sense, not because the window was made or
the conversation opened in it. A window that is visible beside the
active one counts as not on screen, and its texts notify until it is
the active one. Under --headless the log has the compositor's word at
each change after the window is made.

Tested: on the bench, the build before against this one on KWin 6.8.0,
a text for the open conversation in each state of the window. Behind
KWin's lock screen, behind another application's window, minimised and
with the display off it was stored read with no notification; it is
stored unread and notified, and the notification goes when the window
is on screen again. KWin reports the window not active behind the other
application, suspended with the display off, and both under the lock
and minimised. A conversation opened while the app has no window and
another application is active gets a window KWin makes the active one,
and is read; one opened in a window that is behind another
application's stays unread until that window is active.
2026-11-18 01:13:56 +01:00
..
ImsdMessages-Edit.cppm Ui, main: the input method, the app id, and touch through the pointer path 2026-11-18 01:12:27 +01:00
ImsdMessages-Gesture.cppm Gesture, Ui, project: Crafter.Graphics at 364d210, whose pointer and touch events carry their time 2026-11-18 01:13:56 +01:00
ImsdMessages-Model.cppm ci: build the aarch64 flatpak and publish it 2026-11-18 01:13:56 +01:00
ImsdMessages-Number.cppm main: show the window; --screenshot and --quit-after 2026-11-18 01:12:27 +01:00
ImsdMessages-Store.cppm Store, Sync, main: a deleted text stays deleted 2026-11-18 01:12:27 +01:00
ImsdMessages-Sync.cppm Store, Sync, main: a deleted text stays deleted 2026-11-18 01:12:27 +01:00
ImsdMessages-Time.cppm Time: ISO 8601 stamps, civil dates and the captions 2026-11-17 06:14:18 +01:00
ImsdMessages-Wrap.cppm Wrap: word wrap and ellipsis over a measure function 2026-11-17 06:14:18 +01:00
ImsdMessages.Bus-Appearance.cppm Bus, Ui, main: the system's appearance, dark or light and its accent 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Background.cppm Bus, main: start at login through the Background portal 2026-11-18 01:12:28 +01:00
ImsdMessages.Bus-Client.cppm Bus: the GDBus client, imsd's dictionaries, the notifier and the owned name 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Instance.cppm Bus: the GDBus client, imsd's dictionaries, the notifier and the owned name 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Notifier.cppm Ui, main: the new-conversation screen and the long-press sheets 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus-Variant.cppm Bus: the GDBus client, imsd's dictionaries, the notifier and the owned name 2026-11-18 01:12:27 +01:00
ImsdMessages.Bus.cppm Bus, main: start at login through the Background portal 2026-11-18 01:12:28 +01:00
ImsdMessages.cppm Ui: the compose field and the send bar 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-App.cppm Ui, project: on screen means active and not suspended; Crafter.Graphics at c006519 2026-11-18 01:13:56 +01:00
ImsdMessages.Ui-Canvas.cppm Ui, project: on screen means active and not suspended; Crafter.Graphics at c006519 2026-11-18 01:13:56 +01:00
ImsdMessages.Ui-Compose.cppm Ui, main: the input method, the app id, and touch through the pointer path 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-Loop.cppm Ui: the window on Crafter.Graphics, driven from the GLib main loop 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui-Screens.cppm Ui, main: the input method, the app id, and touch through the pointer path 2026-11-18 01:12:27 +01:00
ImsdMessages.Ui.cppm Ui, main: the new-conversation screen and the long-press sheets 2026-11-18 01:12:27 +01:00