Bug 496310

Summary: Timer plasmoid regression: digits no longer scale with plasmoid size
Product: [Plasma] plasmashell Reporter: Mariusz Mazur <mariusz.g.mazur>
Component: Timer widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate
Priority: NOR Keywords: regression
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:

Description Mariusz Mazur 2024-11-15 16:38:26 UTC
SUMMARY
In plasma5 days it used to be the case that I could change the size of the digits by adjusting the size of the plasmoid. This is no longer the case and the digits are hardcoded to be tiny.

STEPS TO REPRODUCE
1. Add timer plasmoid to desktop.
2. Resize it.
3. 

OBSERVED RESULT
Clock icon changes size.
Time display doesn't change size.


EXPECTED RESULT
Time display changes size.
If I'm making the plasmoid larger, it's because I want the actual content (the time) larger. The primary functionality is the timer display, not the clock icon, so I would expect that to get resized.


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.7-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i7-1365U
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics


ADDITIONAL INFORMATION
Comment 1 TraceyC 2025-03-17 20:35:42 UTC
Migrating reports from kdeplasma-addon to plasmashell
Comment 2 Bug Janitor Service 2025-06-02 18:09:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/850
Comment 3 cwo 2025-08-14 13:44:31 UTC
Git commit f7faef0e86ff470e41cc6b41e4214e462fd86fe9 by Christoph Wolk.
Committed on 14/08/2025 at 13:34.
Pushed by cwo into branch 'master'.

applets/timer: improve sizing and resizing

The timer applet has some sizing and resizing issues:
- it's not possible to switch from compact to full representation for
  desktop widgets during runtime; the user has to resize it past the
  switching size, then restart Plasma. This is difficult to discover, in
  particular as resizing the compactRepresentation is mostly useless.
- it's very easy to get the desktop applet display its contents out of
  its boundaries
- the full representation may resize itself on the desktop, breaking
  user expectations about how they place widgets

This change fixes these issues.

M  +2    -4    applets/timer/package/contents/ui/CompactRepresentation.qml
M  +2    -1    applets/timer/package/contents/ui/TimerEdit.qml
M  +17   -3    applets/timer/package/contents/ui/TimerView.qml
M  +1    -0    applets/timer/package/contents/ui/configTimes.qml
M  +4    -1    applets/timer/package/contents/ui/main.qml

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