Support #7996
Middle mouse button & opening new browser tab (in foreground and background)
Start date:
01/22/2021
Due date:
% Done:
100%
Estimated time:
Description
Hello,
first of all thanks for making this great project :)
I would like to ask about two separate things:
Why 'clicked' event does not fire on the middle mouse button? Let's take this: https://www.webtoolkit.eu/widgets/forms - there is a button that has assigned 'clicked' callback. It does not react on the middle mouse button. Is it even possible to handle that button?
How to open a new web browser tab in the foreground/background? I know it's possible via WLink, but my goal is to make a popup menu and open a new tab when one of the items is clicked. Currently, I do WApplication::doJavaScript("window.open(...)"), but this approach does not work for Safari (iOS).
Thanks for the help,
Max.