https://bugs.kde.org/show_bug.cgi?id=491624
Bug ID: 491624 Summary: Custom Duration oddities in Power Management settings Classification: Plasma Product: Powerdevil Version: 6.1.4 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: john....@pelago.org.uk CC: m...@ratijas.tk, natalie_clar...@yahoo.de Target Milestone: --- Created attachment 172541 --> https://bugs.kde.org/attachment.cgi?id=172541&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.