After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788910 - Text Tool Preset does not restore font face/name after program restart
Text Tool Preset does not restore font face/name after program restart
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
: 796163 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2017-10-13 05:25 UTC by quantumred
Modified: 2018-05-24 18:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description quantumred 2017-10-13 05:25:14 UTC
Reproduce: Save a font (e.g., Helvetica) other than Sans-serif to a Text Tool Preset. Clicking on the saved preset in the Tool Presets dialog works, the font name is displayed in the Tool Options dialog and is correctly applied. Restart the program, click a different text preset, then the desired saved preset, and Sans-serif is always the font face. Other settings work, like font size and color.

Tested with latest version built from GIT under Linux and msys2 (Windows).
Comment 1 Michael Schumacher 2017-10-13 08:15:28 UTC
Confirming.
Comment 2 Massimo 2017-12-14 20:08:15 UTC
Probably the commit linked in 
https://bugzilla.gnome.org/show_bug.cgi?id=771484#c3
was too rushed and reintroduced gimp_fonts_load, but too late, after
presets are already loaded.

Inverting the order of calls to gimp_fonts_load and 
gimp_data_factories_load here:

https://git.gnome.org/browse/gimp/tree/app/core/gimp.c#n785

fixes text tool preset, perhaps the progress indicator
should be adjusted as well.
Comment 3 Timofei Shatrov 2018-04-09 07:01:48 UTC
Can confirm for this to still be present in 2.10rc1. This is very annoying, as I use text tool presets all the time, and now they're basically useless.
Comment 4 Timofei Shatrov 2018-04-28 12:51:25 UTC
Still present in the 2.10 release.

Maybe loading the preset should not reset the font to default font, even if the font is not present in GIMP font cache/on the system? I often copy tool presets from one PC to another, which might not have the same fonts installed yet. It's annoying that the original font (or brush for that matter) setting gets overwritten if I forgot to copy the relevant fonts/custom brushes.
Comment 5 Jehan 2018-05-16 19:58:24 UTC
*** Bug 796163 has been marked as a duplicate of this bug. ***
Comment 6 GNOME Infrastructure Team 2018-05-24 18:31:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/1213.