ui: tooltips on icon buttons, and a count
IconButton names itself in a tooltip after a moment of hover, also while it is disabled (mute or deafen when not connected), and can show a neutral count at its top right (for pins and topics later). Tooltips are desktop only: the new Bridge.desktop is false in the Android app. Tooltip showed once (its Timer turned off its own binding) and stayed open after the pointer left. Both now use Slint's Tooltip element with our TooltipBubble: it opens at the pointer, closes when the pointer leaves, and lets clicks and hover through, which a PopupWindow of our own does not while it is open. A press closes it until the pointer leaves. The bubble sets its own preferred width, up to 400px, so long text wraps: the tooltip's popup takes that width, and a max-width would not narrow it. IconButton's look moves onto an inner rectangle: with an opacity and an animation on its root, Slint inlined it at each of its 100-odd uses, and the tooltip and count alone added 3.3 MB of generated code to a crate whose compile already peaks near 14 GB. Now the generated code is 1.1 MB smaller than before (70.7 MB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AVRENKftQqGoEeswiR9TDQ
This commit is contained in:
1 parent
d114444c04
commit
cdedb86b9c
10 files changed
+175
-83
No files matched your search
@@ -21,6 +21,8 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows
|
||||
decoders work without installing FFmpeg.
|
||||
- AV1 decoding through dav1d in every desktop build.
|
||||
- 122 more signed client versions (`Versions.csv`).
|
||||
- Icon buttons show their name on hover (desktop), also while they are
|
||||
disabled.
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -53,6 +55,9 @@ User-visible changes of the apps and the `tsgw` gateway. The format follows
|
||||
|
||||
- The account's avatar is downloaded from its own link; it was asked for
|
||||
as an upload link and refused with HTTP 403.
|
||||
- Hover help in the Stream Studio (a source's error, the status details)
|
||||
shows each time and closes when the pointer leaves; it showed only once,
|
||||
and stayed open until a click.
|
||||
|
||||
## [0.0.1-alpha] - 2026-10-04
|
||||
|
||||
|
||||
Reference in new issue
Block a user