Bug 156759 - "mouse pointer as pen" does not work when Skia off and hardware acceleration on
Summary: "mouse pointer as pen" does not work when Skia off and hardware acceleration on
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2023-08-13 20:53 UTC by Regina Henschel
Modified: 2023-08-15 12:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Mini presentation with gradient in background of master (36.40 KB, application/vnd.oasis.opendocument.presentation)
2023-08-14 22:15 UTC, Regina Henschel
Details
Video with 24.2.0.0.alpha0+ (561.32 KB, video/mp4)
2023-08-15 00:06 UTC, m_a_riosv
Details
Video with 24.2.0.0.alpha0 518fa99dd7693d64a53e404a065090aedc0002b1 2023-08-14 17:58:41 (3.33 MB, video/mp4)
2023-08-15 00:43 UTC, m_a_riosv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-08-13 20:53:34 UTC
Start a presentation. Enable "Mouse pointer as pen". Can be in "Slight show settings" or from context menu of running slideshow. If Skia is disabled and Hardware acceleration in enabled, then nothing is drawn.

I see the error in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 218a7650a5cf03f895bed19c68d6f02daec536e9
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

It was OK in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b3053b63c65372627c5fb4df6b4ddcd5e12e16f7
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded
Comment 1 m_a_riosv 2023-08-14 00:09:43 UTC
Works for me with, win11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 218a7650a5cf03f895bed19c68d6f02daec536e9
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

"
Nombre del SO	Microsoft Windows 11 Home
Versión	10.0.22621 compilación 22621
Descripción adicional del SO 	No disponible
Fabricante del SO	Microsoft Corporation
Nombre del sistema	YOGA714ARB7
Fabricante del sistema	LENOVO
Modelo del sistema	82QF
Tipo de sistema	PC basado en x64
SKU del sistema	LENOVO_MT_82QF_BU_idea_FM_Yoga 7 14ARB7
Procesador	AMD Ryzen 7 6800U with Radeon Graphics, 2701 Mhz, 8 procesadores principales, 16 procesadores lógicos
Versión y fecha de BIOS	LENOVO K5CN39WW, 08/03/2023
"
Comment 2 Regina Henschel 2023-08-14 22:15:44 UTC
Created attachment 188973 [details]
Mini presentation with gradient in background of master

The problems are older.
Open attached document and start slide show. From context menu check "mouse pointer as pen" and draw something.

Version: 5.4.4.1 (x64)
Build ID: da790616461e15a10c95a80eb8ef8ee7b726c114
CPU threads: 8; OS: Windows 6.19; UI render: default; 
Locale: en-US (en_US); Calc: group
OpenGL On, hardware acceleration disabled => gradient OK, pen works.
OpenGL off and hardware acceleration On => gradient OK, pen works.
OpenGL off and hardware acceleration Off => gradient has white lines, pen works.

Version: 6.2.2.2 (x64)
Build ID: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
OpenGL On, hardware acceleration disabled => gradient OK, pen works.
OpenGL off and hardware acceleration On => gradient OK, pen fails
OpenGL off and hardware acceleration Off => gradient has white lines, pen works.


Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Skia On, hardware acceleration disabled => gradient wrong, pen works.
Skia Off and hardware acceleration On => gradient OK, pen fails.
Skia Off and hardware acceleration Off => gradient wrong, pen works.

Same for daily
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 218a7650a5cf03f895bed19c68d6f02daec536e9
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 3 m_a_riosv 2023-08-15 00:06:18 UTC
Created attachment 188975 [details]
Video with 24.2.0.0.alpha0+

I can reproduce with sample file.
Version: 7.6.0.3 (X86_64) / LibreOffice Community
Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded

But non with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 218a7650a5cf03f895bed19c68d6f02daec536e9
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
it doesn't paint too smoothly, but it works quite well for me.
Comment 4 m_a_riosv 2023-08-15 00:25:31 UTC
I was some version behind, but works for me with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 218a7650a5cf03f895bed19c68d6f02daec536e9
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
and 
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 518fa99dd7693d64a53e404a065090aedc0002b1
CPU threads: 16; OS: Windows 10.0 Build 22621; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
downloaded 2023-08-14 17:58:41
Comment 5 m_a_riosv 2023-08-15 00:43:51 UTC
Created attachment 188976 [details]
Video with 24.2.0.0.alpha0 518fa99dd7693d64a53e404a065090aedc0002b1 2023-08-14 17:58:41
Comment 6 Regina Henschel 2023-08-15 12:26:29 UTC
Indeed, with master from 14.Aug the combination "Skia Off, hardware acceleration On" works. Tested with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 518fa99dd7693d64a53e404a065090aedc0002b1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded

I'll resolve it for now as WORKSFORME. I will reopen it, in case a released LO 7.6 shows the problem.

It remains the problem, that the gradient is wrong for the cases "Skia On" and "Skia off, hardware acceleration off". But that needs a separate issue.