GNOME Bugzilla – Bug 325915
weather applet doesn't work correctly in vertical panel
Last modified: 2010-01-24 01:06:55 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=21722 "The gnome panel weather applet does not display correctly when its placed in a vertical panel. It seems like the applet is not getting correct information on panel orientation (vertical vs. horizontal) and the panel dimensions (panel width). The weather-status icon (clouds, sun, etc) is displayed to the left of the temperature, and is partially cut off by the edge of the panel. I have a screen shot illustrating this at: http://users.zoominternet.net/~lgrover/vertical.jpg If if resize the panel, for example, increase the panel width by one pixel -- and even if I immediately set the panel size back to the orignal value -- then the applet displays correctly. I have a screen shot showing the applet after I increased the panel width by one pixel: http://users.zoominternet.net/~lgrover/vertical_resized.jpg The weather applet always displays correctly in a horizontal panel, as shown here: http://users.zoominternet.net/~lgrover/horizontal.jpg If I "fix" the applet by resizing the panel, then it will display correctly for a while, but it will eventually revert to the incorrect display (I'm not sure what triggers this, perhaps logging out and logging back in). This bug is quite repeatable on my laptop (Apple iBook) running 5.10 breezy/powerpc."
I added a block against bug 328866 ("Applets don't look right in vertical panel")
Created attachment 61619 [details] [review] place_widgets in update_finish redisplay applet after updating temperature
Created attachment 67476 [details] [review] Updated patch for 2.14 Call place_widgets() from update_finish() so that in a vertical panel gweather applet redisplays properly.
This may be part of bug #170708.
*** Bug 350271 has been marked as a duplicate of this bug. ***
2006-08-07 Davyd Madeley <davyd@madeley.id.au> * gweather-applet.c: Call place_widgets() from update_finish() so that in a vertical panel gweather applet redisplays properly. Patch from Joshua Crawford <joshua_gordon_crawford@yahoo.com.au>. Closes #325915.