Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Trying to move/resize a FramelessWindow outside the desktop bounds in RHEL 6.3
fguimaraes last edited by
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.