in dual display configuration splash screens that should be displayed in the center of the screen (or display) are centered in the middle of two displays.
This results in following picture
| | |
| |-------| |
| d1 |splash | d2 |
| |-------| |
| | |
where d1 and d2 are displays.
This is xrandr -o output on my machine:
Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 2560 x 1024
VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0 60.0 60.0*
1152x864 75.0 75.0 75.0 70.0 60.0
1024x768 75.1 75.0 70.1 60.0
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 75.0 60.0 59.9
LVDS connected 1280x800+1280+0 (normal left inverted right x axis y axis) 300mm x 190mm
TMDS-1 disconnected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)
Can you please provide the output of "xfwm4 --version"?
there is output
izapolsky@luke:/usr/local/swiftmq_ha_7_0_0/scripts/unix$ xfwm4 --version
This is xfwm4 version 4.6.0 (revision 29618) for Xfce 4.6.0
Released under the terms of the GNU General Public License.
Compiled against GTK+-2.14.4, using GTK+-2.14.4.
Build configuration and supported features:
- Startup notification support: Yes
- XSync support: Yes
- Render support: Yes
- Xrandr support: Yes
- Embedded compositor: Yes
- KDE systray proxy (deprecated): No
Applications that use the standard type NET_WM_WINDOW_TYPE_SPLASH are properly managed and centered on the active screen (ie the one where the mouse reside) but older or incompatible applications that do not use the EWMH standard and use instead override redirect windows will nto work (the window manager must not interfere with override redirect windows). In that case that would be an application issue.
So what application's splashscreen do not show correctly? Can you provide a way to reproduce the issue?
I was starting soapUI 2.5.2 beta2 as java web start application with jdk (or, more exactly jre shipped within jdk) 1.6.0_10
I wonder if this is the case.
I will try to get java logs it this will help.
Well, I have found a bug in Sun Java Bugparade,
I am not sure if this makes any sense for XFCE (and should be done by xfce window manager at all if not already done) :/
--------------cut from Sun Bug text-----------
Also under X11 systems there is a root window property "XINERAMA_CENTER_HINT" that is queried when figuring out the position of the splash screen. If the user sets this property to some coordinates (x, y), the center of splash screen will be positioned exactly at this point.
This property is not used by any window manager I know.
Beside, it's from the Xinerama API and Xinerama is precisely deprecated in favor of xrandr.
I've downloaded soapUI and reproduced the issue, it appears that the so called "splash" window is an override redirect window, so the window manager has nothing to do with that.
Use xwininfo and click on the spash screen to obtain the info:
xwininfo: Window id: 0x4600010 "win0"
Map State: IsViewable
Override Redirect State: yes
So this is definitely an application bug (being either soapUI or java), there is nothing the window manager can do as override redirect windows are not managed by the window manager (and all window managers I tried, namely metacity and kwin behave the same as xfwm4).
Closing as invalid.
Thanks for your investigation!