Bug 12453 - Mouse wheel scrolling does not work in apps embedded in MCC under XFCE
Summary: Mouse wheel scrolling does not work in apps embedded in MCC under XFCE
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: High major
Target Milestone: Mageia 7
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard: MGA6TOO
Keywords: NEEDHELP
: 22577 23089 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-01-27 18:52 CET by Alex Loginov
Modified: 2019-08-31 15:29 CEST (History)
15 users (show)

See Also:
Source RPM: task-xfce, drakxtools, gtk+3.0
CVE:
Status comment:


Attachments
MCC software install with marked areas (95.10 KB, image/png)
2016-12-16 14:32 CET, Renato Dali
Details

Description Alex Loginov 2014-01-27 18:52:00 CET
Description of problem: mouse scrolling in mageia soft doesn't works in xfce, but works in lxde, gnome, cinnamon, mate, kde


Version-Release number of selected component (if applicable):


How reproducible: always


Steps to Reproduce:
1. install xfce
2. run any mageia soft, for example, rpmdrake
3. touch middle button of mouse and scroll


Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2014-01-28 18:20:12 CET
because it's not configured ? (like in gnome)
Comment 2 Alex Loginov 2014-01-28 19:30:04 CET
How to configure?
Comment 3 Manuel Hiebel 2014-01-28 19:39:16 CET
via the config center from xfce ?
Comment 4 Alex Loginov 2014-01-28 21:41:48 CET
Scrolling works for all applications, problem is only for mageia soft.

> via the config center from xfce ?
I did not find settings for scrolling.
Alex Loginov 2014-02-02 18:56:35 CET

Blocks: (none) => 11778

Comment 5 Pavel Kreuzt 2014-02-12 17:18:54 CET
Not for every mcc window really, only some of them: drakrpm doesn't scroll with mouse wheel, but pop-ups at "aply" do. In my test install of mga4 it started working after some hours, I believe some other DE touched the config to make it work (I have various DE installed).

CC: (none) => pkreuzt

Comment 6 Alex Loginov 2014-02-12 18:59:42 CET
I installed all DE, but no scroll with mouse wheel in xfce anyway.
Comment 7 Pavel Kreuzt 2014-02-18 17:38:12 CET
Additional info: using the mouse wheel on the listview/header bar does work.
Comment 8 Thierry Vignaud 2015-05-14 10:49:52 CEST
This cannot be categorized as a gtk+3 regression as it's desktop dependant

Blocks: 11778 => (none)
Source RPM: (none) => task-xfce

Comment 9 Juergen Harms 2016-02-09 09:51:02 CET
For me (mageia5, xfcd 4.12) it works: proceding as described in "steps to reproduce") the middle button scrolls through the work-spaces.

Did you correctly set up Settings->Window Manager Tweaks->Workspaces, 1st item = "Use the mouse wheel on the desktop to switch workspaces?"

CC: (none) => juergen.harms

