45.beta - Mouse movements and pointer representation are swapped on rotated screen
Affected version
OS : Archlinux (with fcgu repo)
Mutter version: 45.beta
Windowing System : Wayland
Bug summary
Mouse movements and pointer movements are swapped on a rotated monitor. When moving the mouse vertically the pointer moves horizontally, and viceversa
Steps to reproduce
- Configure an external monitor to be rotated vertically
- No extensions loaded
What happened
Multiple problems:
- When moving the cursor on the external rotated monitor my mouse movements are swapped. When moving the mouse vertically the on-screen pointer moves horizontally, and viceversa.
- If I drag a window to the second monitor without releasing the button the windows keeps moving horizontally but the cursor moves vertically.
- If I release the dragging I'm unable to drag the window again.
What did you expect to happen
Mouse and pointer movements to be in sync.
Relevant logs, screenshots, screencasts etc.
~ wayland-info
interface: 'wl_compositor', version: 5, name: 1
interface: 'wl_drm', version: 2, name: 2
interface: 'wl_shm', version: 1, name: 3
formats (fourcc):
0x48344258 = 'XB4H'
0x48344241 = 'AB4H'
0x48345258 = 'XR4H'
0x48345241 = 'AR4H'
0x30334258 = 'XB30'
0x30334241 = 'AB30'
0x30335258 = 'XR30'
0x30335241 = 'AR30'
0x36314752 = 'RG16'
0x34324258 = 'XB24'
0x34324241 = 'AB24'
1 = 'XR24'
0 = 'AR24'
interface: 'wl_output', version: 4, name: 4
name: DP-2
description: Samsung Electric Company 29"
x: 0, y: 0, scale: 2,
physical_width: 630 mm, physical_height: 360 mm,
make: 'SAM', model: 'LU28R55',
subpixel_orientation: unknown, output_transform: normal,
mode:
width: 3840 px, height: 2160 px, refresh: 59.996 Hz,
flags: current preferred
interface: 'wl_output', version: 4, name: 5
name: HDMI-1
description: AOC 24"
x: 2560, y: 0, scale: 1,
physical_width: 530 mm, physical_height: 300 mm,
make: 'AOC', model: '24G2W1G4',
subpixel_orientation: unknown, output_transform: 90°,
mode:
width: 1920 px, height: 1080 px, refresh: 143.999 Hz,
flags: current
interface: 'zxdg_output_manager_v1', version: 3, name: 6
xdg_output_v1
output: 4
name: 'DP-2'
description: 'Samsung Electric Company 29"'
logical_x: 0, logical_y: 0
logical_width: 2560, logical_height: 1440
xdg_output_v1
output: 5
name: 'HDMI-1'
description: 'AOC 24"'
logical_x: 2560, logical_y: 0
logical_width: 1080, logical_height: 1920
interface: 'wl_data_device_manager', version: 3, name: 7
interface: 'zwp_primary_selection_device_manager_v1', version: 1, name: 8
interface: 'wl_subcompositor', version: 1, name: 9
interface: 'xdg_wm_base', version: 4, name: 10
interface: 'gtk_shell1', version: 5, name: 11
interface: 'wp_viewporter', version: 1, name: 12
interface: 'wp_fractional_scale_manager_v1', version: 1, name: 13
interface: 'zwp_pointer_gestures_v1', version: 3, name: 14
interface: 'zwp_tablet_manager_v2', version: 1, name: 15
interface: 'wl_seat', version: 8, name: 16
name: seat0
capabilities: pointer keyboard
keyboard repeat rate: 33
keyboard repeat delay: 500
interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 17
interface: 'zwp_pointer_constraints_v1', version: 1, name: 18
interface: 'zxdg_exporter_v2', version: 1, name: 19
interface: 'zxdg_importer_v2', version: 1, name: 20
interface: 'zxdg_exporter_v1', version: 1, name: 21
interface: 'zxdg_importer_v1', version: 1, name: 22
interface: 'zwp_linux_dmabuf_v1', version: 4, name: 23
main device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
tranche
target device: 0xE280 (/dev/dri/card1 or /dev/dri/renderD128)
flags: none
formats (fourcc) and modifiers (names):
0x36314752 = 'RG16'; 0x00ffffffffffffff = INVALID
0x34325258 = 'XR24'; 0x00ffffffffffffff = INVALID
0x34325241 = 'AR24'; 0x00ffffffffffffff = INVALID
0x34324258 = 'XB24'; 0x00ffffffffffffff = INVALID
0x34324241 = 'AB24'; 0x00ffffffffffffff = INVALID
0x30335258 = 'XR30'; 0x00ffffffffffffff = INVALID
0x30335241 = 'AR30'; 0x00ffffffffffffff = INVALID
0x30334258 = 'XB30'; 0x00ffffffffffffff = INVALID
0x30334241 = 'AB30'; 0x00ffffffffffffff = INVALID
0x48344258 = 'XB4H'; 0x00ffffffffffffff = INVALID
0x48344241 = 'AB4H'; 0x00ffffffffffffff = INVALID
0x56595559 = 'YUYV'; 0x00ffffffffffffff = INVALID
0x3231564e = 'NV12'; 0x00ffffffffffffff = INVALID
0x32315559 = 'YU12'; 0x00ffffffffffffff = INVALID
interface: 'wp_single_pixel_buffer_manager_v1', version: 1, name: 24
interface: 'zwp_keyboard_shortcuts_inhibit_manager_v1', version: 1, name: 25
interface: 'zwp_text_input_manager_v3', version: 1, name: 26
interface: 'wp_presentation', version: 1, name: 27
presentation clock id: 1 (CLOCK_MONOTONIC)
interface: 'xdg_activation_v1', version: 1, name: 28
Edited by Fran Diéguez