Bug 486112

Summary: In the sidebar settings, when changing the name for a new category/group/note, clicking "Cancel" does nothing
Product: [Applications] KleverNotes Reporter: Alan Rempel <alan.rempel>
Component: SettingsAssignee: Louis Schul <schul9louis>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version First Reported In: 1.0   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the dialog to change the new category name in the settings view of KleverNotes (localized in French), with the mouse pointer over the "Cancel" button

Description Alan Rempel 2024-04-25 14:36:12 UTC
Created attachment 168895 [details]
Screenshot of the dialog to change the new category name in the settings view of KleverNotes (localized in French), with the mouse pointer over the "Cancel" button

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
In the sidebar settings, when changing the name for a new category/group/note, clicking the "Cancel" in the dialog does nothing. (Clicking "Apply" or pressing Escape have the expected behaviour.)

STEPS TO REPRODUCE
1. Go to the "Settings" view.
2. In the "General" tab, in the "Sidebar" section, click on the text field for any of these settings: "Name of new category", "Name of new group", or "Name of new note". (N.B. I am currently using the French localization; the English labels for these settings might be worded a bit differently than what I have guessed here!)
3. Optionally, edit the text in the text field in the dialog that appears.
4. Click the "Cancel" button on the dialog.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The dialog should disappear and no changes should be made to the corresponding setting.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: MX Linux 23
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
(but n.b. I am using the flatpak!)

ADDITIONAL INFORMATION
None.
Comment 1 Louis Schul 2024-04-25 17:52:06 UTC
The following merge request should fix the issue:
https://invent.kde.org/office/klevernotes/-/merge_requests/101

You can update the app and enjoy the fix (in a few minutes)

Thanks for reporting this ! =)