https://bugs.documentfoundation.org/show_bug.cgi?id=148481

--- Comment #3 from Jan-Marek Glogowski <[email protected]> ---
vcl/osx/salframe.cxx:
    case PointerStyle::Hand: pCursor = [NSCursor openHandCursor];
    case PointerStyle::RefHand: pCursor = [NSCursor pointingHandCursor];

vcl/win/window/salframe.cxx:
    { nullptr, IDC_HAND, 0 },                                   // POINTER_HAND
    { nullptr, IDC_HAND, 0 },                                   //
POINTER_REFHAND

Both GDK_HAND and GDK_HAND2 are pointing hands per default:
https://www.geany.org/manual/gtk/gdk/gdk-Cursors.html

Qt has open, closed and pointing hand cursors:
https://doc.qt.io/qt-5/qt.html#CursorShape-enum cursors.

It makes sense to map PointerStyle::RefHand to Qt::PointingHandCursor. Not sure
about PointerStyle::Hand.

FWIW there is also bug 144302, which is a little bit more work.

Gerrit pending CI: https://gerrit.libreoffice.org/c/core/+/132833

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to