Bug 508218

Summary: History size input odd behaviour
Product: [Plasma] plasmashell Reporter: Justin Zobel <justin>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: akselmo, nate, qydwhotmail
Priority: NOR    
Version First Reported In: 6.4.80   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Justin Zobel 2025-08-14 03:42:38 UTC
SUMMARY
When editing the History size input box the behaviour is odd.

I was trying to set it as high as possible so I tried to put in as many 9s as possible. It stopped at 999, but then I can hit the up arrow and get higher.

STEPS TO REPRODUCE
1. Open Configure dialog
2. Type in 999 in History size
3. Press Page Up or Up Arrow on keyboard or click the up arrow to the right of the input box

OBSERVED RESULT
It goes higher than 999

EXPECTED RESULT
User can type in 99999999 or similar

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 7600
Comment 1 Justin Zobel 2025-08-14 03:47:41 UTC
OK so I did a bit more testing, and it hits a limit at 2,048. I think it would probably be ideal to specify this on the page to reduce confusion.
Comment 2 Nate Graham 2025-08-14 13:51:56 UTC
The max value is 2048, so it won't let you enter anything higher than that. 999 + one more digit would be higher than that.

Still, this is a bit weird to use, yeah.
Comment 3 Akseli Lahtinen 2025-09-29 11:51:43 UTC
I'm concerned we even allow that high of a number, sounds like recipe for bad time, especially with files.