Bug 83904 - DIALOG: Unable to reset page background color after setting it (see comment 5 for repro step 4.5)
Summary: DIALOG: Unable to reset page background color after setting it (see comment 5...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.0.alpha0+ Master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Page-Style-Dialog
  Show dependency treegraph
 
Reported: 2014-09-15 20:29 UTC by Yousuf Philips (jay) (retired)
Modified: 2018-04-10 19:08 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
undo not active in toolbar (21.48 KB, image/png)
2014-09-15 20:39 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-09-15 20:29:17 UTC
Steps:
1) open Writer
2) go into page dialog ( Format > Page )
3) click on area tab
4) select fill as color
5) click on page tab and notice that the color is set in the preview
6) click on area tab
7) select fill as none
8) click on page tab and notice that color is still set
9) click ok button
10) page color gets set

Tested on 4.4 master. This doesnt effect any previous versions as they dont have an area tab.

Version: 4.4.0.0.alpha0+
Build ID: ed95e1c5619e2cb2a8f6d93a1b7c45f36f1524dd
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-09-12_11:30:45
Comment 1 Yousuf Philips (jay) (retired) 2014-09-15 20:31:49 UTC
Also should be noted that the change in the page style isnt considered an undo-able action.
Comment 2 Yousuf Philips (jay) (retired) 2014-09-15 20:39:08 UTC
Created attachment 106344 [details]
undo not active in toolbar

To clarify, it is considered an undo-able action with ctrl+z but not in the toolbar undo button.
Comment 3 Jean-Baptiste Faure 2014-09-19 04:21:00 UTC
Hi Jay,

1/ Area tab is background tab in previous version. I do not know why it has been renamed. Using word "Area" may be a good idea, if it was completed in "Text area" to underline the difference with the complete sheet area.

2/ undo-redo buttons are not completely inactive. Indeed if you play with the undo/redo menu entry two times, it becomes active.

3/ I do not reproduce your points 8-10, if I reset the area fill to none and click on Apply or Ok it works as expected.

Tested on Version: 4.4.0.0.alpha0+ (Build ID: 966fe14af2c8782d7f16f732a73761a60b345bb1) built at home under Ubuntu 14.04 x86-64

Best regards. JBF
Comment 4 Yousuf Philips (jay) (retired) 2014-09-19 05:05:44 UTC
Tested and confirmed again on

Version: 4.4.0.0.alpha0+
Build ID: 510bb3fab28dffcdd5ff544b85063e8cc3d3f48e
TinderBox: Linux-rpm_deb-x86@45-TDF, Branch:master, Time: 2014-09-17_22:09:19
Comment 5 Yousuf Philips (jay) (retired) 2014-09-19 05:19:17 UTC
I guess i left one thing out from the steps which is

4.5) select a color

Tested it also on Windows and it has the same problem.
Comment 6 Jean-Baptiste Faure 2014-09-19 19:39:35 UTC
(In reply to comment #5)
> I guess i left one thing out from the steps which is
> 
> 4.5) select a color

Yes, of course. :-)

You need to click the Apply button after 7) and before 8)

Best regards. JBF
Comment 7 Yousuf Philips (jay) (retired) 2014-09-19 20:50:56 UTC
(In reply to comment #6)
> You need to click the Apply button after 7) and before 8)

I never did that part. :D
Comment 8 sophie 2014-10-09 15:44:14 UTC
Hi, confirmed with Version: 4.4.0.0.alpha0+
Build ID: 9aa36a1ad39e37c372cc833a44fba450b8cc30cd
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2014-10-09_04:46:44. 
I agree with JBF that Background was more specific. Set as New - Sophie
Comment 9 QA Administrators 2015-10-14 19:56:46 UTC Comment hidden (obsolete)
Comment 10 Robinson Tryon (qubit) 2015-12-04 18:27:39 UTC
TESTING with Version: 5.1.0.0.beta2 on Ubuntu 14.04

(In reply to Yousuf (Jay) Philips from comment #0)
> Steps:
> 1) open Writer
> 2) go into page dialog ( Format > Page )
> 3) click on area tab
> 4) select fill as color

Okay to this point

> 4.5) select a color
> 5) click on page tab and notice that the color is set in the preview

Considering steps 4.5 and 5 together:

If I click on 'Tango: Sky Blue 1' (which is already highlighted), and then click back to the Page tab, the preview does not update.

If I click on a *different* color (e.g. Tango: Sky Blue 2), and then click back to the Page tab, the preview *does* update and show a blue background on the document.

> 6) click on area tab
> 7) select fill as none
> 8) click on page tab and notice that color is still set
> 9) click ok button
> 10) page color gets set

CONFIRMED: Page color turns blue

Interestingly, if I return to 
* Format -> Page -> Area, the Fill dropdown is set to 'Color'
* Changing Fill to 'None', then 
* Clicking on the Area tab shows a White (no bg color) preview
* Clicking 'OK' confirms that the blue bg is indeed gone

It appears that one can toggle the color between blue and white like this repeatedly. We can even enable a different Fill by changing step (4) of the initial repro steps to "select Fill as 'Hatching'".
Comment 11 QA Administrators 2017-10-23 14:11:59 UTC Comment hidden (obsolete)
Comment 12 Cor Nouws 2018-04-10 19:08:02 UTC
no longer a problem in Version: 6.1.0.0.alpha0+
Build ID: b1009e095180ae0c24e5ec65dba6b459180d3869
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-04-09_00:08:48
Locale: nl-NL (nl_NL.UTF-8); Calc: group

(switching from Background to Page and Back to reset the color - step 5, 6)