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

            Bug ID: 173491
           Summary: Calc cell cursor and selection overlay not painted
                    under Wayland (VCL gtk3)
           Product: LibreOffice
           Version: 26.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In LibreOffice Calc the cell cursor rectangle is never drawn, and range
selections show no highlight. The selection is registered correctly (the Name
Box shows the range and the status bar reports the selected rows and columns)
but nothing is painted. Row and column headers do highlight normally. In
Writer, text selection highlighting is missing in the same way, while the
blinking text caret is drawn correctly.

Setting org.openoffice.Office.Common/Drawinglayer/TransparentSelection to false
makes the selection appear for a fraction of a second before it is overpainted
again, so the overlay is computed and then lost on redraw.

Starting with GDK_BACKEND=x11 (XWayland) makes both the cell cursor and the
selection highlight work normally.

Steps to Reproduce:
open Calc in a Wayland session, click any cell, drag to select a range

Actual Results:
no cursor rectangle, no selection highlight.

Expected Results:
cell cursor and selection are drawn.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Not caused by configuration: reproduced with both the Ubuntu .deb and the
Canonical snap package, after a profile factory reset (Help > Restart in Safe
Mode > Reset to factory settings), with hardware acceleration already disabled,
and with default values of TransparentSelection (true) and
TransparentSelectionPercent (75).

Version: 26.2.5.2, Ubuntu package 4:26.2.5.2-0ubuntu0.26.04.1, CPU threads 22,
OS Linux 7.0 (Ubuntu 26.04), UI render: default, VCL: gtk3, Locale it-IT — più
la riga del driver grafico che ricaverai da glxinfo.

GPU: Intel Meteor Lake (Mesa Intel(R) Graphics (MTL))
Mesa 26.0.8-1ubuntu0.3, OpenGL 4.6 Compatibility Profile
Session: Wayland (broken) / XWayland via GDK_BACKEND=x11 (works)


Works correctly with SAL_USE_VCLPLUGIN=gen (native X11) and with
GDK_BACKEND=x11 (gtk3 on XWayland). Fails only with gtk3 on native
Wayland, so the issue is in the GTK Wayland rendering path.

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

Reply via email to