Bug 399138 - no mouse wheel scrolling for inactive LibreOffice Writer window
Summary: no mouse wheel scrolling for inactive LibreOffice Writer window
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.14.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-27 12:39 UTC by tempel.julian
Modified: 2018-10-14 15:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tempel.julian 2018-09-27 12:39:50 UTC
When moving the mouse cursor onto an inactivated window of LibreOffice Writer, mouse wheel scrolling is not applied to it.

STEPS TO REPRODUCE
1. Open a LibreOffice document window with a scrollbar (can be blank when the window is small enough)
2. Click somewhere else to deactivate focus on the window
3. Move the cursor again onto the window, but don't activate (don't click) it. Instead, just scroll with the mouse wheel.

OBSERVED RESULT
No scrolling happens inside of the document.
When moving the cursor onto the scrollbar and scrolling with the mouse wheel, it briefly flashes (but doesn't scroll). So it seems there is the attempt to send input to it, but somehow it fails.

EXPECTED RESULT
There should be scrolling inside of the document, despite of the window not being activated. That's the way for (every?) other application window, e.g. Firefox.
The bugged behavior is quite annoying when working with multiple documents opened etc.

SOFTWARE VERSIONS
KDE Plasma Version: 5.13.90
KDE Frameworks Version: 5.50
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Xorg session
LibreOffice 6.1.1.2, VCL: gtk3_kde5
Comment 1 Nate Graham 2018-09-27 14:22:51 UTC
> That's the way for (every?) other application window, e.g. Firefox.

...Which is a good clue that the problem is not in KWin, but rather in the misbehaving app. :) Please open a bug against LibreOffice.
Comment 2 tempel.julian 2018-09-29 11:22:51 UTC
I tested a Gnome Xorg session and there scrolling works also for the inactive window. Doesn't this indicate that the problem is not in LO?
Comment 3 Nate Graham 2018-09-30 22:20:58 UTC
Hmm, scrolling a background LibreOffice window is working for me with KWin from Plasma 5.12 in Kubuntu and git master in KDE Neon. I can't reproduce the issue.

It seems that this is likely caused by a configuration issue rather than a bug. Or if there is a bug, it's triggered by a non-standard configuration.

Can you please bring up the issue on an Arch-specific venue, forum, subreddit, mailing list etc? Thanks! Let us know the result if it turns out that the issue is reproducible with some configuration or setting.
Comment 4 Martin Flöser 2018-10-01 04:16:02 UTC
It's definitely not a bug in KWin as the window manager is not responsible for mouse events.
Comment 5 tempel.julian 2018-10-02 11:56:29 UTC
I installed Kubuntu 18.04.1 in a clean VM, updated it and installed LibreOffice 6.0.6.2 from regular Ubuntu repository: It shows the same issue as on Arch.
Comment 6 tempel.julian 2018-10-14 11:05:46 UTC
I reported the bug to LO:
https://bugs.documentfoundation.org/show_bug.cgi?id=120584