GNOME Fonts takes about 20 seconds to display fonts

  • Done
  • quality assurance status badge
Details
2 participants
  • Luis Felipe
  • Christopher Baines
Owner
unassigned
Submitted by
Luis Felipe
Severity
normal
L
L
Luis Felipe wrote on 15 Jan 2021 19:54
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
AmDj5A4bzlTxPvfcB3NfcfYdqIH600dRaAoHYtJyvJRLmOymwUAKW4nRJMwq2u5HwNlI7_ZD0SDGKGgzkJm0xDqwXJ7q935bnvsuCmZZwJk=@protonmail.com
## Steps to reproduce

The following steps assume you are using Guix System with GNOME desktop.

1. Open the command prompt (ALT+F2)
2. Run gnome-font-viewer


## Expected result

GNOME Fonts starts and displays the fonts available (system and user fonts?) with their corresponding names and thumbnails.


## Unexpected result

+ GNOME Fonts starts, but the font view is empty and there is no visual sign of content being loaded.
+ The fonts are listed after waiting for about 20 seconds.
+ The fonts have no preview thumbnails (I heard Christopher Baines was looking into this particular issue)


## System information

GNOME 3.34.2
GNOME Fonts (gnome-font-viewer) 3.30.0
GNU Guix 5b785b2
On Hard Disk Drive


---
Luis Felipe López Acevedo
C
C
Christopher Baines wrote on 16 Jan 2021 12:18
(address . 45901@debbugs.gnu.org)
87y2gt870d.fsf@cbaines.net
Luis Felipe via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

Toggle quote (19 lines)
> ## Steps to reproduce
>
> The following steps assume you are using Guix System with GNOME desktop.
>
> 1. Open the command prompt (ALT+F2)
> 2. Run gnome-font-viewer
>
>
> ## Expected result
>
> GNOME Fonts starts and displays the fonts available (system and user fonts?) with their corresponding names and thumbnails.
>
>
> ## Unexpected result
>
> + GNOME Fonts starts, but the font view is empty and there is no visual sign of content being loaded.
> + The fonts are listed after waiting for about 20 seconds.
> + The fonts have no preview thumbnails (I heard Christopher Baines was looking into this particular issue)

Hey,

I've just pushed the fix I worked on for thumbnails [1].


Could you guix pull, guix upgrade gnome-font-viewer, remove
~/.cache/thumbnails/fail/ and then re-test?

Thanks,

Chris
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmACy4JfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xfu+Q/+OZPZn6w/C0N+ZX3LGRsD+5jrbXWKfdxK
juqbPvEFBp3i3JTK2uxr2Dcenj6EYkOEncq2iF3ZH1M7Cyc8UQd9UqLiVB26ZD/Q
+VVBNm6DLrvDRgF6jTtvz6TkD86FPZqppUsruuNwKMTTTT0FuCK+peQpjAyKNeUy
J7XGd14Z7vQvC3DJy54QQGM8NHZrdZQ2/t0an+9RyhKYOFdSbCkJegcQxN9PcNIl
KwIpD7qLEjKHe2OCUXcj4rCMt2SiBByS9jWjZWmgCgFQcT6p9EI46ltQWtmTTyoi
kOIHaKcKeKZUNxevi6j4J//WM2iquU5wsnwyqAT0qJN5Hr2L03eWWKtPHT5A8V84
IfwjdUKeCWqSdGtVdS2jPYz9vh1ZVz9A7qKyy63C3Cno+pEPRyA90yQG8ELPqN4L
Ec8FO6dVgn46tVIrzHaRGvb7a4AeEyddzPd99TMQ4hbz/Y1w9D5vLYmZQjHXj4BY
/1JvuARjOrQgbc9aHj1BeVSTccTzxYs9VbcosL+kidYrFJyHHE1JvgNTQr9Ef5zX
tNXM2fKjAs7rLtfHVQF2ZCvJHZCFbDXCsXhqEc2wJnX/H8URlwPx5LPa4HsjyAxO
9mmNPxuefy9nIvGCMlXEZFQUsy5Ej+cC0s/E55C13ySQ5ew9EFA1vTXXL1xMsD8r
cykVsy43ECI=
=SxQD
-----END PGP SIGNATURE-----

L
L
Luis Felipe wrote on 16 Jan 2021 16:24
(name . Christopher Baines)(address . mail@cbaines.net)(name . 45901@debbugs.gnu.org)(address . 45901@debbugs.gnu.org)
Z5QftIVBbQM-HzIcPelxtwBs7ZhbjdWvtwad1yumzDLVd10Rngxaxi_QfnC3LMHksUxnTqGUIx3dH-yjvqhuZZSIvgaqUc4P6AMTyDUw3VU=@protonmail.com
On Saturday, January 16, 2021 11:18 AM, Christopher Baines <mail@cbaines.net> wrote:

Toggle quote (9 lines)
> Hey,
>
> I've just pushed the fix I worked on for thumbnails [1].
>
> 1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=540893a8ccef41436a1c00ae268f74219f9ab220
>
> Could you guix pull, guix upgrade gnome-font-viewer, remove
> ~/.cache/thumbnails/fail/ and then re-test?

