Bug 117778 - UI: Spreadsheet cell comment window isn't redrawn correctly to provide boundary to added text
Summary: UI: Spreadsheet cell comment window isn't redrawn correctly to provide bounda...
Status: RESOLVED DUPLICATE of bug 114956
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.0.0.2 rc
Hardware: All All
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2018-05-24 15:28 UTC by Rob Lewis
Modified: 2018-06-05 09:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of comment box boundary (17.96 KB, image/png)
2018-06-04 08:22 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Lewis 2018-05-24 15:28:12 UTC
Description:
When typing in a cell comment, if the added text goes to a new line the comment window doesn't expand to hold it. The new line of text appears underneath the box. 

Cell comments in general seem rather buggy and could use a re-think. Why can't you resize and reposition the comment window by just dragging the corners? Why do you have to enter a special mode? 

Steps to Reproduce:
1.Add a comment to a spreadsheet cell
2.Type more text than the default box will hold
3.

Actual Results:  
When the text overflows the box and wraps to a new line, the line appears outside the box (underneath it). 

Expected Results:
The box enlarges to hold the text. 

(General comment: it seems the comment UI could use a rethink. Why can't you resize the box by just dragging the corners like a normal window? Why can't you easily reposition the window? Why must you enter a special mode?) 


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Mac OS X (All)
OS is 64bit: yes

Version: 6.0.0.2
Build ID: 06b618bb6f431d27fd2def25aa19c833e29b61cd
CPU threads: 8; OS: Mac OS X 10.13.4; UI render: default; 
Locale: en-US (en_US.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0
Comment 1 Alex Thurgood 2018-06-04 08:17:35 UTC
No repro for me with

Version: 5.4.7.2
Build ID: c838ef25c16710f8838b1faec480ebba495259d0
Threads CPU : 4; OS : Mac OS X 10.13.4; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group

If I type continuously in a comment box in Calc, then the comment box expands downwards to accomodate my typing.
If I add a carriage return, the same thing happens.

As far as I can tell, this is WORKSFORMEwith LO5472.
Comment 2 Alex Thurgood 2018-06-04 08:21:30 UTC
Confirming with

Version: 6.0.3.2
Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
Threads CPU : 4; OS : Mac OS X 10.13.4; UI Render : par défaut; 
Locale : fr-FR (fr_FR.UTF-8); Calc: group

Clearly, the bounding box of the comment is not getting redrawn correctly, and is shown as a grey dashed line, with the initial black line of the comment box left at the first line of comment.

Enclosing screenshot.

Regression
Comment 3 Alex Thurgood 2018-06-04 08:22:10 UTC
Created attachment 142508 [details]
Screenshot of comment box boundary
Comment 4 Xisco Faulí 2018-06-05 09:01:26 UTC
Also reproduced in

Version: 6.1.0.0.beta1+
Build ID: b57819201ff89bbde14b4df8c02a0eb4bea2c2bb
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 5 Xisco Faulí 2018-06-05 09:09:57 UTC
Regression introduced by commit f06b48a5dddab20fd1bbf9b5f3e8543593f5e590, which is the same as in bug 114956. Closing as RESOLVED DUPLICATED...

*** This bug has been marked as a duplicate of bug 114956 ***