Skip to content

[BUG] Expiration date is slightly cut #4917

Closed

Description

@jesmrec

Steps to reproduce

  1. In any space, create a link
  2. Add an expiration date

Actual behaviour

Expiration date is slightly cut on the container

Image

Expected behaviour

Expiration date not cut

Not reproducible in all devices. That was detected in a Pixel 7 with Android 16.

Activity

  1. added this to the 4.9 - Next milestone on Jul 3, 2026
  2. DeepDiver1975 commented on Jul 6, 2026

    @DeepDiver1975
    Contributor

    Confirmed — layout bug in expiration_date_layout.xml (current master).

    Root cause: the inner ConstraintLayout uses android:layout_height="match_parent" (line 44) while its parent LinearLayout is wrap_content (line 29). In a wrap_content parent, the child's match_parent height resolves against the row height set by the tallest sibling — the 35dp icon (lines 36-37) — so the ConstraintLayout is pinned to ~35dp and cannot grow to fit its packed title+value chain.

    • Title expiration_date_title is 16sp bold (two_line_primary_text_size); value expiration_date_value is 13sp (line 68). Stacked, they exceed ~35dp, so the bottom value text clips.
    • Density/font-scale dependent → matches "not reproducible on all devices" (Pixel 7 / Android 16).

    Fix: set the inner ConstraintLayout height to wrap_content (line 44) so the row grows to fit both lines.

    🤖 Generated with Claude Code

  3. joragua commented on Aug 14, 2026

    @joragua
    Member

    This issue will be fixed in: #4952 Work in progress!

  4. self-assigned this
    on Aug 25, 2026
  5. jesmrec commented on Sep 2, 2026

    @jesmrec
    MemberAuthor

    Fixed in #4952

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions