Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Why the z-index doesn't work on npapi windowed plugin in Qtwebkit.

Why the z-index doesn't work on npapi windowed plugin in Qtwebkit.

Scheduled Pinned Locked Moved Qt WebKit
6 Posts 3 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maoliangwu
    wrote on last edited by
    #1

    Re: Netscape NPAPI and iframe

    has the problem resolved? I met the same problem. In the webpage I insert a <object> windowed plugin of npapi. the z-index doesn't in use to put other html section above it. I tried it on the firefox, it does work. Why the result is different in Qtwebkit.My Qt verison is 4.8.5. Thx

    1 Reply Last reply
    1
    • K Offline
      K Offline
      Konstantin Tokarev
      wrote on last edited by
      #2
      • Qt 4.8 is obsolete and not supported anymore, same is true for any QtWebKit version which you can use with Qt 4: QtWebKit 2.2 (4.8) and 2.3. You should upgrade to Qt 5.
      • AFAIU QtWebKit in Qt 5 supports only windowless plugins, so there should not be any z-order issues. There might be glitches when plugin is not hidden when respective view is hidden, so it can e.g. be erroneously displayed on top of different browser tab, please report if you see anything like this, however AFAIU it is not related to original problem
      1 Reply Last reply
      0
      • M Offline
        M Offline
        maoliangwu
        wrote on last edited by
        #3

        thx for your answer, as you say, Qt5 doesn't support any z-index set, but I need to display html sections above my plugin sometimes. How can I realise it? Originally, I use the microsft activex, but z-index order doesn't work.I tried QtactiveX , it still doesn't work, do you have other suggestions?

        K 1 Reply Last reply
        0
        • M maoliangwu

          thx for your answer, as you say, Qt5 doesn't support any z-index set, but I need to display html sections above my plugin sometimes. How can I realise it? Originally, I use the microsft activex, but z-index order doesn't work.I tried QtactiveX , it still doesn't work, do you have other suggestions?

          K Offline
          K Offline
          Konstantin Tokarev
          wrote on last edited by
          #4

          @maoliangwu I don't say it does not support z-index, quite the oppsoite, plugins now don't use windowed mode and should obey rules like other elements do

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Carry Hu
            wrote on last edited by
            #5

            I faced the same problem, and my Qt version is Qt5.5.1. QtWebkit plugin will always be on the top despite z-index in the style property, other objects with higher z-index will be corvered by this plugin.
            Is there any resolution to put the plugin at the bottom of the webview?
            thx

            M 1 Reply Last reply
            0
            • C Carry Hu

              I faced the same problem, and my Qt version is Qt5.5.1. QtWebkit plugin will always be on the top despite z-index in the style property, other objects with higher z-index will be corvered by this plugin.
              Is there any resolution to put the plugin at the bottom of the webview?
              thx

              M Offline
              M Offline
              maoliangwu
              wrote on last edited by
              #6

              @Carry-Hu said in Why the z-index doesn't work on npapi windowed plugin in Qtwebkit.:

              I faced the same problem, and my Qt version is Qt5.5.1. QtWebkit plugin will always be on the top despite z-index in the style property, other objects with higher z-index will be corvered by this plugin.
              Is there any resolution to put the plugin at the bottom of the webview?
              thx

              if you solved this problem,please tell me,thx

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved