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

            Bug ID: 174485
           Summary: kf6 (Qt6/KDE) VCL plugin on KDE Plasma Wayland:
                    document window flashes/flickers on open — window is
                    destroyed and re-created ~0.5 s after first appearing
                    (fine via XWayland)
           Product: LibreOffice
           Version: 26.2.6.3 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: framework
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I open a document (for example soffice --calc file.ods) in a KDE Plasma Wayland
session, with LibreOffice using the kf6 VCL plugin natively on Wayland — the
stock default on Fedora KDE (explicitly: QT_QPA_PLATFORM=wayland
SAL_USE_VCLPLUGIN=kf6). The document window appears, then is destroyed and
re-created about half a second later, producing a visible flash/flicker.

Polling the window list (kdotool) shows two distinct window ids at identical
geometry, 545 ms apart:


text
08:01:41.133  Window A  Position: 1920,0  Geometry: 1920x1200
08:01:41.678  Window B  Position: 1920,0  Geometry: 1920x1200
This happens on every open (100%), on both 26.2.6.3 and 26.2.7.3. The same
launch via XWayland (QT_QPA_PLATFORM=xcb) shows no flash — that is my current
workaround.

Environment: Fedora 44, KDE Plasma 6.8.2 Wayland session, kwin 6.8.2, Qt
6.11.2, kernel 7.3.3, x86_64, NVIDIA GeForce GTX 1650 (TU117), driver 620.70.06
(open kernel module).

Steps to Reproduce:
1. Log into a KDE Plasma Wayland session (tested on Plasma 6.8.2).
2. Launch LibreOffice in native Wayland mode with the kf6 VCL plugin —
   the stock default on Fedora KDE; explicitly:
   QT_QPA_PLATFORM=wayland SAL_USE_VCLPLUGIN=kf6 soffice --calc
/path/to/any.ods
3. Watch the document window as it opens.

Actual Results:
The document window appears, then is destroyed and re-created about half
a second later, producing a visible flash/flicker.

Polling the window list (kdotool) shows two distinct window ids at
identical geometry, 545 ms apart:

08:01:41.133  Window A  Position: 1920,0  Geometry: 1920x1200
08:01:41.678  Window B  Position: 1920,0  Geometry: 1920x1200

This happens on every open (100%).

Expected Results:
The window appears once and remains stable — no flash, no re-creation.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Also reproduced on 26.2.6.3 (September 2026).

Workaround: QT_QPA_PLATFORM=xcb (running via XWayland) — no flash.

Environment: Fedora 44, KDE Plasma 6.8.2 Wayland session, kwin 6.8.2,
Qt 6.11.2, kernel 7.3.3, x86_64, NVIDIA GeForce GTX 1650 (TU117),
driver 620.70.06 (open kernel module).

Possibly related: tdf#141578, tdf#148019 (kf6/Wayland window-geometry
bugs with different symptoms — not duplicates as far as I can tell).

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

Reply via email to