Bug 148255 - LibreOffice Writer: Text "disappears" while writing between two formulas that are next to each other
Summary: LibreOffice Writer: Text "disappears" while writing between two formulas that...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.3.1.3 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: target:7.4.0 target:7.3.5
Keywords: bibisected, bisected, regression
: 148627 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-29 18:46 UTC by Antoni Aloy Torrens
Modified: 2023-01-12 16:07 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case for reproducing bug #148255 (19.22 KB, application/vnd.oasis.opendocument.text)
2022-03-29 18:50 UTC, Antoni Aloy Torrens
Details
Video proof showing bug #148255 (1.43 MB, video/mp4)
2022-03-29 18:52 UTC, Antoni Aloy Torrens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoni Aloy Torrens 2022-03-29 18:46:52 UTC
Description:
The text hides/disappears while writing content between two formulas that are right next to each other.

Steps to Reproduce:
1. Open LibreOffice Writer
2. Insert two formulas (as the content for each of them, the demo examples will do), one right next to each other (go to `Insert` -> `Formula` -> `Formula Object`).
3. Try to write some text in the middle

Actual Results:
Text is not seen / hides / disappears.

Expected Results:
Text should always be seen.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.3.1.3 / LibreOffice Community
Build ID: 30(Build:3)
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: ca-ES (ca_ES.UTF-8); UI: ca-ES
Ubuntu package version: 1:7.3.1~rc3-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 Antoni Aloy Torrens 2022-03-29 18:50:10 UTC
Created attachment 179192 [details]
Test case for reproducing bug #148255

It should be very self-explanatory. To reproduce the bug, try to overwrite something inside "Try to put text here".
Comment 2 Antoni Aloy Torrens 2022-03-29 18:52:57 UTC
Created attachment 179193 [details]
Video proof showing bug #148255
Comment 3 Roman Kuznetsov 2022-03-29 19:54:51 UTC
confirm the problem in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: a6a0b8cde3fa8673ea5ded216f9e007a496c9a88
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded Jumbo

without vcl:gtk it's the same

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: a6a0b8cde3fa8673ea5ded216f9e007a496c9a88
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: x11
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: threaded Jumbo

Looks as regression

Antoni could you test it in previous LibreOffice version? Like 7.2 or 7.1?
Comment 4 Telesto 2022-03-30 08:18:48 UTC
Not in
Version: 7.1.0.0.beta1+ (x64)
Build ID: f9fab4203c1aa0b9a3f27ce2713b6d5addc7df19
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 5 Roman Kuznetsov 2022-03-30 18:46:02 UTC
I bisected this one in win64-7.3 bisect repo and got the SHA
 71429b93ec0687bbbedcbb776b38c981f4017177

https://git.libreoffice.org/core/commit/71429b93ec0687bbbedcbb776b38c981f4017177

https://gerrit.libreoffice.org/c/core/+/123077

Added to CC:  Luboš Luňák

Could you please look at it. Thanks.
Comment 6 Antoni Aloy Torrens 2022-04-04 12:15:44 UTC
For the record, the problem is also present if you are typing next to a single formula, at the left side or the right side.
Comment 7 Antoni Aloy Torrens 2022-04-04 20:28:41 UTC
The bug is NOT reproducible on:

Version: 7.2.6.2 / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: en-US (C.UTF-8); UI: en-US
Calc: threaded
Comment 8 Luboš Luňák 2022-06-07 10:24:12 UTC
*** Bug 148212 has been marked as a duplicate of this bug. ***
Comment 9 Commit Notification 2022-06-07 11:57:28 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/0372da98bf9b2af82afc2e4ff919068bdcaae7db

fix SwViewShellImp::AddPaintRect() rectangle compression (tdf#148255)

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 10 Commit Notification 2022-06-08 10:08:40 UTC
Luboš Luňák committed a patch related to this issue.
It has been pushed to "libreoffice-7-3":

https://git.libreoffice.org/core/commit/76b284455ffee76d843fd8ee43a2f23c576efd23

fix SwViewShellImp::AddPaintRect() rectangle compression (tdf#148255)

It will be available in 7.3.5.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 11 freeware 2022-06-13 23:28:03 UTC
coming from bug 148212, which has been marked as the diplicate of this one

I just tested this version

LibreOfficeDev_7.3.5.0.0_Win_x64.msi	349646848	2022-Jun-13 08:01
SHA-256: 75a4ec249e5a76150891bbbd001f03a5f709b7dc3245fc4f5b9c99626753cab3

and if 148212 is concered it is still BUGGED (I'm getting the exact text rendering issue I've described there)

either the patch hasn't been applied to said version or 148212 and 148255 are not duplicates.
Comment 12 Dieter 2022-06-14 06:31:54 UTC
(In reply to freeware from comment #11)
> either the patch hasn't been applied to said version or 148212 and 148255
> are not duplicates.


Could you please try to verify, that bug 148255 has been fixed? Thank you.
Comment 13 Luboš Luňák 2022-06-20 10:42:07 UTC
Bug #148212 should have been marked as a duplicate of #146536, did that, and fixed that bug.
Comment 14 Buovjaga 2023-01-12 16:07:48 UTC
*** Bug 148627 has been marked as a duplicate of this bug. ***