Bug 139217 - Text cursor shows and disappears after slide changes, and editible text item being focused
Summary: Text cursor shows and disappears after slide changes, and editible text item ...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-25 07:21 UTC by nd101
Modified: 2023-11-17 09:33 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nd101 2020-12-25 07:21:28 UTC
When switching to new slide, and trying to click and focus a text item, you will find the cursor shows but disappears very quickly. It appears it has something to do with a "cursorvisible: false" is being sent everytime after "invalidatecursor" which hides the cursor activated by the previous "cursorvisible: true".

1) cursorvisible: true

2) invalidatecursor: 
{viewId: "0", rectangle: "4393, 3880, 0, 431", mispelledWord: "0"}

3) cursorvisible: false

This becomes quite annoying on mobile as the onscreen keyboard shows and disappears.

What seems to be the logic behind the "cursorvisible: false" right after "invalidatecursor" as "invalidatecursor" redraws the cursor on screen and it works well. Would it be safe to simply drop the "cursorvisible: false"?
Comment 1 nd101 2020-12-28 09:01:37 UTC
What we do for now is dropping the first "cursorvisible: false" after opening a new slide. On the mobile devices, that means we need to double tap on the text item to bring up the keyboard.

Why we the cursor is hidden for the first text editting focus needs to be ingesitiaged further.
Comment 2 Stéphane Guillou (stragu) 2023-11-17 09:33:26 UTC
Might be related: https://gerrit.libreoffice.org/c/core/+/113763

Could not reproduce with:

COOLWSD version: 23.05.5.4 (git hash: fc0de5b1)
LOKit version: Collabora Office 23.05.5.4 (git hash: 1681200)
Served by: Debian GNU/Linux 12 (bookworm)
Server ID: 15fd28c5

Pranam, are you aware of any change related to cursorvisible / invalidatecursor ?