Messages app for imsd messages dbus
- C++ 94.2%
- Shell 3.9%
- Python 1.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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. |
||
| .forgejo/workflows | ||
| assets | ||
| implementations | ||
| interfaces | ||
| packaging | ||
| tests | ||
| utilities | ||
| .gitignore | ||
| AGENTS.md | ||
| FUNDING.yml | ||
| LICENSE | ||
| project.cpp | ||
| README.md | ||
imsd-messages
The SMS app for imsd on Linux
phones. imsd 2.0.0 carries texts over IMS and keeps them until a messaging
app takes them; this is that app. It speaks imsd's
net.catcrafts.IMS1.Messaging D-Bus interface: no ModemManager, no
modem.
Install the flatpak (aarch64) from the Catcrafts remote; its runtime comes from Flathub:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists catcrafts https://flatpak.catcrafts.net/catcrafts.flatpakrepo
flatpak install catcrafts net.catcrafts.ImsdMessages
It asks the desktop to start it at login without a window. To stop that:
flatpak permission-set background background net.catcrafts.ImsdMessages no
rm -f ~/.config/autostart/net.catcrafts.ImsdMessages.desktop
Building
This project uses Crafter.Build:
crafter-build # the executable
crafter-build test # the unit tests
crafter-build lint # the house-style rules
The flatpak's build is in AGENTS.md.
License
GPL-3.0-only - see LICENSE. The bundled font (Noto Sans) is under the SIL Open Font License 1.1, see assets/OFL.txt.
Funding
https://catcrafts.net/shop/donation - see FUNDING
Copyright
Copyright (C) 2026 Catcrafts® catcrafts.net