Comment 10 Samuel Verschelde 2016-10-16 16:26:34 CEST
(In reply to Juergen Harms from comment #9)
> For me (mageia5, xfcd 4.12) it works: proceding as described in "steps to
> reproduce") the middle button scrolls through the work-spaces.
> 
> Did you correctly set up Settings->Window Manager Tweaks->Workspaces, 1st
> item = "Use the mouse wheel on the desktop to switch workspaces?"

From what I understood from the bug report this is out of scope. The problem arises only in Mageia's own software.

It's not obvious who the culprit is, so assigning to Mageia Tools group for diagnostics with XFCE's maintainer in CC for helping them.

CC: (none) => jani.valimaa, stormi
Assignee: bugsquad => mageiatools
Summary: xfce: mageia soft mouse scrolling => Mouse scrolling does not work in MCC and other Mageia applications under XFCE
Source RPM: task-xfce => task-xfce, drakxtools

Thierry Vignaud 2016-10-17 14:17:36 CEST

CC: (none) => olav, thierry.vignaud
Source RPM: task-xfce, drakxtools => task-xfce, drakxtools, gtk+3.0

Comment 11 Marja Van Waes 2016-10-17 14:38:08 CEST
I just attached a mouse and tried, in XFCE, in MCC => rpmdrake (= install and remove packages), and 9 out of 10 attempts to scroll, the wheel worked fine to scroll through the packages and through the details an files of a package. The only time it didn't work may well have been my error: I'm not used to scrolling with mouse wheels.

Is this bug still valid for anyone?

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Summary: Mouse scrolling does not work in MCC and other Mageia applications under XFCE => Mouse wheel scrolling does not work in MCC and other Mageia applications under XFCE

Comment 12 Renato Dali 2016-12-16 14:26:26 CET
Yes, it exists in Mga6 (sta2, now, as it was updated) and came here to report it, only to find someone was faster than me.

In LXDE/Mageia 6, scrolling works (but then it still uses gtk2, IIRC). In Mageia 5/KDE 4, it also works.

This is particularly annoying in Xfce because the handle (or "trough", in ancient X parlance) is very hard to drag (because it disappears quickly) and thus we end involuntarily selecting an entry -- which causes the download of the entry description (with a popup window!) and delays the list navigation quite a lot.

Thank you, Pavel, for posting that tip about the header. It's a nice workaround.

CC: (none) => mkare

Comment 13 Renato Dali 2016-12-16 14:32:58 CET
Created attachment 8790 [details]
MCC software install with marked areas

Area 1 is the area which won't scroll with the mousewheel. Scrolling with the keyboard arrows or Page Down works but is less convenient.

Arrow 2 shows the handle which appears and disappears too quickly and makes us click involuntarily on the underlying entry.
Comment 14 Renato Dali 2016-12-16 14:35:14 CET
After Pavel's tip, I think the severity of this is minor IMHO.

Severity: normal => minor

Comment 15 Chris B 2017-01-18 15:39:58 CET
Scrolling does not work when I first start MCC, then Software Management, then Install and Remove Software.

Scrolling DOES work when I start drakrpm directly, stand-alone from the menu (All --> Install & Remove Software) or in a terminal.

Both M5 and M6 have this issue in Xfce4, and drakrpm is the only application with this bug.

CC: (none) => shybluenight

Comment 16 magnux77 2017-03-20 09:31:33 CET
2 months later ! Scrolling does not still work in MCC. 

It has been solved in M5, i thought it will be solved in M6. But sta2 is now delivered and the problem remains the same.

Further more the vertical scrolling bar is almost hidden on the right and dragging it higher or lower is unpredictible. Because those 3 things make Software Management unusable with a mouse for beginners, I think the severity of this is not at ll minor. 

Xfce is more distro agnostic than Gnome or KDE, because it is available on most distros. This problem shows too obviously how Mageia is not doing the job.

CC: (none) => magnux77

magnux77 2017-03-20 09:32:23 CET

Severity: minor => major

Comment 17 Olav Vitters 2017-03-20 10:03:25 CET
It only happens to XFCE right? Seems we need more volunteers for XFCE. Feel free to assists, it is a community desktop and saying 'we're not doing our job', well, it's kind of simplistic. I dont' use XFCE and my paid job I do enough to not have been fired yet AFAIK. I'll mark it as needhelp and remove myself.

Keywords: (none) => NEEDHELP
CC: olav => (none)

Comment 18 Samuel Verschelde 2017-03-20 10:11:40 CET
Setting to high because we provide XFCE as a Live ISO now. 

(In reply to magnux77 from comment #16)
> This problem shows too obviously how Mageia is not doing the job.

Was this comment really meant to help?

Priority: Normal => High
Target Milestone: --- => Mageia 6

Comment 19 magnux77 2017-03-20 12:09:12 CET
@Olav Vitters

I did not want to fire you in anyway. Please accept my apologies.

But my english is too poor. I just want to mean that the occurence of this problem should appears like a Mageia weakness. And XFCE is the second DE in number of installation.
Comment 20 Thierry Vignaud 2017-03-20 15:16:10 CET
Looks like a bad interaction between gtk+3 & xfce (which is using gtk+2)
I wonder how that can affect input events... ???
That shouldn't happen.
Eg: we had gtk+ app under KDE for nearly 2 decades and vice versa
Comment 21 Chris B 2017-03-20 15:43:27 CET
This is a very weird bug.

On M5: on my desktop install, 2 years old, fully updated, kde and gnome and xfce installed. I only use xfce. I can't scroll rpmdrake IF and only IF I invoke rpmdrake via MCC. rmpdrake or drakrpm started via terminal or the menu: no problem scrolling. Test: create a new user, login xfce. Same problem.

On M5 virtualbox, fresh install some months ago via netinstall, fully updated, xfce only system: No scolling problem at all, not via mcc or invoked directly. No matter how I change the xfce settings: scrolling works.

On M6 virtualbox, fresh install last week - netinstall, fully updated, xfce only system: the same issue as on my M5 desktop.  I can't scroll rpmdrake IF and only IF I invoke rpmdrake via MCC. rmpdrake or drakrpm started via terminal or the menu: no problem scrolling.

Is it a missing package? Or is it just a package installed that triggers this bug? I tried to compare the lists of rpms I have installed on these systems, but I'm clueless where to look. gtk, perl or what else?

It would be nice if we could fix this, I'm willing to do more tests if someone tells me what I should try.
Comment 22 Thierry Vignaud 2017-03-20 17:02:00 CET
MCC is using GtkPlug/GtkSocket for embedding apps within it.
However those widgets do not much love/attention in gtk+ those days :-(

This does seems to be the culprit as comment #5 says that popup windows from embedded apps behaves OK...
I still don't understand what happens in the gtk+3 vs xfce interaction
I think this bug has best to be reported upstream at:

https://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B&version=3.22.x&component=Widget:%20Other&short_desc=Scroll%20events%20are%20lost%20with%20gtk+3%20applications%20under%20XFCE%20if%20embedded%20using%20GtkPlug/GtkSocket

Summary: Mouse wheel scrolling does not work in MCC and other Mageia applications under XFCE => Mouse wheel scrolling does not work in apps embedded in MCC under XFCE

Thierry Vignaud 2017-03-20 17:05:15 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=20498

Comment 23 Nicolas Lécureuil 2017-03-21 23:23:50 CET
thierry do you think you can create it ? ( you know this better and you will add better infos ).

CC: (none) => mageia

Comment 24 Marja Van Waes 2018-02-11 21:51:18 CET
*** Bug 22577 has been marked as a duplicate of this bug. ***

CC: (none) => ubuntu

Marja Van Waes 2018-02-11 21:53:08 CET

Whiteboard: (none) => MGA6TOO
Keywords: NEEDINFO => (none)
Target Milestone: Mageia 6 => Mageia 7

Marja Van Waes 2018-02-11 21:53:21 CET

Hardware: i586 => All

Comment 25 Stéphane Journeau 2018-05-27 22:34:03 CEST
*** Bug 23089 has been marked as a duplicate of this bug. ***

CC: (none) => dr.journeau

Comment 26 Martin Whitaker 2018-09-01 13:47:24 CEST
*** Bug 22577 has been marked as a duplicate of this bug. ***
Comment 27 Martin Whitaker 2018-09-02 13:18:38 CEST
Changing the line

  BEGIN { $ENV{GDK_BACKEND} = 'x11' if exists $ENV{WAYLAND_DISPLAY} }

in /usr/libexec/drakconf to

  BEGIN {
      $ENV{GDK_BACKEND} = 'x11' if exists $ENV{WAYLAND_DISPLAY};
      $ENV{GDK_CORE_DEVICE_EVENTS} = 1;

  }

fixes this bug for me. However, this disables the XInput2 extensions, so might cause problems on some hardware.

Another workaround is to hold down the middle or right mouse button when moving the mouse wheel.

CC: (none) => mageia

Comment 28 Markus Robert Keßler 2019-08-13 15:35:34 CEST
Found an interesting discussion on that topic:

/*

From: "David W. Hodgins" <dwhodgins@nomail.afraid.org>
Newsgroups: alt.os.linux.mageia
Subject: Re: Mageia Control Centre (MCC) and scrolling
Date: Thu, 08 Aug 2019 14:37:21 -0400
Message-ID: <op.z57vcjdja3w0dxdave@hodgins.homeip.net>

On Thu, 08 Aug 2019 04:05:06 -0400, Ar <Ar@127.0.0.1> wrote:

> In Mageia 6, the scroll wheel on my mouse no longer worked in any part
> of the Mageia Control Centre, upgraded to Mag7 the other day, it still
> doesn't work. Any ideas on what's going on?
>
> The scroll bars in MCC are actually quite hard to grab, and scroll that way.

Using xfce4? If so, from https://askubuntu.com/questions/427825/mouse-wheel-wont-scroll-100-of-the-time-in-file-system
"Just click on Settings --> Window Manager Tweaks --> Accessibility --> raise windows when any mouse button is pressed, I Unchecked that, and it works PERFECTLY. See image below."

Fixes the problem in a Mageia 7 install I have here.

Regards, Dave Hodgins

dwhodgins@nomail.afraid.orgdavidwhodgins@teksavvy.com

*/

I tried and it worked -- maybe we should set this as default in xfce4?

Best regards,

Markus
Comment 29 Chris B 2019-08-14 08:21:08 CEST
I can confirm #28. Changing the setting in Xfce works here. Mageia 7.
Scrolling in rpmdrake / embedded in MCC works.
Comment 31 Antonin Roussel 2019-08-29 15:53:20 CEST
I'm using Plasma with Mageia7 (mageia6 network updated yesterday) and the wheel is not working in mcc software manager three sub areas (package groups, packages selector, and package description). 
But it has an effect on both select buttons on top of the three areas. One Select button is (all, installed, not installed).
On Plasma Settings window, I'm not sure to find the accurate checkbox mentionned in https://bugs.mageia.org/show_bug.cgi?id=12453#c28
As the scroll bar is a bit hard to catch, I would enjoy this to be solved.

CC: (none) => antonin.roussel

Comment 32 Thomas Backlund 2019-08-31 15:29:04 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0105.html

CC: (none) => tmb
Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.