[Libreoffice-bugs] [Bug 121352] New: Calc red comment indicator is too large and obscures cell values

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Nov 11 12:45:45 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121352

            Bug ID: 121352
           Summary: Calc red comment indicator is too large and obscures
                    cell values
           Product: LibreOffice
           Version: 6.1.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: wizzycode at virginmedia.com

Description:
The red comment indicator obscures the cell values, making it very hard to read
the last digit in the cell even though the indicator is semi-transparent. 

This is very noticeable with lower zoom levels, e.g. 60% and makes the sheet
unusable.

Also tested with LibreOffice 6.2 Alpha 1 and the problem still exists.

Steps to Reproduce:
1. Create a new sheet.
2. Add a number to a cell, e.g. 100
3. Add a comment to the same cell.
4. Change the zoom level to 60%

Actual Results:
The last digit in the cell is obsured by the red comment indicator making it
very hard to read as it covers a large portion of the last digit.

Expected Results:
The solution is quite simple, the red comment indicator should be moved to the
top right corner of the cell (no space between the border and the indicator),
and made smaller. This is in fact what OpenOffice does and works well even at
low zoom levels.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
If my understanding of the code is correct it seems that this line (2224) in
core/sc/source/ui/view/output.cxx method DrawNoteMarks() needs to be modified:

 rRenderContext.DrawRect( tools::Rectangle(
nMarkX-5*nLayoutSign,nPosY,nMarkX+1*nLayoutSign,nPosY+6 ) );

The OpenOffice equivalent is:
pDev->DrawRect( Rectangle( nMarkX,nPosY,nMarkX+2*nLayoutSign,nPosY+2 ) );

OpenOffice is using a much better red comment rectangle size and position, can
a similar approach be taken for LibreOffice?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181111/5e52e02e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list