Bug 304923

Summary: Wrong title position of Timer applet
Product: [Plasma] kdeplasma-addons Reporter: razrfalcon
Component: timerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: friesoft, kde
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.26
Sentry Crash Report:

Description razrfalcon 2012-08-10 12:58:48 UTC
Normal view:
http://storage1.static.itmages.ru/i/12/0810/h_1344603191_6812258_896ef39e3a.png
"Show title" = true :
http://storage2.static.itmages.ru/i/12/0810/h_1344603192_7446023_546f725c55.png
"Show title" = true + "Hide seconds" = true :
http://storage3.static.itmages.ru/i/12/0810/h_1344603193_3594600_e81f4e43f3.png


Reproducible: Always




Opensource ATI driver: 6.14.6-r1
Composityng type: OpenGL
Qt GS: Raster
Comment 1 Bernhard Friedreich 2015-03-29 15:34:00 UTC
Still valid on plasmashell 5.2.2
Comment 2 Justin Zobel 2021-03-09 23:42:25 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 Fushan Wen 2022-08-05 15:53:00 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 347492, bug 360996, 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