Linux Window Manager sets windows window size / location

We are using Red Hat Linux 6.4, and our application is built using Qt. The application has several windows, and we support a layout system in which our users can save the layout of the application and restore it later. The application is cross-platform, and on Windows everything is in order. On Linux, we are having problems restoring windows when a window spans multiple monitors. Our configuration uses one virtual X-display, covering all monitors, and users can manually set and resize windows on monitors.

What we discovered is that the window manager applies a policy to windows that are programmatically set and force them not to span the separation between the two monitors. When we try to restore a saved layout containing a window on which monitors are installed, the window manager reduces its size and repositions as it matches. Basically, as long as the user makes changes by dragging and resizing the window, the window manager respects it, but the application that installs it programmatically becomes overridden. I am sure that someone thought this was a reasonable limitation, but our customers do not agree.

The developer spent days here searching and experimenting, trying to find a way to work with this behavior programmatically or, even better, to say that the window manager stopped doing it. We use the GNOME desktop and Qt 4.8.x.

Any ideas?

Thanks, Doug McGrath

+4
source share

All Articles