Application Indicators too wide

Bug #527267 reported by Fabien Tassin
688
This bug affects 154 people
Affects Status Importance Assigned to Milestone
Indicator Applet
Confirmed
Medium
Unassigned
Shiki-Colors Packaging
Unknown
Unknown
light-themes (Ubuntu)
Fix Released
Low
Kenneth Wimer
shiki-colors-murrine (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

the Application Indicators applet is wider than the regular systray.

3 Indicators icons are slightly bigger than 4 tray icons, incl. the left part.
See the screenshot. The two highlighted boxes are ~100 pixels wide.

With more applications moving to the app indicator, it will result in less usable space in the panel, which in my case is already pretty full.

Tags: patch ui
Revision history for this message
Fabien Tassin (fta) wrote :
Revision history for this message
Vish (vish) wrote :

I'm not sure this is a problem , It looks more organized and well spaced than the cramped icons on the left.
The current spacing can to be left as is .

The indicator-application guidelines mention what apps should and should not use the panel. [from this screenshot itself , the xchat needs to be in the messaging menu ] When we take into account the guidelines , it is probably less common for the apps to over load the panel and have space shortage.

However , the possibility of more apps using the app-indicator and there being no space is probably a valid scenario and probably corner case.

For these scenarios only when there is less space , we should consider reducing the space , in steps, for all the indicators *equally*. [ie , if the normal spacing is 6px on either side of the icon ; once overloaded , it is reduced to 5px for the new icon to be added ; if more apps are launched then reduced to 4px , then 3px => 2px]

Jorge Castro (jorge)
Changed in indicator-application:
status: New → Confirmed
Revision history for this message
LarryGrover (lgrover) wrote :

There are two problems with the wide spacing of the indicator applet. The first is aesthetic: if you have the notification area and indicator applet in the same panel, the difference in spacing is visually jarring. The second is reduced usability: if you have the window list applet and indicator applet on the same panel, the wasted space by the indicator applet causes the window list to lose icons more quickly as the number of open applications increases (see attached screenshot).

Revision history for this message
Rocko (rockorequin) wrote :

I agree that it's a issue. It didn't used to be an issue prior to ubuntu 10.04 because hardly anything used the indicator applet, so I always removed it. Now I am forced to use it if (eg) I want the bluetooth indicator.

The indicator applet is using a standard menu with icons representing the menu headers. The number of pixels allocated for the header width is a fair bit wider than that allocated for the icon width and hence a fair bit wider than required.

I think it would be a useful enhancement if the user could configure the number of pixels allocated for header width, even if only via a setting in gconf-editor.

Revision history for this message
Oded Arbel (oded-geek) wrote :

I also have this problem - with the current Lucid alpha, I have 5 icons in the indicator applet (see screenshot: volume, bluetooth, battery, keyboard and messaging) which take up a whopping 150px out of my 1024px wide laptop screen (almost 15% of screen width).

As I'm very short on screen real-estate with this small screen, I only have 1 panel and even without a window list in it (I exiled it to an auto-hidden dock due to lack of space) I find it hard to fit all the applets and launchers I need to be visible, without the indicator applet taking up 20% more space then it need be.

In the screnshot, compare the icon spacing between the indicator in the middle (the widest spacing), panel launchers on the left side (with medium spacing) and the notification area on the right side (with very little spacing). I think I can fit too more launchers in the panel if the indicator would use spacing similar to what launchers use. I don't think the spacing should be as small as in the notification area but there is a visual problem if different icon collections on the panel use different spacing.

Revision history for this message
Rocko (rockorequin) wrote :

In the latest version (0.3.2-0ubuntu3) it's even worse! The icons are spaced even further apart than before!

Changed in indicator-applet (Ubuntu):
importance: Undecided → Low
Revision history for this message
Jan Nekvasil (jan-nekvasil) wrote :

As the 1024x768 resolution is still used on many older laptops and it's users are often trying to save some precious screen space by reducing number of panels to one, please reconsider the current width of items in indicator-applet. In attached mock-up You can see the default state in comparison with item's width reduced to 32px. I think that's possibly can be a good compromise between the eye-pleasing padding and space-saving (for myself, I'm using 1440x900 on my laptop and still can benefit from that change.).

Vish (vish)
Changed in indicator-applet (Ubuntu):
status: New → Confirmed
Revision history for this message
Jan Nekvasil (jan-nekvasil) wrote :

This seems to be fixed now in 0.3.2-0ubuntu3. Maybe another package update brought the change.

Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

