Opened 9 months ago

Last modified 4 months ago

#14972 new bug

If you use custom font for OS and run updates with that font, it get really weird

Reported by: konrad Owned by: bonefish
Priority: normal Milestone: Unscheduled
Component: Servers/package_daemon Version: R1/Development
Keywords: Font SoftwareUpdater Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I had the IBM Plex font as my default font for the OS. After running a Softaware update where the updater tried to update my Plex font, the OS couldnt no longer display menus etc. I had to hard reset my system.

Attachments (1)

Skärmavbild 2019-03-22 kl. 19.21.57.png (100.6 KB ) - added by konrad 9 months ago.
Font bug

Download all attachments as: .zip

Change History (4)

by konrad, 9 months ago

Font bug

comment:1 by waddlesplash, 9 months ago

Component: Applications/SoftwareUpdaterServers/package_daemon
Owner: changed from perelandra to bonefish

Probably package_daemon de-activated the font package while it was still in use.

comment:2 by leavengood, 4 months ago

What would be the appropriate fix for this? I guess app_server should be able to fall back to default fonts if the configured one disappears. And then reload if the user chosen one comes back. But that might result in an annoying font flash. Maybe app_server is too aggressive in reloading fonts if the font directory has changes. I haven't looked at that code though.

Feels more like an app_server bug than package_daemon though.

comment:3 by pulkomandy, 4 months ago

Yes, this had already been problematic before package daemon was introduced.

I would say app_server should keep an open file handle to any font file that's in use and not let them go away? Now we need to decide what "in use" means, however.

Note: See TracTickets for help on using tickets.