Bug 457689 - Quick actions are on the wrong side for attachments in compact mode
Summary: Quick actions are on the wrong side for attachments in compact mode
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-09 18:10 UTC by Jan Bidler
Modified: 2022-08-22 17:38 UTC (History)
1 user (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-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