Bug 93199 - Saving: when file extension is written in Filename: box, file type dropdown does not change accordingly
Summary: Saving: when file extension is written in Filename: box, file type dropdown d...
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: ux-advise (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-06 14:47 UTC by Daniel
Modified: 2017-08-03 12:55 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 Daniel 2015-08-06 14:47:18 UTC
This used to work - when you entered file extension in filename text box, e.g. something.csv, file type dropdown would change accordingly to CSV filetype.

I think this used to work in 3.0+, but stopped working in 4.0+ versions.

Please, reintroduce this into 5.0+ UI as this saves user a step. Now I have to manually choose file type even when I have already specified file extension.

There is no possible mistake as nobody wants to save .doc as ODT etc., but this is actual behaviour right now (specify xxx.doc, will be saved as ODT file type)!
Comment 1 Cor Nouws 2015-08-08 13:46:16 UTC
Hi Daniel,

Thanks for the report.
If I open a new file in Writer, add text,
hit Ctrl+S, add .doc to the name and hit OK...
it is saved as noname.doc.odt

So that has not changed, as far as I can see.

Do you see the problem with the LibeOffice dialogs (Tools > Options > LibreOffice > General ) ??

Cheer - Cor
Comment 2 Daniel 2015-08-09 21:07:26 UTC
I am just saying that at some point in LibreOffice this used to work - i.e. automatic filetype selection based on the file extension.

And yes, I see it all apps, so that is a general (common component) problem.

If a user writes in .doc extension, then the apps should respect that, change the filetype (in the dropdown respectively) and don't force another filetype/extension over it:
document.doc = MS DOC (not ODT with .doc) extension
document.rtf = RTF (not ODT with .rtf) extension

PS: What you are describing is unrelated, because that only happens if you have "automatic extension" enabled (or whatever is that checkbox called).
Comment 3 Cor Nouws 2015-08-10 14:42:58 UTC
(In reply to Daniel from comment #2)
> I am just saying that at some point in LibreOffice this used to work - i.e.
> automatic filetype selection based on the file extension.

It does not work like you describe in LibreOffice 3.3.0.
When did it work?

> PS: What you are describing is unrelated, because that only happens if you
> have "automatic extension" enabled (or whatever is that checkbox called).

I tested without that box checked.
Comment 4 Daniel 2015-08-10 16:10:08 UTC
Maybe it w(In reply to Cor Nouws from comment #3)
> (In reply to Daniel from comment #2)
> > I am just saying that at some point in LibreOffice this used to work - i.e.
> > automatic filetype selection based on the file extension.
> 
> It does not work like you describe in LibreOffice 3.3.0.
> When did it work?
> 

I am not sure. Maybe it worked in the OpenOffice instead? I was using that long time ago, so it's possible.

> > PS: What you are describing is unrelated, because that only happens if you
> > have "automatic extension" enabled (or whatever is that checkbox called).
> 
> I tested without that box checked.

That's strange then, because without that checkbox checked, LibreOffice *should not* automatically add an extension, so that looks like another bug.
Comment 5 Cor Nouws 2015-08-10 18:47:18 UTC
(In reply to Daniel from comment #4)
> Maybe it w(In reply to Cor Nouws from comment #3)

> > It does not work like you describe in LibreOffice 3.3.0.
> > When did it work?
> > 
> 
> I am not sure. Maybe it worked in the OpenOffice instead? I was using that
> long time ago, so it's possible.

As far as we know, it did not change..
So you may choose to make an enhancement of this issue then.

> That's strange then, because without that checkbox checked, LibreOffice
> *should not* automatically add an extension, so that looks like another bug.

I meant I tested the scenario as you wrote, without that box checked, and that it works the same in 3.3.0 as in 5.0.0.
Comment 6 Daniel 2015-08-10 21:48:26 UTC
> > > It does not work like you describe in LibreOffice 3.3.0.
> > > When did it work?
> > > 
> > 
> > I am not sure. Maybe it worked in the OpenOffice instead? I was using that
> > long time ago, so it's possible.
> 
> As far as we know, it did not change..
> So you may choose to make an enhancement of this issue then.

So how do I do that?
Comment 7 Daniel 2015-08-13 11:20:04 UTC
bump
Comment 8 Buovjaga 2015-10-09 18:33:12 UTC
UX: what is your verdict on this?
Comment 9 Cor Nouws 2015-10-09 18:43:53 UTC
Let's look how other programs behave. But I would not vote for this.
Comment 10 Daniel 2015-10-09 18:46:03 UTC
Why not? What's the reasoning behind user explicitly typing an extension that LibreOffice does not respect and explicitly saves as something else (e.g. typing CSV, dropdown set to and saved as ODS)?
Comment 11 V Stuart Foote 2015-10-09 20:32:48 UTC
It is a matter of consistency.

From UX perspective--using ".3" file extensions are hit-or-miss in cross platform development.  In LibreOffice we have "explicit" typing when saving a document that is *NOT* based on assigned file extension. Documents do not require a .3 extension and LibreOffice will happily open documents into correct module without fuss--including on M$ Windows.

Supporting this cross platform modifying Save-as dialog in LibreOffice native file dialogs, or integrating OS/Desktop Environment to interpret a ".3" file extension would be a development/support effort that is simply not that appealing--either from dev perspective, nor from the general user community, i.e. the Non-M$ users.

I'd say not worth the effort it would require.

Wontfix.