I just upgraded and thumbnails seem to be mostly fixed. That is, most of the thumbnails are displayed correctly. Some fonts have no thumbnail at all (Noto fonts like Noto Sans Armenian, Noto Sans Batak, Noto Sans Bengali, ...). And Source Han fonts have a placeholder icon (a blue, lowercase "a" in a white sheet).


The slowness issue seems to be a bug in GNOME Fonts (https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/issues/30).


What should we do with this bug report? Close it or leave it open until it is fixed upstream (I'd prefer the latter)?
C
C
Christopher Baines wrote on 16 Jan 2021 16:52
(name . Luis Felipe)(address . luis.felipe.la@protonmail.com)(name . 45901@debbugs.gnu.org)(address . 45901@debbugs.gnu.org)
87pn2498wb.fsf@cbaines.net
Luis Felipe <luis.felipe.la@protonmail.com> writes:

Toggle quote (17 lines)
> On Saturday, January 16, 2021 11:18 AM, Christopher Baines <mail@cbaines.net> wrote:
>
>> Hey,
>>
>> I've just pushed the fix I worked on for thumbnails [1].
>>
>> 1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=540893a8ccef41436a1c00ae268f74219f9ab220
>>
>> Could you guix pull, guix upgrade gnome-font-viewer, remove
>> ~/.cache/thumbnails/fail/ and then re-test?
>
> I just upgraded and thumbnails seem to be mostly fixed. That is, most
> of the thumbnails are displayed correctly. Some fonts have no
> thumbnail at all (Noto fonts like Noto Sans Armenian, Noto Sans Batak,
> Noto Sans Bengali, ...). And Source Han fonts have a placeholder icon
> (a blue, lowercase "a" in a white sheet).

That's good, I wonder if there are corner cases with the thumbnail
generation that still need addressing.

Toggle quote (6 lines)
> The slowness issue seems to be a bug in GNOME Fonts
> (https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/issues/30).
>
> What should we do with this bug report? Close it or leave it open
> until it is fixed upstream (I'd prefer the latter)?

Sure, it's up to you.
-----BEGIN PGP SIGNATURE-----

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmADC7RfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9XeldA/+NYie3KRw428AOf3MWsOSkW6RY7662D6I
GkdBnVPv17BGTpBMzdktdOLHJUQ3cFiVXu0uJ3mYhjL7eN34J4W+bCOrHYyvdPZV
z9Ozea58NYzpWRoKXx1fkA5DxXD1I2zn09239kKGfSIYunkcx6TahGD32qrnGArF
BrS6WFzzTt8CT4TT1ZyXT/jt5MKDW1LKa4VTQpqhFcPT9xti2ueTJs3tALTi/I8s
09tIlQVGudnvTX7WAwv4KarTmDXxqqFGaxtUJVR2L2oLlRS7kV9zUOV4iL51ygoj
HW5DrInQzlgQuhKEetBdiqGLeDs5R5sRRa6tx/HUT5psJ4N3rXkQkpBAXWnZYh9u
AbI9d4QnCuqwdau7tV57U9jnIk+dVjMeh1i/Zz3bJPCcJwi845NPr0kbfIKQSmXx
viBpxDwsx5ObOoNJhPhxh91J4EBJydvjYqLkhuV/LoDN7ta8l2efWStEJDVKpq3V
JyiadFzirHd8U9gfoKZ+oJZ7+Eekpw1HoOvo4g4hn4NCtISdbkwbKrgt+qw7YEHc
YQvEckuppgP1TCWEeZ+XueGs0GvblU9pBlfk3QnRblxHBKehJyykgYXzibTS62TJ
hPfJJjlhWFHjL0GdLU+XUCF2eA/eDAJMJUTRQeH+llCygd5uG5JnrnVb66dBQ/hu
qjdD8kPJq2U=
=TccU
-----END PGP SIGNATURE-----

L
L
Luis Felipe wrote on 16 Jan 2021 17:28
(name . Christopher Baines)(address . mail@cbaines.net)(name . 45901@debbugs.gnu.org)(address . 45901@debbugs.gnu.org)
ZLeyZAJ63aYtywlQYOqVU37BdpHjXcpp8tinoWMEiXyqiBVWpiigK3bMwLScfZOCytsLsDzQAphpuGTgYBIrde47fmXokfTdXUL8PBPINwQ=@protonmail.com
I'll leave it open then. Thanks for the patch, Chris.
L
L
Luis Felipe wrote on 24 Dec 2021 00:39
GNOME Fonts takes about 20 seconds to display fonts
(name . 45901-done@debbugs.gnu.org)(address . 45901-done@debbugs.gnu.org)
7bPi_dscsNzQYu1x1QmK-kn2qK4YPYepF5IF8yH5ug8fuxoNdwU8gcgx6G_Jw_cs5UHf2MxiCbQAQ5I3FgIGrAzTll1szPV57aH_0memqwA=@protonmail.com
Problem solved in the following versions:

GNOME 40.4

GNOME Fonts 40.0


~~~
guix describe
Generation 52 Dec 23 2021 11:56:54 (current)
guix 037c2b6
branch: master
commit: 037c2b6d3acdf7f5b68ecb3024ef90bce85922df
~~~

---
Luis Felipe López Acevedo
Attachment: signature.asc
Closed
?