xpra icon
Bug tracker and wiki

#1433 closed defect (fixed)

iconified windows have nonsensical coordinates on win32

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.0
Component: client Version: trunk
Keywords: Cc:

Description

Steps from a win32 client:

  • maximize eclipse
  • iconify it
  • disconnect
  • re-connect

The eclipse window ends up clamped to a tiny size in the bottom left corner because MS Windows gave us coordinates in the -32000 range.
r15044 + r15045 fix this by ignoring the map event, the window stays minimized when we re-connect.
We don't do that on other platforms because there may not be a way to de-iconify it!

Alternatively, we could detect the invalid coordinates and clamp them, or just ignore them and map at 0,0.

Change History (1)

comment:1 Changed 10 months ago by Antoine Martin

Resolution: fixed
Status: newclosed

r15117 deiconifies the window when we get a map event, this makes win32 consistent with the other platforms. (and maybe this should be backported)

Note: See TracTickets for help on using tickets.