Bug 160894

Summary: When I utilize the "optimal height" feature to adjust row heights in CALC the screen goes crazy
Product: LibreOffice Reporter: Randall Snyder <randallsnyderjr>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO ---    
Severity: normal CC: miguelangelrv, stephane.guillou, telesto
Priority: medium    
Version: 7.6.6.3 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Here is the sheet where all the on screen chaos is happening.

Description Randall Snyder 2024-05-01 17:52:30 UTC
Description:
Even after closing Calc the LO Startup screen has all the thumbnails looking crazy and illegible. When I click on the Calc screen a large dark box appears. I have to close and reopen Calc to clear the issue and I have tried saving to a different file type (XLSX) and get the same results. 

Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Running Ubuntu 22.04.4 LTS

Steps to Reproduce:
1.Select sheet
2.Right Click > Optimal Height
3.Watch screen spaz out for a few moments, then appear to return to normal
4.Click on screen and get a dark box covering an area where you click.
5.The rectangle adds and subtracts from itself depending on where you click on the screen.
6.Close app, restart and get back to work.
7.Wash, rinse and repeat until project gets done.

Actual Results:
The screen goes crazy and places dark boxes on the sheet making it impossible to work on.

Expected Results:
Adjusted the row heights and let me carry on.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Same issue arises when I have restarted in Safe Mode.
Comment 1 Randall Snyder 2024-05-01 17:55:02 UTC
Same thing occurs when I open the same sheet in 

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: 427a8baee0312a7693737440f205d2e411d50bad
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Randall Snyder 2024-05-01 17:56:19 UTC
Created attachment 193923 [details]
Here is the sheet where all the on screen chaos is happening.
Comment 3 m_a_riosv 2024-05-01 23:35:30 UTC
Not repro on Windows
Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 4 Stéphane Guillou (stragu) 2024-05-22 03:00:46 UTC
Can you share a video or at least a screenshot of the visual issues?
Have you tried turning off "Use hardware acceleration" in Tools > Options > LibreOffice > View?

I can't reproduce on Ubuntu 22.04 + GNOME 42.9 with 7.6.7.2, 24.2.3.2, nor a recent daily build:

Version: 24.8.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ae798781ef4df7a1fdef13af0bc459bf4f6e7b4c
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 5 Stéphane Guillou (stragu) 2024-05-22 03:02:50 UTC
(oh, and I tested with the sheet "Overlaod Relays Thermal Unit Selector_2", which is the one focused on fileopen. Is that the one you mean?)