[Libreoffice-bugs] [Bug 134915] UI: Checking Relative width for table with 12 cm and unchecking again results in 11, 90 cm

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 11 15:46:16 UTC 2020


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |difficultyBeginner,
                   |                            |easyHack

--- Comment #5 from Justin L <jluth at mail.com> ---
Umm, who would really care?
Plus, this mostly makes sense. Percentage changes to the table size to the
nearest integer percentage. It can't be 71.23988456886534% - it has to be 71 or
72%.  Thus, when you change it back to cm (or whatever high-precision unit you
are using), you will get a slightly different table size from the original
12cm.

(Yes, I did notice that it shrunk from 71% to 70% and then stabilized, so there
is probably a silly double rounding down happening here, but it is extremely
irrelevant in my mind.)

We can make this a simple-hack instead of closing it as NOTABUG. The code is
likely in sw/source/ui/table/tabledlg.cxx. Also, bug 134881 might be helpful.

So for the record, this is what I see would need fixing.
1.) notice the table size is 12cm. change to relative.  Now it is 71%.  OK.
2.) go to table properties again. Uncheck relative. Now it is 11.90 cm. OK
3.) go to table properties again. Check relative. Now it is 70%. OK
4.) repeat until you lose the skin on your finger tips. (it always remains on
70%).

So the problem is that it should remain on 71%, and not drop to 70%.

-- 
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/20201211/1926d13e/attachment.htm>


More information about the Libreoffice-bugs mailing list