Bug 101276 - File save required even if no changes with .docx, but not with .odt
Summary: File save required even if no changes with .docx, but not with .odt
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.4.2 release
Hardware: All macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-03 18:01 UTC by jimrussell98116
Modified: 2017-07-05 09:09 UTC (History)
2 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 jimrussell98116 2016-08-03 18:01:07 UTC
User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36
Build Identifier: LibreOffice 5.1.4.2

Open a document that is in .docx format (created in LibreOffice, and saved before). Make no changes. Close it. Dialog "Save changes to document ... Don't Save | Cancel | Save. Save it. Open it again, close it again, same happens.
Note that this is not quite the same as the annoying Microsoft behavior of considering as little as a cursor repositioning a change. In the present case, the problem is present even without positioning the cursor in the document.

On the other hand, a document in .odt format closes without a prompt, as it should.

If I click on the Save icon prior to closing, the problem is absent. This seems to be related to bug 101239. I see in the discussion of 101239 that the save icon behavior has been deliberately changed. For what it's worth, 1) I don't like the revised behavior, but that is an enhancement request, 2) it appears to be inconsistent, sometimes opening with the orange dot, sometimes not, but I cannot repeat that reliably and in any case it would be a separate bug from this one.



Reproducible: Always

Steps to Reproduce:
1. Open a Writer document saved in .docx format (note that orange dot is on  Save icon, even though you haven't touched document)
2.Close it by any means (click red button, or File->Close or LibreOffice->Quit LibreOffice). 
3. Do not make any change or even click in the document.
4.Save dialog appears though it should not.
Actual Results:  
Save dialog appears.

Expected Results:  
Save dialog should not appear, document should just gracefully close.

[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Mac OS X (All)
OS is 64bit: no


Reset User Profile?No
Comment 1 Joel Madero 2016-08-03 18:25:58 UTC
Version: 5.3.0.0.alpha0+
Build ID: fc305bb6d656736bedc2f89789e18d8c9a3bbf2c
CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; 
Locale: en-US (en_US.UTF-8); Calc: group

Cannot confirm. 


FWIW - no one that I've talked to likes the new save behavior but it's not going away. I wouldn't waste my time filing an enhancement request. If anything, join the UX mailing list and say you're one of the countless number of people who are unhappy about the unnecessary and confusing change.
Comment 2 Alex Thurgood 2016-08-04 08:23:11 UTC
No repro in 

Version: 5.3.0.0.alpha0+
Build ID: 66fc20335348ec195237c711edca821d8771439c
CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; 
Locale: fr-FR (fr.UTF-8); Calc: group

1) Opened new Writer document.
2) Typed "Export to docx"
3) Saved directly as docx
3) Closed file.
4) Re-loaded file into LO
5) Closed file without clicking on window, moving cursor or any other interaction.
6) No message about saving changes, document window closes.
Comment 3 Alex Thurgood 2016-08-04 08:27:37 UTC
No repro either in

Version: 5.1.4.2
Build ID: f99d75f39f1c57ebdd7ffc5f42867c12031db97a
CPU Threads: 2; OS Version: Mac OS X 10.11.6; UI Render: default; 
Locale: fr-FR (fr.UTF-8)

using the method described in comment 2

@Jim : there must be something more specific about what you're doing that triggers this.

Did you save the document directly to docx, or was it first saved as ODT then subsequently as DOCX ?

Does the document contain any particular objects, e.g. web links, images, or form controls ?

Please provide a sample document where this behaviour is reproducible for you.

Setting to NEEDINFO, please set back to UNCONFIRMED once you have provided the requested information.
Comment 4 jimrussell98116 2016-08-04 15:42:08 UTC
I can't do any extensive replication effort just now. I'll have to get back to this next week. I'll be off the grid for a while.

For what it's worth, I have set .docx as my default format, to be able to communicate with colleagues. My Mac OSX is 64 bit, 10.11.6.
Comment 5 QA Administrators 2017-01-31 00:29:31 UTC Comment hidden (obsolete)
Comment 6 jimrussell98116 2017-01-31 01:54:31 UTC
I tried to replicate this, but it is no longer a problem apparently. I am now using release 5.2.3.3.