Bug 301861 - Timer widget can be scaled down too far
Summary: Timer widget can be scaled down too far
Status: RESOLVED FIXED
Alias: None
Product: kdeplasma-addons
Classification: Plasma
Component: timer (show other bugs)
Version: 5.3.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks: plasmoid-resizing
  Show dependency treegraph
 
Reported: 2012-06-13 21:08 UTC by Janek Bevendorff
Modified: 2022-08-05 15:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.26
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Bevendorff 2012-06-13 21:08:31 UTC
The Timer widget can be scaled down until it breaks.

Reproducible: Always



Expected Results:  
Widget should have a decent minimum size.
Comment 1 Nate Graham 2020-12-10 18:46:34 UTC
Git commit b93baf5da0f1e1d993cda906c4823d205d3cc525 by Nate Graham, on behalf of Łukasz Korbel.
Committed on 10/12/2020 at 18:46.
Pushed by ngraham into branch 'master'.

Add settings page for predefined timers

Add new page in settings of Timer applet for editing "predefined timers" values. Those values are used in context menu of the applet.
Related: bug 353091, bug 397841
FIXED-IN: 5.21

M  +5    -0    applets/timer/package/contents/config/config.qml
D  +0    -40   applets/timer/package/contents/ui/TimerDigit.qml
A  +162  -0    applets/timer/package/contents/ui/TimerEdit.qml     [License: GPL (v2+)]
M  +15   -68   applets/timer/package/contents/ui/TimerView.qml
A  +175  -0    applets/timer/package/contents/ui/configTimes.qml     [License: GPL (v2+)]
M  +13   -13   applets/timer/package/contents/ui/main.qml
M  +5    -0    applets/timer/plugin/timer.cpp
M  +5    -0    applets/timer/plugin/timer.h

https://invent.kde.org/plasma/kdeplasma-addons/commit/b93baf5da0f1e1d993cda906c4823d205d3cc525
Comment 2 Fushan Wen 2022-08-05 15:52:52 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 304923, 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