Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trying to move/resize a FramelessWindow outside the desktop bounds in RHEL 6.3
Forum Updated to NodeBB v4.3 + New Features

Trying to move/resize a FramelessWindow outside the desktop bounds in RHEL 6.3

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.2k 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
    fguimaraes
    wrote on last edited by
    #1

    Hello,

    In our application there is a situation where we need to move and resize a Frameless Window outside the desktop bounds.
    In Windows environment there is no problem in doing such thing; turns out that in X11 (RHEL 6.3 actually) ("as highlighted in Qt’s documentation":http://qt-project.org/doc/qt-4.8/qt.html#WindowType-enum )

    For this reason, with the current implementation, the application is not able to move or resize the window outside the desktop bounds. Additionally to that, when we try to change on the fly the window attribute flag (CWOverrideRedirect) from XLib, the application automatically moves to a “valid” position.

    One solution, would be apply the "Qt::X11BypassWindowManagerHint":http://qt-project.org/doc/qt-4.8/qt.html#WindowType-enum flag, but this action would generate the undesired behavior like not receive the keyboard focus, not give focus to other applications and generante a flickering during the set of it.

    Given the aforementioned scenario, I’d like to know if exist some robust solution for dealing with this issue.

    BTW, Already exists "a topic related":http://qt-project.org/forums/viewthread/5487/ to this issue, but appearantly without solution.

    Thanks!

    Birth, death, rebirth, though, and constantly progress, that is the law.

    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