xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 4 years ago

Closed 4 years ago

Last modified 17 months ago

#1969 closed defect (fixed)

honour client min window size

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: minor Milestone: 2.5
Component: server Version: 2.3.x
Keywords: Cc:


windows with a title bar have a minimum size on win32, we should tell the server to honour it so that when an application requests a size smaller than that we will send the configure-notify event with the min-size applied to it.

Change History (6)

comment:1 Changed 4 years ago by Antoine Martin

Status: newassigned

Mostly done in r20851, minor fixups in r20854. Test in r20855.

max-size and the new min-size switch can be used on either the client or server (previously max-size was only used only by the client)

Still TODO:

  • also apply it for OR windows? (force XConfigureWindow?)
  • use it with the desktop server to restrict randr resizing
  • man page
Version 3, edited 4 years ago by Antoine Martin (previous) (next) (diff)

comment:2 Changed 4 years ago by Antoine Martin

As of r20949, the min-size only applies to decorated windows, undecorated windows don't have any min-size restrictions.
r20950: max-size applies to all windows.

comment:3 Changed 4 years ago by Antoine Martin


  • r20991 improve test
  • r20992 remove unused code
  • r20993 + r20994: decorations flag may not be set, in which case the window IS decorated

More to come, including a fix for size constraints validation (done on the values after we already copied them... doh)

comment:4 Changed 4 years ago by Antoine Martin

Implementation complete in r20996 (+ man page in r20997).

Still TODO: backport fix.

comment:5 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Backport in r21001.

Not doing the desktop server randr limitation or applying it to OR windows.

comment:6 Changed 17 months ago by migration script

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

Note: See TracTickets for help on using tickets.