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 <[email protected]>
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 Desktop
Packages, which is subscribed to gnome-shell in Ubuntu.
https://bugs.launchpad.net/bugs/1866259

Title:
  Text clipped on password overlay dialogues

Status in GNOME Shell:
  Unknown
Status in gnome-shell package in Ubuntu:
  New

Bug description:
  On focal with yaru-gtk-theme 20.04.2, the text in the password overlay
  dialogue boxes is clipped. Possibly the font is too big, or the
  dialogue box not wide enough?

  Attached is a screenshot of attempting to mount an encrypted disk image in
  gnome-disks, and I can also reproduce this issue trying to unlock a SSH key.

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to