Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36590

REG: QWebview opens Java applet in wrong position

XMLWordPrintable

      QWebview opens Java applet in wrong position. Looks like it's anchored to application position even it should be anchored to QWebView position. It's real issue for example with Qt Fancy browser where applet is opened over menu and controls/address bar.

      Works correctly in Qt 4.8.5.

      Here's example with Java applet page to test:

      main.cpp
      #include <QApplication>
      #include <QWebView>
      #include <QWebSettings>
      
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QWidget w;
          QWebView view(&w);
          view.setGeometry(0,100,1000,500);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::JavaEnabled, true);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, true);
          QWebSettings::globalSettings()->setAttribute(QWebSettings::JavascriptEnabled, true);
          view.load(QUrl("http://eassistant.nmmn.com/en/AppletFitCalc.html"));
          w.show();
          return a.exec();
      }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            allan.jensen Allan Sandfeld Jensen
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes