Bug 496310 - Timer plasmoid regression: digits no longer scale with plasmoid size
Summary: Timer plasmoid regression: digits no longer scale with plasmoid size
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Timer widget (other bugs)
Version First Reported In: 6.2.4
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-11-15 16:38 UTC by Mariusz Mazur
Modified: 2025-08-14 14:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:


Attachments

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