There are also "mwheel" events for touch screens. It would be nice if "finger down" and "finger up" events were passed through. Also, webview recognizes multiple finger actions by zooming in and out the webview object. It would be nice if this were passed on as well. But I thought that wheel events applied to the mice with a roller wheel, not a touch screen. Perhaps they need to be renamed so no confusion with mice with wheels.
As to MathJax. Downloading the file did get it to work in J 9.4 and 9.5 so it is probably a security issue. But interestingly it doesn't work exactly the same way as the horizontal line on the radical is off above and to the right of connecting with the rest of the radical sign. Very strange. On Mon, May 1, 2023 at 9:43 PM bill lam <[email protected]> wrote: > yes. The following are supported. > > + if (object->parent() == this) { > > + if (event->type() == QEvent::MouseMove) > mouseMoveEvent(static_cast<QMouseEvent *>(event)); > > + else if (event->type() == QEvent::MouseButtonPress) > mousePressEvent(static_cast<QMouseEvent *>(event)); > + else if (event->type() == QEvent::MouseButtonRelease) > mouseReleaseEvent(static_cast<QMouseEvent *>(event)); > + else if (event->type() == QEvent::MouseButtonDblClick) > mouseDoubleClickEvent(static_cast<QMouseEvent *>(event)); > + } > > > On Tue, May 2, 2023 at 11:37 AM 'robert therriault' via Beta < > [email protected]> wrote: > > > And also Webview detecting mouse movements? > > > > Cheers, bob > > > > > On May 1, 2023, at 19:53, bill lam <[email protected]> wrote: > > > > > > webview has been patched to load remote url in the next release and > > should > > > be available soon. > > > > > > On Sun, 30 Apr 2023 at 11:17 PM 'robert therriault' via Beta < > > > [email protected]> wrote: > > > > > >> This is only a guess on my part, but it was the change in jQt between > > 903 > > >> and 904 that required me to use an alternate method of displaying my > > video > > >> labs. I believe that this was done for security, as my videos were > > running > > >> from an external source (YouTube). The options were to either store > the > > >> videos on the J server and use the media player to run them or to > > launch a > > >> browser window and play them through that. Since I was already doing a > > form > > >> of the browser window solution through JHS, I chose that approach. > > >> > > >> Hope this is helps. > > >> > > >> Cheers, bob > > >> > > >>> On Apr 30, 2023, at 06:44, Don Guinn <[email protected]> wrote: > > >>> > > >>> The following script using MathJax works in jqt903 but fails in all > > >>> subsequent releases including the current beta. The file is also > > attached > > >>> as when I copied the script from below, even though it shows as > > >>> double-spaced here it is all run into one line when I pasted it back > > into > > >>> J. I hope that is acceptable. > > >>> > > >>> The release which works: > > >>> > > >>> JVERSION > > >>> > > >>> Engine: j903/j64avx2/windows > > >>> > > >>> Release-b: commercial/2022-01-28T04:09:50 > > >>> > > >>> Library: 9.03.08 > > >>> > > >>> Qt IDE: 1.9.5/5.15.2(5.15.2) > > >>> > > >>> Platform: Win 64 > > >>> > > >>> Installer: J903 install > > >>> > > >>> InstallPath: c:/j903 > > >>> > > >>> Contact: www.jsoftware.com > > >>> > > >>> > > >>> The current beta version where it fails: > > >>> > > >>> JVERSION > > >>> > > >>> Engine: j9.5.0-beta1/j64avx2/windows > > >>> > > >>> Build: commercial/2023-04-22T15:17:12/clang-15-0-7/SLEEF=1 > > >>> > > >>> Library: 9.5.1 > > >>> > > >>> Qt IDE: 2.0.3/6.2.4(6.2.4) > > >>> > > >>> Platform: Win 64 > > >>> > > >>> Installer: j9.5 install > > >>> > > >>> InstallPath: c:/j9.5 > > >>> > > >>> Contact: www.jsoftware.com > > >>> > > >>> > > >>> > > >>> form=:0 : 0 > > >>> > > >>> pc form closeok; > > >>> > > >>> cc view webview; > > >>> > > >>> ) > > >>> > > >>> > > >>> html=:0 : 0 > > >>> > > >>> <!DOCTYPE html> > > >>> > > >>> <body> > > >>> > > >>> <script id="MathJax-script" async > > >>> > > >>> src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"> > > >>> > > >>> </script> > > >>> > > >>> <p>The Golden Ratio</p> > > >>> > > >>> \({\displaystyle phi= \frac {1 + \sqrt 5}2}\) > > >>> > > >>> </body> > > >>> > > >>> </html> > > >>> > > >>> ) > > >>> > > >>> > > >>> wd form > > >>> > > >>> wd 'psel form' > > >>> > > >>> wd 'setp wh 400 400' > > >>> > > >>> wd 'set view html ',html > > >>> > > >>> wd 'pshow' > > >>> > ---------------------------------------------------------------------- > > >>> For information about J forums see > http://www.jsoftware.com/forums.htm > > >> > > >> ---------------------------------------------------------------------- > > >> For information about J forums see > http://www.jsoftware.com/forums.htm > > >> > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
