Bug 494879

Summary: Exiting settings page while having a note open randomly crashes KleverNotes (flatpak)
Product: [Applications] KleverNotes Reporter: Ali <radicalite>
Component: SettingsAssignee: Louis Schul <schul9louis>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.1.0   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: KleverNotes flatpak about page
log from initial crash
later crash log from reproduction.

Description Ali 2024-10-16 17:49:55 UTC
Created attachment 174900 [details]
KleverNotes flatpak about page

SUMMARY
Opening the settings page while having a note open and then exiting the settings page randomly crashes KleverNotes (flatpak)

STEPS TO REPRODUCE
1. Open KleverNotes flatpak
2. Open a note
3. Open settings
3.5 navigate around (for some reason the app hangs a little bit around the plugins page?)
4. Exit settings page

OBSERVED RESULT
Exiting settings page randomly crashes the app

EXPECTED RESULT
Exiting settings page doesn't crash the app

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6267U CPU @ 2.90GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Graphics 550



ADDITIONAL INFORMATION
Hey fellas! really glad this app is finally avaliable as a flatpak, already prefer it better than marknotes :)
Already lost a bit of work from this crash but it's no biggie since I was mostly transferring stuff from marknotes.
Comment 1 Ali 2024-10-16 17:50:24 UTC
Created attachment 174901 [details]
log from initial crash
Comment 2 Ali 2024-10-16 17:51:21 UTC
Created attachment 174902 [details]
later crash log from reproduction.
Comment 3 Louis Schul 2024-10-17 06:03:42 UTC
Hi, thanks for the report.

I can confirm this bug. 
Sorry for the lost work, I will investigate and try to fix this quickly.

P.S: Thanks for the kind words,  I'm glad you like the app :-)
Comment 4 Louis Schul 2024-10-21 12:16:57 UTC
Fixed by: https://invent.kde.org/office/klevernotes/-/merge_requests/125