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

--- Comment #2 from [email protected] ---
Sure — the exact procedure. kdotool v0.2.3 (https://github.com/jinliu/kdotool),
which talks to KWin over D-Bus, so this needs a Plasma Wayland session.

1. In one terminal, start a poll loop that prints a timestamp + geometry for
   every LibreOffice window, as fast as it can:

while :; do
  kdotool search 'libreoffice|soffice' 2>/dev/null | while read -r id; do
    geo=$(kdotool getwindowgeometry "$id" 2>/dev/null | tr '\n' ' ')
    [ -n "$geo" ] && printf '%s %s\n' "$(date +%T.%3N)" "$geo"
  done
done

   (On KDE 6, kdotool window ids are KWin UUIDs, not xdotool-style hex ids.)

2. In a second terminal, launch:

QT_QPA_PLATFORM=wayland SAL_USE_VCLPLUGIN=kf6 soffice --calc /path/to/any.ods

3. Let it run ~5 s, then Ctrl-C the loop.

The destroy/re-create shows up as distinct window ids at identical geometry.
Two fresh traces today (2026-11-16, same machine as the report, LO 26.2.7.3,
Plasma 6.8.2, Qt 6.11.2), same shape both runs:

Run 1:
08:37:45.767 Window {9794a9e1-…} Position: 1921,100 Geometry: 644x199
08:37:46.307   (last sighting of that id)
08:37:47.246 Window {86451b30-…} Position: 1921,100 Geometry: 800x628
08:37:47.425   (last sighting of that id)
08:37:47.842 Window {6b3a75ca-…} Position: 1921,100 Geometry: 800x628  ← final
window

Run 2:
08:38:51.807 Window {d40e31e…-…} Position: 1921,100 Geometry: 644x199
08:38:52.355   (last sighting)
08:38:53.289 Window {3f42ccb…-…} Position: 1921,100 Geometry: 800x628
08:38:53.452   (last sighting)
08:38:53.853 Window {5522859…-…} Position: 1921,100 Geometry: 800x628  ← final
window

So: a small first window (~0.5 s), then the full-size document window exists
for only ~160–180 ms before being destroyed; ~0.4 s later a new window
appears at the identical position and geometry — that gap is the visible
flash. (In the maximized case from the original report, the two full-geometry
windows were 545 ms apart — same pattern.)

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

Reply via email to