Bug 97194 - Changing default document format to use when saving does not work
Summary: Changing default document format to use when saving does not work
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.0.4.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: noRepro:5.1.0.2:Win10x64
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 19:55 UTC by Radek
Modified: 2023-05-08 08:27 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
photo 1 (197.38 KB, image/jpeg)
2016-01-17 16:31 UTC, Radek
Details
photo 2 (224.59 KB, image/jpeg)
2016-01-17 16:32 UTC, Radek
Details
photo 3 (208.42 KB, image/jpeg)
2016-01-17 16:32 UTC, Radek
Details
photo 4 (83.03 KB, image/jpeg)
2016-01-17 16:32 UTC, Radek
Details
photo 5 (138.30 KB, image/jpeg)
2016-01-17 16:33 UTC, Radek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radek 2016-01-16 19:55:33 UTC
Default SAVE as any other document than ODF doesn't work. Cant change any default save for other from the list - same goes for other than documents.
Comment 1 Jean-Baptiste Faure 2016-01-16 20:26:01 UTC
Please, describe step by step what you do and that does not work.

Summary: please do not scream.

Set status to NEEDINFO.

Best regards. JBF
Comment 2 Radek 2016-01-16 20:47:42 UTC
I used to work on ms office 2003, after that openiffice.
Lately had a very important document to write - open office kept on crashing.
Libreoffice helped a lot but can't get the default save to work. Tooks/Options/load save/general
Whatever I change other than default it doesn't work - Ex. if save as or if I create a new documentits always .odf
Radek
Comment 3 Radek 2016-01-16 20:53:26 UTC
(In reply to Radek from comment #2)
> I used to work on ms office 2003, after that openiffice.
> Lately had a very important document to write - open office kept on crashing.
> Libreoffice helped a lot but can't get the default save to work.
> Tooks/Options/load save/general
> Whatever I change other than default it doesn't work - Ex. if save as or if
> I create a new documentits always .odf
> Radek

*'odt

sorry
Comment 4 Jean-Baptiste Faure 2016-01-16 21:20:39 UTC
You can create a document in the document format you want: in the save as you can choose the format in the filepicker where you define th name of the file.

Best regards. JBF
Comment 5 Radek 2016-01-16 21:26:06 UTC
(In reply to Jean-Baptiste Faure from comment #4)
> You can create a document in the document format you want: in the save as
> you can choose the format in the filepicker where you define th name of the
> file.
> 
> Best regards. JBF

You're right but if I choose as default to save the document as .doc - it doesnt work. So when I create a new one and save it it saves as .odf

The problem is- it simply doesn't work. My mother (a total beginner) doesn't want to work on libraoffice couse her program at work (ms 2010) cant read .odf and she doesnt know how to save it rather than just set the safe default.

Radek
Comment 6 V Stuart Foote 2016-01-17 14:56:48 UTC
The dialog is found in Tools -> Options -> Load Save -> General: in the "Default File Format and ODF Settings" section.

There a drop-down list holds the primary "Document type:"

Text document
HTML document
Master document
Spreadsheet
Presentation
Drawing
Formula

And each type has a corresponding dorp-down list of options "Always save as:" with several formats for each, but respective defaults of:

ODF Text document
HTML document
ODF Master document
ODF Spreadsheet
ODF Presentation
ODF Drawing
ODF Formula

With a default (cleared) user profile:

Selecting "Text document" and "Microsoft Word 97-2003" pair and OK'ing from the dialog, new Writer documents are saved as Word .doc

Exit from LibreOffice and reopen. Return to the Tools -> Options ... dialog and the default file format persists. And new Writer documents are saved to Word 97 - 2003 .doc format.

So, can not confirm as this works for me. Changing settings for default document save formats are applied and are persistent.

=-=-=
On Windows 10 Pro 64-bit en-US with
Version: 5.1.0.2 (x64)
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 8; OS Version: Windows 6.19; UI Render: GL; 
Locale: en-US (en_US)
Comment 7 Radek 2016-01-17 15:07:45 UTC
You're describing it how it supposed to work - I'm telling You that in my case it doesn't. I ran Win10, 4gb of ram, i5 4th gen processor.

I was just trying to help out improve the program by sending my bug issue.

Also when I install the program for the first time - clicking rick mouse button/trackpad and try to create a new libreoffice document - there's no option to do so. I have to reinstall it - than the documents "appear". Did so on 3 different computers.

Sincerely Radek from Poland
Comment 8 V Stuart Foote 2016-01-17 15:52:27 UTC
@Radek, *

(In reply to Radek from comment #7)
> You're describing it how it supposed to work - I'm telling You that in my
> case it doesn't. I ran Win10, 4gb of ram, i5 4th gen processor.
> 
> I was just trying to help out improve the program by sending my bug issue.

Thank you for filing!  

I was simply providing more complete details that you had omitted, so others can attempt to reproduce. I could not as it functions correctly. 

Please clear your user profile [1] and be certain that no Apache OpenOffice or other version of LibreOffice is conflicting and retest. If still having this issue set back to unconfirmed.


=-refs-=
[1] https://wiki.documentfoundation.org/UserProfile
Comment 9 Jean-Baptiste Faure 2016-01-17 15:57:40 UTC
Not reproducible for me with Version: 5.1.1.0.0+
Build ID: 055f20b8f2e2b8e1039c295784f01b7459c3a39f
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
Ubuntu_15.10_x86-64
Locale: fr-FR (fr_FR.UTF-8)

What I did:
1/ Open LO 5.1, you are in the StartCenter
2/ Menu Tools > Options > Load/Save > General
3/ Document type : text
4/ Always save as : Office Open XML Text
5/ Ok
6/ click on Writer Document under Create
7/ in the empty new document type dt+F3 to create a dummy text
8/ ctrl+S and type a name without file extension ; validate
9/ in your file browser go where you saved your file and check its file extension. I my case it is .docx as expected.
10/ same test as 4/ with Microsoft Word 97-2003 and same result with, this time, the expected .doc extension.

Same test with Version: 5.0.5.0.0+
Build ID: afa9abd94f1d178e0204deb3d155287e61d350b1
Ubuntu_15.10_x86-64
Locale : fr-FR (fr_FR.UTF-8)

gave the same results

Best regards. JBF
Comment 10 Arnaud LE CAM 2016-01-17 16:08:37 UTC
(In reply to Radek from comment #7)
> You're describing it how it supposed to work - I'm telling You that in my
> case it doesn't. I ran Win10, 4gb of ram, i5 4th gen processor.
> 
> I was just trying to help out improve the program by sending my bug issue.

Thank you
I it persists after clear your user profile, can you please attach a screenshot of your 'Type Files' scroll-list when you try to save ?

> 
> Also when I install the program for the first time - clicking rick mouse
> button/trackpad and try to create a new libreoffice document - there's no
> option to do so. I have to reinstall it - than the documents "appear". Did
> so on 3 different computers.
> 
> Sincerely Radek from Poland
Comment 11 Radek 2016-01-17 16:31:40 UTC
Created attachment 122039 [details]
photo 1
Comment 12 Radek 2016-01-17 16:32:02 UTC
Created attachment 122040 [details]
photo 2
Comment 13 Radek 2016-01-17 16:32:24 UTC
Created attachment 122041 [details]
photo 3
Comment 14 Radek 2016-01-17 16:32:51 UTC
Created attachment 122042 [details]
photo 4
Comment 15 Radek 2016-01-17 16:33:09 UTC
Created attachment 122043 [details]
photo 5
Comment 16 Radek 2016-01-17 16:34:41 UTC
Photos 1-3 default .doc doesn't work

Photos 4-5 work saving as default .doc on computer currently using - not working on other.
Comment 17 Radek 2016-01-17 16:37:02 UTC
I've installed all 3 programs second time - now creating a new libredocument by rightclicking works (but didn't when I first installed it).

On all computers had apache openoffice 4.
Comment 18 Jean-Baptiste Faure 2016-01-17 17:45:03 UTC
(In reply to Radek from comment #16)
> Photos 1-3 default .doc doesn't work

Argh! On photo 2 you wanted to create a new .odt file. And you got an .odt file as expected.
To prove that default save does not work, you should try the same process as in my comment #9

Note: you see here why it is so important to describe really step by step how to reproduce the problem.

Best regards. JBF
Comment 19 V Stuart Foote 2016-01-17 18:02:57 UTC
adjusting title, however the other issue OP is having with Windows file association is not related, i.e. to be able to open from Windows Explorer DE shell.
Comment 20 Radek 2016-01-17 18:10:20 UTC
On photo 2 I'm trying to create an libreoffice document that supposed to be in changed default to doc (?!). 

From what I understand if this is impossible than the only program to create this way a .doc document is an outdated MS Office Word? -and that's not true couse I've done the same in openoffice and it worked.

From what I understand if I change the default save from .odt to .doc - from this point on the default should be .doc - not .odt 

Or am I wrong?
Comment 21 Radek 2016-01-17 18:24:46 UTC
(In reply to Radek from comment #20)
> On photo 2 I'm trying to create an libreoffice document that supposed to be
> in changed default to doc (?!). 
> 
> From what I understand if this is impossible than the only program to create
> this way a .doc document is an outdated MS Office Word? -and that's not true
> couse I've done the same in openoffice and it worked.
> 
> From what I understand if I change the default save from .odt to .doc - from
> this point on the default should be .doc - not .odt 
> 
> Or am I wrong?

Yes, I was wrong.

I thought that creating a new document it should have the extention the defualt setup in the program was - in my case .doc.

Jus installed openoffice to prove it - it proved me wrong.

Nonetheless still cant save default on other computers as .doc.

I will try to uninstall everything, clean computer with cc cleaner and try again.

Sorry for trouble.

Radek
Comment 22 Jean-Baptiste Faure 2016-01-17 20:32:36 UTC
What is the command line associated with the "OpenDocument text document" icon on the photo 2?

Best regards. JBF
Comment 23 Xisco Faulí 2016-09-11 22:16:16 UTC Comment hidden (obsolete)
Comment 24 Xisco Faulí 2016-10-10 11:12:49 UTC Comment hidden (obsolete)
Comment 25 Mike Kaganski 2023-05-08 06:16:13 UTC
Indeed, this was working as expected.

The shell "New" element copies a "template document" from C:\Program Files\LibreOffice\share\template\shellnew into a location specified by user. Note that this is done by system, no LibreOffice appears here. The files that LibreOffice provide are indeed ODF. The copy is also ODF.

This is a bit similar to bug 133661, but in this case, there is nothing to be done, because the file type is not something that we can change in *existing* file (and at the moment LibreOffice opens the newly created file, its type is already defined by the system copy).