[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-07-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #23 from M. Knepper  ---
This a comment from a different duplicate bug thread catching the issue in
action. It seems to get much worse at higher resolutions from my experience.

VIDEO LINK: https://www.youtube.com/watch?v=EXyMSzOVsds

Hardware:
13700k
7900xt
32gb DDR5
2tb SSD NVME

Software/OS:
Fedora 40
Linux 6.8x
LibreOffice 24.2.3.2
hTOP
Gnome 46
Gnome-Terminal
GPU drivers, VCL version, GTK version, etc, etc - whatever is on Fedora 40 as
of this video.

Confirmed My Testing With:
2700x
RX 580 8gb
16gb DDR4
1tb SSD SATA
Linux 5.x
LibreOffice 7.6+

Note: This seems to happen regardless of using any widget toolkit such gtk, qt,
whether it's on Xorg, Wayland, a Debian distro, an Arch distro, a Fedora based
distro etc. I've been able to confirm for sure on different hardware and since
version 7.6+ of LibreOffice. I plan to test newer versions soon.

As stated before, I tested it on 15k words to 50k words, 30 pages to 72 pages -
it has high CPU usage either way. This doesn't happen on other word processors. 

The issue persists regardless of scaling. 100% scaling makes no difference and
neither 200% scaling. 150% doesn't make a difference either.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Buovjaga  changed:

   What|Removed |Added

 CC||lp.allar...@gmail.com

--- Comment #22 from Buovjaga  ---
*** Bug 160647 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #21 from Jeff Fortin Tam  ---
> What might be worth exploring there is what theme is gtk3 using,
> default Adwaita or something else?

I don't know if this is what you're asking, but: my computers' GNOME sessions
are running the standard Adwaita theme on Fedora (i.e. did not set anything
else myself, and the distro does not ship its own theme either), and the
version I tested here was the flatpaked version (so presumably unaffected by
whatever is going on elsewhere); otherwise, I'm not entirely sure how to check
what the app is "actually running"; it at least "looks" like GTK3 Adwaita, and
the About dialog says it's GTK3, but as I don't seem to be able to just spawn
the GTK Inspector from it (?) I have no way to be 110% sure.

Also: the sysprof capture seemed a bit incomplete because I was never able to
figure out how to install the ".Debug" flatpak package for the freedesktop
runtime, so I only had the "org.libreoffice.LibreOffice.Debug" extra flatpak
package installed. If you have a magical trick to get the more complete
symbols, I'm happy to try it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #20 from Caolán McNamara  ---
https://bugs.documentfoundation.org/show_bug.cgi?id=154602#c17 has a lot of
"resizing" in the middle block which is odd, as presumably there isn't really
any resizing expected, so possibly some glitch is triggering a continual cycle
of resizing.

What might be worth exploring there is what theme is gtk3 using, default
Adwaita or something else? I've seen cases on macOS where there was a constant
tiny "jitter" triggering resizes, perhaps there is something similar here where
changing the theme might perturb it.

The far left block looks directly associated with the cursor movement and
subsequent draws though.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #19 from Jeff Fortin Tam  ---
Created attachment 193928
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193928=edit
Sysprof 46 capture screenshot - CPU usage

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #18 from Jeff Fortin Tam  ---
Created attachment 193927
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193927=edit
Sysprof 46 capture screenshot - graphics marks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #17 from Jeff Fortin Tam  ---
Created attachment 193926
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193926=edit
Sysprof 46 capture screenshot - flamegraph

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-05-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #16 from Jeff Fortin Tam  ---
Created attachment 193925
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193925=edit
Sysprof 46 performance profiling capture

Let me put some objective measurements into the mix here with a profiling
measurement using Sysprof. I reproduced this by using the provided CSV sample
above and pressing-and-holding the down arrow button on the keyboard of a 4K
HiDPI (@ 2x) Intel Kabylike laptop running Wayland GNOME on Fedora 39, with the
Flatpak flathub version of LibreOffice:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

I will attach screenshots of the essentials of that sysprof capture.

My naïve observations:

* The overwhelming majority of time/efforts are spent in "PaintHelper" and
"SdrPaintView" functions and the like, which ultimately spend a ton of time
doing cairo_paint and cairo_fill everywhere.
* It seems to be single-threaded, as per the CPU usage graphs.

My gut feeling: it's probably spamming the backend as fast and often as
keyboard input events are coming, without any throttling/smoothing. I don't
think it makes sense for the app to be trying to respond to every event, 600
times per second (the 25-seconds sysprof recording shows 15 thousand function
calls...).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-04-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

   Severity|trivial |major

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-04-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #15 from M. Knepper  ---
I don't think this should be marked as trivial because, for most people, the
slowness of 4k scrolling makes LibreOffice so horrible that it's better to use
something else. 

A bug so bad that it makes you want to use a different program is not trivial. 

This isn't a severe security thing, but it's still important.

I wanted to add an update and say I'm still able to reproduce this bug. I
haven't tried the latest packages on Arch, but it still exists on Debian,
Ubuntu, and Fedora.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-03-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

  Regression By||Luboš Luňák
Version|7.3.0.0 beta1+  |7.3.1.3 release

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2024-03-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

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

--- Comment #14 from Stéphane Guillou (stragu) 
 ---
*** Bug 157830 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-11-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Timur  changed:

   What|Removed |Added

Version|7.4.6.2 release |7.3.0.0 beta1+
   Keywords|bibisectRequest |bibisected, bisected

--- Comment #13 from Timur  ---
source sha:7c29b13ac67e3796b5998789371fa68acb01a260
author  Luboš Luňák  Tue Jan 11 2022
committer   Caolán McNamara Wed Jan 26 2022
avoid Xlib cairo surfaces for small virtual devices (bsc#1183308)

Luboš is not active anymore.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-11-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #12 from Timur  ---
Seems OK in 7.2. Repro with 4K in latest Linux bibisect 7.3 and 24.2. 
I used 100% scaling. Bug seen when scrolling over the bottom edge .
Bug 155217 seems a real dupe, others are for general slowness, to be checked.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-10-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Blocks||90796, 146014


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=90796
[Bug 90796] [META] HiDPI / Retina bugs
https://bugs.documentfoundation.org/show_bug.cgi?id=146014
[Bug 146014] [META] Poor Scrolling Performance
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-10-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

  Component|Calc|LibreOffice

--- Comment #11 from Stéphane Guillou (stragu) 
 ---
Changing component to the whole of LibreOffice as two duplicates talk about
Writer.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-09-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #10 from jake.m.knep...@gmail.com ---
Played with LibreOffice (writer) at 4k on Xorg and i3wm. Same thing seems to
happen. CPU usages spikes to 50% plus on a single thread/core for some reason.

Scrolling other applications like Firefox at 4k for example doesn't seem to
push any particular CPU thread drastic usage levels.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #9 from jake.m.knep...@gmail.com ---
(In reply to Telesto from comment #8)
> There are some bug reports about performance problems with Wayland. Others
> like bug 155375 comment 0 report no difference between x.org or Wayland. So
> might be caused by a 4k monitor or Wayland backend, or both.. Or maybe even
> something else

I will test the 4k performance problem on Xorg sometime this week. I don't
notice a difference between 1080p/1440p Wayland and Xorg - they're both very
responsive. The problem seems to happen when the resolution is switched to
something like 4k on Wayland.

We'll see if the problem persists on Xorg.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

--- Comment #8 from Telesto  ---
There are some bug reports about performance problems with Wayland. Others like
bug 155375 comment 0 report no difference between x.org or Wayland. So might be
caused by a 4k monitor or Wayland backend, or both.. Or maybe even something
else

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 154602] Scrolling using keyboard very slow (GTK3) with 4K monitor

2023-05-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=154602

Telesto  changed:

   What|Removed |Added

Summary|Scrolling using keyboard|Scrolling using keyboard
   |very slow (GTK3)|very slow (GTK3) with 4K
   ||monitor

-- 
You are receiving this mail because:
You are the assignee for the bug.