Bug 490261

Summary: Limit of clipboard history size not indicated
Product: [Plasma] plasmashell Reporter: Blair Noctis <ncts>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: justin, nate, smowtenshi
Priority: VLO    
Version First Reported In: 6.1.2   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Blair Noctis 2024-07-14 11:22:49 UTC
SUMMARY

When configuring history size of the clipboard, I can only find out by trial and error that it has an upper limit of 2048 entries. It's not shown anywhere in the UI, nor in Help (Documentation not Found).

STEPS TO REPRODUCE
1. Open clipboard configuration
2. Try to enter a number larger than 2048
3. Use Arrow Up key to scroll it to the upper limit

OBSERVED RESULT

As in SUMMARY.

EXPECTED RESULT

David Edmundson expressed their opinion that a limit beyond 2048 "is ridiculous": https://bugs.kde.org/show_bug.cgi?id=446112
Although it seems arbitrary, I don't want to argue for that here, but the UI should indicate as such, e.g. "(max 2048)" after the input box, ideally with a reason.

Also, there should be documentation (ideally, I understand hands are limited; or is it too simple to be worth writing one for?), and its configuration should probably go into System Settings.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Manufacturer: Intel(R) Client Systems

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-07-27 20:55:06 UTC
Out of curiosity, what do you need this for? If you just enter a super duper large number like 9999999 into the input box, it'll automatically go down to the maximum value
Comment 2 Bug Janitor Service 2024-08-11 03:46:37 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Blair Noctis 2024-08-12 15:55:25 UTC
(In reply to Nate Graham from comment #1)
> If you just enter a super duper
> large number like 9999999 into the input box, it'll automatically go down to
> the maximum value

No? I tried that (the first try, actually, and multiple subsequent ones) and it just "stuck" at the first "impossible" digit.

> Out of curiosity, what do you need this for?

This wouldn't be "needed" if "automatically go down to the maximum" actually worked. But it's always good UI to let the user know of maximum/minimum values without trial and error in the first place.
Comment 4 Justin Zobel 2024-09-02 13:18:37 UTC
(In reply to Nate Graham from comment #1)
> Out of curiosity, what do you need this for? If you just enter a super duper
> large number like 9999999 into the input box, it'll automatically go down to
> the maximum value

Sadly, it does not. I'm setting this to confirmed, as it is a valid issue, just of very low impact.

I've just checked another combo box in Settings > Sound > Configure Volume Controls and that snaps back to 100% if you try to enter a value higher than 100%.

So this is a consistency issue as well.