[Bug 541472] Re: Menu icons should not be 16x16 px

2012-09-18 Thread Matthew Paul Thomas
** Description changed:

- Icons in menus should not use the GTK constant GTK_ICON_SIZE_MENU and
- should instead have a size calculated based on the ascent and descent
- size from the font.  Algorithm to be provided by design.
+ The messaging menu and system menu currently use GTK_ICON_SIZE_MENU for
+ the size of their icons. Unfortunately, GTK_ICON_SIZE_MENU does not
+ change when the system font size changes, and is apparently hard-coded
+ inside GTK.
+ 
+ There should be a signal when the font size changes, and gnome-settings-
+ daemon should update gtk-icon-sizes to reflect the new size.
+ 
+ http://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings
+ --gtk-icon-sizes

** Also affects: gnome-settings-daemon (Ubuntu)
   Importance: Undecided
   Status: New

** No longer affects: indicator-messages

** No longer affects: ayatana-design

** Description changed:

  The messaging menu and system menu currently use GTK_ICON_SIZE_MENU for
  the size of their icons. Unfortunately, GTK_ICON_SIZE_MENU does not
  change when the system font size changes, and is apparently hard-coded
  inside GTK.
  
- There should be a signal when the font size changes, and gnome-settings-
- daemon should update gtk-icon-sizes to reflect the new size.
+ There should be a signal when the font size changes, gnome-settings-
+ daemon should update gtk-icon-sizes to reflect the new size, and menus
+ should be redrawn automatically.
  
  http://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings
  --gtk-icon-sizes

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/541472

Title:
  Menu icons should not be 16x16 px

To manage notifications about this bug go to:
https://bugs.launchpad.net/dbusmenu/+bug/541472/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 541472] Re: Menu icons should not be 16x16 px

2012-09-18 Thread Conscious User
I'm not 100% sure on this, but this might not be very easy to patch. If
I remember correctly, icon sizes are read just once and never again. I
think simply changing the constant would work for *new* icons, but
wouldn't auto-resize the ones already rendered.

It's worth mentioning that the GNOME HIG itself hardcodes icon sizes:

http://developer.gnome.org/hig-book/3.5/icons-types.html.en

so I wouldn't be surprised if implementing auto-resizing is not very
easy.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/541472

Title:
  Menu icons should not be 16x16 px

To manage notifications about this bug go to:
https://bugs.launchpad.net/dbusmenu/+bug/541472/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs