Download it now!
Bug 133397 - Wrong font size when dragging text from comment box to document (with zoom != 100%)
Summary: Wrong font size when dragging text from comment box to document (with zoom !=...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Comments Drag-and-Drop
  Show dependency treegraph
 
Reported: 2020-05-26 06:06 UTC by Telesto
Modified: 2020-06-14 15:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-05-26 06:06:16 UTC
Description:
Wrong font size when dragging text from comment box to document

Steps to Reproduce:
1. Open Writer
2. Type say AA
3. Insert a comment box
4. Type some text in it
5. Select the text in the comment box and drag it into main document and release

Actual Results:
Fontsize 7,5

Expected Results:
Fontsize 10 as in comment box


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha1
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: GL; VCL: osx; 
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded

not in
4.3.7.2
Comment 1 ian 2020-05-26 13:38:11 UTC
Thanks for reporting this, Telesto.

I don't experience any issues with the font size changing within Windows (I know you tested with a Mac).

I used:
Version: 7.0.0.0.alpha1+ (x64)
Build ID: 0e5e935deb0527c64865cfcc53a0421e56b74b6f
CPU threads: 2; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Buovjaga 2020-06-14 14:08:33 UTC
In older versions this seems to be somehow dependent on where exactly do you drag it to. I am able to get results where the font size matches the body text (12 pt) or is bigger (18 pt) depending on where I drag to.

I see the shrinking consistently on Linux & Win master, though. Linux gives me 9 pt and Windows 7,5 pt. It is not yet seen in the latest commit of Win 7.1 repo.
Comment 3 Aron Budea 2020-06-14 15:24:38 UTC
For me this depends on the zoom level, I get varying text size based on the current zoom.
I tested it very simply, added a comment to an empty document, and selected a piece of the comment text, then dragged it to the document area.

Happens with 3.3.0 as well, so not a regression.