Bug 162923 - Scroll with wheel stops working after switching between windows or getting out of focus
Summary: Scroll with wheel stops working after switching between windows or getting ou...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: All Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Scrolling-PageUpDown
  Show dependency treegraph
 
Reported: 2024-09-11 16:16 UTC by jota0222
Modified: 2025-01-16 06:52 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Video showing the problem (12.27 MB, video/mp4)
2024-11-13 21:25 UTC, jota0222
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jota0222 2024-09-11 16:16:17 UTC
Description:
If you are using many applications at the same time, after clicking out of libreoffice and clicking in again, scrolling in the document using the wheel stops working. The workaround to make it work again is to switch windows using ALT + Tab shortcut, however this is anoying because it reduces the speed and flow of work, given that it's possible to scroll only if libreoffice is focused after using ALT + Tab (it's not even possible to scroll while out of focus by just moving the cursor over the window without clicking and using the wheel, somenthing almost any other application allows to do).

Steps to Reproduce:
1. Open any libreoffice app and any other app appart of libreoffice
2. with Libreoffice app focused, click in the other app to focus it
4. Move the coursor over the libreoffice window (without clicking) and try to scroll using the wheel
3. Click again in the libreoffice app and try to scroll using the wheel

Actual Results:
It doesn't scroll if it isn't in focus, also it doesn't scroll if it's in focus but you switched windows by click.

Expected Results:
Allow to scroll in focus and without focus, even after switching windows by click


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 6; OS: Linux 5.18; UI render: default; VCL: gtk3
Locale: es-CO (en_US.UTF-8); UI: en-US
Calc: threaded

It was also tested using last Debian Buster build 6.1.5-3+deb10u12 and the same thing happens.

The issue has been mentioned in the following forum posts:
- https://ask.libreoffice.org/t/scrolling-with-the-mousewheel-stops-working-calc/40367
- https://ask.libreoffice.org/t/writer-mouse-scroll-stops-working-randomly/63647
Comment 1 Ezinne 2024-09-17 20:44:29 UTC
Not reproducible in:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7b8ae2bf7cf9d4d637b40030bb9f482f6fba5194
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Comment 2 Buovjaga 2024-11-13 17:23:44 UTC
Works fine for me as well, using Wayland and KDE. Are you in a Wayland or X11 session? You can check by saying in a terminal: echo $XDG_SESSION_TYPE

Which desktop environment are you using?

Arch Linux 64-bit
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 480(Build:1)
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
24.8.2-2
Calc: threaded
Comment 3 jota0222 2024-11-13 21:25:56 UTC
Created attachment 197601 [details]
Video showing the problem

Here is a video showing the error happening even with the LibreOffice own windows. I also noticed that if I try to scroll with the wheel while the cursor is over the tabs, it flickers if I don't switch with CTRL + Tab, which may mean that it's indeed receiving the events, but it's just not doing what it should do.
Comment 4 jota0222 2024-11-13 21:27:29 UTC
(In reply to Buovjaga from comment #2)
> Works fine for me as well, using Wayland and KDE. Are you in a Wayland or
> X11 session? You can check by saying in a terminal: echo $XDG_SESSION_TYPE
> 
> Which desktop environment are you using?
> 
> Arch Linux 64-bit
> Version: 24.8.2.1 (X86_64) / LibreOffice Community
> Build ID: 480(Build:1)
> CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: gtk3
> Locale: fi-FI (fi_FI.UTF-8); UI: en-US
> 24.8.2-2
> Calc: threaded

I'm using x11 session
Comment 5 QA Administrators 2024-11-14 03:25:04 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2024-11-14 05:00:16 UTC
And is the desktop environment GNOME?
Comment 7 jota0222 2024-11-15 12:18:56 UTC
(In reply to Buovjaga from comment #6)
> And is the desktop environment GNOME?

It's DDE, which is KDE based. But also note that in this link https://ask.libreoffice.org/t/writer-mouse-scroll-stops-working-randomly/63647, it seems to happen to other people in Ubuntu, which is probably Gnome if the user didn't changed it.