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 75189 - Clock applet font size should change depending on the size of the panel
Clock applet font size should change depending on the size of the panel
Status: RESOLVED NOTABUG
Product: gnome-panel
Classification: Other
Component: clock
2.0.x
Other All
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-03-18 03:21 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Dave Bordoley [Not Reading Bug Mail] 2002-03-18 03:21:49 UTC
Clock panel font size should change depending on the size of the panel.
This is important for accesibility for users with impaired vision.
Comment 1 Luis Villa 2002-03-19 01:03:36 UTC
Hrm. Should this really be 'all panel fonts should resize'? None of
them do ATM, do they?
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-03-19 20:35:17 UTC
Yeah it probably should be all applets in general(icons and text)
should resize based on the size of the panel. If you would like i can
Open one bug refering to this and close the few bugs i already opened
as dupes of it. When i reported these i wasn't sure if this was a per
applet problem or panel in general so i filed them seperately (note
most application launcher icons already resize).
Comment 3 Mark McLoughlin 2002-03-20 10:09:26 UTC
No, these are individual applet specific bugs.
Comment 4 Gediminas Paulauskas 2002-04-06 18:39:18 UTC
wait, clock uses the font from your theme. If the user with impaired
vision needs large fonts, the she/he just makes theme font larger.

Alternatively, I believe you can change the font with theme mechanism
something like

widget "clock.GtkLabel" style "large_font"

However, setting custom font was requested way back in bug 22405.
Comment 5 Mark McLoughlin 2002-04-10 12:06:49 UTC
Gediminas: maybe we could markup the label with <big> or <small> if
the panel is x-large or x-small ?

That way we're not overidding the theme ...
Comment 6 Luis Villa 2002-07-30 16:07:00 UTC
Is this actually p3 in any way? Shouldn't this just be a WONTFIX along
Gediminas' comment?
Comment 7 deepa 2002-07-31 06:34:19 UTC
Initially I marked it coz the bug appears in the list of important 
accessibility bugs in : http://developer.gnome.org/projects/gap/tech-
docs/access-bugs.html as Significant, but not stopper.

Gediminas' : this didn't seem to work for me : 
widget "clock.GtkLabel" style "large_font"

That apart I agree we should be using font size & font's from themes. 
Otherwise we would be overriding themes, which is not good.
Comment 8 Mark McLoughlin 2002-08-05 04:20:50 UTC
No we shouldn't overide the theme font size ...

BUT, if its a large panel, it makes sense to have the clock font
larger than the usual system font size .. and conversly if the panel
is really, really small it makes sense to have the font size smaller.

This can be done with Pango font markup tags without overiding the
theme font size.

I don't think its a huge accessibility issue, as I imagine for
accessibility purposes you would usually change the system font size,
not just make the panel bigger.
Comment 9 deepa 2002-08-05 12:37:08 UTC
Mark, if I try to set markup tags like :
txt = g_strdup_printf ("<span size='xx-large'> %s </span?", utf8);
gtk_label_set_markup (label, txt);

The font size is large but it overrides the themes.

I also tried something like size=bigger, didn't work, and if it did 
then it would be mean that the font is relatively bigger than the 
theme font size. In which case we would not obey the themes. Am I 
overlooking something here ?

> I don't think its a huge accessibility issue, as I imagine for
> accessibility purposes you would usually change the system font 
> size, not just make the panel bigger 

Right, so if we try to change the size using Pango markup tags, then 
we need to do this for all other applet's that have text e.g. 
mailcheck applet. Otherwise it will not look consistent. In which it 
is easier to change the font size in the themes directly :)


Comment 10 Calum Benson 2002-08-28 11:46:38 UTC
I agree this is probably NOTABUG; fonts on the panel should respect
the theme sizes rather than the panel size.  If the font/panel icon
sizes are bigger than the panel size, the panel should auto-resize to
cope (which it now does).  If they're smaller, then you get gaps...
deal with it :o)

(The whole idea of being able to make the panel bigger or smaller in
its Properties dialog-- especially to specific pixel sizes-- is
completely pointless IMHO, at least until you have the freedom to
arrange everything on it in rows if you want to.)