keyboard applet flag size to big

Bug #382393 reported by Pius
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-applets (Fedora)
Won't Fix
Low
gnome-applets (Ubuntu)
Triaged
Low
Unassigned

Bug Description

In gconf-editor enabled Desktop>Gnome>Peripherals>Keyboard>Indicator>showFlags

The flag icon is same height as the panel, widht is proportional height. It looks bad.

I found this in google: https://bugzilla.redhat.com/show_bug.cgi?id=471723

Revision history for this message
In , Todor (todor-redhat-bugs) wrote :

Created attachment 323684
screenshot of the applet area

Description of problem:
The keyboard-indicator applet takes all the available space in the gnome panel (panel height). This is even more apparent in the case the user has the settinhs showFlags in gconf turned on. The applet should strive for a more unified look, in order to fit in with the other applets

Version-Release number of selected component (if applicable):
gnome-applets-2.24.1-1.fc10.x86_64

Steps to Reproduce:
1. Download a country flag for your layout (svg or png from Wikipedia will work, size doesn't matter) and place under ~/.icons/flags/<2-char-iso-code>.png
2. Turn on flags: `gconftool-2 -t bool -s /desktop/gnome/peripherals/keyboard/indicator/showFlags true`
3. Select the "Keyboard Indicator" from the available panel applet list and add to panel if not already on.

Actual results:
The flag icon is shown on the panel, and it takes all of the panel's height. The icon width is scaled accordingly to its height. The applet "feels" much bulkier than the other applets.

Expected results:
A more consistent look&feel, some space on top and bottom of the applet.

Revision history for this message
In , Todor (todor-redhat-bugs) wrote :

It would be nice, if the flag icon size is configurable via gconf or gtkrc. Anyway a fast workaround is a small change in the applet code, delimiting it to only 75% of the available height. (maybe that would be even better solved as a setting in gconf, named "zoom" or "scale")

diff -uNr a/gswitchit/gswitchit-applet.c b/gswitchit/gswitchit-applet.c
--- a/gswitchit/gswitchit-applet.c 2008-11-15 07:04:17.000000000 +0100
+++ b/gswitchit/gswitchit-applet.c 2008-11-15 07:06:07.000000000 +0100
@@ -614,7 +614,7 @@
  gtk_widget_show_all (sia->applet);
  gtk_widget_realize (sia->applet);

- max_ratio = gkbd_indicator_get_max_width_height_ratio ();
+ max_ratio = 0.75 * gkbd_indicator_get_max_width_height_ratio ();

  if (max_ratio > 0) {
   switch (orient) {

Revision history for this message
In , Todor (todor-redhat-bugs) wrote :

Created attachment 323685
PATCH limit the size of the applet to 75% of available height

Revision history for this message
In , Todor (todor-redhat-bugs) wrote :

Created attachment 323686
screenshot of the restricted applet

Here's how the applet looks with size fixed at 75% height. The screenshot is only with the icon, but turning off the flags and using text only looks good as well.

Revision history for this message
In , Ray (ray-redhat-bugs) wrote :

Hi Todor,

Do you mind posting your patch upstream at bugzilla.gnome.org?

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
Pius (pius2k) wrote :
affects: ubuntu → gconf (Ubuntu)
affects: gconf (Ubuntu) → gnome-applets (Ubuntu)
Changed in gnome-applets (Ubuntu):
importance: Undecided → Low
Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Revision history for this message
In , Bug (bug-redhat-bugs) wrote :

Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Do you get the same with Lucid or Maverick? Thanks in advance.

Changed in gnome-applets (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gnome-applets (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
MikeR (mike-rechtman) wrote :

27-Jan-2011: Still an issue under Lucid
will not be upgrading until next LTS version, so it would be nice if this nit were fixed

Revision history for this message
MikeR (mike-rechtman) wrote :
Changed in gnome-applets (Ubuntu):
status: Invalid → New
Revision history for this message
MikeR (mike-rechtman) wrote :

bump!!

Revision history for this message
MikeR (mike-rechtman) wrote :

Watched bug in Fedora has been closed (not fixed)
Bug still exists in Ubuntu Lucid which is still supported!

Revision history for this message
Pedro Villavicencio (pedro) wrote :

that needs to be send upstream to bugzilla.gnome.org by someone interested on the issue.

Changed in gnome-applets (Ubuntu):
status: New → Triaged
Revision history for this message
MikeR (mike-rechtman) wrote :

Surely that should be done by the Ubuntu team or person who included this SW in the distro!!

Revision history for this message
MikeR (mike-rechtman) wrote :

bump!

Revision history for this message
MikeR (mike-rechtman) wrote :

This bug does not appear on Maverick, but still exists on Lucid. Isn't there something that can be back-ported to fix it?

Changed in gnome-applets (Fedora):
importance: Unknown → Low
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.