Bug 107934 - cannot select text with mouse on a computer with touch screen
Summary: cannot select text with mouse on a computer with touch screen
Status: NEW
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 117566 122806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-18 16:06 UTC by Ximeng Zu
Modified: 2023-05-05 23:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
odd behavior when dragging a shape (38.59 KB, image/png)
2017-05-18 16:06 UTC, Ximeng Zu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ximeng Zu 2017-05-18 16:06:01 UTC
Created attachment 133389 [details]
odd behavior when dragging a shape

On my win10 laptop with a touch screen, there is this problem. In the TDF instance of LO Online, when I try to use mouse to select some text, it doesn't allow me. The behavior is as if the selection is a "pan" touch motion event. Also, there is an odd behavior when i drag a shape as shown in the attachment.
Comment 1 Tomaz Vajngerl 2017-05-24 17:33:07 UTC
Seems the touchscreen events somehow interfere with normal mouse events (or we don't handle them well in some way).
Comment 2 Aron Budea 2017-05-24 23:03:36 UTC
Ximeng, what exactly is the issue that happens when dragging a shape?
Normally only the outline is dragged (it's not totally smooth, and there are some issues with it, especially in presentations), but the shape should take its new place. What happens differently here, the shape is not moved perhaps?
Comment 3 Ximeng Zu 2017-05-24 23:08:58 UTC
(In reply to Aron Budea from comment #2)
> Ximeng, what exactly is the issue that happens when dragging a shape?
> Normally only the outline is dragged (it's not totally smooth, and there are
> some issues with it, especially in presentations), but the shape should take
> its new place. What happens differently here, the shape is not moved perhaps?

Hi Aron, so the problem is this: I click on a shape and it's highlighted, I dragged it with my mouse to somewhere else, I release my mouse button, then the outline stays at new location but the content is still at its original place, then I move my mouse (no button being clicked) and the outline moves with the mouse pointer. 

In my opinion, the mouse actions are treated as touch actions. 

Hope that helps.
Comment 4 Aron Budea 2019-02-22 23:13:16 UTC
*** Bug 117566 has been marked as a duplicate of this bug. ***
Comment 5 Aron Budea 2019-05-23 02:58:16 UTC
*** Bug 122806 has been marked as a duplicate of this bug. ***
Comment 6 Aron Budea 2019-05-23 02:59:37 UTC
The following are likely workarounds, I can't test them myself.

In Firefox:
- open about:config
- set 'dom.w3c_touch_events.enabled' to 0

In Chrome:
- open chrome://flags
- find "Touch Events API", and disable it.
Comment 7 derhagen 2019-05-23 13:32:30 UTC
After updating to Collabora App 3.3.4 on NC 15.0.8 and the latest collabora/code from dockerhub, this problem seems to be solved for me. It broke touch scrolling instead, but I guess I can live with that.