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

--- Comment #10 from FredrikL <[email protected]> ---
Created attachment 208282
  --> https://bugs.documentfoundation.org/attachment.cgi?id=208282&action=edit
Test file with a comment that has a more narrow width than the authour
information

Thanks a lot for your reply Buovjaga and for taking the time to test the code
change.

Sorry but I forgot to mention that I had built and tested the code change on a
Linux Debian 13 computer with low memory though (4 GB). I actually came up with
the code change but Claude guided me to the right file and section where code
changes should be done.

To build and test the code change I modified:
~/libreoffice/sc/source/core/data/postit.cxx

and in a terminal to get to the correct directory:
cd libreoffice

To build the code change from source (being in the libreoffice directory in the
terminal):
make sc.build PARALLELISM=1 && make
(PARALLELISM=1 I just used to only use one kernel in the CPU because I have
such a low memmory on my computer)

Run LibreOffice calc and test the code change: 
./instdir/program/soffice --calc

I actually had the exact result I wanted with the comment on hovering a cell
beeing shown the width that it got by default when creating the comment. I
don't experience the problems with no comment showing up at all when hoovering
no matter what I select in the LibreOffice - Options - LibreOfficeDev Calc -
View - Comment Authorship checkbox.

I have noticed one problem though and that is probably another bug with the
Comment Authorship checkbox in the LibreOffice options. Sometimes when the
Comment Authorship checkbox is not checked the Authour information in a comment
that is beeing hovered is anyway shown. If the checkbox is selected in the
options dialog and is saved and closed and the options dialog is opened again
and the checkbox again deselected and the options dialog closed and saved again
everything is back to normal again. First I thought that this was a bug
introduced with my single row of code change but it turned out not to be on my
test computer at least because I build from source again using the original
postit.cxx file and the same problem is happening then too. Please note that
for some reason on my computer I can not just run:
make sc.build PARALLELISM=1 && make
For some reason the binary I'm running is not picking up my rebuilt sc module —
so I have to run make clean in the sc directory first like this:
cd sc
make clean
cd ..
make sc.build PARALLELISM=1 && make

I try to attach a sample ods file with a comment to run the tests on.

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

Reply via email to