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. [SOLVED]Re parenting full screen QWebView window does not work in secondary monitor
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Re parenting full screen QWebView window does not work in secondary monitor

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 1 Posters 2.8k 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.
  • A Offline
    A Offline
    aashish.lg
    wrote on last edited by
    #1

    I just created a sample QWebView app, that merely plays a youtube flash video. When I click on the full screen button on this flash video it brings a new window called "AdobeFlashFullScreen" window, that renders flash video in the entire montior. Now when I make this window as a child window of already running some other application window, it works in primary monitor , but not in the secondary monitor. I am not able to see my FullScreenWindow in secondary monitor.

    Note :- If I am not changing the parent then full screen works in secondary monitor as well.
    Please suggest is it a limitation of the framework itself???????

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aashish.lg
      wrote on last edited by
      #2

      If we click on the full screen button of the flash in the secondary monitor then if you really look at the x, y cordinate of that full screen window, it will be out of range of the secondary monitor resolution.

      So just after making this window as a child of some other native/qt window just move your full screen window to 0, 0 position.

      I achieved in windows using MoveWindow(hwnd, x, y , width , height), and then it is visible.

      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