https://bugs.documentfoundation.org/show_bug.cgi?id=172570
Bug ID: 172570
Summary: Black artifacts and flicker when opening a document
through libreoffice SDK
Product: LibreOffice
Version: 26.2.3.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: UI
Assignee: [email protected]
Reporter: [email protected]
Description:
When running the C++ example (DocumentLoader) provided with the installation
every ~5 times when opening the document, there the toolbar flickers black when
hovering over it and the buttons jump around. Scrolling the document also
results in weird efects.
I already tried setting Skia to force software rasterization, but it didn't
help.
I additionally tried starting with a completely fresh profile, but the problem
still persists.
It only occurs when opening a document through the LibreOffice SDK. When
opening the document via double click in the file explorer or from the recently
opened files, this issue does not occur.
Steps to Reproduce:
1. Build the example
2. Run the soffice process
3. Run the document loader process
4. Check whether black artifacts appear when hovering over the toolbar
Actual Results:
Black artifacts appear. When moving the cursor from left to right over the
toolbar, a single column of the document below is rerendered. Scrolling the
document up and down completely messes up the displayed document. Also multiple
buttons in the toolbar have the blue hover effect.
Expected Results:
The document should open normally without any of the visual artifacts
Reproducible: Sometimes
User Profile Reset: Yes
Additional Info:
Here is the BATCH-File I used to build the example: (with MINGW_BIN_PATH
pointing to my local mingw version)
SET
MINGW_BIN_PATH=C:\Users\do\Downloads\x86_64-16.1.0-release-win32-seh-msvcrt-rt_v14-rev0\mingw64\bin;
SET PATH=%PATH%;%MINGW_BIN_PATH%;C:\Program Files\LibreOffice\program
SET OFFICE_PROGRAM_PATH=C:\PROGRA~1\LibreOffice\program
SET OO_SDK_HOME=C:\PROGRA~1\LibreOffice\sdk
SET LIB=%LIB%;C:\PROGRA~1\LibreOffice\sdk\lib
SET PROCTYPE=x86_64
CALL "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
CD C:\Program Files\LibreOffice\sdk\examples\cpp\DocumentLoader
mingw32-make.exe MakeFile ALL DEBUG=yes
Here is the batch file I use to run the soffice.exe process
SET PATH=C:\Program Files\LibreOffice\program
cd C:\Program Files\LibreOffice\program
soffice
"--accept=socket,host=localhost,port=2083;urp;StarOffice.ServiceManager"
--nologo --nodefault --norestore --nolockcheck
And finally the batch file to run the document loader:
SET PATH=C:\Program Files\LibreOffice\program
CD C:\Program Files\LibreOffice\sdk\WINexample.out\bin
DocumentLoader.exe
-env:URE_MORE_TYPES=file:///c:/PROGRA~1/LibreOffice/program/types/offapi.rdb
"C:\PROGRA~1\LibreOffice\sdk\examples\cpp\DocumentLoader\test.odt"
Here is the version information from the about window:
Version: 26.2.3.2 (X86_64)
Build ID: 70e089b17412e4cb7773e41413306b17a2328c34
CPU threads: 12; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster;
VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.