@Jan: I don't see that fix with that version. Could you post an updated screenshot?

Revision history for this message
Jan Nekvasil (jan-nekvasil) wrote :
Revision history for this message
Omer Akram (om26er) wrote : Re: [Bug 527267] Re: Application Indicators too wide

@Jan its fixed for Ambiance but still exists for Radiance (but I dont know
if it is by design.)

On Wed, Mar 10, 2010 at 1:42 PM, Jan Nekvasil <email address hidden>wrote:

>
> ** Attachment added: "fixed-for-me.png"
> http://launchpadlibrarian.net/40675914/fixed-for-me.png
>
> --
> Application Indicators too wide
> https://bugs.launchpad.net/bugs/527267
> You received this bug notification because you are subscribed to
> indicator-applet in ubuntu.
>
> Status in Application Indicators: Confirmed
> Status in “indicator-applet” package in Ubuntu: Confirmed
>
> Bug description:
> the Application Indicators applet is wider than the regular systray.
>
> 3 Indicators icons are slightly bigger than 4 tray icons, incl. the left
> part.
> See the screenshot. The two highlighted boxes are ~100 pixels wide.
>
> With more applications moving to the app indicator, it will result in less
> usable space in the panel, which in my case is already pretty full.
>
>
>

Revision history for this message
Oded Arbel (oded-geek) wrote :

For Ambiance the situation is much better - still wider then toolbar buttons but the fix allows me to fit two more toolbar buttons in the space that was vacated by narrowing the indicator width for 4 indicators.

I'm pretty its safe to remove 2 or 3 more padding pixels from each side of a notification icon - the widest icons (like the battery meter) has about 4 pixels padding from each side.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue has been fixed in the default theme but not the light one, reassigning the bug

affects: indicator-applet (Ubuntu) → light-themes (Ubuntu)
Changed in light-themes (Ubuntu):
assignee: nobody → Kenneth Wimer (kwwii)
Kenneth Wimer (kwwii)
Changed in light-themes (Ubuntu):
status: Confirmed → Fix Committed
Changed in indicator-application:
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package light-themes - 0.1.5.8

