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 657188 - Text size drop-down should use absolute font sizes
Text size drop-down should use absolute font sizes
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Universal Access
3.0.x
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-08-23 18:30 UTC by Federico Mena Quintero
Modified: 2011-08-27 01:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Federico Mena Quintero 2011-08-23 18:30:22 UTC
The new a11y capplet has a "Text size" option with a drop-down menu:

  Small
  Normal
  Large
  Larger

There is a problem in that the actual font size of those items depends on the currently-selected option.  For example, the items are small if "small" is currently selected, and large if "Larger" is selected.

The font sizes of those items should be absolute, so you can actually know what your selected results will be.
Comment 1 Bastien Nocera 2011-08-24 10:18:36 UTC
(In reply to comment #0)
> The new a11y capplet has a "Text size" option with a drop-down menu:
> 
>   Small
>   Normal
>   Large
>   Larger
> 
> There is a problem in that the actual font size of those items depends on the
> currently-selected option.  For example, the items are small if "small" is
> currently selected, and large if "Larger" is selected.

Fair enough.

> The font sizes of those items should be absolute, so you can actually know what
> your selected results will be.

Except that it's where it breaks down. We change the DPI, not the font size, and the font size is actually dependent on the "UI font" used.

So, in all, the font size (thus the content of the drop-down) needs to change every time the selection changes, and it needs to make up for the DPI change. Not quite as straight forward.
Comment 2 Bastien Nocera 2011-08-26 18:21:24 UTC
commit dcd6fe129a18284e223edcb02983e2b7f6b4d2f6
Author: Bastien Nocera <hadess@hadess.net>
Date:   Fri Aug 26 19:20:05 2011 +0100

    universal-access: Keep "text size" items a constant size
    
    https://bugzilla.gnome.org/show_bug.cgi?id=657188
Comment 3 Federico Mena Quintero 2011-08-27 01:44:44 UTC
Fast man!  Thanks!