Bug 302015

Summary: weather widget should also show temperature when in panel
Product: [Unmaintained] plasma4 Reporter: Janet <bugzilla>
Component: widget-weatherAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: shawn.starr
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.12.0
Sentry Crash Report:

Description Janet 2012-06-16 14:29:55 UTC
When the weather widget is placed in the panel it only shows an icon with the current weather condition. It would be nice if it could also show the expected temperature for the day (or night, when it is night) in the icon or alongside the icon and in the tooltip. Maybe optionally? At least in the tooltip the temperature should be shown below the name of the city so you don't need to click. The temperature text there could be bigger than in the widget window itself so that you see it clearly at one glance.

Reproducible: Always
Comment 1 Friedrich W. H. Kossebau 2018-01-14 20:30:37 UTC
Git commit ad04c42b28d1b197553490cb6e892e8d5f28d331 by Friedrich W. H. Kossebau.
Committed on 14/01/2018 at 20:27.
Pushed by kossebau into branch 'master'.

[weather] Show optionally temperature next to icon in compact mode

Summary:
Adds the logic for showing an alternative component for the compact
presentation, where the temperature is shown next to the icon with the
weather status (done in flow of layout).

Adds also the matching configuration logic to allow the user to enable that
alternative display.
Related: bug 367751
FIXED-IN: 5.12.0

Reviewers: #plasma, broulik

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9872

M  +7    -0    applets/weather/package/contents/config/config.qml
M  +38   -11   applets/weather/package/contents/ui/CompactRepresentation.qml
A  +115  -0    applets/weather/package/contents/ui/IconAndTextItem.qml     [License: GPL (v2+)]
A  +69   -0    applets/weather/package/contents/ui/configAppearance.qml     [License: GPL (v2+)]
M  +20   -2    applets/weather/weatherapplet.cpp
M  +7    -0    applets/weather/weatherapplet.h

https://commits.kde.org/kdeplasma-addons/ad04c42b28d1b197553490cb6e892e8d5f28d331