Xpra: Ticket #2008: intellij pop-ups appear in the wrong place sometimes

xpra occasionally lose track of where Intellij's pop-ups are supposed to appear. eg you right-click and the pop-up appears way over on the right of the screen instead of under the mouse. Resizing the window seems to fix it for a while.

I am running two monitors on the client if that makes a difference, and I have multiple intellij windows (different projects) open.



Sun, 28 Oct 2018 05:41:58 GMT - Antoine Martin: owner changed

I can't seem to be able to reproduce it.

@facboy: can you try this trivial patch: attachment/ticket/1941/disable-pointer-adjustment.patch? (more details in #1941)

If you can still reproduce it, maybe you can also capture the "-d metadata" client output?


Mon, 12 Nov 2018 13:13:38 GMT - Antoine Martin:

Without more details, I will have to close this as 'NEEDINFO', see wiki/ReportingBugs for generic guidelines.


Mon, 19 Nov 2018 05:57:53 GMT - Antoine Martin: status changed; resolution set


Thu, 23 Jul 2020 17:11:06 GMT - bjcamp95: status, version changed; resolution deleted

Wanted to re-open this as it is happening to me, if i resize the window it resets correct until that window is hidden. Im using I3, and it seems to be related to that possibly?

Here is what my metadata looked like for a few clicks and some fixing/unfixing

WRONG
2020-07-23 09:59:01,740 process_new_common: [43, 4907, 450, 377, 561, {b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006ba', b'title': b'win31', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601}], metadata={b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006ba', b'title': b'win31', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601}, OR=True
2020-07-23 09:59:01,741 update_metadata({b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006ba', b'title': b'win31', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601, b'size-constraints': {}})
2020-07-23 09:59:01,742 set_metadata({b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006ba', b'title': b'win31', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601, b'size-constraints': {}})
2020-07-23 09:59:01,742 apply_geometry_hints({b'max_width': 32767, b'max_height': 32767}) geometry=<Gdk.Geometry object at 0x7fc71c0e9f48 (void at 0x1a1f270)>, hints=<flags GDK_HINT_MAX_SIZE of type Gdk.WindowHints>
2020-07-23 09:59:01,746 metadata update for window 43: {b'above': True}
2020-07-23 09:59:01,746 update_metadata({b'above': True})
2020-07-23 09:59:01,746 set_metadata({b'above': True})
RESIZE
2020-07-23 09:59:13,749 metadata update for window 12: {b'iconic': False}
2020-07-23 09:59:13,749 update_metadata({b'iconic': False})
2020-07-23 09:59:13,749 set_metadata({b'iconic': False})
2020-07-23 09:59:14,771 metadata update for window 12: {b'iconic': True}
2020-07-23 09:59:14,771 update_metadata({b'iconic': True})
2020-07-23 09:59:14,771 set_metadata({b'iconic': True})
RIGHT
2020-07-23 09:59:23,217 process_new_common: [44, 3238, 321, 377, 561, {b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006fb', b'title': b'win32', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601}], metadata={b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006fb', b'title': b'win32', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601}, OR=True
2020-07-23 09:59:23,225 update_metadata({b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006fb', b'title': b'win32', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601, b'size-constraints': {}})
2020-07-23 09:59:23,227 set_metadata({b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x6006fb', b'title': b'win32', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601, b'size-constraints': {}})
2020-07-23 09:59:23,229 apply_geometry_hints({b'max_width': 32767, b'max_height': 32767}) geometry=<Gdk.Geometry object at 0x7fc71c0ee868 (void at 0x1995f00)>, hints=<flags GDK_HINT_MAX_SIZE of type Gdk.WindowHints>
2020-07-23 09:59:23,267 metadata update for window 44: {b'above': True}
2020-07-23 09:59:23,267 update_metadata({b'above': True})
2020-07-23 09:59:23,268 set_metadata({b'above': True})
WINDOW SWAP
2020-07-23 09:59:36,938 metadata update for window 12: {b'iconic': False}
2020-07-23 09:59:36,938 update_metadata({b'iconic': False})
2020-07-23 09:59:36,938 set_metadata({b'iconic': False})
2020-07-23 09:59:37,231 metadata update for window 10: {b'iconic': True}
2020-07-23 09:59:37,231 update_metadata({b'iconic': True})
2020-07-23 09:59:37,231 set_metadata({b'iconic': True})
2020-07-23 09:59:39,217 metadata update for window 10: {b'iconic': False}
2020-07-23 09:59:39,218 update_metadata({b'iconic': False})
2020-07-23 09:59:39,219 set_metadata({b'iconic': False})
2020-07-23 09:59:39,501 metadata update for window 12: {b'iconic': True}
2020-07-23 09:59:39,501 update_metadata({b'iconic': True})
2020-07-23 09:59:39,502 set_metadata({b'iconic': True})
WRONG AGAIN
2020-07-23 09:59:44,718 process_new_common: [45, 5042, 314, 377, 561, {b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x60070c', b'title': b'win33', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601}], metadata={b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x60070c', b'title': b'win33', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601}, OR=True
2020-07-23 09:59:44,720 update_metadata({b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x60070c', b'title': b'win33', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601, b'size-constraints': {}})
2020-07-23 09:59:44,720 set_metadata({b'window-type': (b'DIALOG',), b'override-redirect': True, b'xid': b'0x60070c', b'title': b'win33', b'skip-taskbar': True, b'transient-for': 10, b'class-instance': (b'jetbrains-idea', b'jetbrains-idea'), b'client-machine': b'dev-dsk-bencam-2a-2d2714d1.us-west-2.amazon.com', b'pid': 21508, b'group-leader-xid': 6291601, b'size-constraints': {}})
2020-07-23 09:59:44,721 apply_geometry_hints({b'max_width': 32767, b'max_height': 32767}) geometry=<Gdk.Geometry object at 0x7fc71c0f4228 (void at 0x1979000)>, hints=<flags GDK_HINT_MAX_SIZE of type Gdk.WindowHints>
2020-07-23 09:59:44,727 metadata update for window 45: {b'above': True}
2020-07-23 09:59:44,727 update_metadata({b'above': True})
2020-07-23 09:59:44,727 set_metadata({b'above': True})

This started happening after i changed new boxes and upgraded to 3.0.10-11 (running linux version derived from CENTOS 7) previously i was using 1.0.14 and it was working fine (running in a linux version derived from CENTOS 6)


Thu, 30 Jul 2020 17:24:09 GMT - bjcamp95:

Ive installed xpar 4 on both server and client, and im still getting this issue.


Sun, 25 Oct 2020 18:40:51 GMT - zasdf: cc set


Sat, 23 Jan 2021 05:39:41 GMT - migration script:

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