Bug 152175 - Skia: black rectangle instead of coloured cell coordinate when editing formula in cell
Summary: Skia: black rectangle instead of coloured cell coordinate when editing formul...
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.4.2.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2022-11-22 17:51 UTC by Jacek
Modified: 2024-05-31 14:53 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Black cursor (79.92 KB, image/png)
2022-11-22 17:53 UTC, Jacek
Details
Graphic Test without skia (46.67 KB, application/x-zip-compressed)
2022-11-23 17:32 UTC, Jacek
Details
Graphic test with skia (46.89 KB, application/x-zip-compressed)
2022-11-23 17:33 UTC, Jacek
Details
Zip of Options->View->Run Graphics Tests, with OK result, hw acceleration on, no Skia (49.12 KB, application/octet-stream)
2024-05-31 14:40 UTC, tomasz.sztejka@polon-alfa.pl
Details
Zip of Options->View->Run Graphics Tests, with INCORRECT result, hw acceleration on, Skia on (49.37 KB, application/octet-stream)
2024-05-31 14:41 UTC, tomasz.sztejka@polon-alfa.pl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek 2022-11-22 17:51:38 UTC
Description:
Black square in cell when entering formula. I can see formula under cursor (text color not inverted under cursor). Cursor is black. Transparency - 0%.

Steps to Reproduce:
1.insert value in first cell, and secon cell
2.Insert in third cell simple formula for example =a1+a2
3.when insert = and select a1 (by cursor not in comand line) cursor is black

Actual Results:
Black square in cell when entering formula. I can see formula under cursor (text color not inverted under cursor). Cursor is black. Transparency - 0%.

Expected Results:
inversion text coulour under cursor.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Sorry for my bad english
Comment 1 Jacek 2022-11-22 17:53:11 UTC
Created attachment 183721 [details]
Black cursor
Comment 2 Julien Nabet 2022-11-22 19:01:15 UTC
Could you give a try at https://wiki.documentfoundation.org/QA/FirstSteps ?
Comment 3 Jacek 2022-11-22 20:16:55 UTC
My version libreoffice
Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 6; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: pl-PL
Calc: threaded

This program it is first instalation on my computer (dell). But I have this same problem on the two different computers (asus lenovo think station, HP - don't remember type). First have win 10, second have win7. On computer with win 10 is first instalation, on computer win 7 is several upgrades, but I deleted old versions.
Comment 4 m_a_riosv 2022-11-22 23:10:20 UTC
Please test disabling Menu/Tools/Options/LibreOffice/View/Use Skia for all rendering.
Comment 5 Jacek 2022-11-23 17:20:29 UTC
Thank you. I disabled skia. Now clac work properly.
Comment 6 Jacek 2022-11-23 17:32:49 UTC
Created attachment 183741 [details]
Graphic Test without skia

Graphic Test without skia
Comment 7 Jacek 2022-11-23 17:33:41 UTC
Created attachment 183742 [details]
Graphic test with skia

Graphic test with skia
Comment 8 Julien Nabet 2022-11-23 17:51:52 UTC
Ok did you check you got last version of graphic driver? If yes, would it be possible to have skia.log? (see https://wiki.documentfoundation.org/QA/FirstSteps#Graphics-related_issues_.28_Skia_.29 for details)
Comment 9 Jacek 2022-11-23 20:15:45 UTC
I have Intel UHD Graphic 630 driver version 30.0.101.1692 - 03.04.2022.
J din't find skia.log in my computer.
Now info about libreofice changed (after disabled skia)

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 6; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: pl-PL (pl_PL); UI: pl-PL
Calc: threaded
Comment 10 Julien Nabet 2022-11-23 20:31:07 UTC
(In reply to Jacek from comment #9)
> I have Intel UHD Graphic 630 driver version 30.0.101.1692 - 03.04.2022.
Ok and is it the last version?

> J din't find skia.log in my computer.
Was Skia enabled? I mean, I suppose if it's disabled, there won't be skia.log
"user profile" corresponds to %APPDATA%\libreoffice\4\user on Windows.
Comment 11 Jacek 2022-11-25 17:20:11 UTC
skia.log in my home computer

RenderMethod: raster
Compiler: Clang 

skia.log in my job

Lenovo Think Station P 340

RenderMethod: vulkan
Vendor: 0x8086
Device: 0x9bc5
API: 1.3.212
Driver: 0.404.2079
DeviceType: integrated
DeviceName: Intel(R) UHD Graphics 630
Denylisted: no

In both cases is this same black cursor even in libre office 7.4.3

When in my home computer I marked view\use skia for rendering\force programmatic rendering skia, problem gone.
Comment 12 QA Administrators 2022-11-26 03:43:10 UTC Comment hidden (obsolete)
Comment 13 Stéphane Guillou (stragu) 2024-05-22 14:30:21 UTC
Jacek, do you still experience this issue in a currently maintained version like 24.2?
Comment 14 tomasz.sztejka@polon-alfa.pl 2024-05-31 14:40:25 UTC
Created attachment 194488 [details]
Zip of Options->View->Run Graphics Tests, with OK result, hw acceleration on, no Skia
Comment 15 tomasz.sztejka@polon-alfa.pl 2024-05-31 14:41:08 UTC
Created attachment 194489 [details]
Zip of Options->View->Run Graphics Tests, with INCORRECT result, hw acceleration on, Skia on
Comment 16 tomasz.sztejka@polon-alfa.pl 2024-05-31 14:42:21 UTC
Can confirm it.

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: threaded

Os: Windows 10.
Appearance mode: Light.
Settings: 
  -Use hardware acceleration: on
  -Use anti-aliasing:on
  -Use Skia for all rendering: off
  -Force Skia software rendering: off
Result: OK, black rectangle with white letters
  -Use hardware acceleration: on
  -Use anti-aliasing:off
  -Use Skia for all rendering: on
  -Force Skia software rendering: on
Result:OK.
  -Use hardware acceleration: on
  -Use anti-aliasing:on/off <-- in both cases result is the same
  -Use Skia for all rendering: on
  -Force Skia software rendering: off
Result: INCORRECT Black rectangle with black letters.

Skia log (clicked copy Skia.log)
RenderMethod: vulkan
Vendor: 0x8086
Device: 0x9bc5
API: 1.2.177
Driver: 0.402.1472
DeviceType: integrated
DeviceName: Intel(R) UHD Graphics 630
Denylisted: no

I hope it will help.

The "Run Graphics Tests" results for Skia and no skia were added.
Comment 17 tomasz.sztejka@polon-alfa.pl 2024-05-31 14:53:09 UTC
Note: In my previous comment the Libre office version info was taken from non-Skia settings.

After changing in Andvanced->expert->ForceSkiaRaster to true the problem is gone too, however text became a bit "fuzzy".

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: threaded

Version info for not working Skia setting:

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: pl-PL (pl_PL); UI: en-US
Calc: threaded
Comment 18 tomasz.sztejka@polon-alfa.pl 2024-05-31 14:53:28 UTC Comment hidden (obsolete)