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 2023/01/25 18:50:12 UTC

[Issue 128557] New: Comment to a changed cell - minor flaws

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

          Issue ID: 128557
        Issue Type: DEFECT
           Summary: Comment to a changed cell - minor flaws
           Product: Calc
           Version: 3.3.0 or older (OOo)
          Hardware: PC
                OS: Windows, all
            Status: UNCONFIRMED
          Severity: Trivial
          Priority: P5 (lowest)
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: czeslaw.wolanski@gmail.com
  Target Milestone: ---

Steps to demonstrate:
1. Open a new Calc document
2. Turn on change tracking via Edit - Changes - Record
3. Select any cell and type something into it
4. Select this cell
5. Choose Edit - Changes - Comment and add a comment
6. Close the dialog
7. Rest your mouse pointer over the said cell

Calc will display a callout containing:
- author's first and last name, date and time of change
- comment,
- description of change.

for example:

   John Doe, 01/25/2023 19:01:06:
   comment line
   comment line
   ( Cell B5 changed from '<empty>' to '123.456')


Notice that:
(1)
There is a colon at the end of the first line/part.
Keep in mind the French might require a leading space
(":" is hardcoded...) and that Writer doesn't display
the colon in a callout.

Could the content of the callout really be misunderstood
without the colon?


(2)
there is a superfluous space after "("
in the line describing the recorded change.
The Accept or Reject Changes dialog doesn't show it.


Expected result:
no colon (1) and no space (2).


--------------------------------------

Possible source code pointer: 
/aoo41x/main/sc/source/ui/view/gridwin5.cxx 

Line 182 (colon) & 187 (space)


176    DateTime aDT = pFound->GetDateTime();
177    aTrackText  = pFound->GetUser();
178    aTrackText.AppendAscii(RTL_CONSTASCII_STRINGPARAM( ", " ));
179    aTrackText += ScGlobal::pLocaleData->getDate(aDT);
180    aTrackText += ' ';
181    aTrackText += ScGlobal::pLocaleData->getTime(aDT);
182    aTrackText.AppendAscii(RTL_CONSTASCII_STRINGPARAM( ":\n" ));
183    String aComStr=pFound->GetComment();
184    if(aComStr.Len()>0)
185    {
186        aTrackText += aComStr;
187        aTrackText.AppendAscii(RTL_CONSTASCII_STRINGPARAM( "\n( " ));
188    }
189    pFound->GetDescription( aTrackText, pDoc );
190    if(aComStr.Len()>0)
191    {
192        aTrackText +=')';
193    }

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

[Issue 128557] Comment to a changed cell - minor flaws

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

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
          Developer|---                         |Easy
         Difficulty|                            |
           Hardware|PC                          |All
                 OS|Windows, all                |All
             Status|CONFIRMED                   |RESOLVED
   Target Milestone|---                         |4.2.0

--- Comment #3 from Matthias Seidel <ms...@apache.org> ---
Fixed in trunk with:
https://github.com/apache/openoffice/commit/375f5bafad26878da9deb0e418aea6df7e31d41e

Cherry-picked for AOO42X with:
https://github.com/apache/openoffice/commit/c17c36cc5f3b6e4237a6a5c86cd6db824daabc2b

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

[Issue 128557] Comment to a changed cell - minor flaws

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

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mseidel@apache.org

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

[Issue 128557] Comment to a changed cell - minor flaws

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

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Latest|---                         |4.1.13
    Confirmation in|                            |

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

[Issue 128557] Comment to a changed cell - minor flaws

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

--- Comment #1 from Czesław Wolański <cz...@gmail.com> ---
Created attachment 87167
  --> https://bz.apache.org/ooo/attachment.cgi?id=87167&action=edit
Screeenshots demonstrating this issue

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

[Issue 128557] Comment to a changed cell - minor flaws

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

Matthias Seidel <ms...@apache.org> changed:

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

--- Comment #2 from Matthias Seidel <ms...@apache.org> ---
Maybe we could also change the ", " to " - "

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

[Issue 128557] Comment to a changed cell - minor flaws

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

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.1.14

--- Comment #4 from Matthias Seidel <ms...@apache.org> ---
Cherry-picked for AOO41X with:
https://github.com/apache/openoffice/commit/661500d247158afbdec8c06dc980356593a00698

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