[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2020-12-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Jean-François Fortin Tam  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||9068

--- Comment #60 from Jean-François Fortin Tam  ---
I was about to comment on this, which is the top Google search result for
"libreoffice writer slow image scroll" and thought it would be the go-to place
for my eternal slow scrolling issue, but saw that it is recommended to open new
issues instead; so if anyone here is interested, I've built a simple test case
document for this in the newly created bug #139068.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2020-08-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Buovjaga  changed:

   What|Removed |Added

 CC||richard.shadbolt@btinternet
   ||.com
 Resolution|--- |WORKSFORME
 Status|REOPENED|RESOLVED

--- Comment #59 from Buovjaga  ---
(In reply to Shadders from comment #58)
> Hi,
> I too am having this issue. 
> 
> If i have inserted a PNG graphic the scrolling is delayed and then is slow,
> and when typing with the graphic on the screen (in view) there is a 1 to 2
> seconds delay before the text appears, and this issue repeats when typing as
> if the entire text is buffered until you stop typing. 
> 
> I check the processes running, and Xorg is at 50%+ CPU usage when this
> occurs. I have checked multiple times, and this always occurs. 
> 
> Does not happen for jpeg graphics inserted. 
> 
> I am using Fedora 31, LO 6.3.6.2

As mentioned in comment 54, please do not attempt to reuse this old report.
Open a new one instead. In your case, please test with a master build first
https://wiki.documentfoundation.org/Installing_in_parallel/Linux

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2020-08-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Shadders  changed:

   What|Removed |Added

 Resolution|WORKSFORME  |---
 Status|RESOLVED|REOPENED

--- Comment #58 from Shadders  ---
Hi,
I too am having this issue. 

If i have inserted a PNG graphic the scrolling is delayed and then is slow, and
when typing with the graphic on the screen (in view) there is a 1 to 2 seconds
delay before the text appears, and this issue repeats when typing as if the
entire text is buffered until you stop typing. 

I check the processes running, and Xorg is at 50%+ CPU usage when this occurs.
I have checked multiple times, and this always occurs. 

Does not happen for jpeg graphics inserted. 

I am using Fedora 31, LO 6.3.6.2

Regards,
Shadders.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #57 from zyklo...@web.de ---
Just as a side-note: My screencast was done in Wayland, so no X11…

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-14 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Clemens Eisserer  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||5702

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Buovjaga  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #56 from Buovjaga  ---
Fair enough, I created bug 115702 for Clemens's investigations

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #55 from Clemens Eisserer  ---
> This particular issue was that gtk3 was rendering even slower and was solved.

Who did state it was solved?

to the contrary:

Buovjaga 2018-02-11 10:31:38 UTC:
Ok, it's true that with GTK3, the scrolling is choppy and I see about 10
percentage units more CPU being used.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #54 from Tomaz Vajngerl  ---
It's a known issue that rendering of (bigger) images is not fast in LO in all
of the backends for many reasons (swap-in / swap-out, separate alpha channels
in LO, non-optimized scaling algorithm which don't use SSE or AVX or don't use
native surface scaling, ...). 

This particular issue was that gtk3 was rendering even slower and was solved. I
would really suggest to open a new bug about this (all the old talk is
distracting and non-relevant) and make sure that it really is gtk3 only that
has the problem, otherwise there are other bugs that already cover this.

I wonder if we should limit the time how long a solved bug can be reopened.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #53 from Clemens Eisserer  ---
I did some digging, and although I am far from a solution (even a stop-gap
one), these are my findings:

- the gtk3 vcl plugin seems to render to a software surface, toms of cycles are
wasted scaling the input bitmap over and over in pixman library routines:

SvpSalGraphics::drawAlphaBitmap -> composite_boxes -> general_composite_rect

- the gtk and x11 vcl plugins seem to render to a native surface (which is
usually a lot better), however both are doing stupid stuff (extracting the
alpha values again and again) - therefore reading back image data from the
XServer using XGetImage (no-go for good performance):

drawinglayer::impBufferDevice::paint -> AlphaMask::AlphaMask -> Bitmap::Convert
-> ... ->  X11SalBitmap::ImplCreateDIB -> XGetImage

Maybe I can find howto switch gtk3 to using a native XRender surface (these
days XRender is rather capable, layered above OpenGL (glamor) anyway) and then
work on the second issue...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #52 from Clemens Eisserer  ---
the hot functions causing this slowness are not running inside the LibreOffice
process, but rather inside XOrg - caused by suboptimal drawing commands
generated by LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #51 from Buovjaga  ---
Created attachment 139778
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139778&action=edit
Callgrind output from master when scrolling with scrollbar, GTK3

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: c6a23023150c164a19236139fa413d43006ce21c
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on February 11th 2018

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Buovjaga  changed:

   What|Removed |Added

 Status|REOPENED|NEW

--- Comment #50 from Buovjaga  ---
(In reply to Buovjaga from comment #45)
> You tested with attachment 112539 [details]?

Ok, it's true that with GTK3, the scrolling is choppy and I see about 10
percentage units more CPU being used.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: c6a23023150c164a19236139fa413d43006ce21c
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on February 11th 2018

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #49 from Clemens Eisserer  ---
I've experienced the slowdown described in this bug report for many real-world
documents and it always made me suffer editing or reading such documents.

I tested this (PNG_one.odt) on two systems (same SSD swapped - so no software
differences):

1. Intel Core i5 640M (laptop, 1st gen Intel Core):
Very pronounced stuttering (despite only 1280x800 screen), editing or working
with such documenbts is a real pain: https://youtu.be/V8Sr_OHeyyI

2. AMD Kaveri A8-7650k @ 4Ghz: Scrolling is ok even on 1920x1280 screen,
although it is slower while the image is visible. Good enough to edit the
document.

On both systems tested I see a lot of CPU cycles spent in Xorg in fbBltOne,
which is some kind of software fallback. The AMD system seems to be faster when
reading VRAM into system memory, so the fallback is less noticeable.
I'll try to investigate further...

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #48 from zyklo...@web.de ---
// By the way: Is there already a bug for those annoying lines existing, that
you also see in the screen cast?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #47 from zyklo...@web.de ---
Created attachment 139767
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139767&action=edit
Stuttering scroll action with v.6.0.1.1-Flatpak

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #46 from zyklo...@web.de ---
v6.0.1.1

I added pages before and after the image of that document. Scrolling with free
mouse wheel spin (a Logitech mouse wheel thing) over the whole document then
slowed down for the time when the image was visible. It was quite noticeable,
especially when watching the ruler. You see the ruler jumping in my attached
screen cast.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Buovjaga  changed:

   What|Removed |Added

 CC||linuxhi...@gmail.com

--- Comment #45 from Buovjaga  ---
(In reply to Clemens Eisserer from comment #44)
> Please re-open, I can reproduce this with the official 6.0.3 build running
> on Fedora Linux.
> 
> Scrolling is extremly laggy, and I experience the same issue with other
> documents as well.

You tested with attachment 112539?

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2018-02-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Clemens Eisserer  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |---

--- Comment #44 from Clemens Eisserer  ---
Please re-open, I can reproduce this with the official 6.0.3 build running on
Fedora Linux.

Scrolling is extremly laggy, and I experience the same issue with other
documents as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2017-10-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

Xisco Faulí  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||xiscofa...@libreoffice.org
 Resolution|--- |WORKSFORME

--- Comment #43 from Xisco Faulí  ---
Everything looks ok in

Version: 6.0.0.0.alpha0+
Build ID: 6e3e4cd38b56d432c48cd7217885974e3f0519fd
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Closing as RESOLVED WORKSFORME

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2017-05-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #42 from Caolán McNamara  ---
I wonder if this is now a duplicate of bug #103174 if it is then this should be
ok in 5-4 and there's a backport at https://gerrit.libreoffice.org/#/c/37913/
for 5-3

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2017-03-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #41 from Anass Ahmed  ---
(In reply to Buovjaga from comment #40)
> (In reply to bruno.binet from comment #39)
> > is normal. You can toggle the issue on/off by installing/removing this
> > package.
> 
> Note that you can also toggle by running from the command line:
> SAL_USE_VCLPLUGIN=gtk libreoffice
> SAL_USE_VCLPLUGIN=gtk3 libreoffice
> SAL_USE_VCLPLUGIN=gen libreoffice
> SAL_USE_VCLPLUGIN=kde4 libreoffice

Yeah, this is what I used to test here.

GTK3 is the only one affected for me.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2017-03-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

--- Comment #40 from Buovjaga  ---
(In reply to bruno.binet from comment #39)
> is normal. You can toggle the issue on/off by installing/removing this
> package.

Note that you can also toggle by running from the command line:
SAL_USE_VCLPLUGIN=gtk libreoffice
SAL_USE_VCLPLUGIN=gtk3 libreoffice
SAL_USE_VCLPLUGIN=gen libreoffice
SAL_USE_VCLPLUGIN=kde4 libreoffice

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2017-03-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

bruno.bi...@cegepsherbrooke.qc.ca changed:

   What|Removed |Added

 CC||bruno.binet@cegepsherbrooke
   ||.qc.ca

--- Comment #39 from bruno.bi...@cegepsherbrooke.qc.ca ---
I confirm the slow scroll issue with the attached file on LO 5.2.5 + GTK3 (no
issue with GTK2). I tested on Linux Mint 18.1 cinnamon and LO 5.2 PPA. The
package "libreoffice-gtk3" is not installed by default and the scrolling is
normal. You can toggle the issue on/off by installing/removing this package.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2016-12-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

tommy27  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #38 from tommy27  ---
(In reply to Joel Madero from comment #34)
> *** Bug 103076 has been marked as a duplicate of this bug. ***

hence status is NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87485] Writer: embedded PNG results in slow scrolling (GTK3 related)

2016-12-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87485

tommy27  changed:

   What|Removed |Added

Summary|Writer: embedded PNG|Writer: embedded PNG
   |results in slow scrolling   |results in slow scrolling
   ||(GTK3 related)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs