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 725549 - Gtk FontChooser widget (FontChooserDialog, etc.) should have an API function to disable "preview for every font" in the listview (or let users disable it)
Gtk FontChooser widget (FontChooserDialog, etc.) should have an API function ...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFontChooser
3.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on: 725580
Blocks:
 
 
Reported: 2014-03-03 05:10 UTC by Jean-François Fortin Tam
Modified: 2018-01-04 05:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2014-03-03 05:10:05 UTC
There are users (or application developers) who would prefer to get a "boring" list of fonts to choose from, without a visual preview for every font, and have only one preview area (the gtk entry at the bottom).

It would make sense to have either:
- A method to disable that feature and show only a compact "one row per item" list of font names

- Allow users to disable/enable the feature systemwide, be it with a right-click option or by having a checkbox at the bottom. This would probably be nicer as it doesn't put the burden on application developers, doesn't change the API, and doesn't impose anything on users.

So it could look like this:

[ search field          ]
-------------------------
| Sans                  |
| Lazy fox jumps over...|
|                       |
| Serif                 |
| Lazy fox jumps over...|
|                       |
| Inconsolata           |
| Lazy fox jumps over...|
-------------------------
<==========||======> [10]
[x] Preview all fonts


and


[ search field          ]
-------------------------
| Sans                  |
| Serif                 |
| Inconsolata           |
-------------------------
[ Lazy fox jumps over...]
<==========||======> [10]
[ ] Preview all fonts
Comment 1 Matthias Clasen 2014-03-03 19:32:25 UTC
wontfix, as far as I'm concerned.  but lets see what the designers think
Comment 2 Jean-François Fortin Tam 2014-03-04 16:51:35 UTC
Two alternative (or complementary) approaches:

- Replace the "preview under each font's names" approach by the one that Libreoffice uses: the font is used to render the font's name. An unobtrusive togglebutton/gtkswitch/whatever could be added for the user to enable or disable that behavior.

- Fix bug #725580, but that's kinda hiding the problem under the rug
Comment 3 Matthias Clasen 2014-09-01 17:38:49 UTC
   ... hiding the problem under the rug

You have not really mentioned any problem here, I'm afraid.
"prefer boring" is not a problem description.
Comment 4 Jean-François Fortin Tam 2014-09-01 21:20:38 UTC
Well if you want the full context of what prompted this reflexion of mine and the bug report at hand (and its sister bug #725580), please see the discussion in bug #725506. You probably need to get a stiff drink before reading that though.