Bug 144027 - Mouse cursor should change when hovering over unselected objects/charts/shapes
Summary: Mouse cursor should change when hovering over unselected objects/charts/shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 104430
  Show dependency treegraph
 
Reported: 2021-08-23 12:31 UTC by Rafael Lima
Modified: 2022-07-04 14:25 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshots of mouse cursors in Writer and Calc (27.04 KB, application/vnd.oasis.opendocument.graphics)
2021-08-30 22:36 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-08-23 12:31:24 UTC
In LibreOffice Calc, when the mouse hovers over charts, objects or shapes, even when they're not selected, the cursor should change according to what is below its position.

For instance, if you are using the Fat Cross and add a Chart to the document, then unselect it, when the mouse hovers over the chart it should display:
1) The standard arrow cursor when hovering a data series, so the user can place it over a specific point and see its value (feature not implemented yet - see bug 131897)
2) The drag cursor when hovering anywhere else in the chart

For objects and shapes, the cursor should be the standard arrow.

The fat cursor should only be displayed when hovering over sheet cells.

This bug became more noticeable using the new Fat Cross mouse cursor. However it is still valid with the system cursors.
Comment 1 Heiko Tietze 2021-08-30 11:54:58 UTC
Writer has the IBeam cursor as default and turns it into the default arrow over clickable objects. Calc does the same but treats cells as objects. So the question is what cursor do you have in mind (the cursor conveys information regarding the interaction) and how shall we achieve consistency?
Comment 2 Rafael Lima 2021-08-30 22:36:02 UTC
Created attachment 174654 [details]
Screenshots of mouse cursors in Writer and Calc

Hi Heiko. I believe it would be better if mouse cursor in Calc had the same behavior as in Writer (see the attached ODG file).

Current behavior in Writer:
- If the object is NOT selected, then the normal point mouse cursor is presented
- If the object IS selected, then the drag cursor is presented

Current behavior in Calc:
- If the object is NOT selected, then the Fat Cross cursor is presented (should be the normal point cursor as in Writer)
- If the object IS selected, then the drag cursor is presented (this is OK in Calc)
Comment 3 Heiko Tietze 2021-09-09 12:45:32 UTC
Commented on the patch: "hoovering over a not active object/chart keeps the cursor (it's working as expected after the chart is selected)" and Sarabjot wanted to fix it. There might be some mentoring needed.