Bug 461036 - Link preview not disappearing, when channel was switched
Summary: Link preview not disappearing, when channel was switched
Status: RESOLVED FIXED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-26 19:52 UTC by Jan Bidler
Modified: 2022-11-27 12:07 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-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