<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Oli,<div class=""><br class=""></div><div class=""> I don’t see any new comments on the Qt bug related to multitouch events mentioned in our previous emails. So probably nothing has changed with Qt 5.10 in this regard. But that isn’t really the problem since as I said before I have a special C++ hack to work around the Qt problem. The problem is lack of time to try this. But I’ll put it on my list to weigh against the hundred other missing features.</div><div class=""><br class=""></div><div class=""> Although we briefly upgraded ChimeraX from Qt 5.9 to 5.10 it backfired a few weeks ago when it would not start on Linux due to a known Qt goof. So we reverted to Qt 5.9 until that is fixed.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 1, 2018, at 3:55 PM, Oliver Clarke wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Any chance that this situation has changed with the release of Qt 5.10 Tom? I know it is in some sense a niche functionality but personally it is one of the major obstacles to my use of chimeraX - I find manipulation much more awkward than using a properly configured trackpad with legacy Chimera.<div class=""><br class=""></div><div class="">Cheers</div><div class="">Oli<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Sep 15, 2017, at 4:50 PM, Tom Goddard wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">Hi Edoardo,</p><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">We don’t have multitouch (2 and 3 finger drag) in ChimeraX currently.</p><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">A few years ago I used the Qt window toolkit to handle multitouch events. Qt 5.2(?) had multitouch disabled on Mac OS because it supposedly interfered with scrolling. I don't think I observed that scrolling problem. But I had to write some C++ code that called a native Mac OS method to get touch events, a pretty ugly hack to get it to work.<br class=""></p><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">The current state in Qt 5.9 seems that multitouch events work with Qt widgets. But we need them to work on the graphics area which is a QWindow (for drawing OpenGL 3D graphics). The following Qt bug report (53874) from June 2016 indicates that getting multitouch events on Mac in a QWindow does not work despite the documentation saying it is supposed to work.<br class=""></p><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class=""><a class="ext-link" href="https://bugreports.qt.io/browse/QTBUG-53874" style="text-decoration: none; color: rgb(187, 0, 0); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(187, 187, 187);"><span class="icon" style="background-image: url(https://www.rbvi.ucsf.edu/trac/ChimeraX/chrome/common/extlink.gif); padding-left: 15px; background-position: left center; background-repeat: no-repeat no-repeat;"></span>https://bugreports.qt.io/browse/QTBUG-53874</a><br class=""></p><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">A comment from the Qt developer Morten Sørvig assigned to this ticket indicates it still will require a C++ hack to get multitouch events. "Touch events need to be enabled on a per-QWindow basis on OS X. Widgets and Quick currently do this via the private function QCocoaNativeInterface::registerTouchWindow(). This means there is currently no way to get touch evens via QWindow::touchEvent() on OS X using public API only."<br class=""></p><p style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 13px;" class="">I think the same hack I used in the past can get by this problem. But I don't thick trackpad handling on Mac is important enough relative to other priorities to work on it right now.</p><div class="">Here is the ChimeraX ticket to monitor progress on this issue. This URL is currently password protected but we are working to make the ChimeraX bug/feature database visible to the public.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/427" class="">https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/427</a></div><div class=""><br class=""></div><div class=""> Tom</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div class="">On Sep 15, 2017, at 3:39 AM, Edoardo Gianni wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello,<br class=""><br class="">I was wondering if multitouch was available on chimerax for mac, or if you had plans to implement it in the future.<br class=""><br class="">Thanks and best wishes,<br class="">Edoardo<br class="">_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class=""><a href="http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users" class="">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div>_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class=""><a href="http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users" class="">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></body></html>