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

            Bug ID: 174423
           Summary: incorrect cursor size/theme with gtk3 on wayland
           Product: LibreOffice
           Version: 25.2.7.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I'm using a 4k monitor with 1.25 scaling and the cursor shrinks extensively on
all libreoffice suite. e.x. on Writer the cursor is only correctly presented
inside the page and shrinks when hovering on any menu option. however on other
windows like the About window the scale is correct. same as inside the
drop-down menus (e.x. font chooser drop-down). running the program from
terminal I get the following:
Gdk-Message: 11:36:38.277: Unable to load fleur from the cursor theme

(soffice:4710): Gdk-WARNING **: 11:36:58.577:
../gtk-3.24.52/gdk/wayland/gdkcursor-wayland.c:251 cursor image size (9x16) not
an integermultiple of scale (2)

the fleur theme is indeed installed:
lrwxrwxrwx 1 root root 10 Jul  6 15:14
/usr/share/cursors/xorg-x11/Adwaita/fleur -> all-resize

Steps to Reproduce:
1.open a libreoffice suite application (e.x. Writer) in wayland environment
using SAL_USE_VCLPLUGIN=gtk3 (which seems to be the default if not explicitly
set). and with fractional scaling (1.25 in my case)

2. observe the incorrect cursor size.

Actual Results:
cursor is shrinked 

Expected Results:
should show the normal cursor size


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.7.2 (X86_64) / LibreOffice Community
Build ID: 520(Build:2)
CPU threads: 12; OS: Linux 6.18; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Gentoo official package
Calc: threaded

My environment is Gentoo + sway window manager.
I'm using a 4k monitor with fractional scaling set to 1.25
this bug does not happen without fractional scaling.

only gtk3 backend on wayland is problematic. I also have the qt6 backend and
that one works as expected (SAL_USE_VCLPLUGIN=qt6). I've also tried gtk3
backend + xwayland and that one also worked (GDK_BACKEND=x11
SAL_USE_VCLPLUGIN=gtk3). it seems to be a gtk3+wayland exclusive issue.

sadly I don't have any other gtk3 application to test it on them.

I'd be happy to provide more information if needed.
thank you

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

Reply via email to