Skip to content

Fix tall received message bubbles losing their fill in the context menu - #6357

Open
hw0102 wants to merge 1 commit into
signalapp:mainfrom
hw0102:bugFix/LongMessage
Open

hw0102 wants to merge 1 commit into
signalapp:mainfrom
hw0102:bugFix/LongMessage

Conversation

@hw0102

@hw0102 hw0102 commented Oct 6, 2026

Copy link
Copy Markdown

Contributor checklist

Administrative:

Commits and testing:

  • My commits are rebased on the latest main branch.
  • My commits are well-structured for review.
  • My change has been thoroughly tested, and I am not aware of any regressions to existing features or behaviors.
  • I have tested my contribution on these devices:
  • iPhone 16 Pro, iOS 27.0
  • iPhone 18 Pro, iOS 27.0

Description

In chats with a wallpaper, received bubbles are filled by a blurred wallpaper image that is only as tall as the screen. A bubble taller than that (a long message, or a larger text size) had no fill past the image, so text overflowed its background in the long-press preview. I am able to reproduce this issue reliably on an iPhone 16 Pro running iOS 27.0.

Now uncovered area is filled with the wallpaper's average color, computed once per blurred image. This is a personal call for this change. Would love to get the team's take on this as this introduces a slight visual change when this edge case is hit.

Units test are added to prevent future regressions. I have tested the fix in a simulator by manually sending a longer-than-screen-height text and changing font size to large. The full Signal scheme passed with 1,663 tests passed, 0 failed and 12 skipped, out of the total 1,675 tests.

Fixes #6356

In chats with a wallpaper, received bubbles are filled by a blurred
wallpaper image that is only as tall as the screen. A bubble taller than
that (a long message, or a larger text size) had no fill past the image,
so text overflowed its background in the long-press preview.

Fill the uncovered area with the wallpaper's average color, computed
once per blurred image.

Fixes signalapp#6356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long message overflows on long tap

1 participant