I did some extensive digging and found why it is fixed in Adwaita and
not Yaru.

Two weeks ago, the below commit was merged to gnome-shell. It checks to
see if the string width is longer than the box width, and if it is, it
switches to a hardcoded "leightweight" width of 13pt.

commit 80a869e7686adf772512069d7818bda0379190d8
Author: Jonas Dreßler <ver...@v0yd.nl>
Date:   Mon Feb 17 19:59:31 2020 +0100
Subject: dialogs: Use a smaller font-size if the title width exceeds the space

Link: https://gitlab.gnome.org/GNOME/gnome-
shell/-/commit/80a869e7686adf772512069d7818bda0379190d8

This commit is present in the gnome-shell 3.35.91-1ubuntu2 package in
focal.

Looking at the upstream Yaru sources, this "leightweight" tag is already
merged, so I think this makes things Fix Committed.

https://github.com/ubuntu/yaru/blob/master/gnome-shell/src/gnome-shell-
sass/widgets/_dialogs.scss#L32-L47

I built Yaru from source and tested it, and it works. For some reason
the title is not Bold, no idea why, but the user experience is much
better. Attached is a picture from upstream Yaru.

So Fix Committed. Will have to wait for Yaru master to land in Focal.

** Attachment added: "Fixed version with upstream Yaru"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1866259/+attachment/5334734/+files/Screenshot%20from%202020-03-09%2012-33-06.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1866259

Title:
  Text clipped on password overlay dialogues

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1866259/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to