Bug 154899 - Top of text is cut off (possibly depends on cairo version)
Summary: Top of text is cut off (possibly depends on cairo version)
Status: RESOLVED DUPLICATE of bug 152675
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.5.0.0 beta1+
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected
Depends on:
Blocks:
 
Reported: 2023-04-19 00:49 UTC by dw2021
Modified: 2023-09-22 12:20 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Shows what happens (12.75 KB, application/vnd.oasis.opendocument.text)
2023-04-19 00:51 UTC, dw2021
Details
Screenshot (78.48 KB, image/png)
2023-04-23 22:44 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dw2021 2023-04-19 00:49:03 UTC
Description:
In writing a new document, the top of the text gets cut off.


Steps to Reproduce:
1.open writer
2.start typing
3.

Actual Results:
top of text is cut off.

Expected Results:
complete text


Reproducible: Always


User Profile Reset: No

Additional Info:
n/a
Comment 1 dw2021 2023-04-19 00:51:13 UTC
Created attachment 186774 [details]
Shows what happens
Comment 2 Aron Budea 2023-04-23 22:43:19 UTC
I could bibisect this to the same commit as bug 153699, using Ubuntu 22.04 and gtk3 VCL plgin (not with gen):

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3f6677e9b610acf506e2d2d452f2e9252a1d3803
author		Caolán McNamara <caolanm@redhat.com>	2022-11-29 20:23:44 +0000
committer	Caolán McNamara <caolanm@redhat.com>	2022-11-30 12:14:10 +0100

"turn cairo_font_options_set_hint_metrics back off again"

If I understand correctly, version of cairo is 1.16.0 here:
https://packages.ubuntu.com/jammy/libcairo2

Caolán, could you please check if this bug exists with more recent cairo, and if there is a way to workaround it in LO?
Comment 3 Aron Budea 2023-04-23 22:44:55 UTC
Created attachment 186867 [details]
Screenshot
Comment 4 raal 2023-04-29 14:22:31 UTC
I have Ubuntu 22.04, libcairo2 1.16.0-5ubuntu2 and Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 52acefd6024ec79f8333ba40eef83816eda3046f
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and cannot reproduce the bug.
Comment 5 Aron Budea 2023-05-02 12:23:36 UTC
(In reply to Aron Budea from comment #2)
> I could bibisect this to the same commit as bug 153699, using Ubuntu 22.04
> and gtk3 VCL plgin (not with gen):
My details from Help -> About with the latest of 7.6's bibisect repo.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 424bdeda9fea09f0b48b5551baf872656845c7c3
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 6 Stéphane Guillou (stragu) 2023-09-22 12:20:24 UTC
Thanks, Aron. Same one indeed.

*** This bug has been marked as a duplicate of bug 152675 ***