Observed behaviour
When hovering over a domain connection in the user profile popout, moderately long domain names can wrap at awkward positions even when there is plenty of available screen space.
For example, a domain of around 26 characters can be displayed like this:
I would expect normal or moderately long domain names to remain on one line when enough space is available, with wrapping only being used for genuinely long values.
This is reproducible for me in the web app on a WQHD display with plenty of surrounding space available.
From a quick look at the current code, the compact connection tooltip appears to use the regular
chat.moderatelylongnam
e.de
Tooltip without specifying a custom maxWidth, so it falls back to the default maximum width, while the connection name allows wrapping at arbitrary positions.Reproduction steps
- Add and verify a domain connection with a moderately long domain name (around 25–30 characters is sufficient).
- Open the user's profile popout in the web app.
- Hover over the domain connection icon at the bottom of the profile.
- Observe that the domain tooltip may wrap in the middle of the domain despite plenty of available screen space.
Build information
Stable Web 2026.829.222546, Linux (x64), Firefox 154.0, Locale en-US
Platform
Web, Self-hosting
Evidence
Screenshot showing the awkward wrapping of a moderately long domain in the connection tooltip. Personal and instance-specific information has been redacted.
image