After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 325915 - weather applet doesn't work correctly in vertical panel
weather applet doesn't work correctly in vertical panel
Status: RESOLVED FIXED
Product: gnome-applets
Classification: Other
Component: gweather
2.13.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-applets Maintainers
gnome-applets Maintainers
: 350271 (view as bug list)
Depends on:
Blocks: 328866
 
 
Reported: 2006-01-05 21:50 UTC by Sebastien Bacher
Modified: 2010-01-24 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
place_widgets in update_finish (506 bytes, patch)
2006-03-20 14:31 UTC, Joshua Crawford
none Details | Review
Updated patch for 2.14 (623 bytes, patch)
2006-06-16 09:28 UTC, Joshua Crawford
none Details | Review

Description Sebastien Bacher 2006-01-05 21:50:51 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."
Comment 1 Máirín Duffy 2006-01-28 17:31:46 UTC
I added a block against bug 328866 ("Applets don't look right in vertical
panel")
Comment 2 Joshua Crawford 2006-03-20 14:31:43 UTC
Created attachment 61619 [details] [review]
place_widgets in update_finish

redisplay applet after updating temperature
Comment 3 Joshua Crawford 2006-06-16 09:28:27 UTC
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.
Comment 4 Danielle Madeley 2006-07-23 14:12:51 UTC
This may be part of bug #170708.
Comment 5 Danielle Madeley 2006-08-07 14:46:05 UTC
*** Bug 350271 has been marked as a duplicate of this bug. ***
Comment 6 Danielle Madeley 2006-08-07 15:02:41 UTC
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.