Opened 2 years ago
Last modified 17 months ago
#2697 assigned defect
Right click ends up on the screen edge
Reported by: | stdedos | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 4.2 |
Component: | client | Version: | 3.0.x |
Keywords: | Cc: |
Description (last modified by )
In some cases (I assume custom right-click menus) I see this for windows on my WQHD monitor:
Unfortunately, I don't have more info data than these:
"Xpra-Python3-x86_64_4.0-r25894\xpra_cmd" attach ssh://user@ip/20 --ssh="plink -ssh -agent" --modal-windows=no --title="@title@ on @hostname@/@server-display@" --opengl=no 2020-04-01 16:20:57,638 Xpra GTK3 client version 4.0-r25894 64-bit 2020-04-01 16:20:57,640 running on Microsoft Windows 10 2020-04-01 16:20:57,713 Warning: failed to import opencv: 2020-04-01 16:20:57,714 No module named 'cv2' 2020-04-01 16:20:57,714 webcam forwarding is disabled 2020-04-01 16:20:58,418 GStreamer version 1.16.2 for Python 3.8.2 64-bit 2020-04-01 16:20:58,696 keyboard layout code 0x409 2020-04-01 16:20:58,697 identified as 'United States - English' : us 2020-04-01 16:20:59,053 keyboard settings: layout=us 2020-04-01 16:20:59,056 desktop size is 4160x1440 with 1 screen: 2020-04-01 16:20:59,056 Default (1100x381 mm - DPI: 96x96) workarea: 4160x1400 2020-04-01 16:20:59,056 Generic PnP Monitor 1600x900 (309x174 mm - DPI: 131x131) workarea: 1600x860 2020-04-01 16:20:59,056 C32JG5x 2560x1440 at 1600x0 (697x392 mm - DPI: 93x93) workarea: 2560x1400 Xenial server $ xpra --version xpra v3.0.8-r25767
Since #2642's spam is toooo damn high
Attachments (6)
Change History (19)
Changed 2 years ago by
Attachment: | xpra_right-click_ends-up-on-the-screen-edge.png added |
---|
comment:1 Changed 2 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 2 years ago by
Owner: | changed from Antoine Martin to stdedos |
---|
Changed 2 years ago by
Attachment: | redact-xpra-2697.log added |
---|
comment:4 follow-up: 5 Changed 2 years ago by
Owner: | changed from Antoine Martin to stdedos |
---|
I don't see anything suspicious in there. I can't be certain which window id is the one on the right hand side, but this looks like it could be the one:
initial X11 position and size: requested((3803, 639, 347, 138), {'position': (3803, 639), 'gravity': 1, 'minimum-size': (136, 39)})=(3803, 639, 347, 138)
And it looks to me like we're just honouring the position requested by the window using its WM_NORMAL_HINTS
.
Can you attach the server's -d window,metadata,x11,geometry
log output of just when the problematic window shows up - or at least tell me what time to look for. (because that's going to be quite verbose).
r26055 fixes a minor bug, r26056 improves the debug logging.
comment:5 Changed 2 years ago by
Replying to Antoine Martin:
Can you attach the server's
-d window,metadata,x11,geometry
log output of just when the problematic window shows up - or at least tell me what time to look for. (because that's going to be quite verbose).
I'm sorry, that must have slipped through the cracks.
Is this a client or a server change?
If it's a server one, does it have any dependencies? Because Xenial is stuck on v3 ...
comment:7 Changed 2 years ago by
Milestone: | 4.0 → 4.1 |
---|
comment:8 Changed 2 years ago by
Changed 2 years ago by
Attachment: | redact-xpra-2697-appears-lower.log added |
---|
Changed 2 years ago by
Attachment: | xpra-2697-appears-lower.png added |
---|
comment:9 Changed 2 years ago by
comment:10 Changed 2 years ago by
Owner: | changed from stdedos to Antoine Martin |
---|
Changed 2 years ago by
Attachment: | xpra-2697-pycharm-click-drag.png added |
---|
comment:11 Changed 2 years ago by
I think we have discussed it somewhere else too, but I cannot remember where
For Server:
$ xrandr Screen 0: minimum 8 x 8, current 6400 x 1440, maximum 32767 x 32767 DP-0 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm 2560x1440 59.95*+ 1920x1200 59.88 1920x1080 60.00 59.94 50.00 23.97 60.05 60.00 50.04 1680x1050 59.95 1600x1200 60.00 1280x1024 75.02 60.02 1280x800 59.81 1280x720 60.00 59.94 50.00 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 720x576 50.00 720x480 59.94 640x480 75.00 59.94 59.93 DP-1 disconnected (normal left inverted right x axis y axis) DP-2 connected 1920x1080+2560+180 (normal left inverted right x axis y axis) 527mm x 296mm 1920x1080 60.00*+ 1600x900 60.00 1280x1024 75.02 60.02 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 640x480 75.00 59.94 DP-3 disconnected (normal left inverted right x axis y axis) DP-4 connected 1920x1080+4480+180 (normal left inverted right x axis y axis) 527mm x 296mm 1920x1080 60.00*+ 1600x900 60.00 1280x1024 75.02 60.02 1152x864 75.00 1024x768 75.03 60.00 800x600 75.00 60.32 640x480 75.00 59.94 DP-5 disconnected (normal left inverted right x axis y axis)
and
Client (same computer)
$ xpra --version xpra v3.0.10-r26630 $ xrandr xrandr: Failed to get size of gamma for output screen Screen 0: minimum 1 x 1, current 6400 x 1440, maximum 7680 x 4320 screen connected 6400x1440+0+0 0mm x 0mm 7680x4320 0.00 5120x1152 27.78 6400x1440 17.79*
"File" Menu ends up in weird places:
(left-most monitor)
I have seen that, if the window is in the server's middle monitor, the right-click can very well end-up on the right-most monitor.
What makes this even weird is that, as soon as I started writing this (and attempted to try to get a screenshot), it "magically" fixed itself!!!
The above screenshot now looks as it should: File menu glued at the 'File label, Unity Deskbar' intersection.
...
Changed 2 years ago by
Attachment: | Screenshot 2020-07-10 14:47:39.png added |
---|
comment:12 Changed 18 months ago by
Milestone: | 4.1 → 4.2 |
---|---|
Owner: | changed from Antoine Martin to Antoine Martin |
Status: | new → assigned |
comment:13 Changed 17 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2697
Can you please include the
-d geometry
log output? (server log, running both server and client with the flag)