Bug 89060 - Lines move when focusing into text box (see comment 12)
Summary: Lines move when focusing into text box (see comment 12)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Textbox
  Show dependency treegraph
 
Reported: 2015-02-02 20:38 UTC by Chris King
Modified: 2019-02-24 19:24 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
PowerPoint Slide with 2 textboxes. Clicking in either changes the character spacing in that textbox. (41.96 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2015-02-02 20:38 UTC, Chris King
Details
Shows that the bug is present in presentations that are not imported. (13.76 KB, application/vnd.oasis.opendocument.presentation)
2015-02-09 16:22 UTC, Chris King
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris King 2015-02-02 20:38:57 UTC
Created attachment 113066 [details]
PowerPoint Slide with 2 textboxes.  Clicking in either changes the character spacing in that textbox.

A slide imported from PowerPoint contains a textbox.  (The font in the attachment is Linux Libertine; also observed with the default font, Calibri Light.)  After importing into Impress, the spacing between characters changes when you click in the textbox, then changes back when you click outside the textbox.  I expected the spacing to not change during editing.

Steps to reproduce:
Import a slide containing text in a textbox from PowerPoint.  Click in the textbox, then click outside the textbox.

What's observed:
The text spacing changes when entering and leaving the textbox.

What's expected:
The text spacing is expected to remain constant, whether the text is being edited or not.
Comment 1 Buovjaga 2015-02-06 16:37:46 UTC
Reproduced, but not with 3.5.0.

Win 7 Pro 64-bit, LibO Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: fi_FI

Version: 4.5.0.0.alpha0+
Build ID: 99c00b090533da9818444be2831b8da0e713e5f9
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-02-04_06:38:53
Locale: fi_FI

Ubuntu 14.10 64-bit 
Version: 4.4.0.3
Build ID: 40m0(Build:3)
Locale: en_US

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 2 Rostislav 'R.Yu.' Okulov 2015-02-06 20:44:52 UTC
Bug is not in bibisect-43all.tar.xz range.

Mark as bibisected.
Comment 3 Matthew Francis 2015-02-09 03:01:32 UTC
@R.Yu - Please don't mark bugs as "bibisected" unless an actual commit (range) has been identified

@Beluga - I see slight character layout changes even at the start of the 43all bibisect repository (not as easy to see, but I suspect that the essential bug is the same, and other font handling changes have merely made it more obvious). I don't have 3.3 available on Linux to test, but possibly this is in fact Inherited from OOo?

Setting:
Whiteboard -> preBibisect
Version -> 3.5.0 release (the earliest release after the master version I tested)
Comment 4 Buovjaga 2015-02-09 06:21:20 UTC
Strange. Now I could indeed reproduce with 3.5.0.
3.3.0 had a white bg, I changed the text color to black and could observe the title kerning change.
Comment 5 Chris King 2015-02-09 16:22:34 UTC
Created attachment 113262 [details]
Shows that the bug is present in presentations that are not imported.

The original report was for text that was imported from PowerPoint.  The attachment was created in Impress, showing that this bug is not limited to imported files.  

Removed reference to PowerPoint import from the title.
Comment 6 Chris King 2015-02-09 16:34:53 UTC
Changing kerning does not stop the change in character spacing.  For example, in the second attachment, select the text, right-click and select "Character...".  On the position tab, under "Spacing", remove the check from "Pair kerning".  The text still jumps around on clicking inside and outside the textbox.
Comment 7 QA Administrators 2016-02-21 08:35:15 UTC Comment hidden (obsolete)
Comment 8 Chris King 2016-02-22 16:33:35 UTC
Still present in LO 5.1.0.
Comment 9 QA Administrators 2017-12-08 08:08:20 UTC Comment hidden (obsolete)
Comment 10 Chris King 2017-12-09 20:37:53 UTC
Still present in LO 5.4.3.2.
Comment 11 QA Administrators 2019-02-20 03:47:46 UTC Comment hidden (obsolete)
Comment 12 Chris King 2019-02-21 14:27:12 UTC
Still present in 6.2.0.3.
However, it now appears that the lines are moving, but that the spacing between letters is not changing.  In other words, the margins may be changing when the focus changes from the cursor being in the textbox to not in the textbox.
Comment 13 Buovjaga 2019-02-24 19:24:41 UTC
On Windows, 6.2.0, both lines move slightly down upon focus.
With a master build, only the top line moves - upwards!

In older versions we might see letters like i and e moving horizontally, but that behaviour is gone.

Version: 6.3.0.0.alpha0+ (x64)
Build ID: a798926550ab3ea8613f28a7be2672ebe9e7dfbe
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-24_04:50:25
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded