You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/08/06 08:35:30 UTC

[Issue 125367] New: Versions contain the same content and are NOT read only

https://issues.apache.org/ooo/show_bug.cgi?id=125367

          Issue ID: 125367
        Issue Type: DEFECT
           Summary: Versions contain the same content and are NOT read
                    only
           Product: Writer
           Version: 4.2.0-dev
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: save-export
          Assignee: issues@openoffice.apache.org
          Reporter: pedlino@gmail.com

NOTE: This bug occurs ONLY when creating the file under Windows 7 x64. It works
as expected under Windows XP x86.

File Versions created following the steps described in Issue #123812 contain
the same content instead of the saved steps. 
Expected: File Version 1 should contain only text aaa and Version 2 should
contain aaa and bbb
Observed: both versions contain aaa and bbb

This makes Versions useless under Win7 x64

Additionally when opening a previous Version, the file should open as Read-Only
and doesn't (again ONLY under Win7 x64)

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125367] Versions contain the same content and are NOT read only

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125367

brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.brinzing@gmx.de

--- Comment #1 from brinzing <ol...@gmx.de> ---
Created attachment 83799
  --> https://issues.apache.org/ooo/attachment.cgi?id=83799&action=edit
test.odt

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125367] Versions contain the same content and are NOT read only

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125367

--- Comment #2 from brinzing <ol...@gmx.de> ---
i *cannot* confirm this AOO411m4(Build:9774)  -  Rev. 1614049 Win7/x64
attached is a test.odt - version1 and version2 are different

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125367] Versions contain the same content and are NOT read only

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125367

--- Comment #3 from Pedro <pe...@gmail.com> ---
Just tested with the file attached by brinzing. Same problem. I even deleted my
user profile and started with a blank one, but it didn't change the result.

If you do File > Open, select test.odt and BEFORE pressing OK you select on the
Versions droplist (just under the file name) Version 1 do you get only aaa?

IMPORTANT COMMENT: I just switched to the OpenOffice dialogs and the error does
not occur i.e. choosing Version 1 shows only aaa and the document is opened as
Read Only. 
This probably explains why the error does not occur under Linux or Windows XP?

More details: if after opening the file I go to File > Versions and select the
first version (with comment Hello), I can open as Read Only and the content is
only aaa

Good news: the Versions are saved correctly (there is no data loss) it's only
the Windows 7 native Open dialog that is confusing AOO.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125367] Versions contain the same content and are NOT read only

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125367

Ariel Constenla-Haile <ar...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.2.0-dev
    Confirmation on|                            |
            Version|4.2.0-dev                   |OOo 3.4 Beta

--- Comment #6 from Ariel Constenla-Haile <ar...@apache.org> ---
The problem is indeed with the system FilePicker implementation in Windows >=
Vista.

void VistaFilePickerImpl::impl_sta_GetControlValue(const RequestRef& rRequest)
in fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx

It does not take into account
css::ui::dialogs::ExtendedFilePickerElementIds::LISTBOX_VERSION

The bug also applies to other listbox controls:

css::ui::dialogs::ExtendedFilePickerElementIds::LISTBOX_VERSION
css::ui::dialogs::ExtendedFilePickerElementIds::LISTBOX_TEMPLATE
css::ui::dialogs::ExtendedFilePickerElementIds::LISTBOX_IMAGE_TEMPLATE

Example:

- make sure you are using the system dialogs in Windows >= Vista (Tools -
Options... - OpenOffice - General - Open/Save dialogs - UNcheck "Use OpenOffice
dialogs")
- new Writer document
- Insert - Picture - From File...
- Select a picture
- In the "Style" listbox, select "Watermark"
- Result: the picture is inserted with the frame style "Graphics" (the default)

- Switch to use OpenOffice dialogs (Tools - Options... - OpenOffice - General -
Open/Save dialogs - check "Use OpenOffice dialogs")
- insert a picture with frame style "Watermark"
- Result: the frame style is the one selected

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125367] Versions contain the same content and are NOT read only

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125367

--- Comment #5 from Ariel Constenla-Haile <ar...@apache.org> ---
This might be a problem with the system FilePicker, it is a different
implementation for Windows >= Vista.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125367] Versions contain the same content and are NOT read only

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125367

brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #4 from brinzing <ol...@gmx.de> ---
> If you do File > Open, select test.odt and BEFORE pressing OK
> you select on the Versions droplist (just under the file name) Version 1 do you get only aaa?

now confirming, i selected "Version1" but "Version2" will opened

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.