Repository navigation
fix(compose): keep a folded composer inside a narrow reader - #711
Closed
adriadam10 wants to merge 1 commit into
Closed
adriadam10 wants to merge 1 commit into
adriadam10 wants to merge 1 commit into
Conversation
In languages with longer labels than English the folded composer header needs more than the reader's 441-pixel floor, and the composer, drawn over the pane, ran past the window's edge. While a composer covers a pane, the pane now goes no narrower than the composer. Co-Authored-By: Claude <noreply@anthropic.com>
hyprlab
added a commit
that referenced
this pull request
Nov 25, 2026
In languages with longer labels than English the folded composer header needs more than the reader's 441-pixel floor, and the composer, drawn over the pane, ran past the window's edge. While a composer covers a pane, the pane now goes no narrower than the composer. Co-Authored-By: Adrià <57327458+adriadam10@users.noreply.github.com>
Owner
|
Thanks for this, got it merged and it will ship in today's beta |
Owner
|
Agentic reply: 1.50.0-beta.4 is in the repo now. If you've installed Hylki beta as a Flatpak, running flatpak install --user --from https://hylki.hyprlab.co/flatpak/co.hyprlab.Hylki.Beta.flatpakrefAppImage, Debian and RPM betas: See Beta channel for update details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In languages whose labels are longer than English, the folded composer header needs more than the reader's 441-pixel floor (Spanish: 513 px). The composer is drawn as an overlay over the reader, so it was left out of the pane's minimum and, with the window tiled to half of a 1920-pixel screen (960 px, list at 384 px), it ran past the right edge, body text included.
While a composer is in a cover slot, the pane now goes no narrower than the composer's own width request:
cover_slot::mountsetsmeasure_overlayon the slot, so a plainGtkOverlay(the contact card) counts the composer.AdwBreakpointBin, which with breakpoints has no minimum but its own size request, so the slot also raises that request to the composer's while one is in it, followingnotify::width-request(the composer raises its floor when its header folds), and drops it back toREADER_MIN_WIDTHwhen the slot empties.The list gives up the difference; the window grows only if the list is already at its minimum.
Checked with the demo build at 960 and 820 px in Spanish and at 960 px in English (no change there: the folded header fits in 441).