! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Splash windows are centered by virtual-display
Status:
RESOLVED: INVALID

Comments

Description izapolsky 2009-03-25 10:33:59 CET
Hi,

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* 
   1600x1024      60.2  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8  
   1152x864       75.0     75.0     75.0     70.0     60.0  
   1024x768       75.1     75.0     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        75.0     72.8     75.0     60.0     59.9  
   720x400        70.1  
LVDS connected 1280x800+1280+0 (normal left inverted right x axis y axis) 300mm x 190mm
   1280x800       60.0*+
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
TMDS-1 disconnected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)
Comment 1 Olivier Fourdan editbugs 2009-03-25 11:24:39 CET
Can you please provide the output of "xfwm4 --version"?
Comment 2 izapolsky 2009-03-25 11:37:55 CET
Hi, 
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
Comment 3 Olivier Fourdan editbugs 2009-03-25 11:48:52 CET
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?
Comment 4 izapolsky 2009-03-25 11:57:12 CET
Hmm,

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.
Comment 5 izapolsky 2009-03-25 12:06:43 CET
Well, I have found a bug in Sun Java Bugparade,

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6481523

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.
Comment 6 Olivier Fourdan editbugs 2009-03-25 13:45:26 CET
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.
Comment 7 Olivier Fourdan editbugs 2009-03-25 13:53:26 CET
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.
Comment 8 izapolsky 2009-03-25 13:54:38 CET
Thanks for your investigation!

Bug #5147

Reported by:
izapolsky
Reported on: 2009-03-25
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information