Bug 154686 - "Apply border and shadow" option should be removed from AutoCaption dialog
Summary: "Apply border and shadow" option should be removed from AutoCaption dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on: 154682
Blocks: AutoCaption
  Show dependency treegraph
 
Reported: 2023-04-06 15:21 UTC by sdc.blanco
Modified: 2024-05-10 08:32 UTC (History)
4 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 sdc.blanco 2023-04-06 15:21:25 UTC
At present, AutoCaption seems to work only when objects are inserted (see bug 154682).

If that is the intention, then, afaict, there is no situation where the "Apply border and shadow" option could/would actually apply. 

If that analysis is correct, then:

1. Remove "Apply border and shadow"
2. Remove "Category and Frame Format" label
3. Move "Character Style" (between "Before caption" and "Position")
4. The extended tip for "Character Style"  must be corrected (and probably add
   a tooltip to indicate that it is applied to category and caption number
Comment 1 Heiko Tietze 2023-04-12 15:30:17 UTC
The option is available only for images but no idea what it is good for since neither raster nor vector graphics know the concept "shadow" and "border" or pick it up for the caption frame. Not to speak what the supposed workflow is.
Comment 2 Eyal Rozenberg 2023-04-18 21:21:40 UTC
What is "apply border and shadow" _supposed_ to mean in the context of auto-caption?
Comment 3 Heiko Tietze 2023-04-27 08:51:44 UTC
We discussed the topic in the design meeting.

The participants decided to dig into the issue and find out what exactly the option is good for and how to use it before hiding it.

Side note: There seem to be issues with autocaption, checking the option does not add the caption after inserting a chart via toolbar.
Comment 4 Dieter 2024-05-09 04:33:01 UTC
(In reply to Heiko Tietze from comment #3)
> The participants decided to dig into the issue and find out what exactly the
> option is good for and how to use it before hiding it.

Any results after more than one year?
Comment 5 Heiko Tietze 2024-05-09 06:36:50 UTC
(In reply to Dieter from comment #4)
> Any results after more than one year?
Apparently no dev volunteer has taken the effort yet.
Comment 6 Dieter 2024-05-09 11:41:47 UTC
(In reply to Heiko Tietze from comment #1)
> The option is available only for images

No, it's available for every type except frames and tables

> but no idea what it is good for

Help says: "Applies the border and shadow of the object to the caption frame." [1]


Similar, if you add a caption manually:
1. Insert an image and add a border and a shadow to it
2. Context menu -> Insert caption -> Options
3. Enable "Use border and shadow of the selected object"
That works as expected


[1] file:///C:/Program%20Files/LibreOffice/help/en-GB/text/shared/optionen/01041100.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/optcaptionpage/OptCaptionPage#bm_id1826838
Comment 7 Heiko Tietze 2024-05-10 07:36:45 UTC
(In reply to Dieter from comment #6)
> Similar, if you add a caption manually:
You can add the shadow manually but the automatic option doesn't do the job. => bug

Why do we need to _automatically caption an object_ and at the same time apply some random formatting. Why border and shadow but not padding, color highlight, columns etc. => just remove from the UI. 

Let's set NEW, at least.
Comment 8 Dieter 2024-05-10 08:10:47 UTC
One question: Is it the expectd behaviour, that if you copy and paste an image, auto caption doesn't work? If you can only add auto caption if you choose Insert / Image the border and shadow dialog makes no sense, because ypou just have the image file. Or do I miss something?
Comment 9 Heiko Tietze 2024-05-10 08:20:09 UTC
Seems to me if all these items are OLE objects. No auto caption when inserting a chart via toolbar button, none for copy/paste, etc. Hard to understand for users, and I see no good reason why some workflows should behave differently.
Comment 10 Dieter 2024-05-10 08:32:46 UTC
(In reply to Heiko Tietze from comment #9)
> Seems to me if all these items are OLE objects. No auto caption when
> inserting a chart via toolbar button, none for copy/paste, etc. Hard to
> understand for users, and I see no good reason why some workflows should
> behave differently.

I've just seen, that this is bug 154682 with relationship to bug 51850