Bug 461036

Summary: Link preview not disappearing, when channel was switched
Product: [Applications] NeoChat Reporter: Jan Bidler <janbidler00>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Bidler 2022-10-26 19:52:02 UTC
SUMMARY
If you switch the channel, while the mouse is hovering over a link preview, the link preview will persist until one hovers over a new link again.


STEPS TO REPRODUCE
1. Open a room, and hover your mouse over the link
2. Switch channels with ctrl+PageUp

OBSERVED RESULT
The link preview in the lower left corner will now be shown until one hovers over a new link again, it will even persist during other channel switches

EXPECTED RESULT
The link preview should be gone once the channel has been switched.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
NeoChat Version: 22.09
Comment 1 Bug Janitor Service 2022-11-27 11:47:00 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/671
Comment 2 Carl Schwan 2022-11-27 12:07:54 UTC
Git commit bad15cadd17a83dffc21d46888717e24dff359e9 by Carl Schwan, on behalf of James Graham.
Committed on 27/11/2022 at 12:07.
Pushed by carlschwan into branch 'master'.

Fix link preview persisiting when room changed

Clear the hovertext on room change

M  +1    -0    src/qml/Page/RoomPage.qml

https://invent.kde.org/network/neochat/commit/bad15cadd17a83dffc21d46888717e24dff359e9