[Libreoffice-ux-advise] [Bug 104271] New comment box should automatically re-position and re-size appropriately based on the shape of text pasted into it

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 2 22:31:49 UTC 2017


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

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needsUXEval
             Status|UNCONFIRMED                 |NEW
                 CC|                            |cno at nouenoff.nl,
                   |                            |libreoffice-ux-advise at lists
                   |                            |.freedesktop.org,
                   |                            |philipz85 at hotmail.com,
                   |                            |rb.henschel at t-online.de,
                   |                            |vstuart.foote at utsa.edu
            Version|3.3.0 release               |Inherited From OOo
     Ever confirmed|0                           |1

--- Comment #1 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to lopeonline from comment #0)
> Actual Results:  
> 1. It opens a new comment box, positioned 3 cells above and 1 cell to the
> right of the cell.
> This is a very bad default position for a new comment, because:
> 
> 2. It scrolls the whole calc workspace to the right unnecessarily, so you
> can't see the left column anymore, so you have to manually scroll left after
> adding the comment.

So possibly it should be aware of the available space in all directions and
open the comment box in the most optimal position, just like it does so on
hovering over the cell, but saves the original position still as the position
to open the comment when right click > show comment. Excel has a similar
behaviour as Calc. Calligra and WPS have editing comments in a dialog box.

> 3. The comment box's position and width are not set appropriately.

Calc's comment width (106px) is ~80% of the size of Excel's (129px) and ~50% of
the size of Google Sheets (216px). I can fit 13 numbers (liberation sans 10pt)
in Calc's comment width, 20 numbers (tahoma 8pt) in Excel and 27 numbers (arial
10pt) in Google Sheets. With Calc's default cell width, you can fit 23 numbers
in two cells, while Writer's comments you can fit 25 numbers. Aiming to fit 20+
numbers per line would be what i'd recommend doing and we can get to 22 numbers
per line by increasing the width to fit 2 cells (~165px). We could fit 24
numbers if we also reduce the font size to 9pt.

> 4. It also does not allow you to immediately resize the comment box. You
> have to first click outside the comment box, then the new comment is hidden,
> then you have to right click the cell and show the comment. Then you have to
> click the comment once, ONLY then can you resize it.

Yes unfortunately as comments are treated exactly like shapes and textboxes, I
doubt it would be possible to resize it while in text edit mode. @Regina: Any
insights?

> 5. The first time you drag a newly created comment box away from it's
> original position, it moves a little bit, then disappears and resumes it's
> original position. The 2nd time you drag it, it is dragged properly.

Not able to reproduce this behaviour.

> In a Nutshell: When text is pasted into the new comment box, the box should
> expand as necessary to accommodate the pasted text, up to a maximum width
> equal to the workspace in calc window; after setting the width, the height
> should be set to accommodate the entire comment text.

Not sure that resizing the width of the comment box based on the pasted text is
the way to go, as most comments are typed and are short.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list