Bug 125841 - Move HTML image embedding option to file export / save dialog
Summary: Move HTML image embedding option to file export / save dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: File-Export-Dialog
  Show dependency treegraph
 
Reported: 2019-06-10 19:38 UTC by Vladimir
Modified: 2019-06-27 07:28 UTC (History)
3 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 Vladimir 2019-06-10 19:38:30 UTC
Description:
In continuation of #48887.

Please expose property org.openoffice.Office.Common/Filter/HTML/Export/LocalGraphic in HTML filter options in file save dialog.

Steps to Reproduce:
Try saving text file as HTML.

Actual Results:
option to embed graphics is not accessible in the dialog.

Expected Results:
option to embed graphics is accessible in the dialog.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Cor Nouws 2019-06-10 20:00:22 UTC
Hi Vladimir,

File > Export .. select .html/xhtml, isn't it?
Comment 2 Vladimir 2019-06-10 20:06:26 UTC
(In reply to Cor Nouws from comment #1)
> Hi Vladimir,
> 
> File > Export .. select .html/xhtml, isn't it?

Save or export dialog, does not matter, both of them.
Comment 3 Heiko Tietze 2019-06-12 14:15:59 UTC
The problem is that we do not have an option dialog as known from export to pdf. So this and any other option have to find space in the file dialog, which is totally awkward. Plus, when you add the image per link you are told it wont be stored with the document independently from the format. => WFM
Comment 4 Cor Nouws 2019-06-12 21:10:20 UTC
(In reply to Heiko Tietze from comment #3)
> ..  So this ... have to find space in the file dialog,
> which is totally awkward.
There are options. So is this an argument?

> Plus, when you add the image per link you are told
> it wont be stored with the document independently from the format. => WFM
Update Help?
Comment 5 Vladimir 2019-06-13 04:17:02 UTC
There is "Edit filter settings" option in the file dialog, which is grayed out for HTML. Isn't it the obvious place for such options?
Comment 6 Heiko Tietze 2019-06-13 08:53:15 UTC
(In reply to Vladimir from comment #5)
> There is "Edit filter settings" option in the file dialog, which is grayed
> out for HTML. Isn't it the obvious place for such options?

Not in my dialog (KDE, Save As). It depends on the OS/DE what you get and LibreOffice just adds the few checkboxes below the Filter dropdown (to my knowledge there are no other opportunities to tweak the dialog; and doing it yourself is doomed, see the inbuilt file dialog).
Comment 7 Heiko Tietze 2019-06-27 07:28:28 UTC
We discussed the topic in the design meeting. Actually there are more usability issues. 

Users expect a file to be saved by click on Save at the file dialog. But we go into an option dialog depending on the file type (in case of Export). That would not happen if the type is clear before - or at least the group of types with same options. An example is Export to PDF (options are shown first) versus Export with filetype PDF (options shown after).

Another issue are checkboxes in the save dialog. While one, rarely needed checkbox might be okay it's definitely contraproductive to present three or more options there.

Regarding the actual issue the simple solution might be Vladimir's suggestion in comment 5. But better is to show options first or have it somewhere else (Tools > Options, File > Properties, Format > Page Settings) or to provide two commands, one with options the other without (similar to Save/SaveAs).