Bug 458307 - Possible for two chatboxes to synchronize their chat contents
Summary: Possible for two chatboxes to synchronize their chat contents
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-25 17:54 UTC by Jan Bidler
Modified: 2022-10-14 17:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented 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-08-25 17:54:40 UTC
SUMMARY
The chatbox content is shared if both the main window and a detached window have the same room

- Have room A on main window
- Open room A in detached window
- Type in chatbox of main window
- Notice that what you typed magically appears in detached window

- Type in chatbox of detached window
- Notice that what you typed magically disappears once focus is lost, to match chatbox contents of main window
STEPS TO REPRODUCE
1. Have room A on main window
2. Open room A in detached window
3. Send a message in detached window
4. Type in Chatbox of main window

OBSERVED RESULT
Notice that what you typed magically appears in detached window

EXPECTED RESULT
Chatbox contents should not be synced

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
NeoChat: self compiled flatpak

ADDITIONAL INFORMATION
Video showcasing the scenario
https://invent.kde.org/network/neochat/uploads/c2cb1f24b83cae5c50020e93ecf35ef3/2022-08-21_12-26-47.mp4
Comment 1 Jan Bidler 2022-08-25 17:55:18 UTC
Whoops, accidentally forgot to remove the copy-pasted instructions originally written in the GitLab MR.
Comment 2 James Graham 2022-10-14 17:52:40 UTC
Resolved by https://invent.kde.org/network/neochat/-/merge_requests/518