Bug 158963 - LibreWriter lags when spread across multiple screens.
Summary: LibreWriter lags when spread across multiple screens.
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-02 02:57 UTC by Adam
Modified: 2024-01-04 03:13 UTC (History)
1 user (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 Adam 2024-01-02 02:57:28 UTC
Description:
 If all my documents are on one screen, everything is dandy. If I spread my documents over two screens, which is sometimes very useful, LibreWriter immediatly starts chugging.

Every other program runs fine, even while Libre is having issues.

I have Chrome split across my monitors too, so it's not a general issue with being split across different screens, it's specific to Libre.


This has been going on across multiple versions, it just bugged me when I forgot again today so I am finally posting about it. I generally use .rtf files.

This is on a windows 10 machine, and I have 32 GB of ram on an i7 multi-core, my machine has enough power.



Steps to Reproduce:
1.Have two monitors active and 2+ LibreWriter documents open, (May require having sufficient data, say, 2k+ words)
2. Drag one of them to the second monitor
3. That's it.

Actual Results:
Libre chugs and responds incredibly slowly, even typing can have a lag of 10+ seconds to respond to a single keystroke. I can also hear my fan spin up and see Libre suddenly taking a lot more of my processing power

Expected Results:
No change in performance elative to being on a single monitor


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded
Comment 1 Adam 2024-01-02 03:01:33 UTC
And I forgot to add that it is intermittent. I just tried to recreate it so that I could screenshot my task manager, and I just got small performance spikes that quickly died down again. 

So sometimes that small spike trips over something?

Also, dragging the offending document back to the same monitor as the rest of them undoes the lag effect.
Comment 2 Adam 2024-01-02 10:10:14 UTC
Adding per request:

The primary monitor resolution is 3840x2160, secondary monitor is 1980x1080

Updating the version to see if it happens again.
Comment 3 Adam 2024-01-02 10:26:47 UTC
I just reproduced it using the new version, though it was less sever. I opened two documents, and created a new one to test with. With all documents on the primary monitor, there was no lag. When I moved one of the opened documents to the second monitor, I had about 2-3 seconds of lag, which went away when I moved the document back. 

This repeated when I moved the document over a second time, but the third time I moved the document over, there was no longer an occurrence of lag. To be clear: I was retesting by moving only, not by re-opening all the documents. 

New test: close all documents and repeat. Result: Lag again, but moving the document back, testing, and moving it to the second monitor again did not result in further lag. I then moved document 1 back to the primary monitor and moved document 2 over instead, and once more I had lag while writing in the new document. 

So it seems to lag less badly and recover more quickly than in the previous version, but it still happens.

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2024-01-02 15:32:12 UTC
Thanks for the report.
Can you please test to see if the lag depends on:
- automatic spellcheck? (turn it off in Tools > Automatic Spell Checking)
- Skia? (turn it off in Tools > Options > LibreOffice > View. Your version info should then read "UI render: default")
Comment 5 Adam 2024-01-03 16:15:22 UTC
At this point in time, I am not getting any lag with or without the spellchecker or skia options. 

However, with skia off, and two documents on the second monitor (and six open in total), the toolbar icons flash on and off in a fast pattern from left to right, but only on the top document of the two on the 2nd monitor. This did not reoccur when I turned skia back on. 

And upon turning skia back on and restarting the program, I got lag again when splitting the documents. 

And repeated. So something 'remembered' being 'trained' out of lagging, until I turned skia off and back on. 

And I just tested, a few runs of moving a document between monitors and typing a few letters each time and the lag gets 'trained' out again.

I do not know what is actually happening, I am using 'trained' as an analogy for what seems to be happening.
Comment 6 QA Administrators 2024-01-04 03:13:14 UTC Comment hidden (obsolete)