Bug 360996

Summary: timer widget review
Product: [Plasma] kdeplasma-addons Reporter: andreas <kainz.a>
Component: timerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.5.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.26
Sentry Crash Report:
Attachments: timer

Description andreas 2016-03-25 23:42:39 UTC
Created attachment 98092 [details]
timer

icon mode icon is missing (maybe kronometer). can't see anything at desktop mode. In the panel mode it is very difficult to understand how this widget work (mouse wheel) there should be a review of this widget.
Comment 1 Fushan Wen 2022-08-05 15:53:08 UTC
Git commit ba011368af76abc1abbacab1ccce8075e45a6ae1 by Fushan Wen.
Committed on 05/08/2022 at 15:19.
Pushed by ngraham into branch 'master'.

applets/timer: add compact representation

The compact representation has 5 layout forms:

1. inPanel, Horizontal: [Icon][Column to show the title and the
   remaining time]
2. inPanel, Vertical: [Column to show the title and the remaining time
   in seconds]
3. Desktop, width is enough to contain the icon and the remaining time
   in a row: [Icon][Column]
4. Desktop, width is not enough: [Icon]
                                 [Column]
5. Desktop, both width and height are not enough: [Icon]

The added compact representation also enables tab focus in the applet.
Related: bug 301861, bug 304923, bug 347492, bug 395182, bug 399930, bug 430289, bug 452701
FIXED-IN: 5.26

A  +200  -0    applets/timer/package/contents/ui/CompactRepresentation.qml     [License: GPL(v3.0+)]
M  +9    -2    applets/timer/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/commit/ba011368af76abc1abbacab1ccce8075e45a6ae1