Issue 61253

Summary: Changing row height causes Note arrow to point to wrong cell
Product: Calc Reporter: planoduncan <planoduncan>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: REOPENED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: apache, daniel.rentz, issues, kpalagin, robbin.knapp, wcharriere
Version: OOo 2.0.1Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Changing row height causes Note arrow to point to wrong cell.
none
Test case (adjust row height to see problem).
none
Screenshot of displaced Note arrow (before and after)
none
Screenshot of Note position (at 20% view)
none
OpenOffice3.1 has almost fixed this issue. Changing row height or width still produces an offset - probably not enough numerical precision.
none
screenshot
none
Still not fixed in 3.3.0
none
minimal working example, see cell hh200. none

Description planoduncan 2006-01-27 21:52:37 UTC
Changing row height causes Note arrow to point to wrong cell, see attachment.
Comment 1 planoduncan 2006-01-27 21:54:28 UTC
Created attachment 33626 [details]
Changing row height causes Note arrow to point to wrong cell.
Comment 2 ace_dent 2006-01-28 00:19:36 UTC
Tested on WinXP SP2, with OOo2.0 and also 680m152.

Could not reproduce this issue.
>'planoduncan', please provide more information on creating the described
problem. Please include step-by-step instructions, with as much detail as
necessary, and maybe attach a test file for the issue.

Regards,
Andrew
Comment 3 planoduncan 2006-01-28 02:59:50 UTC
Here are detailed instructions for duplicating Bug Report 61253:

(1) open OpenOffice.org Calc,  (2)  click cell A60 to highlight it,  (3) on the 
menu bar click Insert then Note.  (4)  in the yellow Note window type "Note for 
cell A60"  (5)  click in any other cell to close the Note window  (6)  click 
the A at the top of column A to highlight the entire column  (7)  on the menu 
bar click Format  then  Row  then  Height  (8)  Change the default height from 
0.17"  to  0.20"  and click  OK  (9)  right click cell A60 and click Show Note -
  observe that the arrow no longer points to the red square in the upper right 
corner of cell A60 but now points to cell A61.  Also observe that the note is 
now displayed at row 49 with a long arrow to cell A61.  

The problem gets worse with a longer spreadsheet.  Try the same thing with cell 
A300 and you will find the arrow points to cell A306 with the note displayed at 
row 258.  By resetting the height to whatever value it was when you entered the 
notes the view is restored but this means that if you use notes in a 
spreadsheet that you can never change the row height.

Please let me know if these detailed instructions are sufficient for you to 
duplicate this problem on your computer.   If not I will try and offer 
additional help.  Thank you.
Comment 4 ace_dent 2006-01-28 20:04:02 UTC
There are several related issues (listed below), where the inserted Note is not
displayed in the expected position after some modification to the spreadsheet.

Position of Note is not adjusted when...
- Insufficient room on right-hand side of window (Issue 14286);
- Columns / rows are hidden (ie. size=0) (Issue 44282);
- Split separation inserted for row / column (Issue 56931);
- Row (/Column?) size is changed (Issue 61253).

Regards,
Andrew
Comment 5 ace_dent 2006-01-28 22:46:46 UTC
Confirmed with OOo 680m152, WinXP SP2.

Recreated issue as described by 'planoduncan' (thanks for the detailed description).

Andrew
Comment 6 ace_dent 2006-01-29 18:10:11 UTC
The reason I was unable to reproduce this bug at first, is that the displacement
of the arrow is proportional to the row number. In other words, trying the
procedure with a Note at Row 3 the effect is not visible, whereas for a Note at
Row 236 the arrow is clearly displaced. (Please see attached test case document).
The displacement of the Note arrow occurs when shrinking or expanding row
heights, as shown in the attached screenshot ('61253NoteArrow.png'). However, on
saving the document and reopening it, the position of the arrow is now correct.
The more serious problem is that the actual position of the Note is not updated.
This is best shown with the attached screenshot '61253NotePosition.png', taken
at ~20% zoom. Essentially this makes the Note not-visible when trying to view
after adjusting the row width.

Regards,
Andrew
Comment 7 ace_dent 2006-01-29 18:12:18 UTC
Created attachment 33658 [details]
Test case (adjust row height to see problem).
Comment 8 ace_dent 2006-01-29 18:13:06 UTC
Created attachment 33659 [details]
Screenshot of displaced Note arrow (before and after)
Comment 9 ace_dent 2006-01-29 18:13:55 UTC
Created attachment 33660 [details]
Screenshot of Note position (at 20% view)
Comment 10 frank 2006-02-08 14:19:13 UTC
Hi Niklas,

I thought that this is a double but could not find something covering this
Issue. So please have a look at it.

Frank
Comment 11 niklas.nebel 2006-07-14 13:57:53 UTC
It's issue 8049.

*** This issue has been marked as a duplicate of 8049 ***
Comment 12 niklas.nebel 2006-07-14 13:58:23 UTC
closing duplicate
Comment 13 planoduncan 2008-05-14 22:33:22 UTC
This issue was reported to be a duplicate of another issue.  I do not believe 
that is the case.  This issues was also supposed to be fixed in 3.0.  It has 
not been fixed in 3.0beta.
Comment 14 planoduncan 2008-05-14 22:40:36 UTC
This issue has not been fixed in 3.0 beta
Comment 15 daniel.rentz 2008-08-08 13:40:24 UTC
double, fixed in DEV300/dr66 (OOo 3.1)

