Description: When you redact a document using the free hand tool if you close the line, it transforms into a shape and the area inside is colored in light blue. When you create the pdf it remains in blue light instead of black (or white depending on you choice). Steps to Reproduce: 1. editing a document in Writer choose Tools -> Redact and it takes you to Draw 2. choose the Freehand icon from the Redaction Toolbar 3. draw a line of the shape you want and stop to draw at the same point you started Actual Results: the line becomes a shape with the area filled in light blue Expected Results: the area inside the shape should be gray as the line while you are editing the document and should become black or white when you create the final pdf. Reproducible: Always User Profile Reset: No Additional Info:
Created attachment 153673 [details] odg file with shape colored in blue light while editing with freehand redaction tool
Created attachment 153674 [details] final pdf after using the freehand redaction tool
(In reply to Marco Marega from comment #0) > Expected Results: > the area inside the shape should be gray as the line while you are editing > the document and should become black or white when you create the final pdf. Normal PDF export only exports the preview. Please use Redacted Export button in Redacted Toolbar => RESOLVED WORKSFORME Please change it back to UNCONFIRMED, if you don't agree and give a short reasoning.
Please verify the pdf I attached to my report. It is generated with Redacted Export button in Redacted Toolbar, not with direct PDF export, and it is not the preview. As you can see the lines of the edges are full black and not transparent gray as is in previews. The issue happens just if you draw a free hand line and you close the path creating a form (eg. a circle). If you draw a free hand line, of any form and you don't close it's path, everything works fine. Instead if you end to draw the line at the same point you started it, the program treats it as a form and not as a line. When you are in Draw, if you observe the properties of the object, when it is just a line, you have the line color set to gray with transparency at 50% and no area settings. When you close the line it activates the area setting with default Draw values: light blue color and no transparency, the line on the edges of the form keeps on working fine, but the inside is wrong. When you create the preview with the direct PDF export you get the form with edges in transparent gray (correct) and fill in plain light blue color (wrong). If you create the redacted document with Redacted Export button, depending on your choice, you get the form with edges in plain black (correct) or plain white (correct), but the fill color is still plain light blue color (wrong).
I confirm you oberservation. But I'm not sure about the bug: a)Redaction shouldn't create a filled area b)Filled area should also be redacted cc: Muhammet, what do you think about it. Or does everything work as intended?
I think it should redact also the filled area.
(In reply to Dieter from comment #5) > I confirm you oberservation. But I'm not sure about the bug: > a)Redaction shouldn't create a filled area > b)Filled area should also be redacted > > cc: Muhammet, what do you think about it. Or does everything work as > intended? The tool and the feature works as designed & expected. The free-form redaction tool is intended to be used like a "redaction pen" like in real life, and not intended for drawing auto-filled empty shapes. And couldn't repro the fill effect on a clean profile on master. The blue filling is likely to be coming from user preferences. So in short, I think this behavior is an exploitation of the free-form redaction tool, thus needs to be prevented. I would go with a slightly modified version of option a: a) Free-form redaction tool shouldn't turn to shape with area, or at least shouldn't create a filled area. (In reply to Marco Marega from comment #6) > I think it should redact also the filled area. I think that area shouldn't exist in the first place.
(In reply to Muhammet Kara from comment #7) > (In reply to Dieter from comment #5) > > I confirm you oberservation. But I'm not sure about the bug: > > a)Redaction shouldn't create a filled area > > b)Filled area should also be redacted > > > > cc: Muhammet, what do you think about it. Or does everything work as > > intended? > > The tool and the feature works as designed & expected. The free-form > redaction tool is intended to be used like a "redaction pen" like in real > life, and not intended for drawing auto-filled empty shapes. > > And couldn't repro the fill effect on a clean profile on master. The blue > filling is likely to be coming from user preferences. > > So in short, I think this behavior is an exploitation of the free-form > redaction tool, thus needs to be prevented. I would go with a slightly > modified version of option a: > > a) Free-form redaction tool shouldn't turn to shape with area, or at least > shouldn't create a filled area. > > (In reply to Marco Marega from comment #6) > > I think it should redact also the filled area. > > I think that area shouldn't exist in the first place. But, first could you please confirm that this can be reproduced anew without using the shared document, and without manually selecting an area fill? If a user selects the created redaction shape, and manually alters its properties, there is nothing we can do about it. And that is not a bug.
(In reply to Muhammet Kara from comment #8) > > (In reply to Marco Marega from comment #6) > > > I think it should redact also the filled area. > > > > I think that area shouldn't exist in the first place. Suppose you have an image in the document and want to redact the face of someone (eg. for privacy reasons), that filled area could be useful. > But, first could you please confirm that this can be reproduced anew without > using the shared document, and without manually selecting an area fill? > > If a user selects the created redaction shape, and manually alters its > properties, there is nothing we can do about it. And that is not a bug. I can confirm that in previous versions it was created just by selecting the freehand redaction tool and drawing a line that closes a shape. Doing this I never manually selected any area fill. Now I just tried with LO version 7.0 beta 2 and the colored filled area does not appear anymore.
(In reply to Marco Marega from comment #9) > Now I just tried with LO version 7.0 beta 2 and the colored filled area does > not appear anymore. So what is the status of this report? Can it be closed?
(In reply to Buovjaga from comment #10) > > So what is the status of this report? Can it be closed? The behavior is not exactly what I expected, but considering that it does not fill the area with blue color anymore, IMHO it can be closed.
(In reply to Marco Marega from comment #11) > The behavior is not exactly what I expected, but considering that it does > not fill the area with blue color anymore, IMHO it can be closed. => RESOLVED WORKSFORME