[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: Mouse wheel event's angleDelta().y() always 0 with Alt key modifier
From:       Tobias Megies <megies () geophysik ! uni-muenchen ! de>
Date:       2022-11-25 9:26:33
Message-ID: bbefd782-772f-9911-5d73-94364e20839f () geophysik ! uni-muenchen ! de
[Download RAW message or body]

Oh, should've thought of that. Thanks a lot for the quick help.

And ah, looking at that second bug report you listed (sorry, I didn't 
find these looking for previous reports), I realize I also used to have 
"delta()" and just followed the recommendations to replace it with 
"angleDelta().y()".

Thanks!

Tobias


On 25/11/2022 10:10, Florian Bruhin wrote:
> On Fri, Nov 25, 2022 at 10:01:39AM +0100, Tobias Megies wrote:
>> When Alt key is held down, mouse wheel events always report 0 for
>> "angleDelta().y()", i.e. it is impossible to tell in which direction the
>> mouse wheel was scrolled. Not sure if Alt is the only affected modifier, in
>> any case some other common keys like shift or control are not affected.
> 
> It's a Qt problem, or rather probably intended Qt feature.
> Pressing Alt and scrolling leads to a horizontal scroll:
> 
> https://bugreports.qt.io/browse/QTBUG-91556
> https://bugreports.qt.io/browse/QTBUG-78550
> 
> Florian
> 

-- 
EMail: tobias.megies@lmu.de
WWW: https://www.geophysik.uni-muenchen.de

Geophysikalisches Observatorium
Ludwigshöhe 8
82256 Fürstenfeldbruck

Tel: +49 (0) 89 2180-73981
Fax: +49 (0) 89 2180-73970

Ludwig-Maximilians-Universität
Department für Geo- und Umweltwissenschaften
Sektion Geophysik
Theresienstrasse 41/IV
80333 München

Tel: +49 (0) 89 2180-4237
Fax: +49 (0) 89 2180-4205
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic