Bug 134092 - Lag scrolling down caused by image anchored to character depending on zoomfactor
Summary: Lag scrolling down caused by image anchored to character depending on zoomfactor
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: perf
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2020-06-18 07:02 UTC by Telesto
Modified: 2023-07-28 03:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (971.17 KB, application/vnd.oasis.opendocument.text)
2020-06-18 07:02 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-06-18 07:02:11 UTC
Description:
Scrolling down freezes Libreoffice caused by image anchored to character

Steps to Reproduce:
1. Open the attached file
2. scroll down

Actual Results:
Freeze/hang

Expected Results:
Able to scroll


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: default; VCL: osx; 
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
Calc: threaded
Comment 1 Telesto 2020-06-18 07:02:51 UTC
Created attachment 162138 [details]
Example file
Comment 2 Telesto 2020-06-18 07:09:46 UTC
If you scroll up down a few times you will notes a jumping image. second page/third page

Scrolling is smooth in 4.3.7.2.. but optimal wrap is disabled as a fallback, to prevent the issue
Comment 3 Telesto 2020-06-18 10:04:27 UTC
Found in
4.4.7.2

and in 3.5.7.2


Not sure why 4.3.7.2 on my mac behaved differently
Comment 4 Dieter 2020-10-04 11:53:23 UTC
There are two (more or less identical) images in the document. You don't differ in your description. And how does scrolling depend on zoom factor (see bug summary)?

=> NEEDINFO
Comment 5 Telesto 2020-10-04 15:28:54 UTC
(In reply to Dieter from comment #4)
> There are two (more or less identical) images in the document. 

Yes

> You don't differ in your description. 

Relevance? Not sure where you're going here.. It's about 'freezing' caused/triggered by images.. (probably interacting with each other)

> And how does scrolling depend on zoom factor(see bug summary)?

Scrolling doesn't depend on zoom factor; the freezing does.. On certain zoomfactors you won't encounter the issue (maybe again different between versions of LibO)

If you scroll down the whole document hangs.. sometimes you get lucky (and there is some feedback.. other cases it hangs permanently.
Comment 6 Buovjaga 2021-07-26 15:07:05 UTC
No crash. Scrolled up and down with 80, 90, 100, 110, 120% zoom

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67e47070a7580a17804adce812cc2f98bfe7b51f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 7 Telesto 2021-07-27 07:50:39 UTC
It's still lagging for me
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 2a151d1d5bc055d5e0011460b6ec42ea9f34f880
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

1. Set zoom factor prior opening to 120% .
2. Open the file
3. Scroll to page 2

So bug 131729 fixed the crash, but created some sub-optimal positioning of the image where the layout code struggles to find the proper placing (likely triggered by wrap)
Comment 8 Buovjaga 2021-07-27 07:55:17 UTC
(In reply to Telesto from comment #7)
> It's still lagging for me
> Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 2a151d1d5bc055d5e0011460b6ec42ea9f34f880
> 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
> 
> 1. Set zoom factor prior opening to 120% .
> 2. Open the file
> 3. Scroll to page 2
> 
> So bug 131729 fixed the crash, but created some sub-optimal positioning of
> the image where the layout code struggles to find the proper placing (likely
> triggered by wrap)

Ah, ok, that does lag. Previously I probably scrolled past it quite quickly by dragging the scrollbar. Btw. you can't set the zoom factor prior to opening as it's saved in the document :)
Comment 9 QA Administrators 2023-07-28 03:16:49 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug