Bug 155490 - Glyphs wiggling too much in Impress and Draw when entering edit mode
Summary: Glyphs wiggling too much in Impress and Draw when entering edit mode
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.0.3 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 161791 (view as bug list)
Depends on:
Blocks: Kerning regression-scaled-glyph-positions
  Show dependency treegraph
 
Reported: 2023-05-25 13:14 UTC by Rafael Lima
Modified: 2024-07-15 22:57 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Video showing the problem (414.27 KB, video/mp4)
2023-05-25 13:14 UTC, Rafael Lima
Details
File used in the video (602.09 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-05-25 13:14 UTC, Rafael Lima
Details
smaller reproducer ODP (32.64 KB, application/vnd.oasis.opendocument.presentation)
2024-07-15 22:49 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2023-05-25 13:14:10 UTC
Created attachment 187495 [details]
Video showing the problem

In Impress, when you click a text object to edit its text, the text wiggles right/left and some rows move up/down.

This problem happens with various fonts and in almost all my documents.

See attached video for an example of the issue (comparison between Impress and Power Point). Notice that in Impress (first part of the video) some characters wiggle to the right and some rows are moved down, whereas in Power Point there's no wiggling.

System info:

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Ubuntu package version: 4:7.5.3-0ubuntu0.23.04.1
Calc: threaded

Also happens in:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 00ede35a5241925d7060dd44fb81b71f7b03091c
CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Rafael Lima 2023-05-25 13:14:47 UTC
Created attachment 187496 [details]
File used in the video
Comment 2 Telesto 2023-05-25 20:22:20 UTC
I do see some rows move up/down (it' caused by the frame border appearing/disappearing). There should be a report about this somewhere

No wiggling glyphs on macOS
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1cfeb4bd8ce7f7727a81136bd3e2d6ebea976895
CPU threads: 8; OS: Mac OS X 12.6.3; UI render: Skia/Raster; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2023-07-07 13:05:08 UTC
I only see changes in the lines, not between characters. There is (at least) bug 89060 which was originally about characters, but was changed to be about lines.

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 445ab2355333ddb46081baffb8b0e3bb14fe00b3
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 July 2023
Comment 4 Stéphane Guillou (stragu) 2024-07-12 06:26:27 UTC
*** Bug 161791 has been marked as a duplicate of this bug. ***
Comment 5 Stéphane Guillou (stragu) 2024-07-12 06:33:05 UTC
With the sample document, I see a whole row move up in 7.4.0.3, and it changes to many characters moving independently in 7.5.9 (same in recent master build).

Would be good to bibisect when exactly that changed (although I'm not calling it a regression).

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0b1bbffe49e7830d69be44450ed7841352cde309
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 6 Stéphane Guillou (stragu) 2024-07-15 22:49:27 UTC
Created attachment 195323 [details]
smaller reproducer ODP
Comment 7 Stéphane Guillou (stragu) 2024-07-15 22:57:37 UTC
Actually, I'm calling it a regression because the vertical movement of some whole lines remains, but now we have independent movement of characters on top of it. A minor issue in my opinion, but it has become more distracting.

Seen in gen, gtk3, kf5 VCL plugins.

Bibisected with linux-64-7.5 repo to first bad build [5e9e431b4a9bc67357adaf635c34bdfd3ee61321] which is:

commit 1fa731d03ba0f22cb9392a578124ea977eaab2e9
author	Caolán McNamara 	Tue Aug 16 23:39:53 2022 +0100
committer	Caolán McNamara 	Thu Aug 18 20:30:33 2022 +0200
tdf#150462 don't prescale dxarray before using DrawTextArray
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138448

Caolán, can you please have a look?