Bug 455010

Summary: Add emoji button gets unresponsive if "add image" file selection gets cancelled.
Product: [Applications] NeoChat Reporter: Jan Bidler <janbidler00>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Bidler 2022-06-08 08:09:18 UTC
SUMMARY
If the file selection for a custom emoji image gets cancelled, the "Add Emoji" button for custom emojis gets unresponsive until settings are closed and reopened.

STEPS TO REPRODUCE
1. Open Settings -> Custom emoji
2. Fill in a name of your choice
3. Click on the "Add emoji" button
4. Cancel the file picker

OBSERVED RESULT
The "add emoji" button doesnt react to any input from now on

EXPECTED RESULT
The "add emoji" button should react to my clicks

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
NeoChat commit: b6db36a9f2c08d7206f87265492d5e660099fcb0

ADDITIONAL INFORMATION
This shows up in the console if i cancel it:
`qrc:/imports/NeoChat/Settings/Emoticons.qml:105: ReferenceError: rej is not defined`
Comment 1 Bug Janitor Service 2022-08-25 11:10:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/503