doesn't scale on XFCE / corrupted display

Bug #1428545 reported by Kalsan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
System Load Indicator
New
Undecided
Unassigned

Bug Description

As you can see in the attached screenshot, indicator-multiload does not scale on my xfce4-panel. It should be between the scissors-symbol and the networkmanager WiFi bars. Also, it doesn't move / refresh when it's so small.
Interestingly, it randomly appears correctly for about 0.1 seconds from time to time. This can occur every five seconds or only once in three minutes and there is no regular pattern at all. Also, this flickering is not related to any input I give the computer. The little tiny leftowvers you can see in the screenshot contain a frozen miniature-version of the last displayed flickering.
Playing around with the options didn't help. The bug also occurs on my other desktop environment, Cinnamon.
Compiled from master (stable) on Arch Linux.

Revision history for this message
Kalsan (info-kalsan) wrote :
Revision history for this message
Michael Hofmann (mh21) wrote :

Hi Kalsan,

yes that is a problem with the indicators in these desktop environments. There is nothing I can do about it :-(. It works in ubuntu/unity, which is the reference how it should work.

Cheers
  Michael

Revision history for this message
Kalsan (info-kalsan) wrote :

Interestingly, 0.3 worked without problems. This only occures since 0.4.

Revision history for this message
Kalsan (info-kalsan) wrote :

Solved: indicator-multiload will work correctly (but is forced to small width) using xfce4-snw-plugin.
Thanks for your support!

Revision history for this message
Michael Hofmann (mh21) wrote :

Hi Kalsan,

@0.3: that would be really interesting. At https://launchpad.net/~indicator-multiload/+archive/ubuntu/stable-daily/+packages you can still find 0.3 packages for Ubuntu 12.10 and 13.04 that should be installable directly with sudo dpkg -i *.deb. Could you check whether it is still possible to get 0.3 working on your system just by using an old version?

Thanks
  Michael

Revision history for this message
Kalsan (info-kalsan) wrote :

Hi Michael,
looks like I really suck at compiling. ./autogen.sh results in a broken makefile:

[...]
make[2]: Entering directory '/home/user/Downloads/indicator-multiload-old/data'
  ITMRG indicator-multiload.desktop
  ITMRG de.mh21.indicator.multiload.gschema.xml
  GEN de.mh21.indicator.multiload.gschema.valid
make[2]: Leaving directory '/home/user/Downloads/indicator-multiload-old/data'
Making all in po
make[2]: Entering directory '/home/user/Downloads/indicator-multiload-old/po'
Makefile:164: *** target pattern contains no '%'. Stop.
make[2]: Leaving directory '/home/user/Downloads/indicator-multiload-old/po'
Makefile:463: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/Downloads/indicator-multiload-old'
Makefile:383: recipe for target 'all' failed
make: *** [all] Error 2

Revision history for this message
Michael Hofmann (mh21) wrote : Re: [Bug 1428545] Re: doesn't scale on XFCE / corrupted display

Hi Kalsan,

yeah compiling old versions with po is a pain in the ass. I don't
really know what went wrong :-(.

Michael

2015-03-06 10:50 GMT+01:00 Kalsan <email address hidden>:
> Hi Michael,
> looks like I really suck at compiling. ./autogen.sh results in a broken makefile:
>
> [...]
> make[2]: Entering directory '/home/user/Downloads/indicator-multiload-old/data'
> ITMRG indicator-multiload.desktop
> ITMRG de.mh21.indicator.multiload.gschema.xml
> GEN de.mh21.indicator.multiload.gschema.valid
> make[2]: Leaving directory '/home/user/Downloads/indicator-multiload-old/data'
> Making all in po
> make[2]: Entering directory '/home/user/Downloads/indicator-multiload-old/po'
> Makefile:164: *** target pattern contains no '%'. Stop.
> make[2]: Leaving directory '/home/user/Downloads/indicator-multiload-old/po'
> Makefile:463: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/user/Downloads/indicator-multiload-old'
> Makefile:383: recipe for target 'all' failed
> make: *** [all] Error 2
>
> --
> You received this bug notification because you are a member of System
> Load Indicator developers, which is subscribed to System Load Indicator.
> https://bugs.launchpad.net/bugs/1428545
>
> Title:
> doesn't scale on XFCE / corrupted display
>
> Status in System Load Indicator:
> New
>
> Bug description:
> As you can see in the attached screenshot, indicator-multiload does not scale on my xfce4-panel. It should be between the scissors-symbol and the networkmanager WiFi bars. Also, it doesn't move / refresh when it's so small.
> Interestingly, it randomly appears correctly for about 0.1 seconds from time to time. This can occur every five seconds or only once in three minutes and there is no regular pattern at all. Also, this flickering is not related to any input I give the computer. The little tiny leftowvers you can see in the screenshot contain a frozen miniature-version of the last displayed flickering.
> Playing around with the options didn't help. The bug also occurs on my other desktop environment, Cinnamon.
> Compiled from master (stable) on Arch Linux.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/indicator-multiload/+bug/1428545/+subscriptions
>

Revision history for this message
Kalsan (info-kalsan) wrote :

Haha if even the author says that :-D
In case I find some time (probably below the table?) I'll try to extract it from the deb-file.

Revision history for this message
Michael Hofmann (mh21) wrote :

Hi Kalsan,

I think I start to have some idea where the weird behavior is coming
from. This happens when GTK (badly) tries to scale the status icon in
response to the desktop environment telling it that the icon does not
fit.

Try one more thing with the newer version: open dconf-editor, and
navigate to de.mh21.indicator-multiload.general. There is a
configuration value for the height, which is set to 22 which fits
unity.

Could you see whether there is a value where the indicator looks ok?
It should correspond to the height of the system tray. In that case,
GTK will not try to do any (broken) scaling, resulting in an intact
icon.

I had a similar issue with the i3 window manager, and there setting
the height to 13 (very small system tray) worked.

This is still a bug in the indicator, but the above steps would help
to figure out whether we can easily do sth about it.

Cheers
  Michael

2015-03-09 16:48 GMT+01:00 Kalsan <email address hidden>:
> Haha if even the author says that :-D
> In case I find some time (probably below the table?) I'll try to extract it from the deb-file.
>
> --
> You received this bug notification because you are a member of System
> Load Indicator developers, which is subscribed to System Load Indicator.
> https://bugs.launchpad.net/bugs/1428545
>
> Title:
> doesn't scale on XFCE / corrupted display
>
> Status in System Load Indicator:
> New
>
> Bug description:
> As you can see in the attached screenshot, indicator-multiload does not scale on my xfce4-panel. It should be between the scissors-symbol and the networkmanager WiFi bars. Also, it doesn't move / refresh when it's so small.
> Interestingly, it randomly appears correctly for about 0.1 seconds from time to time. This can occur every five seconds or only once in three minutes and there is no regular pattern at all. Also, this flickering is not related to any input I give the computer. The little tiny leftowvers you can see in the screenshot contain a frozen miniature-version of the last displayed flickering.
> Playing around with the options didn't help. The bug also occurs on my other desktop environment, Cinnamon.
> Compiled from master (stable) on Arch Linux.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/indicator-multiload/+bug/1428545/+subscriptions
>

Revision history for this message
Michael Hofmann (mh21) wrote :

oh and it might be that this only works for "indicator-multiload --trayicon"

Revision history for this message
Kalsan (info-kalsan) wrote :

YEAH MAN!!! --trayicon does the trick! :-)
Sometimes the hardest things can be some simple... thanks a lot!

Revision history for this message
Michael Hofmann (mh21) wrote :

Hi Kalsan,

did you need to specify a different height in dconf or did it work out
of the box?

Cheers
  Michael

2015-03-10 11:51 GMT+01:00 Kalsan <email address hidden>:
> YEAH MAN!!! --trayicon does the trick! :-)
> Sometimes the hardest things can be some simple... thanks a lot!
>
> --
> You received this bug notification because you are a member of System
> Load Indicator developers, which is subscribed to System Load Indicator.
> https://bugs.launchpad.net/bugs/1428545
>
> Title:
> doesn't scale on XFCE / corrupted display
>
> Status in System Load Indicator:
> New
>
> Bug description:
> As you can see in the attached screenshot, indicator-multiload does not scale on my xfce4-panel. It should be between the scissors-symbol and the networkmanager WiFi bars. Also, it doesn't move / refresh when it's so small.
> Interestingly, it randomly appears correctly for about 0.1 seconds from time to time. This can occur every five seconds or only once in three minutes and there is no regular pattern at all. Also, this flickering is not related to any input I give the computer. The little tiny leftowvers you can see in the screenshot contain a frozen miniature-version of the last displayed flickering.
> Playing around with the options didn't help. The bug also occurs on my other desktop environment, Cinnamon.
> Compiled from master (stable) on Arch Linux.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/indicator-multiload/+bug/1428545/+subscriptions
>

Revision history for this message
Kalsan (info-kalsan) wrote :

No dconf hacking, it's all out-of-the-box

Trucosuso (g-jhsus-s)
Changed in indicator-multiload:
status: New → Confirmed
status: Confirmed → New
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.