Closed jim-easterbrook closed 5 years ago
QtWebEngine has a method acceptNavigationRequest
that derived classes can implement to open URLs in another window or browser. Previously this method was only called when a user clicks on a link on the map, but in Manjaro (and I assume other OS's with recent QtWebEngine) the method is called to load the JavaScript that displays the map.
Commit 94f0ff8 ensures it only gets called for links that are expected to be opened in a new window.
With the latest Manjaro Linux Photini's map tabs don't display a map. Instead a browser window opens with a url starting
data:text/html;charset=UTF-8,
.A temporary workaround is to install the
qt5-webkit
package and edit the Photini configuration file to forceusing_qtwebengine = False
.