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 2015/09/17 17:54:01 UTC

[Issue 126536] New: The "Revision" number always start from 2.

https://bz.apache.org/ooo/show_bug.cgi?id=126536

          Issue ID: 126536
        Issue Type: DEFECT
           Summary: The "Revision" number always start from 2.
           Product: General
           Version: 4.1.1
          Hardware: PC
                OS: Windows 8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P5
         Component: chart
          Assignee: issues@openoffice.apache.org
          Reporter: linlight3@gmail.com

Description:

1. Right click the screen.
2. Select "New".
3. Choose an "OpenOffice" program.
4. Open the program.
5. Click "File"
6. Click "Properties"
7. Write down the "Revision" number.



Expected result :

The "Revision" number will be 0.



Actual result:

The "Revision" number is 2.


Note:

This bug doesn't occur if you create a new file from the "OppenOffice" insted
of right click.

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

[Issue 126536] Incorrect 'Revision' number in OpenOffice Suite

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

orcmid <or...@apache.org> changed:

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

--- Comment #3 from orcmid <or...@apache.org> ---
(In reply to linlight3 from comment #0)
> Description:
> 
> 1. Right click the screen.
> 2. Select "New".
> 3. Choose an "OpenOffice" program.
> 4. Open the program.
> 5. Click "File"
> 6. Click "Properties"
> 7. Write down the "Revision" number.
> Expected result :
> 
> The "Revision" number will be 0.

> Actual result:
> 
> The "Revision" number is 2.

Yes, this is demonstrable.

The defect appears to be in the blank document that is loaded by Windows when
the New function is applied to an open area of a folder to create a default
initial document.

This appears to be an oversight in how that blank document is installed and
then created where the new one is requested.

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

[Issue 126536] Incorrect 'Revision' number in OpenOffice Suite

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

--- Comment #4 from orcmid <or...@apache.org> ---
(In reply to orcmid from comment #2)
> (In reply to josephat.mokamba from comment #1)
> > Confirmed the defect with the AOO suite. Given that OpenOffice products
> > -text,calc,presentation and drawing are opened by right clicking and
> > selecting 'new', the revision number displayed is '2' instead of the
> > expected '0'.
> > However, it is not possible to reproduce the defect for Database which
> > cannot be accessed via the steps of 'right click' and 'select new'.
> 
> I think this is a misunderstanding.
[ ... ]

I should have said this is a misunderstanding of the original report.  The
example is in using the File Explorer to make a "new" initial document by
right-clicking on an open area of a folder and selecting the "New" function.

Using "New" on an existing document's entry in File Explorer is a different
behavior.

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

[Issue 126536] Incorrect 'Revision' number in OpenOffice Suite

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

--- Comment #5 from orcmid <or...@apache.org> ---
I think this issue should be split into two.  The original report is about a
defect in how the boiler-plate for a new, untouched initial document using
Windows File Explorer is generated, and why it has a non-zero editing cycles
(revision) count.  Ideally, it would be the same as if the application were
opened and File | New were used with the default template (or the "Untitled n")
that is the initial document by default on opening Writer, Calc, or Impress.

This issue appears to be about that, and it would need to be cured in how those
initial documents are setup when Apache OpenOffice is installed.

A second concern is about how using New on an existing document does not reset
the editing cycles count on the copy that is opened. That appears to be by
design and might be a "Won't Fix" or an Enhancement request.  This should be
handled as a separate issue.

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

[Issue 126536] Incorrect 'Revision' number in OpenOffice Suite

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

orcmid <or...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |UNCONFIRMED
                 CC|                            |orcmid@apache.org
     Ever confirmed|1                           |0

--- Comment #2 from orcmid <or...@apache.org> ---
(In reply to josephat.mokamba from comment #1)
> Confirmed the defect with the AOO suite. Given that OpenOffice products
> -text,calc,presentation and drawing are opened by right clicking and
> selecting 'new', the revision number displayed is '2' instead of the
> expected '0'.
> However, it is not possible to reproduce the defect for Database which
> cannot be accessed via the steps of 'right click' and 'select new'.

I think this is a misunderstanding.

First, when new is used to open an existing document, it is as if the existing
document is used as a template for a new document.  Because that is the case,
when that document is then saved, it will have its revision number advanced by
1.  

Second, although they are called revision numbers, the initial version is
numbered revision 1.  There is apparently no revision 0 in the way this
property is handled. 

CONFIRMATION: Open AOO and select a blank writer document to start with. 
Notice that the revision number is set to 0 in the File | Properties dialog. 
Type something into the document, save it to disk, and see what the revision
number is "1" in the File System Properties sheet of the document on the
Document Statistics tab.  If you just open the document directly (i.e., via
Open), or via New, you get the document with Revision number 1 in the File |
Properties.  Either way, if you edit and save, you will now have revision
number 2.

This appears to be intended behavior. 

This should be researched further, but I suspect it is not a bug, however weird
it is to count editing cycles, starting with 1 for the first.

An odd case: If you are in a folder and you right-click in an open area and
click New > and Choose OpenDocument Text, that initial document, with default
name "New OpenDocument Text.odt" will have revision number 2. I would not be
surprised to find that the document that is supplied in that case is indeed at
revision number 2 and that is probably an oversight.

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

[Issue 126536] Incorrect 'Revision' number in OpenOffice Suite

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

josephat.mokamba@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Developer|Simple                      |---
         Difficulty|                            |

--- Comment #6 from josephat.mokamba@gmail.com ---
(In reply to orcmid from comment #5)
> I think this issue should be split into two.  The original report is about a
> defect in how the boiler-plate for a new, untouched initial document using
> Windows File Explorer is generated, and why it has a non-zero editing cycles
> (revision) count.  Ideally, it would be the same as if the application were
> opened and File | New were used with the default template (or the "Untitled
> n") that is the initial document by default on opening Writer, Calc, or
> Impress.
> 
> This issue appears to be about that, and it would need to be cured in how
> those initial documents are setup when Apache OpenOffice is installed.
> 
> A second concern is about how using New on an existing document does not
> reset the editing cycles count on the copy that is opened. That appears to
> be by design and might be a "Won't Fix" or an Enhancement request.  This
> should be handled as a separate issue.

I agree, the report does present two situations that can be solved differently.

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

[Issue 126536] Incorrect 'Revision' number in OpenOffice Suite

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

josephat.mokamba@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
          Developer|---                         |Simple
         Difficulty|                            |
                 CC|                            |josephat.mokamba@gmail.com
             Latest|---                         |4.1.2
    Confirmation in|                            |
            Summary|The "Revision" number       |Incorrect 'Revision' number
                   |always start from 2.        |in OpenOffice Suite
     Ever confirmed|0                           |1
         QA Contact|                            |josephat.mokamba@gmail.com
              Group|                            |qa-team

--- Comment #1 from josephat.mokamba@gmail.com ---
Confirmed the defect with the AOO suite. Given that OpenOffice products
-text,calc,presentation and drawing are opened by right clicking and selecting
'new', the revision number displayed is '2' instead of the expected '0'.
However, it is not possible to reproduce the defect for Database which cannot
be accessed via the steps of 'right click' and 'select new'.

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