Bug 467106

Summary: URL preview expand button shows the wrong tooltip if button is pressed before tooltip shows
Product: [Applications] NeoChat Reporter: Jack Hill <jackhill3103>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: minor CC: carl, james.h.graham
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jack Hill 2023-03-09 12:05:11 UTC
SUMMARY

STEPS TO REPRODUCE
1. Send a msg with a URL
2. Click the expand button
3. Wait for the tooltip to show

OBSERVED RESULT
"Expand Preview"

EXPECTED RESULT
"Shrink Preview"

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230307
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.1-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2023-11-11 16:42:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1428
Comment 2 James Graham 2023-11-11 17:29:18 UTC
Git commit 4065aa6a2ebff257bc8dcc2a729602919d249f28 by James Graham.
Committed on 11/11/2023 at 18:29.
Pushed by nvrwhere into branch 'master'.

Fix linkpreview tooltip

Fix linkpreview tooltip so that the correct text is always shown.

M  +7    -3    src/qml/LinkPreviewDelegate.qml

https://invent.kde.org/network/neochat/-/commit/4065aa6a2ebff257bc8dcc2a729602919d249f28