Bug 159851 - Redraw issue when resizing the comment width in Writer
Summary: Redraw issue when resizing the comment width in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2024-02-22 22:19 UTC by Rafael Lima
Modified: 2024-02-23 20:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshots of the problem (35.81 KB, application/vnd.oasis.opendocument.graphics)
2024-02-22 22:19 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2024-02-22 22:19:42 UTC
Created attachment 192722 [details]
Screenshots of the problem

Since 24.8 the width of the comment section is resizable. However, as soon as it is resized, the background is not repainted.

Steps to reproduce
1) Create a blank Writer doc
2) Add some text, select it and then add a comment (Ctrl + Alt + C)
3) Now resize the comment section to make it wider
4) Notice that only the comment is resized; the gray area beneath it is not repainted
5) Now scroll down a bit; the background is repainted
6) Now make the comment section narrower
7) Even when scrolling, the gray area beneath it remains there

See attached ODG with screenshots of the problem.

Tested in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2c3121adb9a53142a003ba668821e77e9555c629
CPU threads: 16; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 raal 2024-02-23 20:08:31 UTC
works in GTK3 Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5f0021cdd0b84fccaecf23a014622f0aca86430c
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo


Repro with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5f0021cdd0b84fccaecf23a014622f0aca86430c
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo