Bug 155943 - Three New pointer shapes for direct cursor mode
Summary: Three New pointer shapes for direct cursor mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Direct-Cursor
  Show dependency treegraph
 
Reported: 2023-06-20 07:12 UTC by Hossein
Modified: 2023-10-12 18:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Pointers for direct cursor mode in LibreOffice and MS Word (21.07 KB, image/png)
2023-06-20 07:12 UTC, Hossein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2023-06-20 07:12:00 UTC
Created attachment 188007 [details]
Pointers for direct cursor mode in LibreOffice and MS Word

Description:
Previously in direct cursor mode (Edit > Direct Cursor Mode), a black filled triangle was drawn on the left and/or right side of the normal editing cursor. The old way of doing the drawing using XOR mode caused the issue tdf#122970. With the new fix for that bug, the autoscroll pointer shape is used, which is not optimal.

As can be read in f9f7cfc080c3adb751ceca96be4ca5440de4a2b6:
There is no perfect match for the previous mouse pointer shape, so now
instead of left triangle, PointerStyle::AutoScrollW is used. Also instead
of right triangle, PointerStyle::AutoScrollE is used.

The task here is to design 3 new cursor types for direct editing in LibreOffice. 2 of them were previously used in direct cursor mode.

Right now, there are only two pointer shapes for direct editing: left and right, but there is a third "center" pointer shape in MS Word, and it would be good to also have this third center pointer shape for later use.
Comment 1 Rizal Muttaqin 2023-06-21 01:43:38 UTC
Thanks for the report Hossein

Just curious, do the cursors need to look alike MS Word, i.e having left/right aligned paragraph instead of left/right triangle?
Comment 2 Hossein 2023-06-21 08:57:19 UTC
(In reply to Rizal Muttaqin from comment #1)
> Thanks for the report Hossein
> 
> Just curious, do the cursors need to look alike MS Word, i.e having
> left/right aligned paragraph instead of left/right triangle?
In my opinion, the current triangle shape is OK.

A question would be how to handle center mode, but it is not implemented yet. So, if the design turns out to be complex, it may be ignored for now. One idea is to use both left and right triangles simultaneously for the center mode.
Comment 3 Rizal Muttaqin 2023-07-24 04:25:02 UTC
Where I can find current two icons?
Comment 4 Buovjaga 2023-09-07 15:32:28 UTC
(In reply to Rizal Muttaqin from comment #3)
> Where I can find current two icons?

Hossein: do you have an idea?
Comment 5 Hossein 2023-09-07 15:50:41 UTC
(In reply to Buovjaga from comment #4)
> (In reply to Rizal Muttaqin from comment #3)
> > Where I can find current two icons?
> 
> Hossein: do you have an idea?
The shape of the icons is visible in the attachment 188007 [details], but the icons do not exist because they were actually drawn using paint commands, and not via displaying icon images.
Comment 6 Rizal Muttaqin 2023-09-07 22:01:25 UTC
(In reply to Hossein from comment #5)

> > Hossein: do you have an idea?
> The shape of the icons is visible in the attachment 188007 [details], but
> the icons do not exist because they were actually drawn using paint
> commands, and not via displaying icon images.

It would be a pleasure if I have a chance to create the icons