Bug 487989

Summary: Stopwatch: Move Reset button to main panel
Product: [Applications] KClock Reporter: John Veness <john.kde>
Component: GeneralAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: normal CC: hanyoung
Priority: NOR    
Version First Reported In: 24.05.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of current layout on desktop

Description John Veness 2024-06-03 19:23:40 UTC
Created attachment 170115 [details]
Screenshot of current layout on desktop

SUMMARY
When wishing to reset the stopwatch, the eye naturally looks for a reset button alongside the current Start/Pause/Resume and Lap buttons. Instead, it's up there in the top bar, which is momentarily jarring for the user.

STEPS TO REPRODUCE
1. Run kclock
2. Click on Stopwatch tab
3. Start the stopwatch
4. Wish to reset the stopwatch
5. Look for the Reset button

EXPECTED RESULT
Reset button is close to the Start/Pause/Resume button and Lap button.

OBSERVED RESULT
Reset button is a bit out of the way, up at the top.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240531
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 450 G4

ADDITIONAL INFORMATION
The other tabs have "Add/New" buttons in the top bar, which makes sense for those functions. Maybe for symmetry there could be the ability to have multiple independent stopwatches, and so have a "New stopwatch" button at the top? But I think it would be fine for there to just be no buttons up there.

Many thanks for reading :)
Comment 1 Bug Janitor Service 2024-07-05 04:00:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kclock/-/merge_requests/125
Comment 2 Devin Lin 2024-07-08 00:31:30 UTC
Git commit f496b6fdbc30396687712e210c681ab2ce62c4dd by Devin Lin, on behalf of Zhangzhi Hu.
Committed on 08/07/2024 at 00:31.
Pushed by devinlin into branch 'master'.

Move reset button to main panel on the "Stopwatch" page

On the "Stopwatch" page, the reset button is on the top bar, which is
momentarily jarring for the user. Move the reset button to main panel
to solve the issue.

M  +9    -13   src/kclock/qml/stopwatch/StopwatchPage.qml

https://invent.kde.org/utilities/kclock/-/commit/f496b6fdbc30396687712e210c681ab2ce62c4dd