Bug 464599

Summary: Plasmoid systemmonitor: Return key does not confirm sensor name change.
Product: [Plasma] plasmashell Reporter: mrfrh <mrfrh>
Component: System Monitor widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahiemstra, bugseforuns, notmart
Priority: NOR    
Version First Reported In: 5.26.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description mrfrh 2023-01-21 16:36:06 UTC
SUMMARY
While renaming a sensor, the Return key does not confirm a sensor name change. Instead, Return closes the settings window and the sensor name stays in edit mode.

STEPS TO REPRODUCE
1. Open the settings of any systemmonitor plasmoid and navigate to sensor details category
2. Initiate renaming of a sensor by clicking on the edit button, change the name of the sensor
3. Press the Return key

OBSERVED RESULT
The settings window is closed, the renaming of the sensor is not completed (when opening the settings again, the sensor name is still in edit mode).

EXPECTED RESULT
Pressing Return/Enter after editing the name should confirm the name (like clicking on the checkmark).

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
I'll submit a merge request to solve this issue.
Comment 1 Patrick Silva 2023-01-21 21:53:03 UTC

*** This bug has been marked as a duplicate of bug 442692 ***