xpra icon
Bug tracker and wiki

Opened 2 months ago

Last modified 2 months ago

#2136 assigned enhancement

Option for resizing window only do scaling rather than commiting desktop size change?

Reported by: thiner Owned by: Antoine Martin
Priority: major Milestone: future
Component: core Version: 2.4.x
Keywords: screen size Cc:

Description

I have been searching for options that changes the behavior of resizing a xpra client window from "resizing server desktop" by default to "keep server desktop dimension and rescale content in this window according to the window dimension". But I have no luck.

Does this feature exist?

Actually absence of such feature introduces a logic problem. Even if an attaching is done with --readonly=yes, resizing the window always disregards the "readonly" option and enforces a global resizing.

Any ideas and suggestions?

Change History (5)

comment:1 Changed 2 months ago by Antoine Martin

Owner: changed from Antoine Martin to thiner

This feature does not exist. It shouldn't be too hard to implement, except that changing the desktop scaling would probably reset the windows to the default desktop-wide scaling value.

You're right about --readonly=yes still allowing resizing of windows, it probably should not. Can you please create a ticket specifically for that?

comment:2 in reply to:  1 Changed 2 months ago by thiner

You're right about --readonly=yes still allowing resizing of windows, it probably should not. Can you please create a ticket specifically for that?

See #2137.

Last edited 2 months ago by Antoine Martin (previous) (diff)

comment:3 Changed 2 months ago by Antoine Martin

It occurs to me now that you may be talking about desktop mode (xpra start-desktop) rather than seamless mode (xpra start)? Is that right?

comment:4 in reply to:  3 Changed 2 months ago by thiner

I am using both start-desktop and shadow interchangeably ...

Last edited 2 months ago by Antoine Martin (previous) (diff)

comment:5 Changed 2 months ago by Antoine Martin

Milestone: 2.5future
Owner: changed from thiner to Antoine Martin
Status: newassigned

I am using both start-desktop and shadow interchangeably ...

That explains the confusion, please see wiki/ReportingBugs to avoid this in the future.

We could support something like desktop-scaling=scale|resize (with resize being the default), but the difficulty is that the client has no way of knowing that it is going to connect to a desktop or shadow server rather than a seamless server, and this option would actually be meaningless for seamless mode where all the windows must use the same scaling factor.

So I am moving this ticket to "future", don't hold your breath.
See also #2137

Last edited 2 months ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.