Bug 506143

Summary: Manually typing the value in "show last" has no effect
Product: [Applications] plasma-systemmonitor Reporter: Riccardo Robecchi <sephiroth_pk>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: REPORTED ---    
Severity: normal CC: ahiemstra, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.4.1   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screen recording
Second screen recording

Description Riccardo Robecchi 2025-06-25 08:19:51 UTC
SUMMARY
Manually typing the value in the "show last" field has no effect. The only way for the graph to actually update and show the desired period of time is to click on the "+/-" buttons or use the mouse's scroll wheel to change the numbers.

STEPS TO REPRODUCE
1. Edit a page
2. Change the "show last" value of a sensor by typing the number (e.g. change the graphs in the "history" page to 300 seconds)

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The setting is respected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-06-25 16:18:57 UTC
I can't reproduce this on current git master. Can you attach a screen recording that shows you reproducing the problem?
Comment 2 Riccardo Robecchi 2025-06-25 16:30:12 UTC
Created attachment 182657 [details]
Screen recording

As you can see from the attached screen recording, it doesn't happen always, but it does happen! This is on a different machine, too.
Comment 3 Riccardo Robecchi 2025-06-25 16:33:24 UTC
Created attachment 182658 [details]
Second screen recording

Sorry for the spam, I didn't sleep last night and my neurons are even slower than normal.
In this recording you can see that the graph updates once I click on the +/- buttons, whereas it didn't before (see previous recording).
Comment 4 Nate Graham 2025-06-25 22:34:29 UTC
So the problem isn't that entering numbers in the spinboxes doesn't work, but rather than the value you enter isn't picked up if you type numbers with the keyboard?

If that's the case, can you see if it gets picked up if you type numbers and then either press Enter, or focus a different control?
Comment 5 Riccardo Robecchi 2025-06-26 08:05:01 UTC
Yes, that's correct. As for your second question, neither pressing enter, nor focusing a different control helps. Only changing the value through the spinbox does.