Bug 146516 - Text background is white into comment box (GDI)
Summary: Text background is white into comment box (GDI)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Comments
  Show dependency treegraph
 
Reported: 2022-01-01 15:53 UTC by Telesto
Modified: 2023-09-09 18:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (9.54 KB, application/vnd.oasis.opendocument.text)
2022-01-01 15:53 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2022-01-01 15:53:21 UTC
Description:
Text background is white when copy/paste text from main document into comment box

Steps to Reproduce:
1. Open the attached file
2. CTRL+A
3. CTRL+C
4. Insert comment box
5. CTRL+V

Actual Results:
White background

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 1bb0e177124d5d6661b72df6c7d848fb23639652
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: GDI; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2022-01-01 15:53:48 UTC
Created attachment 177232 [details]
Example file
Comment 2 m_a_riosv 2022-01-01 16:08:21 UTC
Works fine for me, doesn't change the background of the pasted text in the comment.
Version: 7.3.0.1 (x64) / LibreOffice Community
Build ID: 840fe2f57ae5ad80d62bfa6e25550cb10ddabd1d
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL
Comment 3 Telesto 2022-01-01 16:27:44 UTC
(In reply to m.a.riosv from comment #2)
> Works fine for me, doesn't change the background of the pasted text in the
> comment.
> Version: 7.3.0.1 (x64) / LibreOffice Community
> Build ID: 840fe2f57ae5ad80d62bfa6e25550cb10ddabd1d
> CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: Skia/Vulkan; VCL:
> win
> Locale: es-ES (es_ES); UI: en-US Calc: CL

It's GDI specific, which can only be accessed in safe-mode
Comment 4 Telesto 2022-01-01 16:32:07 UTC
@Luboš
Any change safe-mode will be using Skia/Raster mode someday?. Don't think a safe-mode with unique bugs should be desired..
Comment 5 m_a_riosv 2022-01-02 12:35:38 UTC
The issue happens without copying but written in the comment. A [Ctrl+M] recovers the right background. So has nothing to do with copy/paste.

Also, with a new document, inserting a comment as first action and writting in it.
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 1bb0e177124d5d6661b72df6c7d848fb23639652
CPU threads: 4; OS: Windows 10.0 Build 21390; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US Calc: CL