Bug 457689

Summary: Quick actions are on the wrong side for attachments in compact mode
Product: [Applications] NeoChat Reporter: Jan Bidler <janbidler00>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan Bidler 2022-08-09 18:10:06 UTC
SUMMARY
Quick actions are on the wrong side for attachments in compact mode. They're shown at the very left, instead of at the right.

STEPS TO REPRODUCE
1. Hover mouse over an attachment 

OBSERVED RESULT
The quick actions all get displayed at the very left. Additionally this line gets printed, am assuming it is related:
qrc:/imports/NeoChat/Component/Timeline/TimelineContainer.qml:74:17: Unable to assign [undefined] to QQuickItem*


EXPECTED RESULT
The quick actions should get displayed on the right, as usual.

SOFTWARE/OS VERSIONS
Linux: Arch Linux
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5
NeoChat: self compiled flatpak
Comment 1 Bug Janitor Service 2022-08-20 16:40:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/497
Comment 2 James Graham 2022-08-22 17:38:55 UTC
Git commit 63af4cae7762609060f50220d08f060963291813 by James Graham.
Committed on 22/08/2022 at 17:38.
Pushed by nvrwhere into branch 'master'.

Fix timeline layout for non text messages

Change the target of the hover component and delegate layout to timeline container so it applies to all delegates not just text messages.

M  +3    -3    imports/NeoChat/Component/Timeline/TimelineContainer.qml

https://invent.kde.org/network/neochat/commit/63af4cae7762609060f50220d08f060963291813