Bug 127492 - Choosing versions other than current version when opening file from OS file chooser dialog doesn't work
Summary: Choosing versions other than current version when opening file from OS file c...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 128109 (view as bug list)
Depends on:
Blocks: File-Versioning
  Show dependency treegraph
 
Reported: 2019-09-11 09:58 UTC by Ming Hua
Modified: 2023-05-26 17:56 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case for Writer with three diffrent versions (23.12 KB, application/vnd.oasis.opendocument.text)
2019-09-11 10:00 UTC, Ming Hua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Hua 2019-09-11 09:58:53 UTC
Description:
When opening file from inside LO (as opposed to opening from the OS file manager), either from the start center, or from File -> Open... menu, or the open file toolbar button, has a dialog with a dropdown menu labeled "Version:", and the current version is the default.

However, changing the default to anything else doesn't seem to work, the opened file will always display the current version.

Steps to Reproduce:
1. Use one of the ways to open the attached ODT file, which has three different versions, from inside LO;
2. Choose "version 1" from the dropdown menu labeled with "Versions:";

Actual Results:
The file opens as version 3, the current version.

Expected Results:
The file opens as version 1, as requested.


Reproducible: Always


User Profile Reset: No



Additional Info:
I only tested this in Writer, and that's the component I'm reporting against.  However it may exists for other modules as well.

My "About LO" info:
Version: 6.3.1.2 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded
Comment 1 Ming Hua 2019-09-11 10:00:02 UTC
Created attachment 154098 [details]
Test case for Writer with three diffrent versions
Comment 2 Dieter 2019-09-11 12:26:43 UTC
I can't confirm it. I could open version 1 as well as version 2

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 01837a85004a6f891a09c0a63ed7eff75d634827
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-01_00:07:05
Locale: en-GB (de_DE); UI-Language: en-US
Calc: threaded
Comment 3 m_a_riosv 2019-09-11 12:58:52 UTC
I can confirm with OS open files dialog. 
Version: 6.4.0.0.alpha0+ (x64)
Build ID: f0c832acb53326ccc9a8c1a47401fbc9e1081feb
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-11_05:46:53
Locale: en-US (es_ES); UI-Language: en-US Calc: CL

But not with the LibreOffice dialog, with it works fine.
Comment 4 Ming Hua 2019-09-11 15:23:57 UTC
(In reply to m.a.riosv from comment #3)
> I can confirm with OS open files dialog. 
> Version: 6.4.0.0.alpha0+ (x64)
> Build ID: f0c832acb53326ccc9a8c1a47401fbc9e1081feb
> CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
> TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-11_05:46:53
> Locale: en-US (es_ES); UI-Language: en-US Calc: CL
> 
> But not with the LibreOffice dialog, with it works fine.
Ah yes, I indeed meant the Windows file chooser dialog when I said choose versions, not the LO native File -> Versions... dialog.

My word choice of "from inside LO" was trying to emphasize that one needs to use LO to open the file so that the file chooser dialog appears, instead of double-clicking directly from the Windows file manager.  In retrospect it was not a good choice, and probably caused more confusions than it was trying to clarify.
Comment 5 Xisco Faulí 2019-09-17 14:23:02 UTC Comment hidden (obsolete)
Comment 6 Xisco Faulí 2019-09-17 14:27:57 UTC
Ok, the version can be chosen in the import dialog...
Comment 7 Xisco Faulí 2019-09-17 14:35:28 UTC
Also reproduced in

Version: 5.4.0.0.alpha1+
Build ID: 9feb7f7039a3b59974cbf266922177e961a52dd1
CPU threads: 16; OS: Windows 6.29; UI render: default; 
Locale: en-GB (en_GB); Calc: group
Comment 8 Xisco Faulí 2019-09-17 14:39:37 UTC
and

Version: 5.0.0.0.alpha1+
Build ID: ab465b90f6c6da5595393a0ba73f33a1e71a2b65
Locale: en-GB (en_GB)
Comment 9 Oliver Brinzing 2019-10-13 05:50:57 UTC
*** Bug 128109 has been marked as a duplicate of this bug. ***
Comment 10 Ming Hua 2020-01-07 12:02:49 UTC
FWIW, when using LO's native file chooser instead of the OS one (check the Tools > Options > LibreOffice > General > "Use LibreOffice dialogs" checkbox to enable), specifying intended version works.  This checkbox seems only available in 6.3 and higher though.