Skip to content

Notifications: text overlaps when text-scaling-factor > 1.0 #13835

Description

@sporteka2

Description

When increasing text scaling (text-scaling-factor) through the Cinnamon settings (Settings → Fonts → Text scaling), notifications display incorrectly — lines overlap each other.

Steps to reproduce

  1. Open System Settings → Fonts
  2. Set "Text scaling" > 1.0 (e.g., 1.6)
  3. Wait for any notification (or send one via notify-send)
  4. Observe that text lines in the notification overlap

Expected behavior

Text in notifications should properly adapt to the scaling factor (increase without overlapping).

Actual behavior

Text lines overlap. The notification container does not set line-height, and the block height does not adapt to the text scaling.

Environment

  • Cinnamon: Cinnamon 6.6.7
  • Theme: Mint-Y
  • Font: Ubuntu 10
  • text-scaling-factor: 1.6

Diagnosis

gsettings get org.gnome.desktop.interface text-scaling-factor
→ 1.6000000000000005

/usr/share/cinnamon/theme/cinnamon.css → #notification-body has no line-height

Workaround

Reduce text-scaling-factor to 1.0–1.25 or add custom CSS:

#notification-body {
  line-height: 1.5;
}

Screenshots

See comments below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions