imsd-messages/interfaces
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf ca5cd72d65
All checks were successful
Flatpak / check (push) Has been skipped
Flatpak / publish (push) Successful in 4m15s
Ui, Edit: a keyboard sent away stays away until the field is tapped
On Plasma Mobile the on-screen keyboard came straight back after its own
hide key. The key makes the compositor give the keyboard's room back:
the window grows, the message field moves down with the window's lower
edge, and UpdateTextInput told the compositor the caret's new place, as
it does after every frame in which the caret moved. No focus had changed
and no enable went out again (the library sends one per focus); 120 ms
after that state was committed the keyboard was back, nothing else
having been sent.

A caret that only followed the window's growth is no longer told at
once: its box as it was, lower by what the window gained
(CaretFollowedGrowth, in Edit with its tests). It is told with the next
thing that is — a key that moves the caret, the field's tap — and a
window that shrinks back makes the old place true again. The compositor
keeps the old place meanwhile, which lies inside the taller window.

With that telling gone nothing would bring the keyboard back, so a tap
on a field that kept the focus while the window grew asks for it
(AskKeyboard): the text input goes off, the composing word going into
the field as at any reset, and the next frame turns it on again, which
is the request a compositor shows its keyboard for. A tap with the
keyboard up places the cursor as before. The number field of the
new-conversation screen takes the same tap.

Tested: tests/Edit (a caret lower by the window's growth, and one within
a pixel of that; and what is still told: a caret that stayed, one that
moved along its line or by another amount, a window as tall as it was or
lower, a box of another size). On a Fairphone 6 (Plasma Mobile 6.8.2,
plasma-keyboard 6.8.2), by the protocol's trace (WAYLAND_DEBUG): before,
the hide key's resize is followed by set_cursor_rectangle and commit,
and by the keyboard's resize 120 ms after them; with this, nothing is
sent after the hide key's resize and the keyboard stays away, and a tap
on the field sends disable, then enable with the caret's place, the
keyboard is back 85 ms later, and typing goes on. The number field's tap
was not tried on the phone, and no bench on the workstation has an
on-screen keyboard.
2026-11-18 04:20:42 +01:00
..
ImsdMessages-Edit.cppm Ui, Edit: a keyboard sent away stays away until the field is tapped 2026-11-18 04:20:42 +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, Edit: a keyboard sent away stays away until the field is tapped 2026-11-18 04:20:42 +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