Bug 302015 - weather widget should also show temperature when in panel
Summary: weather widget should also show temperature when in panel
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-weather (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-16 14:29 UTC by Janet
Modified: 2018-01-14 20:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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