Bug 91023 - FORMATTING: Background Colour with combination of undo and no fill causes temporary coloured line
Summary: FORMATTING: Background Colour with combination of undo and no fill causes te...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-02 14:10 UTC by Gordo
Modified: 2018-07-15 10:05 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (75.94 KB, image/png)
2015-05-05 14:49 UTC, Gordo
Details
Screenshot (100.26 KB, image/png)
2018-07-15 08:05 UTC, Mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordo 2015-05-02 14:10:42 UTC
1. New Text Document.
2. Ensure Navigator is open and docked on the left, Sidebar (on the right) is closed or hidden, and Zoom is set to Page Width.
3. From toolbar set Background Colour to yellow.
4. Undo.
5. Open Sidebar Properties or Styles and Formatting.
6. From toolbar or Sidebar set Background Colour to red.
7. From toolbar or Sidebar set Background Colour to No Fill.
Result:
Line of red at bottom of first line.  If you switched between windows while following these steps then you might not see the bug.  If you pick another colour after step 7, say yellow, then the background is yellow with a line of red at the bottom.  If you undo after step 7 and pick another colour then you still get the line of red at the bottom.  Min-maxing the window or closing/hiding the Sidebar gets rid of the graphic anomaly.

Alternate version:
1. New Text Document.
2. Ensure Navigator is open and docked on the left, Sidebar is open on the right, and Zoom is set to Page Width.
3. From toolbar set Background Colour to red.
4. From toolbar or Sidebar set Background Colour to No Fill.
5. Undo.
6. From toolbar set Background Colour to yellow.
Result:
Background Colour is yellow with a line of red at the bottom of the first line.

Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Comment 1 Buovjaga 2015-05-05 14:28:26 UTC
Could not reproduce.
I tried both with Highlighting from the toolbar and Format - Paragraph - Area.
With Format - Paragraph I could change the color of the whole line, but the toolbar button is for character formatting, so didn't do anything..

Win 7 Pro 64-bit, Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Locale: fi_FI
Comment 2 Gordo 2015-05-05 14:49:37 UTC
Created attachment 115361 [details]
screenshot

And here is what it looks like.
Comment 3 Buovjaga 2015-05-05 15:03:39 UTC
Ok, I even enabled the bg color button in the toolbar.
Did everything according to steps, zoom & all.
I could reproduce only with the "alternate version".

Win 7 Pro 64-bit, Version: 4.4.3.2
Build ID: 88805f81e9fe61362df02b9941de8e38a9b5fd16
Locale: fi_FI
Comment 4 QA Administrators 2016-09-20 09:36:44 UTC Comment hidden (obsolete)
Comment 5 Mike 2018-07-15 08:04:11 UTC
I could not reproduce it. The drop down menu "Background" in the side bar (section "Styles') has only 'None' (not 'No fill').

See screenshot.

I tried the alternate version, the one that could be reproduced.

Version: 6.0.5.2 (x64)
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (de_DE); Calc: CL
Comment 6 Mike 2018-07-15 08:05:09 UTC
Created attachment 143554 [details]
Screenshot
Comment 7 Buovjaga 2018-07-15 10:05:09 UTC
Yep, I was unable to repro the alternate version. Was confused at first, because Background color button is now hidden by default and we have to manually show it.

It was lucky that I tested, because I ran into a regression in master that I have to report now: changing the background color does not work! Was even more confusing :)

Version: 6.0.4.2 (x64)
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: fi-FI (fi_FI); Calc: group