Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Use QWebEngineView as a widget in QDockWidget comes an odd bug?
Forum Updated to NodeBB v4.3 + New Features

Use QWebEngineView as a widget in QDockWidget comes an odd bug?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 3 Posters 1.1k Views 1 Watching
  • 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.
  • F Offline
    F Offline
    fisher103
    wrote on last edited by fisher103
    #1

    Use QWebEngineView as a widget in QDockWidget, when undocked, works normal, once docked comes all mainwindow UI in displacement mode, see image below:
    0_1496739071652_upload-d7c7dc1b-8ac8-4bff-ab58-0f90fe3a0d20 ![alt text](image url)
    eg, if you want close the dockwindow, you cannot push X , you need click some position up to it(red dot in the image).

    the same code works well in some workmates env. while others not as just described. we use qt5.8 on windows.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hi! The image-upload feature on our forum is broken, you might see the picture but other users don't. Please upload your image to a image hoster of your choice (e.g. postimage.org) and embed the pic here with the following markup: ![alternate text](image-url). See also How to insert image on this forum and Hitchhiker's Visual Guide to the Qt Forum.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        ThatDud3
        wrote on last edited by ThatDud3
        #3

        I was experiencing the same with Qt 5.8 and some earlier versions then it was OK with latest 5.8.x now it's back (5.9)... but I thought it was a bug in adobe flash player (or the game I was playing) ..now I realize it is exactly as described here (I must aim about 8-10 pixels higher - approx. 1 normal menu item height) - must be a docking issue...

        P.S. The fun part was - when I send mouse move/click events they seemed to hit the right coordinates alas no such luck with actual hardware/mouse - good thing the game changes mouse pointer on hover so I get pretty good visual confirmation hitting nowhere and actually pressing a button somewhere - practical magic :-)

        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