Bug 166804 - With VCL gen and NB tabbed, UI unresponsive for a while when creating a new doc
Summary: With VCL gen and NB tabbed, UI unresponsive for a while when creating a new doc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, perf, regression
Depends on:
Blocks: Performance
  Show dependency treegraph
 
Reported: 2025-05-31 08:56 UTC by Eyal Rozenberg
Modified: 2026-01-25 16:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-05-31 08:56:02 UTC
Reproduction:

1. Have Writer use the NB tabbed UI.
2. Start LO with SAL_USE_VCLPLUGIN=gen
3. Create a new Writer document
4. As the new document's window opens, try interacting with the tab bar

Expected results:

* Document pane shows document, with page boundaries etc, in the new window.
* NB bar responsive

Actual results:

* Document pane is black (I'm on a light OS UI and light LO UI)
* NB bar is unresponsive
* After ~2-3 seconds, document pane re-renders properly and UI becomes responsive

Notes:

* Doesn't seem to happen with Calc
* Happens not only on startup, but when creating additional documents as well
* With the class UI, there appears to be a similar phenomenon of , but for something like 0.25 sec - so not enough for me to try interacting with anything.

Build info:

Version: 25.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 63597069fbb3209db1b4acd3c3e85b512b5d717c
CPU threads: 4; OS: Linux 6.12; UI render: default; VCL: x11
Locale: en-IL (en_IL); UI: en-US
Comment 1 Olivier Hallot 2025-05-31 09:40:39 UTC
For what it worth: I experienced this behaviour on every master branch I build, and I suspect the cause is the debugging options in autogen.input.
Comment 2 Buovjaga 2025-12-27 19:14:41 UTC
Earlier the delay was only about 1 sec. This changed in 7.2 with d3b498cc4732f964919fecb265085cefcc422469
invoke idle priority timers only when actually idle