Bug 455010 - Add emoji button gets unresponsive if "add image" file selection gets cancelled.
Summary: Add emoji button gets unresponsive if "add image" file selection gets cancelled.
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-08 08:09 UTC by Jan Bidler
Modified: 2022-08-28 12:52 UTC (History)
1 user (show)

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


Attachments

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