xpra icon
Bug tracker and wiki

Opened 4 months ago

Last modified 3 weeks ago

#1658 assigned defect

mouse events in black border around desktop area

Reported by: mviereck Owned by: Antoine Martin
Priority: minor Milestone: 3.0
Component: client Version: trunk
Keywords: Cc:

Description (last modified by Antoine Martin)

xpra v2.2-r17160 on debian 9

If running xpra --start-desktop and maximizing the client window, there can be a black area around the shown desktop if the vfb X server does not provide a matching resolution.

Mouse events (moving and clicks) in the black area should not do anything, but they happen to the outer border of the desktop.

Example: mouse click in black area above clock in xfce4-panel shows calendar, but this should only happen if I click directly on the clock.
example of black border around the window contents

Mouse movements in black area above the panel causes highlighting of nearest panel objects.

Not really a problem so far, just different from what I would expect.

Attachments (1)

black-border.jpg (29.9 KB) - added by Antoine Martin 3 weeks ago.
example of black border around the window contents

Download all attachments as: .zip

Change History (3)

comment:1 Changed 4 months ago by Antoine Martin

Milestone: 2.23.0
Status: newassigned

Originally reported in #1656, see ticket:1656#comment:24.

If we swallow pointer motion events, there are some potential problems with seamless mode when the window size does not match its contents exactly: the virtual pointer could linger on the edge of the server side window - which could trigger unwanted behaviour.

Changed 3 weeks ago by Antoine Martin

Attachment: black-border.jpg added

example of black border around the window contents

comment:2 Changed 3 weeks ago by Antoine Martin

Description: modified (diff)

there can be a black area around the shown desktop if the vfb X server does not provide a matching resolution.

This is less of a problem nowadays since you can:

  • use Xvfb and have perfect match for any resolutions
  • Xdummy now has a large set of pre-defined resolutions which should match all possible configurations with a maximum gap of 128 pixels

(converted link to an attachment so it doesn't bitrot)

Note: See TracTickets for help on using tickets.