---------------
light-themes (0.1.5.8) lucid; urgency=low

  * Fixing panel spacing in Radiance (lp: #527267)
  * Fixing menuitem look in Ambiance
 -- Kenneth Wimer <email address hidden> Thu, 11 Mar 2010 12:15:31 +0000

Changed in light-themes (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Jack Leigh (leighman) wrote :

applets are still taking up about double the amount of space they should for me, especially if you compare the distance between them to the distance between them and the weather and time

Changed in indicator-application:
status: Invalid → New
Revision history for this message
Ted Gould (ted) wrote :

This is a theme setting so I'm marking it as invalid for application indicators. App Indicators are adding no padding of their own, only that which the theme has for menu items.

Changed in indicator-application:
status: New → Invalid
Revision history for this message
Aurélien Leblond (blablack) wrote :

I am not sure it is linked to the theme... I browsed through all the ones available in Ubuntu and still get the exact same issue (c.f. screenshot space between the sound icon and the battery one).

In addition, I set the applet up to not show the envelope for GWibber, Evolution and so on, but now instead of the envelope I have a huge gap (c.f. screenshot space between the sound icon and tomboy).

Revision history for this message
CyrusCT (cyrusct) wrote :

I am experiencing this with 10.04 beta 1 (the new themes are not as bad, but still problematic; I'm using the crux controls in my theme). This is causing menu length problems on my netbook. Could someone direct me to method for fixing this? (preferably a GUI for configuring the applet, but I'll take what I can get.)

On a side note, if anyone knows how to selectively hide or configure the icons showing in applet, that would be a great help too. I used to remove the applet from my panel because I use different IM and email clients, but now that power, volume and bluetooth are there, I'm stuck with it.

Revision history for this message
Conscious User (conscioususer) wrote :

I don't think this is fixed in neither Radiance or Ambiance. In the screenshot (fully updated Lucid Beta), you can see that the two Notification Area itens (NetworkManager and Tomboy) have a noticeable smaller horizontal padding than the indicators in Ambiance. Radiance is exactly the same.

Revision history for this message
ignasi (igp-oenus) wrote :

It looks terrible one week prior to official launch. Check the image.

Revision history for this message
DukeOfContention (duke-fm) wrote :

yeh icons looks nice but gaps between them are terrible ... coz rest of icons on tray got different gaps ;/

Revision history for this message
Robert (robrwo) wrote :

Changing themes does not fix this.

Changed in shiki-colors-murrine (Ubuntu):
status: New → Incomplete
Revision history for this message
Roman Vorobets (roman-vorobets) wrote :

Neither Ambiance nor Radiance theme fix this for me. The issue is especially problematic with the small screen of my Eee PC.

Revision history for this message
Michal Voců (michal-vocu) wrote :

I am using the Human theme and the spacing there is even wider than in Ambiance or Radiance.

Revision history for this message
bergkler (andreas-berg) wrote :

I am using elementary theme and same problem. Actually I checked all themes and the problem remains. If anyone has a solution how to fix this with settings in gtkrc-2.0 would be great if he could post it. I don't like the look at all at the moment :-(

Revision history for this message
Adam Conrad (adconrad) wrote :

I hate to not be on the "this is a theme bug, fix it" bandwagon that everyone else is, but this isn't a theme bug, it's a bug in indicator-applet for overloading the gtkrc panel definitions. I've mangled my human theme to turn off all panel padding, which brings the indicator icons closer to each other, but it doesn't actually fix the bug (there's still more padding in indicator-applet than anywhere else on the panel) and has the nasty side-effect of, duh, removing all padding on the rest of the panel.

So, my clock is now shoved against the right of my screen, other panel applets and icons have zero padding between them, but the indicator-applet icons are still slightly excessively padded (though less so than before the change).

This really needs fixing in the code itself. indicator-applet, like the old skool notification area, shouldn't be using gtkrc panel padding and overloading its meaning while, seemingly, adding even more padding of its own. If we want our icons nearly touching (mobile devices, tiny screens?), we should be allowed that.

Notification Area may have offended some people due to the hideously non-standard ways in which it was used and abused, but the way it rendered icons (shove 'em in, side-by-side, let icon pack designers worry about making sure they don't space stupidly) seemed. Well. Usable.

Revision history for this message
Ben Coleman (oloryn) wrote :

I'll agree this needs to be fixed. See attached screengrab. I don't know the pixel count, but it looks to me like it's using 7 icons of panel space to display 4 icons. W-a-a-a-y too much padding, particularly on this 1024x768-max resolution laptop.

Changed in indicator-application:
status: Invalid → Incomplete
status: Incomplete → New
Revision history for this message
emghazal (emghazal) wrote :

It affects me using 'Clearlooks' theme. I really don't care that the icons with more spacing are 'more organized', all I see is inconsistency with Notification Area. Either decrease spacing in indicator-applet or increase spacing in Notification Area. Or better yet, give users the option to choose the spacing they want.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

I'd suggest to add a configuration setting for defining the distance between each indcator... Also, the "systray" should keep the same distance.

Revision history for this message
Andreas (andreas.n-deactivatedaccount) wrote :

after poking around in the indicator-applet sources i suppose i've found the issue..

before/after comparison of icon spacing: http://i43.tinypic.com/11cfo6g.png

diff against indicator-applet-0.3.7 is attached

Revision history for this message
Felipe Morales (hel-sheep) wrote :

I confirm Andreas patch works. Please include it in next release.

Revision history for this message
quaker (quaker) wrote :

I also confirm, that patch works.

Revision history for this message
Miguel Duarte (home-miguelduarte) wrote :

I hate this bug. I'm using version 0.3.7

Revision history for this message
Ted Gould (ted) wrote :

This is a theme issue, so I'm marking it as invalid for the indicator-application project.

Changed in indicator-application:
status: New → Invalid
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Ted, could you please explain why this is a theme issue and not a problem for indicator-application project? This report includes a patch against indicator-applet that a few people have said resolves the issue. Could you point to a theme that doesn't have this issue as an example for how other themes could fix this?

Revision history for this message
Roman Vorobets (roman-vorobets) wrote :

This is not a theme issue, please fix it in the indicator-application.
The patch works for me, too.

Revision history for this message
emghazal (emghazal) wrote :

+1 for the patch, it works for me as well.
Ted, what theme do you use? Can you show a screenshot of how it looks?

Revision history for this message
Nivelir (z32.nivelir) wrote :

Thank you Andreas for the patch. It works well!
I also hope those gigantic gaps between icons will be reduced in next version.
May be it is good idea to add menu Preferences in which user can adjust size of gaps?

tags: removed: indicator-application
tags: added: patch
Revision history for this message
Karl Martin (klein-km) wrote :

I played around a bit with some theme settings. Ted is actually right as the indicator-application uses a theme setting to generate the spacing around the icons. If you put or change the following line in the default style in your theme's gtkrc the gap between the icons in the panel should disappear (make sure that it is nor overwritten by another style later):

GtkMenuItem::horizontal-padding = 0

However, this setting also affects the menu which looks quite ugly afterwards (no spacing between menu items). To avoid this you can put the following line in the style which is assigned to GtkMenuItem:

xthickness = 5

I think this value should be increased by the same amount as horizontal-padding was reduced.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Ok, this is fine, but why not setting the default value for the indicator horizontal padding to a more reasonable value directly in its sources instead of waiting that every available theme would adapt to it (and we all know that we can't wai that)... So I think that by default the indicator should use a correct padding also if the used gtkrc is not considering it, then if you want to change (increase) it, edit your gtkrc file! This should be the way, not the current one.

Revision history for this message
Mario S. (sm666) wrote :

I agree with Treviño! If the theme setting is fine for every other application except (!) the indicator, than the indicator should fix it. PLEASE use another (more appropriate) setting out of the themes if you have to / want to, but staying with this is really awful! (and lacy ... )

Revision history for this message
splashis (splashote) wrote :

IMHO this ain't a solution. Is there a "real fix/patch" ??

Revision history for this message
John Doe (jodo-deactivatedaccount) wrote :

@Karl Martin: no, this is no solution. Make the changes you suggest and then apply the Theme. Have a look at the "Applications/Places/System" Bar in the Top Panel and you will see why this is no good Idea.

Revision history for this message
OzzyFrank (ubuntu-ozzyfrank) wrote :

It's not a "bug", but a rather silly design flaw. Saw at least one person standing up for it an even managing to justify it, but for the rest of us, we prefer it "cramped", and not have space needlessly wasted like that.

Revision history for this message
Fernando Ossandon (ferossan) wrote :

Can anyone explain how to use the Andreas patch on post #30? Thanks.

Revision history for this message
Evgeny Kolesnikov (evgenyz) wrote :

+1. There can not be any excuse for a such space waste. Fixing this in (hundreds of) themes will break hundreds of other apps that uses MenuBar widget correctly.

Revision history for this message
cement_head (andorjkiss) wrote :

How do I apply the patch?

Revision history for this message
m0sia (m0sia) wrote :

I've used the patch(#30) and added patched applet to my ppa.

sudo add-apt-repository ppa:m0sia

Revision history for this message
Fernando Ossandon (ferossan) wrote :

@m0sia Thanks a lot! works perfect.

Changed in linuxmint:
status: New → Triaged
Revision history for this message
Tobias Richter (tsr-ubuntu) wrote :

I've installed the version of indicator applet with Andreas' patch from m0sia's ppa. It certainly helps, but does not give the same spacing the notification area uses. See the screenshot. There is still extra space.

Revision history for this message
Daniel Castro (castromd) wrote :

I agree that the spacing isn't the same as with notification area but is is sooooo much better! Thanks m0sia. I really hope Canonical's UE team get some sense on this.

Revision history for this message
stenliq (stanislav-schnelly) wrote :

I did a fresh install (10.04.1) on my 10" Asus EEE and what was the first thing i saw? Yeah, you're right.

Four months after release and this design flaw is still present. How sad. Or funny? Tragical anyway.

Ubuntu designers/programmers are doing great job and surely it's not easy to satisfy everyone's needs. But when you have great idea (which this applet really is) and you decide to implement it... you should do it right. You shouldn't release it with obvious design flaws and then do nothing to fix it. Ubuntu is not some garage-made distro with five users and this looks very unprofessional.

I showed default Ubuntu desktop to nine people around me and everyone except one (I've always suspected him to be blind :))) noticed different spacing in panel. Is this really necessary for the flag ship of Linux on desktops?

Revision history for this message
varunH (varunkubuntu) wrote :

How to restore the repository in kubuntu

Revision history for this message
Tomofumi (tomofumi) wrote :

I've installed the ppa from m0sia, and it works for me (Lucid x64).
I think the developers just want to copy the look & feel of OSX, since its indicator icons also have a large spacing...but it is really a bad idea for netbook users. why not just add an option for users to decide on their own??

Changed in indicator-application:
status: Invalid → New
status: New → Invalid
Revision history for this message
fugounashi (fugounashi+launchpad) wrote :

shouldn't the default spacing be the same as used between panel applets?

Revision history for this message
luigifab (luigifab-deactivatedaccount) wrote :

Show my capture, icons 2, 3, 9 and 10 are too large.
This problem is present since the first alpha of Lucid Lynx.

What's the fuck ?

Revision history for this message
fugounashi (fugounashi+launchpad) wrote :

> Ted Gould wrote on 2010-05-21: #34
>
> This is a theme issue, so I'm marking it as invalid for the indicator-application project.
> Changed in indicator-application:
> status: New → Invalid

this bug is still marked as invalid despite 6 months, a patch, and many comments

if all the devs agree this is only a theme issue and not a bug, please make a bug report with the default theme and link to it from here

otherwise can the status etc be updated to something more appropriate?

thanks!

Revision history for this message
Fernando Ossandon (ferossan) wrote :

Any possibility to update the patch for Maverick?
Thanks!

Revision history for this message
hackel (hackel) wrote :

Still present in 10.10. Default Ubuntu desktop looks very ugly as a result. I will probably have to just remove Indicator Applet all together to solve this. The only thing lost is the new sound/volume menu, but I can live with that. Bluetooth, battery, and basic volume control icons can all be added to the notification area separately, and I never use that god-awful messaging menu anyway. Cheers.

Changed in indicator-application:
status: Invalid → Opinion
Revision history for this message
Steve (steve-launchpad) wrote :

I upgraded to Maverick, I use theme human-clearlooks. This is still a problem to me. It is a problem whatever theme I use.

Personally, I don't see this as "Opinion" or "Invalid". The icon spacing is inconsistent. It looks bad. It affects lots of people. There's a patch. It's a bug.

Revision history for this message
Ivan Fomichev (ifomichev) wrote :

I wrote an online petition to Mark Shuttleworth regarding this bug and invite you to sign it http://www.petitiononline.com/buntubug/petition.html

Revision history for this message
krom (krom) wrote :

This is a one of the most annoyable bugs in ubuntu.
Guys, if u can not write a simple panel applet, then dont include it in ubuntu-desktop, until you improve your indian coding madskillz.

Revision history for this message
Omer Akram (om26er) wrote :

krom, which version of ubuntu do you use? the situation is better with light themes, other themes authors need to solve this

Revision history for this message
Fernando Ossandon (ferossan) wrote :

Better? What do you mean Omer? Look at my attachment and compare the space icon between the "Notification Area" (icons at the left) and those in the "Indicator Applet" (center and right side).
BTW, I'm using Maverick and Ambiance stock theme.

Revision history for this message
Steve (steve-launchpad) wrote :

IMHO it is NOT a theme problem, it's a problem with the Indicator Applet. All the themes have too much spacing between the icons. I use Human Clearlooks where it is particularly bad.

However, if this is a problem with the theme, how do we adjust the theme so there is no spacing between icons?

Revision history for this message
Sijie Yang (iyangsj) wrote :

Whether this issue is a bug or not, the most important thing is that if a lot of user are annoyed by that problem, how to slove it.

Revision history for this message
hackel (hackel) wrote :

It would seem that the only way to solve this issue is to basically write a completely new widget for the indicator applet instead of re-using the menu widget. I realize this is less than ideal and is no quick fix, but in light of how big an issue this has become, I think it would be worth it. An icon menu really is quite a different than than a textual menu, and so it makes sense to have a different amount of spacing between the two. I do not believe this would cause any confusion among users nor a loss of consistency with other menus.

Revision history for this message
mikefreeman (mike-freeman-studio) wrote :

I highly recommend the patch in #30 and it's PPA #48! While spacing is not 100% the same as in the Notification Area, the difference between the two is MUCH less noticable. Very well done!

I do not understand how anyone can say this is a theme issue. Could that be explained a little more clearly please? Icon spacing is not a problem anywhere else but in the Indicator-Applet. There is a patch that improves the spacing. It seems obvious that it would be a problem with Indicator-Applet.

Why not just accept the patch, maybe improve on it by allowing user-defined icon spacing, and move on? It would be easier for everyone involved to distribute one patched version than to try to get multiple themes by multiple designers patched (and likely to produce other bad visual side effects) and distributed.

Revision history for this message
cablop (cablop) wrote :

It is not a Theme Issue, for the sake of heaven!
Themes had it's own standards BEFORE you started to use this applet, now you are telling they that they have to rewrite the whole themes with all the side effects of that, that is spacing between menus and other theme sections, just cause you are tooooo lazy to fix your own code and adapt to an ALREADY EXISTING design pattern?
At least give us a place to select by ourselves how to space those things, people, we users of netbooks can't just survive seeing how when you add icons your menus or clock or other elements dissapear just cause one applet is tooooo wide... you can't also expect for us to tweak the whole interface with too many effects aside, like misplacing menu entries and other items just to fix an issue in one AND JUST ONE item in our screens...

sorry for being mad, but i think if you do something new you will be mature enough to accept the responsibility of doing things well for everyone...

and this is not mac... so i think it is not a high priority to look like mac if the community users are not pleasan with it

also it is a usability issue... i can't access the help icon or the clock due to this error, so priority is higher than low...

Revision history for this message
cablop (cablop) wrote :

how can i use this fix on Maverick? is the ppa Lucid only?

Changed in indicator-application:
status: Opinion → Confirmed
Revision history for this message
cablop (cablop) wrote :

A note in why it is not a theme issue and an applet indicator one

the variable used to fix it on themes is:

GtkMenuItem::horizontal-padding

Why are you using a variable for MENU ITEMS to space ICONS?
it is not called applet indicator icon padding or anything like that...

so the bug is using the value intended and designed for a different kind of visual element in screen to space or pad icons in a different context

Revision history for this message
cablop (cablop) wrote :

As a workaround you can remove this applet indicator and almost all icons from it are able to stand up by themselves in the old tray, except for the envelope one and the volume indicator. But you can grab the pulseaudio-mixer-applet to replace the volume icon.
http://www.webupd8.org/2010/04/pulseaudio-mixer-applet-lets-you-change.html
So you can get all your space back and still see batery, network, and so on...

It is ironic that they stated the new design is to save more space, but once removed and went back to the old behavior i have MORE space than with the new applet... meaning the purpose failed to be accomplished at least for some users like me, using Ubuntu on a netbook.

Revision history for this message
Martin Spacek (mspacek) wrote :

@cablop, yes, it looks like m0sia only has the patched indicator-applet compiled for lucid, but not maverick, which I'd love to see.

By the way, even as more stuff seems to be migrating to indicator-applet, both this spacing bug and the inability to customize its contents is, and always has been, enough to make me give it the axe. I have no need for the volume icon. I only lament that now libnotify-mozilla won't leave a visible indicator in the system tray when I have new mail in Thunderbird. Windows XP is a more advanced operating system in this respect. Zing! See Bug #1.

I'd like to remind those interested to sign Ivan Fomichev's petition to the SABDFL at http://www.petitiononline.com/buntubug/petition.html

tags: added: ui
Revision history for this message
m0sia (m0sia) wrote :

I made the same patch for maverick version of indicator applet.
Please check my PPA at https://launchpad.net/~m0sia/+archive/ppa.

Revision history for this message
Martin Spacek (mspacek) wrote :

Thanks m0sia! There is indeed still a fair bit of wasted space around each icon, but it's much better than before. (I'm using the Ambiance theme with Human controls and Humanity icons.) I suppose that's the best that can be done with a menu widget in gtk. Perhaps a custom widget really should be written up for this kind of a use case. But until then, can anyone offer up a good reason why this tiny patch still hasn't been accepted?

Also, I discovered that the volume icon can indeed be removed without having to ditch the whole indicator-applet. You can simply uninstall the volume indicator:

sudo aptitude purge indicator-volume

Same can be done for the message indicator:

sudo aptitude purge indicator-messages

Revision history for this message
cablop (cablop) wrote :

well... i'm living now without this applet indicator, and added the pulseaudio indicator, everything is ok, except i had no replacement of the envelope icon (in fact i didn't liked it, i found no use for it)
i saw a few other bugs solved by removing this applet, like some notifications being shown now and so on

i think we must create a new bug or question asking for people to completely rewrite this applet and using it's own settings rather than misusing settings from menu-items and related

Revision history for this message
MF (mauro-furno) wrote :
Revision history for this message
Mladen Jablanović (jablan) wrote :

You can clearly see the excessive spacing when you click on an item and open a dropdown (see the screenshot). Is there a replacement for keyboard layout switcher, in case I remove indicator applet completely?

Revision history for this message
cablop (cablop) wrote :

the keyboard layout switcher appears automatically if you remove the indicator applet, so don't worry

Revision history for this message
cablop (cablop) wrote :

everything except the useless envelope icon has an alternative

Revision history for this message
cablop (cablop) wrote :

i still insist... i don't understand why the priority is to looks like macintosh rather than make it customizable/USABLE for users?

Revision history for this message
X-Stranger (xstranger) wrote :

Thanks to m0sia for the patched package.
Why not to add patch functionality as an option to the official package?

Revision history for this message
redman (patrick-libert) wrote :

I'm really happy I found this thread, this large spacing between icons was really annoying me.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

For your information, in Unity there's no this bug.

Revision history for this message
cablop (cablop) wrote :

I used m0sia pack, it works nice on my desktop, but it is still too much space for my netbook...
i left a few notes before, the unique icon i cannot restore once removing the applet-indicator was the useless envelope one xD

Revision history for this message
Turbid (turbidit) wrote :

This bug is also relevant for the beta 11.04

Martin Spacek (mspacek)
Changed in hundredpapercuts:
status: New → Confirmed
Revision history for this message
Peshko R. (peshko-us) wrote :

@Marco Trevisan #84

In 11.04 Unity does not have this problem....for those that like Unity. I don't like it and I prefer Ubuntu Classic, which is horrendous in respect of indicator-applet. I hope that m0sia would update his ppa for 11.04.

Revision history for this message
CyrusCT (cyrusct) wrote :

After extensive google-ing, and A LOT of trial and error, I FINALLY figured out how to implement the patch. Since others have requested instructions, but nobody was kind enough to post them, I WILL. That said, I'm sure that there's an easier way than then the one I am about to provide, so I welcome people to post improvements to my methodology. Well, here it is:

----------------------------------------------------------------------------------------------

----- In the terminal type -----

wget https://launchpad.net/ubuntu/+archive/primary/+files/indicator-applet_0.4.12.orig.tar.gz
tar -xzf indicator-applet_0.4.12.orig.tar.gz
cd indicator-applet-0.4.12/src
gedit applet-main.c

----- search for -----

 g_object_set_data(G_OBJECT(menuitem), MENU_DATA_INDICATOR_ENTRY, entry);
 g_object_set_data(G_OBJECT(menuitem), MENU_DATA_INDICATOR_OBJECT, io);

 return;
}

----- and replace it with -----

 g_object_set_data(G_OBJECT(menuitem), MENU_DATA_INDICATOR_ENTRY, entry);
 g_object_set_data(G_OBJECT(menuitem), MENU_DATA_INDICATOR_OBJECT, io);

 gtk_widget_set_name(GTK_WIDGET (menuitem), "fast-user-switch-menuitem");

 return;
}

----- then search for -----

        " GtkWidget::focus-line-width = 0\n"
        " GtkWidget::focus-padding = 0\n"
        " GtkMenuItem::horizontal-padding = 0\n"
        "}\n"
        "widget \"*.fast-user-switch-applet\" style \"indicator-applet-style\""
        "widget \"*.fast-user-switch-menuitem\" style \"indicator-applet-menuitem-style\""

----- and replace it with -----

        " GtkWidget::focus-line-width = 0\n"
        " GtkWidget::focus-padding = 0\n"
        " GtkMenuItem::horizontal-padding = 1\n"
        "}\n"
        "widget \"*.fast-user-switch-applet\" style \"indicator-applet-style\""
        "widget \"*.fast-user-switch-menuitem\" style \"indicator-applet-menuitem-style\""

----- then save the file and close gedit, and enter the following commands -----

cd ..
sudo apt-get build-dep indicator-applet
sudo apt-get install devscripts
sudo ./configure
sudo make
sudo make install

Revision history for this message
CyrusCT (cyrusct) wrote :

Now that I have the patch implemented in 11.04 Natty, I find the following: Indicator Applet Application Menu is also affected by the patch:

For the Ambiance and Radiance themes, this is problematic since the patch removes the spaces between the text, drastically reducing readability.

For other themes, where the patch only represents an improvement for Indicator Applet and not a fix, the portion of the space/gap that is NOT eliminated is necessary to retain good readability for Indicator Applet Application Menu.

This demonstrates that the true nature of the bug is that Indicator Applet is using a padding/spacing/gap methodology that is inappropriate for Indicator Applet, but is appropriate for Indicator Applet Application Menu. Hopefully this will clarify the fact that the bug is NOT with the themes, but with the Indicator Applet, and maybe if we're lucky, the bug will finally get assigned to somebody who is developing Indicator Applet.

Now if I can just manage to use one or less items in Notification Area, I will have something I can live with in the meantime.

____________________
Currently running: Ubuntu 11.04 Natty on Dell Inspiron 1420n, Franken-HP media center, Samsung Q1 UMPC.
http://cyrusct.tk/linux.shtml http://cyrusct.tk/ubuntu.shtml

Revision history for this message
cablop (cablop) wrote :

Yes, it is a design flaw, why they use a menu for an applet indicator? It just makes no sense at all... hopefully they solve the issue... there's also a chance for them to let this issue fade into Obivlion now they're pushing us with Unity

Revision history for this message
redman (patrick-libert) wrote :

m0sia

Are you willing to make a ppa for ubuntu 11.04 ubuntu classic?

Thanks

Revision history for this message
Eugene Romanenko (eros2) wrote :

Found good workagound - crate ~/.gtkrc-2.0 file with content:

----------- cut here -----------
style "mythin"
{
 xthickness = 0
 GtkMenuItem::horizontal-padding = 2
}

widget "*fast-user-switch*" style "mythin"
----------- cut here -----------

You may play with numbers to achieve acceptable result.

Revision history for this message
Igal Koshevoy (igalko) wrote :

eros2 #92: Thank you, your workaround was just what I was looking for to set the padding between icons in the indicator applet to something reasonable.

Revision history for this message
Calendros (calendros) wrote :

On 06/13/2011 08:58 PM, eros2 wrote:
> Found good workagound - crate ~/.gtkrc-2.0 file with content:
>
> ----------- cut here -----------
> style "mythin"
> {
> xthickness = 0
> GtkMenuItem::horizontal-padding = 2
> }
>
> widget "*fast-user-switch*" style "mythin"
> ----------- cut here -----------
>
> You may play with numbers to achieve acceptable result.
>
Yes, It works really well for me. Thank you a lot, it is exactly what I
needed since a long time ago.

Thank you.

Revision history for this message
Martin Spacek (mspacek) wrote :

Thanks eros2! # 92 works perfectly for me in natty. I'm using the Ambiance theme with Human controls and Humanity icons. In this setup, indicator icons were taking up about twice the space before applying this fix.

It's a wonder a Canonical employee couldn't have posted such a fix say a year ago...

Revision history for this message
MBybee (mike-bybee) wrote :

#92 worked perfectly for me on Natty with Gnome Classic and the Ubuntu Studio theme.

Thanks!!

Revision history for this message
aleandro (aleandrodasilva) wrote :

Hi, this an awful bug.

 I tried to use the method of CyrusCT without results although the compilation was ok.

The method of eros2 does function by me. You can play with numbers as posted. Pay attention that you have to remove the applet and to set it again in order to see the results by having changed "the numbers". A very good workaround!!!

Thanks eros2, it was really bad to waste so much space.

Revision history for this message
aleandro (aleandrodasilva) wrote :

Hi again,

 related to this bug I noticed that the applet gets always the gray color. This is mostly unreadable with that color if the background of the systray is too bright or light.

Any way to change the indicator applet color with a similar simple workaround?

Bye

Revision history for this message
Paul Sladen (sladen) wrote :

aleandro: not easily. Currently they come from the SVG icons in the 'ubuntu-mono' package. These are (currently) hard-coded in the SVG files to match the text colour in the Ambiance/Radiance theme.

Revision history for this message
Steve (steve-launchpad) wrote :

Still a problem for me in 11.04 Ubuntu Classic. Please fix it!

Ted Gould (ted)
affects: indicator-application → indicator-applet
Changed in indicator-applet:
importance: Undecided → Medium
Revision history for this message
Eugene Romanenko (eros2) wrote :

Same problem in Precise Pangolin...

Revision history for this message
sokolov (daniel-sokolov) wrote :

The spacing is way too wide, especially on small screens. I have to fret with 800x600 because there are no drivers for Intel GMA 3600 yet. And even when there is, I'll be constrained to 1024 px. The spacing should be adjustable (as should be the number of icons shown, but that is a different story).

Revision history for this message
Bradley M. Froehle (brad-froehle) wrote :

Frustrating. Perhaps the way forward is to figure out the appropriate CSS selector and have that added to the GTK 3.0 themes which ship with Ubuntu.

no longer affects: hundredpapercuts
Revision history for this message
ralphl (lachenmaier) wrote :

I am looking for a fix to this problem (wide spacing of icons in Indicator-applet) for Ubuntu 12.04 Precise Pangolin LTS. Does anybody have one?

no longer affects: linuxmint
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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