Bug 503483

Summary: Editing Own Replies: Attempting to link to a channel (aka Typing '#') results in a broken channel chooser
Product: [Applications] NeoChat Reporter: Steve Cossette <farchord>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Channel Chooser

Description Steve Cossette 2025-04-28 15:38:49 UTC
Created attachment 180739 [details]
Channel Chooser

When editing one of my own replies in a channel, I tried to link a channel (By pressing '#'). If I do that, it results in a broken (Wrong size?) channel dropdown.

See screenshot. Looks like the width of the dropdown is just set wrong.
Comment 1 Steve Cossette 2025-04-28 15:39:33 UTC
Steps to reproduce: 

1- Reply to an existing message.
2- Edit that reply AFTER posting it, and try to link a channel.

Results in the behavior shown in the screenshot.
Comment 2 Bug Janitor Service 2025-05-14 22:28:23 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/2270
Comment 3 Joshua Goins 2025-05-15 17:39:15 UTC
Git commit 142312d87da46468626ce1648549c7434cda0ffa by Joshua Goins.
Committed on 15/05/2025 at 17:39.
Pushed by redstrate into branch 'master'.

Give completion popup a minimum size when editing an existing message

This was previously fixed to the size of the text area itself, which
could be small. We also have a bug where the text area *itself* is like
one character big, so this helps there too.

The popup is also given a margin of 0 so it is always positioned within
the bounds of the window.

M  +2    -0    src/timeline/ChatBarComponent.qml

https://invent.kde.org/network/neochat/-/commit/142312d87da46468626ce1648549c7434cda0ffa
Comment 4 Joshua Goins 2025-05-15 17:56:35 UTC
Git commit a020db2e0424a648ccb120167154ca8419a40035 by Joshua Goins.
Committed on 15/05/2025 at 17:42.
Pushed by redstrate into branch 'release/25.04'.

Give completion popup a minimum size when editing an existing message

This was previously fixed to the size of the text area itself, which
could be small. We also have a bug where the text area *itself* is like
one character big, so this helps there too.

The popup is also given a margin of 0 so it is always positioned within
the bounds of the window.

(cherry picked from commit 142312d87da46468626ce1648549c7434cda0ffa)

M  +2    -0    src/timeline/ChatBarComponent.qml

https://invent.kde.org/network/neochat/-/commit/a020db2e0424a648ccb120167154ca8419a40035