Summary: | weather icons too small in applet display http://bugs.kde.org/show_bug.cgi?id=95460 | ||
---|---|---|---|
Product: | [Unmaintained] kweather-kde3 | Reporter: | Unknown <null> |
Component: | general | Assignee: | geiseri |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aseigo, james.roberts-thomson, koch0121, lofi, mcamen, Stefan.Borggraefe |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screen shot showing reduced weather icon size
Pressed kweather button Makes sure the button is resized in horizontal and ShowAll modes |
Description
Unknown
2004-12-19 15:50:39 UTC
Created attachment 8722 [details]
Screen shot showing reduced weather icon size
Relative to Panel Height, icon size is around 50%. Should be larger and used to
be!
This happens since http://lists.kde.org/?l=kde-cvs&m=110210327907998 Created attachment 8757 [details]
Pressed kweather button
Another screenshot showing the true size of the kweather button.
Confirmed on FreeBSD. Workaround: Open kweather's configuration dialog and cycle around the 'Panel Display Options'. KWeather sometimes does funky miscalculations of the needed fontsize in Icon and Temperature mode, too. Workaround: Open kweather's configuration dialog and cycle around the 'Panel Display Options' (and apply in between). KWeather sometimes does funky miscalculations of the needed fontsize in Icon and Temperature mode, too. Created attachment 10262 [details]
Makes sure the button is resized in horizontal and ShowAll modes
This still exists in the 3.4.0 release. Here is a patch that fixes it for me.
Aaron, can you evaluate the attached patch and check it in if it's the correct fix? Comment 2 indicates that you may have caused this regression. Thanks! :-) SVN commit 422797 by aseigo: ensure button geometry set properly. patch by Simon Koch. BUG:95460 M +1 -0 dockwidget.cpp --- trunk/KDE/kdetoys/kweather/dockwidget.cpp #422796:422797 @@ -169,6 +169,7 @@ m_lblTemp->setGeometry(h+1, 0, w-h, h/3); m_lblWind->setGeometry(h+1, h/3, w-h, h/3); m_lblPres->setGeometry(h+1, 2*h/3, w-h, h/3); + m_button->setGeometry(0, 0, h, h); } else if ( m_mode == ShowTempOnly) { SVN commit 422799 by aseigo: backport button geom fix CCBUG:95460 M +1 -0 dockwidget.cpp --- branches/KDE/3.4/kdetoys/kweather/dockwidget.cpp #422798:422799 @@ -169,6 +169,7 @@ m_lblTemp->setGeometry(h+1, 0, w-h, h/3); m_lblWind->setGeometry(h+1, h/3, w-h, h/3); m_lblPres->setGeometry(h+1, 2*h/3, w-h, h/3); + m_button->setGeometry(0, 0, h, h); } else if ( m_mode == ShowTempOnly) { *** Bug 102237 has been marked as a duplicate of this bug. *** This bug is still present in KDE 3.4.1 :( the bug would still be present in 3.4.1 because it was backported to the 3.4 branch after 3.4.1 was released. |