Bug 148756 - Document Type in Options dialog should correspond to the application that opened the dialog
Summary: Document Type in Options dialog should correspond to the application that ope...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: difficultyMedium, easyHack, skillCpp, topicUI
Depends on:
Blocks: Options-Dialog-Load-Save
  Show dependency treegraph
 
Reported: 2022-04-24 16:47 UTC by Pete
Modified: 2022-10-25 09:22 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pete 2022-04-24 16:47:51 UTC
I'm a new user to LibreOffice and I watched a YouTube video on how to get started (using version 7.3.2).

The video showed how to set default font to something that would be compatible with "other" office packages and also how to set the "document type" when Saving/Loading", this was done for the "Write" application when it was open.

So, I get into "CALC Spreadsheet" app and I try to do the same for it, to save/load in "xlsx" format, and I could not figure it out for hours (yes, I know, Im DUMB!)

Each time I opened +Save/Load, the "Document Type" was always "Text" and I just did not realize that "Document Type" with its "Text" value was just a default and there is a drop down menu to select "Spreadsheet"!!!

So, my request to improve LibreOffice is"
have the "Document Type" reflect the application that is open and being currently used, so I have Calc open and I go to the +Save/Load->General, it should by default show that its "Document Type" is Spreadsheet.

If I have the Impress Presentation app open and use the Tools->Options->+Save/Load->General, its Document Type should be "Presentation" by default! The same for the other applications, Writer=Text, Calc=Spreadsheet, Presentation=Presentation, etc....

This would go a long way to make the product more intuitive.

Of course, if you go to the Tools->Options->+Save/Load page directly from the main screen (without being in any of the applications, than the default can remain "Text" and if you're a knowledgeable user, you know to use the drop down menu to set its type and the how you want that document to be saved.

Thanks,
Pete
Comment 1 sdc.blanco 2022-04-24 23:47:07 UTC
Summarizing: 

Tools > Options > Load/Save > General > Default File Formats and ODF Settings

with command sequence initiated from Calc.

Actual:  Document Type shows "Text document"
Expected:   "       "  shows "Spreadsheet"     

Enhancement request:

"Document type" (and "Always save as") should correspond to the application used to open this dialog.  (Did I get it right Pete?)

Asking Design Team....
Comment 2 Heiko Tietze 2022-04-25 08:35:28 UTC
Yes, Pete is right. The connected dropdown lists are not intuitive and to initialize it per module is an improvement.

Some types are yet not associated with a specific module, namely HTML and Master document. Not a big deal. What bothers me more is what we show when started without module context meaning from the start center. Just the first entry as today, I'd say. 

And I also struggle with "Text document" thinking of ASCII rather than formatted text. My proposal is to rename the module specific entries with their module name: "Text Documents (Writer)", "Spreadsheets (Calc)"... similar to bug 118330 and bug 118435.

It would also be an improvement if the arrangement of the two controls indicate the relationship. Might be a bit too large if we place the two next to each other, though.
Comment 3 Jim Raykowski 2022-04-28 19:12:51 UTC
code pointers:

  cui/uiconfig/ui/optsave.ui
  cui/source/options/optsave.hxx
  cui/source/options/optsave.cxx
  
  void SvxSaveTabPage::Reset
  m_xDocTypeLB set_active_id
  
  hints on how to identify the module:
  cui/source/customize/acccfg.cxx SfxAcceleratorConfigPage::InitAccCfg
  git grep -n 'xModuleManager->identify'