| Summary: | Custom Duration oddities in Power Management settings | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | John Veness <john.kde> |
| Component: | kcm_powerdevil | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | fanzhuyifan, kde, natalie_clarius, nate |
| Priority: | NOR | Keywords: | usability |
| Version First Reported In: | 6.1.4 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Custom Duration dialog | ||
Created attachment 172541 [details] Custom Duration dialog SUMMARY The Custom Duration dialog box that pops up in System Settings, Power Management, seems to have confusing behaviour. STEPS TO REPRODUCE 1. Open System Settings 2. Go to Power Management page 3. Choose any power profile tab 4. Choose either of the timeout dropdowns (for Suspend Session, or Turn off screen) and choose Custom 5. Try to type numbers greater than 9999 OBSERVED RESULT Difficult to describe, but see video. You'll notice first off I type in 5000 which shows correctly as "5,000" but then I add another zero which shows incorrectly as "5,0000" (should be "50,000"). When I press OK it changes to 5000 anyway. I enter custom again and change the 5000 to 50000 and click OK, and it changes to 1. I enter custom again, type 50000, then use the up arrow to increment. Instead of incrementing to 50001 it increments to 5001. If I type in 9999 then increment, it will allow numbers greater than 9999, which I'm not sure is intentional. EXPECTED RESULT Custom duration should work more sanely! SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240811 KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 Kernel Version: 6.10.3-1-default (64-bit) Graphics Platform: X11 ADDITIONAL INFORMATION Note that the similar Custom Duration dialog in System Settings, Screen Locking seems to act sanely. It seems to allow timeouts up to 9999 minutes, doesn't allow exceeding that, and doesn't display the same oddities described above as the one in Power Management. I wonder if it's some mismatch as to whether the textbox should allow maximum four digits or maximum five, where the intention was to limit it to four digits, but which sometimes accepts five digits.