Bug 58553 - FORMATTING: border style "none" for embedded pictures not working
Summary: FORMATTING: border style "none" for embedded pictures not working
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.0.beta1
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2012-12-20 02:23 UTC by santiago473
Modified: 2021-07-24 11:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description santiago473 2012-12-20 02:23:47 UTC
Problem description:

The border style "none" for embedded pictures shows no effect.

Steps to reproduce:

1. Open Writer
2. Insert a picture into the text document
3. Go to "borders", select line arrangement "all four borders", style "- none -" and a spacing > 0 cm.
3. The preview panel at the left now indicates that the picture should stay some distance away from the text (otherwise border-style "none"/transparent border would make no sense) but after clicking "OK" nothing happens/no transparent border is applied to the picture.

Current behavior:

see above

Expected behavior:

The picture should be resized and a transparent border should be added to the picture, just like it is the case with other border styles.

Operating System: Windows XP
Version: 4.0.0.0.beta1
Comment 1 Jorendc 2012-12-20 21:57:07 UTC
I think this is not a bug. If you select 'none' as Style ... there will be no border line at all. For what instance would you like to use a transparent border?

When I select 'none' as Style, the preview on the left of the window shows that there is no border at all.

So, I don't think this is a bug, because it's no feature.

Thanks for filling in this bug report anyway. I'll let someone else with more experience of 'borders' look at this report.

Kind regards,
Joren
Comment 2 santiago473 2012-12-28 06:37:13 UTC
(In reply to comment #1)

> I think this is not a bug. If you select 'none' as Style ... there will be
> no border line at all. For what instance would you like to use a transparent
> border?

One use-case could be to create a gap between the image an the rest of the elements of the document. Although for text elements this can also be done via the "Wrap" -> "Spacing" function...

> When I select 'none' as Style, the preview on the left of the window shows
> that there is no border at all.

This is not 100% correct. The preview shows different symbols for

"Line arrangement: set no borders"

and

"Line arrangement: set all four borders: style: - none -"

The later shows four arrows pointing away from the document to the picture, while the first one just shows the picture.

But even if this function is "meant to do nothing" then it is also a bug, because a function that does nothing is obviously completely nonsense.

In this case "- none -" should be completely removed from the list of selectable border styles.


PS: Sorry for answering late.
Comment 3 Jorendc 2012-12-28 08:56:50 UTC
No need to sorry. I'm glad you take some time replying and working with LibreOffice. Thanks for that!

(In reply to comment #2)
> (In reply to comment #1)
> 
> > I think this is not a bug. If you select 'none' as Style ... there will be
> > no border line at all. For what instance would you like to use a transparent
> > border?
> 
> One use-case could be to create a gap between the image an the rest of the
> elements of the document. Although for text elements this can also be done
> via the "Wrap" -> "Spacing" function...
> 
> > When I select 'none' as Style, the preview on the left of the window shows
> > that there is no border at all.
> 
> This is not 100% correct. The preview shows different symbols for
> 
> "Line arrangement: set no borders"
> 
> and
> 
> "Line arrangement: set all four borders: style: - none -"

I can confirm that now (sorry I missed that first)
> 
> But even if this function is "meant to do nothing" then it is also a bug,
> because a function that does nothing is obviously completely nonsense.

I can agree that

> 
> In this case "- none -" should be completely removed from the list of
> selectable border styles.

Otherwise I think this is for some people a handy feature (because they don't know how to use the left pane of the 'border' tab. If you aren't aware of the presence of the 5 'Default Line Arrangements', this could be a easy 'workaround' for them.

This is not an easy 'discussion'.

I'll rest this bug status to 'unconfirmed', so another QA (quality assurance) worker can look at it. Otherwise I'll lower the priority to 'trivial', 'low' because of the flowchart https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg. Currently there are more important bugs to crunch at this moment (= prepare to release LO 4.0 in February).

Thanks!
Joren
Comment 4 Joel Madero 2013-01-10 20:11:13 UTC
I see this as an enhancement request. I don't know if it's intuitive to make "none" do something, none seems to mean none. Maybe a new option for "transparent" is more functional. 

Marking as Enhancement, Low

Feel free to comment :) & Thanks for Reporting
Comment 5 Stéphane Guillou (stragu) 2021-07-24 11:55:21 UTC
This is a WORKSFORME in:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: cd2b5168e8ef1cb6e721bc5220421464ed723096
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-21_14:56:23
Calc: threaded

as well as:

Version: 7.0.6.2
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

I am able to
1. set border on all four sides
2. set border style to "none"
3. click OK
4. see that the image now has some transparent padding

So a fix must have happened before the release of LO 7.0.6.2