User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070728 Firefox/2.0.0.5 Build Identifier: Hi, my panel is set to size 27 pixels, I think this is pretty much the default. (Although this shouldn't even matter) The problem is, when I use a script that sets an icon (with the <img> tags) then Genmon seems to display the icon with a fixed size and this makes my panel bigger then it's configured to be. I can decrease the font size, but I have to set it to unreadable sizes ( <5px) to somewhat "fix" the problem. It seems like Genmon is "made" for just 1 panel size? Also it doesn't matter what the size of my icon is: even if I create an icon of 2x2 pixels, Genmon will reserve the same space for it and the problem remains. Screenie: http://dieter.plaetinck.be/files/xfce_genmon_nagios_script.png (3rd icon from the left) Reproducible: Always
Hi, The genmon plugin is not made for a specific panel size. You can display image with this plugin and a small panel size but you have to select a small image. Personally, I use 38 pixels panel with 16x16 images and 8 size font. If you want to use a smaller panel, you should use small images (8x8). I tried with a 16 pixels high panel and a 8 pixels picture (without text) and it worked. The only "special" thing with images and genmon plugin, is that you can't minimize the panel plugin beyond a certain point. For example, with a 16x16 pixels image with no text, you can't have a panel smaller than 20 pixels. I hope I clarified the situation. See you, Jujucece
Apparently, for me it doesn't behave the way you described. It looks like the GTK widget that holds the icon doesn't change size, no matter the size of the icon I pick. Here is a screenshot when using an 1x1 pixels icon: http://users.edpnet.be/dieter/xfce_genmon_1x1_icon.png (mouse hoovering over the icon) I'm using Arch Linux, installed the package from the official repository (package xfce4-goodies), using Xfce 4.4.1
Note in the above screenshot my panel is at the top of the screen, if i put the panel at the bottom and restart xfce, the problem remains
Hi, I finally managed to reproduce the bug, I didn't notice this happened only with the <click> option. The bug is : You can't decrease the panel size below the value the panel had when you add the genmon plugin (I hope my sentence is clear) The bug can be "circumvent" if, after adding the plugin, you change the panel position (one of the 12 positions) and re-put the panel at this original position. I think I know where the bug comes from. I'm taking a look at that, and I'll keep you inform. Bye, Jujucece
Created attachment 1322 Patch for the panel-plugin/main.c file
Hi, I just make a patch to resolve the bug. In fact, it's a stupid bug, I introduce 2 lines doing nothing useful except this bug ;) I'll commit the change to SVN, but as this bug is not too annoying, I'll only produce a new version with the "bug 3437" feature included (in a few weeks I think). Bye, Jujucece
was fixed a while ago.