Skip to content

Word Wrapping Breaks in Compact, Bubble Message Layouts #140

@perhapskhat

Description

@perhapskhat

Describe the bug

Word wrapping seems to break in Compact and Bubble message layouts when editing a message, or if a sent message either is a reply or contains an embed.
I have tested this in both qutebrowser and LibreWolf and this issue occurs in both, ruling out any weird browser rendering issues.

Editing a somewhat lengthy message in the Modern message layout:

Image

Editing the same message, but in the Compact message layout:

Image

Editing The Same message, but in the Bubble message layout:

Image

A message containing an embed in the Modern message layout:

Image

The same message, but in the Compact message layout:

Image

The same message, but in the Bubble message layout:

Image

Notably, for sent messages, the wrapping only seems to break once the window becomes small enough that it'd normally just be trimming off the element in question in the Modern message layout. I assume this might be due to it applying that trimming to the whole message body in the other layouts.

Image

Reproduction

  1. Set Sable to either the Compact or Bubble message layouts.
  2. Either edit a message, or view a message containing an embed, with the window small enough for the quoted text/embed to not fit.

Expected behavior

Word wrapping works as it does on the Modern message layout.

Platform and versions

1. OS: Arch Linux
2. Browsers: qutebrowser v.3.6.3, LibreWolf 148.0-1
3. Sable Version: Sable v1.3.3 (8ed41cb)
4. Matrix Homeserver: matrix.org

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions