Hi Tom,

 

Thanks very much for this info! I did swap between the trackpad and my mouse – I’ll update to 1.7.

 

Dale.

 

Dale Calleja

PhD Student, Komander Lab
Ubiquitin Signalling Division

 

WEHI
1G Royal Parade
Parkville  VIC  3052
Australia

Email calleja.d@wehi.edu.au 

 

 

From: Tom Goddard <goddard@sonic.net>
Date: Friday, 10 November 2023 at 12:27 pm
To: Dale Calleja <calleja.d@wehi.edu.au>
Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu>
Subject: Re: [chimerax-users] Zooming in and out in ChimeraX

Hi Dale,

 

I'm guessing your on a Mac and this has something to do with ChimeraX Mac multitouch trackpad support.  There was a limitation in the Qt window toolkit where two finger drag on the touchpad produced scroll events even though ChimeraX was handling the two-finger drag to do a rotation.  But the scroll events looked exactly like mouse scroll events, so if you really did a mouse scroll and you also use the trackpad then it just ignored the scroll event.  I see this problem described in the ChimeraX 1.6 code here

 

https://github.com/RBVI/ChimeraX/blob/6e2f12a093d52c317a4f8aaa1070334dcfe6f506/src/bundles/mouse_modes/src/trackpad.py#L204

 

        '''

        macOS generates mouse wheel events in response to a two-finger drag on trackpad.

        We discard those if we have multitouch trackpad support enabled so that 2-finger

        drag should be rotation.  But we don't want to discard wheel events that come

        from a non-trackpad device.  Unfortunately macOS and Qt5 provides no way to distinguish

        magic mouse scroll from a trackpad scroll, both are reported as synthesized events

        and there is no source device id available.  If there are any trackpad devices and

        multitouch is enabled then the magic mouse wheel events are thrown away.  This

        is ChimeraX bug #1474.  We used to instead see if we recently received a touch event

        and in that case throw away any wheel event.  Unfortunately on macOS we sometimes

        don't get touch events after clicking in the Log or other windows and then moving

        back to the graphics window, until the second multitouch drag is done.

        '''

 

The ChimeraX daily build and 1.7 release candidate changed this code using a newer Qt window toolkit capability to distinguish the two-finger drag from a mouse scroll wheel.  Mouse scroll is working for me in those newer ChimeraX version and it does not work after I use a two finger rotation on the trackpad with ChimeraX 1.6.  So use the newer ChimeraX.

 

Tom

 



On Nov 8, 2023, at 7:28 PM, Dale Calleja via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:

 

Hello,

 

I am currently learning to use ChimeraX (v1.6.1) and I am having issues with my scroll wheel. I notice when I first open the software using the scroll wheel on my mouse will zoom in and out of the structure but, after some time it simply stops working and the scroll wheel does nothing.

 

Is this a button I am accidentally pressing or have I discovered a bug? It doesn’t seem to have any pattern, I am just clicking around changing the display of my protein.

 

Thanks!

 

Dale.

 

Dale Calleja

PhD Student, Komander Lab
Ubiquitin Signalling Division

 

WEHI
1G Royal Parade
Parkville  VIC  3052
Australia


WEHI Logo

Walter and Eliza Hall Institute of Medical Research
1G Royal Parade Parkville Victoria 3052 Australia

www.wehi.edu.au

Twitter  |  Facebook  |  Instagram  |  Youtube  |  LinkedIn



WEHI acknowledges the Wurundjeri people of the Kulin Nation as the traditional owners of the land where our campuses are located and the continuing connection to country and community.

Private and confidential
The content of this e-mail and any attachments may be private and confidential, intended only for use of the individual or entity named. If you are not the intended recipient of this message you must not read, forward, print, copy, disclose, use or store in any way the information this e-mail or any attachment contains. If you are not the intended recipient, please notify the sender immediately and delete or destroy all copies of this e-mail and any attachment.

_______________________________________________
ChimeraX-users mailing list -- 
chimerax-users@cgl.ucsf.edu
To unsubscribe send an email to 
chimerax-users-leave@cgl.ucsf.edu
Archives: 
https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/