Bug 506143 - Manually typing the value in "show last" has no effect
Summary: Manually typing the value in "show last" has no effect
Status: REPORTED
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.4.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-25 08:19 UTC by Riccardo Robecchi
Modified: 2025-06-26 08:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screen recording (1.73 MB, video/webm)
2025-06-25 16:30 UTC, Riccardo Robecchi
Details
Second screen recording (299.18 KB, video/webm)
2025-06-25 16:33 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
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.