*** This issue has been marked as a duplicate of 63671 ***
Comment 16 daniel.rentz 2008-08-08 13:40:55 UTC
closed
Comment 17 planoduncan 2009-01-05 06:50:47 UTC
This issue is still present in the latest version of OpenOffice.  It is a real 
pain because if you are using Notes in a spreadsheet you can not add/delete 
rows or change row height without the Notes positions and arrows getting out of 
place.  Someone suggested this was a duplicate issue but this is not the case.  
The issue was supposed to have been fixed in 3.0 but it wasn't.
Comment 18 planoduncan 2009-05-12 18:07:54 UTC
Created attachment 62207 [details]
OpenOffice3.1 has almost fixed this issue. Changing row height or width still produces an offset - probably not enough numerical precision.
Comment 19 niklas.nebel 2009-06-15 10:40:55 UTC
*** Issue 89306 has been marked as a duplicate of this issue. ***
Comment 20 niklas.nebel 2009-06-15 10:43:54 UTC
*** Issue 93717 has been marked as a duplicate of this issue. ***
Comment 21 robbk 2010-02-03 13:18:06 UTC
Confirmed in OOO310m11 Novell edition Build 2009-05-27. Increasing the row
height creates a noticeable offset of the note arrow.
Comment 22 robbk 2010-03-24 09:20:28 UTC
Is it possible to assign a more definite Target milestone than OOo 3.x? This
problem is so serious that our users are requesting we reinstall Excel. Thank you.
Comment 23 kpalagin 2010-11-01 16:23:27 UTC
Niklas, Daniel,
this issue is still present in 3.2.1 and m87. Please consider it for 3.4.
Thanks a lot for your attention.
WBR,
KP.
Comment 24 daniel.rentz 2010-11-01 17:28:33 UTC
I see this fixed in DEV300m88 (OOo 3.x) and OOO330m13 (OOo 3.3). Tried
inserting/removing rows/columns as well as changing row/column size.

@kpalagin: What exactly does not work for you?

Note that the temporary notes shown when hovering the cell with the mouse are
always placed at a default position next to the cell. If you make the note
visible permanently, it will use its internally stored position. For the note in
cell A236, this is somewhere in row 162/163.
Comment 25 daniel.rentz 2010-11-02 10:32:38 UTC
I just realized, also after looking at issue 115313, that after changing row
heights the line connector of temporary notes indeed points to a wrong position.
Comment 26 kpalagin 2010-11-02 10:33:20 UTC
Daniel,
thanks a lot for you response.

Using m91 and following http://www.openoffice.org/issues/show_bug.cgi?
id=61253#desc4 I am getting note arrow pointing to the wrong cell (see 
screenshot). This happens for either temporary or permanently shown note.

Regards,
Kirill.
Comment 27 kpalagin 2010-11-02 10:34:29 UTC
Created attachment 72817 [details]
screenshot
Comment 28 daniel.rentz 2010-11-03 09:27:22 UTC
@kpalagin: we may set this issue as duplicate of issue 115313
Comment 29 kpalagin 2010-11-03 09:57:28 UTC
So this issue should be fixed in 3.3.0?
Great job then!
Thanks a lot.
Comment 30 planoduncan 2011-01-27 21:18:34 UTC
Created attachment 75694 [details]
Still not fixed in 3.3.0
Comment 31 Marcus 2017-05-20 11:11:04 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 32 apache 2019-03-26 00:04:17 UTC
Description
===========
Changing row or column size before cell with comment results in comment box and arrow drawing to the wrong place.

Expected behavior
=================
Comments draw pointing to the cell they're anchored in.

Definitions
===========
'before' --
    above (for rows)
    left  (for columns) 

Observed behavior
=================
Consider a comment somewhere on a sheet, say in cell HH200.
If all rows and columns are the default size, the comment's arrowhead will point to the top right corner of cell HH200.
As rows above or columns to the left of HH200 are resized, the comment will draw in increasingly wrong positions.
Row and column size in rows or columns beyond HH200 (i.e. HI..ZZ or 201..1000) have no effect.

Steps to reproduce
==================
1. Navigate to cell HH200 on a new spreadsheet and insert comment there.
2. Toggle 'show comment' and observe its position, pointing to the top right of HH200.
3. Reduce columns A..GZ to width 0.04. Observe HH200's comment moves right.
4. Reduce rows 1..190 to height 0.04. Observe HH200's comment moves down.
5. Enlarge rows 1..190 to height 5.0. Observe HH200's comment moves up.
6. Enlarge columns A..GZ to width 5.0. Observe HH200's comment moves left.

See also
========
#128076 - Conditional formatting being evaluated in rows before a comment causes causes comment to display pointing lower than the correct cell
Comment 33 apache 2019-03-26 00:06:36 UTC
Created attachment 86658 [details]
minimal working example, see cell hh200.
Comment 34 apache 2019-03-26 00:08:16 UTC
(above comment should have included my system details)
Windows 10
AOO 4.1.6