Bug 467163

Summary: Chat view scrolls when selecting text vertically
Product: [Applications] NeoChat Reporter: Hugo Osvaldo Barrera <hugo>
Component: GeneralAssignee: Tobias Fella <fella>
Status: RESOLVED FIXED    
Severity: normal CC: carl
Priority: NOR    
Version First Reported In: 23.01.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Hugo Osvaldo Barrera 2023-03-10 18:04:08 UTC
SUMMARY

In the main chat window,I can click-and-drag to select text horizontally (e.g.: left to right).

However, if I try to drag vertically (e.g.: to select multiple lines of text), dragging the mouse actually moves the chat window up and down. This shouldn't happen when the click-drag was initiated on text.


STEPS TO REPRODUCE
1. Send a multi-line message on a chat.
2. Click-and-hold on the first line and move the mouse to the second or third line. 

OBSERVED RESULT

Chat area moves vertically and can't select more than one line.


EXPECTED RESULT

Area shouldn't move in this case.


SOFTWARE/OS VERSIONS
Linux: swaywm/wayland
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Bug Janitor Service 2023-05-26 08:26:35 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/neochat/-/merge_requests/1015
Comment 2 Tobias Fella 2023-05-27 16:06:24 UTC
Git commit 528d46be9fdd7a97642fe9f6e0937d71c9f9fa1a by Tobias Fella, on behalf of James Graham.
Committed on 27/05/2023 at 16:06.
Pushed by tfella into branch 'master'.

Fix the room timeline being dragged when selecting text by making it non...

Fix the room timeline being dragged when selecting text by making it non interactive in desktop mode.

M  +1    -0    src/qml/Component/TimelineView.qml

https://invent.kde.org/network/neochat/-/commit/528d46be9fdd7a97642fe9f6e0937d71c9f9fa1a