Bug 505695 - UI inside of alarms stretches horizontally further than it should on desktop
Summary: UI inside of alarms stretches horizontally further than it should on desktop
Status: RESOLVED FIXED
Alias: None
Product: KClock
Classification: Applications
Component: General (other bugs)
Version First Reported In: 25.04.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Devin Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-17 12:58 UTC by Michael Fohqul
Modified: 2025-06-22 00:19 UTC (History)
2 users (show)

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


Attachments
Video showing the bug (2.33 MB, video/mp4)
2025-06-17 12:58 UTC, Michael Fohqul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Fohqul 2025-06-17 12:58:40 UTC
Created attachment 182330 [details]
Video showing the bug

SUMMARY
The UI inside of alarms stretches horizontally further than it should when resizing the window.

STEPS TO REPRODUCE
1. Open KClock in a small window
2. Go into `Alarms` section in the sidebar
3. Click on an alarm
4. Stretch the window horizontally

OBSERVED RESULT
UI elements below the time setting start to go out of view

EXPECTED RESULT
UI elements below the time setting remain uniform and stay in the view

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 25.10
KDE Plasma Version: 6.3.91
KDE Frameworks Version: 6.15.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
Comment 1 Filip 2025-06-18 07:22:25 UTC
Can confirm.

KClock 25.04.2
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.15.1-arch1-2 (64-bit)
Graphics Platform: Wayland
Comment 2 Bug Janitor Service 2025-06-21 21:59:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kclock/-/merge_requests/210
Comment 3 Devin Lin 2025-06-22 00:17:58 UTC
Git commit 341b8b7cfb74e15dd0e04341890934d2f5b0d350 by Devin Lin, on behalf of Michael Fohqul.
Committed on 22/06/2025 at 00:17.
Pushed by devinlin into branch 'master'.

Fix alarm form overflowing on larger screens

Set a maximum width of 540 on the inputs in `AlarmForm.qml`.

This prevents them from growing too wide on large displays, and
consequently prevents them from horizontally overflowing.

The 540 value is taken from roughly the width of the inputs on the
settings page to maintain consistency in the UI.

Disclaimer: This is my first time contributing to KDE and working with QML, so I apologise if anything's not up to scratch. I've used LLM assistance in some areas.

M  +5    -0    src/kclock/qml/alarm/AlarmForm.qml

https://invent.kde.org/utilities/kclock/-/commit/341b8b7cfb74e15dd0e04341890934d2f5b0d350
Comment 4 Devin Lin 2025-06-22 00:18:26 UTC
Git commit 9b3836eff4ae421f7e77d52d049c1949238cf0a4 by Devin Lin, on behalf of Michael Fohqul.
Committed on 22/06/2025 at 00:18.
Pushed by devinlin into branch 'release/25.04'.

Fix alarm form overflowing on larger screens

Set a maximum width of 540 on the inputs in `AlarmForm.qml`.

This prevents them from growing too wide on large displays, and
consequently prevents them from horizontally overflowing.

The 540 value is taken from roughly the width of the inputs on the
settings page to maintain consistency in the UI.

M  +4    -0    src/kclock/qml/alarm/AlarmForm.qml

https://invent.kde.org/utilities/kclock/-/commit/9b3836eff4ae421f7e77d52d049c1949238cf0a4