xpra icon
Bug tracker and wiki

Opened 7 weeks ago

Closed 4 weeks ago

Last modified 4 days ago

#2974 closed defect (needinfo)

XPRA windows are not centered

Reported by: Samuel Owned by: Samuel
Priority: major Milestone: 4.1
Component: client Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

Using the xpra version 3.0.10.
Here is a bug of windows display:

After executing the start command of xpra (e.g.: xpra start --bind-tcp=0.0.0.0:4000)
Change your display to correspond with the xpra opened session
Launch your required 'web displayed via xpra' gui
Open the browser at the good address.

Then, some windows are displayed in the bottom-right corner of the web page.
This bug only happen when the browser is closed and is never opened before the launching of the gui.

Notice, that this bug also happen in the desktop version (when attaching to the xpra server from desktop).

Change History (3)

comment:1 Changed 7 weeks ago by Antoine Martin

Description: modified (diff)
Owner: changed from Antoine Martin to Samuel

Using the xpra version 3.0.10.

This version is out of date.

Change your display to correspond with the xpra opened session

I don't understand what that means.

Then, some windows are displayed in the bottom-right corner of the web page.

Your command doesn't start any applications, how did you start them?

FYI: the applications place the windows themselves, xpra tries not to interfere with that.

I'm going to guess that what you want in the 3.0.x branch is something like:

xpra start --env=XPRA_DEFAULT_VFB_RESOLUTION=1920x1080

This will start the xpra server with a smaller initial resolution (1920x1080) and so applications will be forced to choose a position which is more likely to fit in whatever screen size you eventually connect with.

Another, possibly better option for you might be to use --start-after-connect=app so the application is only started after the client has connected, so at that point the virtual screen xpra uses will have the same size as that of the client.
(and one would assume that the application will then choose a more useful position on screen)

comment:2 Changed 4 weeks ago by Antoine Martin

Resolution: needinfo
Status: newclosed

comment:3 Changed 4 days ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2974

Note: See TracTickets for help on using tickets.