Bug 422324 - Desktop offset horizontally from display
Summary: Desktop offset horizontally from display
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.23.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Andrei Rybak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-01 11:51 UTC by Andrei Rybak
Modified: 2024-03-09 09:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
video, demonstrating how offset affects mouse selection (2.33 MB, video/webm)
2020-06-01 11:51 UTC, Andrei Rybak
Details
Screenshot of the whole display, demonstrating the mouse selection. (676.47 KB, image/png)
2020-06-01 11:52 UTC, Andrei Rybak
Details
screen recording from November of 2021 (1.08 MB, video/mp4)
2021-11-05 23:30 UTC, Andrei Rybak
Details
Demonstration of a similar bug (123.01 KB, video/mp4)
2023-05-01 17:08 UTC, Andrei Rybak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Rybak 2020-06-01 11:51:41 UTC
Created attachment 128973 [details]
video, demonstrating how offset affects mouse selection

SUMMARY
The view of the desktop is offset on screen, such as only leftmost quarter of the desktop is seen.

STEPS TO REPRODUCE
Unknown. `kwin --replace &` does not help

OBSERVED RESULT
See screenshots and video recording.

EXPECTED RESULT
Desktop has zero offset.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.3.0-51-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Comment 1 Andrei Rybak 2020-06-01 11:52:30 UTC
Created attachment 128974 [details]
Screenshot of the whole display, demonstrating the mouse selection.
Comment 2 Vlad Zahorodnii 2020-06-01 11:55:11 UTC
Can you post the output of xprop for the desktop window? Just run xprop from terminal and click any blank area on the desktop.
Comment 3 Andrei Rybak 2020-06-01 20:45:42 UTC
Vlad, the issue went away after restart, so I can't run xprop with the bug manifested at the moment.

xprop output without the bug:

$ xprop
_NET_WM_USER_TIME(CARDINAL) = 23502984
_KDE_NET_WM_ACTIVITIES(STRING) = "00000000-0000-0000-0000-000000000000"
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP
_NET_WM_DESKTOP(CARDINAL) = 4294967295
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_BELOW
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.plasmashell"
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Desktop"
_NET_WM_NAME(UTF8_STRING) = "Desktop — Plasma"
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 5328313
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x7000015
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                window id # of group leader: 0x7000015
WM_CLIENT_MACHINE(STRING) = "titov"
_NET_WM_PID(CARDINAL) = 6918
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 117440532
WM_CLASS(STRING) = "plasmashell", "plasmashell"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 0, 0
                user specified size: 1920 by 1080
                window gravity: Static
Comment 4 Andrei Rybak 2020-09-13 16:35:54 UTC
Hasn't been able to catch this in 5.19.5

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.3.0-51-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 5 Andrei Rybak 2021-11-05 23:29:28 UTC
I've reproduced it on 5.23.2.

As requested, here's the output of xprop for desktop (the part that has wallpaper on it):

--------------------------------------------------------------------------------------------
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_USER_TIME(CARDINAL) = 105494
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP
_NET_WM_DESKTOP(CARDINAL) = 4294967295
_NET_WM_STATE(ATOM) = _NET_WM_STATE_BELOW
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.plasmashell"
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Desktop"
_NET_WM_NAME(UTF8_STRING) = "Desktop — Plasma"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x2c0001b
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                window id # of group leader: 0x2c0001b
WM_CLIENT_MACHINE(STRING) = "titov"
_NET_WM_PID(CARDINAL) = 3585
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 46137370
WM_CLASS(STRING) = "plasmashell", "plasmashell"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 1920, 0
                user specified size: 1920 by 1080
                window gravity: Static
--------------------------------------------------------------------------------------------


And xprop output for the part that does not have the wallpaper on it:
--------------------------------------------------------------------------------------------INTEGER) = 1473, 1975
_KDE_SLIDE(_KDE_SLIDE) = 0x0
_KDE_PRESENT_WINDOWS_GROUP(_KDE_PRESENT_WINDOWS_GROUP) = 0x0
_KDE_PRESENT_WINDOWS_DESKTOP(_KDE_PRESENT_WINDOWS_DESKTOP) = 0x0
_KDE_KWIN_KSCREEN_SUPPORT(_KDE_KWIN_KSCREEN_SUPPORT) = 0x0
_KDE_WINDOW_HIGHLIGHT(_KDE_WINDOW_HIGHLIGHT) = 0x0
_KDE_NET_WM_BACKGROUND_CONTRAST_REGION(_KDE_NET_WM_BACKGROUND_CONTRAST_REGION) = 0x0
_KDE_NET_WM_BLUR_BEHIND_REGION(_KDE_NET_WM_BLUR_BEHIND_REGION) = 0x0
KWIN_RUNNING(KWIN_RUNNING) = 0x1, 0x1
_ORG_KDE_KWIN_DBUS_SERVICE(UTF8_STRING) = "org.kde.KWin"
_NET_WM_USER_TIME(CARDINAL) = 260239
_NET_WM_ICON_NAME(UTF8_STRING) = 
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.kwin"
_NET_WORKAREA(CARDINAL) = 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080, 0, 0, 1920, 1080
AT_SPI_BUS(STRING) = "unix:abstract=/tmp/dbus-C1nTpcbBoQ,guid=e8bc6acd1ff048e3308393cd6185bb40"
PULSE_COOKIE(STRING) = "d345716fe4ea64c0bcf5e6df1ce8e521f60bcca5c524972de59895188bdea9e0b2cd842c2c49710d74c497d5eff22641679b2af1a584d0e6c9a05e4dd074cb755af7a8bf6e58190b4debad5495a62f576ce446ac9afc29752c23f1c60a66e9eb6f49334d731eb339c35782ce8afbd829bfcc2d088ad179c7a4a79499c1de87a27270426e9ae7738a5f0e23eababb83b133aba9aee68853b149595d14e872ea57c6be77d6b61a31fe7cb5d0a4d4c19ecc014d7cdc5df3a72a84faee1968934a294e3c53d2730789fad6e743b4e4c4ebeec221a4ed0ec76c7a1c2e312b8a149d9601d3cf4d12242ef710983918912126808db228e4e53b5183b34940bfdd5d1124"
PULSE_SERVER(STRING) = "{3bc33e69883d46ab9ba08a90462b41f2}unix:/run/user/1000/pulse/native"
PULSE_ID(STRING) = "1000@3bc33e69883d46ab9ba08a90462b41f2/3372"
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x2c00019, 0x400006, 0x380000c, 0x420000c, 0x3e0003f, 0xe00007, 0x2c00041
_NET_CLIENT_LIST(WINDOW): window id # 0x2c00019, 0x400006, 0x380000c, 0x2c00041, 0x3e0003f, 0xe00007, 0x420000c
_NET_DESKTOP_GEOMETRY(CARDINAL) = 1920, 1080
_NET_ACTIVE_WINDOW(WINDOW): window id # 0xe00007
_NET_DESKTOP_NAMES(UTF8_STRING) = "top left", "top", "top right", "left", "centre", "right", "bottom left", "bottom", "bottom right"
_NET_CURRENT_DESKTOP(CARDINAL) = 4
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 9
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 3, 3, 0
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x1c00013
_NET_SUPPORTED(ATOM) = _NET_SUPPORTED, _NET_SUPPORTING_WM_CHECK, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_NUMBER_OF_DESKTOPS, _NET_DESKTOP_GEOMETRY, _NET_CURRENT_DESKTOP, _NET_DESKTOP_NAMES, _NET_ACTIVE_WINDOW, _NET_WORKAREA, _NET_DESKTOP_LAYOUT, _NET_CLOSE_WINDOW, _NET_RESTACK_WINDOW, _NET_SHOWING_DESKTOP, _NET_WM_MOVERESIZE, _NET_MOVERESIZE_WINDOW, _NET_WM_NAME, _NET_WM_VISIBLE_NAME, _NET_WM_DESKTOP, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_STATE, _NET_WM_STATE_MODAL, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _KDE_NET_WM_STATE_SKIP_SWITCHER, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_WM_STATE_FOCUSED, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_WM_ICON_GEOMETRY, _NET_WM_ICON, _NET_WM_PID, _NET_WM_PING, _NET_WM_USER_TIME, _NET_STARTUP_ID, _NET_WM_FULLSCREEN_MONITORS, _NET_WM_ALLOWED_ACTIONS, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_FRAME_EXTENTS, _KDE_NET_WM_FRAME_STRUT, _KDE_NET_WM_TEMPORARY_RULES, _NET_WM_FULL_PLACEMENT, _KDE_NET_WM_ACTIVITIES, _KDE_NET_WM_SHADOW, _NET_WM_OPAQUE_REGION, _GTK_FRAME_EXTENTS
XFree86_DDC_EDID1_RAWDATA(INTEGER) = 0, -1, -1, -1, -1, -1, -1, 0, 16, -84, -102, -96, 66, 74, 76, 51, 34, 25, 1, 4, -91, 53, 30, 120, 58, -96, -91, -90, 86, 82, -99, 39, 15, 80, 84, -91, 75, 0, 113, 79, -127, -128, -87, -64, -47, -64, 1, 1, 1, 1, 1, 1, 1, 1, 2, 58, -128, 24, 113, 56, 45, 64, 88, 44, 69, 0, 15, 41, 33, 0, 0, 30, 0, 0, 0, -1, 0, 51, 54, 87, 74, 88, 53, 56, 73, 51, 76, 74, 66, 10, 0, 0, 0, -4, 0, 68, 69, 76, 76, 32, 80, 50, 52, 49, 52, 72, 10, 32, 0, 0, 0, -3, 0, 56, 76, 30, 83, 17, 0, 10, 32, 32, 32, 32, 32, 32, 0, 113
_QT_SETTINGS_TIMESTAMP_:0(_QT_SETTINGS_TIMESTAMP_:0) = 0x0, 0x0, 0x0, 0x0, 0x0, 0x25, 0x87, 0x85, 0x0, 0xe, 0xe1, 0x54, 0x0
RESOURCE_MANAGER(STRING) = "*customization:\t-color\nXcursor.size:\t24\nXcursor.theme:\tbreeze_cursors\nXft.antialias:\t1\nXft.hinting:\t1\nXft.hintstyle:\thintslight\nXft.rgba:\trgb\n"
_XKB_RULES_NAMES(STRING) = "evdev", "pc101", "us,ru", "", "grp:caps_toggle,compose:ralt"
XFree86_has_VT(INTEGER) = 1
XFree86_VT(INTEGER) = 1
Xorg_Seat(STRING) = "seat0"
--------------------------------------------------------------------------------------------

== Additional info ==
I'm not sure why I haven't mentioned it before, but I'm using a laptop with an external display. The external display is set as "primary" and the display of the laptop is disabled (aka "clamshell mode").

Also, as seen in the new screen recording, krunner gets confused by the offset.

== Full version info ==
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 6 Andrei Rybak 2021-11-05 23:30:15 UTC
Created attachment 143263 [details]
screen recording from November of 2021
Comment 7 Andrei Rybak 2021-11-05 23:33:02 UTC
To clarify: the screen recording is of the right edge of the screen, krunner is supposed to be out of frame to the left, in the center of the screen, but krunner appears in the top right corner instead.
Comment 8 Andrei Rybak 2021-11-05 23:35:48 UTC
I've cut off a bit of xprop output in the second big block. Only one and a half lines are missing:

----
_NET_SHOWING_DESKTOP(CARDINAL) = 0
GDK_VISUALS(INTEGER) = 1473, 1975
----
Comment 9 Vlad Zahorodnii 2023-01-18 14:53:38 UTC
Huh, xprop doesn't contain the window geometry. Can you try xwininfo instead?
Comment 10 Andrei Rybak 2023-01-28 00:41:39 UTC
I haven't encountered this bug since 2021, but if I do, I'll make sure to do both xprop and xwininfo.
Comment 11 Andrei Rybak 2023-05-01 17:08:46 UTC
Created attachment 158607 [details]
Demonstration of a similar bug

Encountered a similar bug after restarting Plasma today (2023-05-01).  Screen recording is attached. Output of `xwininfo` and `xprop` below:

```
$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x520001d "Desktop @ QRect(0,0 2560x1440)  — Plasma"

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 160
  Height: 160
  Depth: 32
  Visual: 0xc5
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x520001c (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -2400+0  -2400-1280  +0-1280
  -geometry 160x160+0+0

```


```
$ xprop
_NET_WM_USER_TIME(CARDINAL) = 1027480693
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP
_NET_WM_DESKTOP(CARDINAL) = 4294967295
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_BELOW
_KDE_NET_WM_DESKTOP_FILE(UTF8_STRING) = "org.kde.plasmashell"
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Desktop @ QRect(0,0 2560x1440) "
_NET_WM_NAME(UTF8_STRING) = "Desktop @ QRect(0,0 2560x1440)  — Plasma"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x1, 0x0, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DESKTOP
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x520001f
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                window id # of group leader: 0x520001f
WM_CLIENT_MACHINE(STRING) = "titov"
_NET_WM_PID(CARDINAL) = 743181
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 85983262
WM_CLASS(STRING) = "plasmashell", "plasmashell"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 0, 0
                user specified size: 2560 by 1440
                window gravity: Static
```

Version info:

```
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-38-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Dell Inc.
Product Name: Inspiron 5570
```
Comment 12 Andrei Rybak 2023-05-01 17:17:36 UTC
The above output of two commands is for clicking on the tiny area of the desktop with the icon.

Here is the output for the same commands for the area of the screen that is just black, outside of the desktop:

```
$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x7b4 (the root window) (has no name)

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 2560
  Height: 1440
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 2560x1440+0+0

```

```
$ xprop
_KDE_WINDOW_HIGHLIGHT(_KDE_WINDOW_HIGHLIGHT) = 0x0
_KDE_KWIN_KSCREEN_SUPPORT(_KDE_KWIN_KSCREEN_SUPPORT) = 0x0
_KDE_SLIDE(_KDE_SLIDE) = 0x0
_KDE_NET_WM_BLUR_BEHIND_REGION(_KDE_NET_WM_BLUR_BEHIND_REGION) = 0x0
InterpRegistry(STRING) = 
_NET_SHOWING_DESKTOP(CARDINAL) = 0
_NET_WORKAREA(CARDINAL) = 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394, 0, 0, 2560, 1394
_NET_CLIENT_LIST_STACKING(WINDOW): window id # 0x520001d, 0x3c00007, 0x560000c, 0x4800006, 0x540000c, 0x4e0000c, 0x1e0003e, 0x4c0000d, 0x520003c
_NET_CLIENT_LIST(WINDOW): window id # 0x4c0000d, 0x560000c, 0x4e0000c, 0x3c00007, 0x4800006, 0x1e0003e, 0x540000c, 0x520001d, 0x520003c
_NET_DESKTOP_GEOMETRY(CARDINAL) = 2560, 1440
_NET_ACTIVE_WINDOW(WINDOW): window id # 0x4c0000d
_NET_DESKTOP_NAMES(UTF8_STRING) = "top left", "top", "top right", "left", "centre", "right", "bottom left", "bottom", "bottom right"
_NET_CURRENT_DESKTOP(CARDINAL) = 4
_NET_DESKTOP_VIEWPORT(CARDINAL) = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
_NET_NUMBER_OF_DESKTOPS(CARDINAL) = 9
_NET_DESKTOP_LAYOUT(CARDINAL) = 0, 3, 3, 0
_NET_SUPPORTING_WM_CHECK(WINDOW): window id # 0x5800013
_NET_SUPPORTED(ATOM) = _NET_SUPPORTED, _NET_SUPPORTING_WM_CHECK, _NET_CLIENT_LIST, _NET_CLIENT_LIST_STACKING, _NET_NUMBER_OF_DESKTOPS, _NET_DESKTOP_GEOMETRY, _NET_CURRENT_DESKTOP, _NET_DESKTOP_NAMES, _NET_ACTIVE_WINDOW, _NET_WORKAREA, _NET_DESKTOP_LAYOUT, _NET_CLOSE_WINDOW, _NET_RESTACK_WINDOW, _NET_SHOWING_DESKTOP, _NET_WM_MOVERESIZE, _NET_MOVERESIZE_WINDOW, _NET_WM_NAME, _NET_WM_VISIBLE_NAME, _NET_WM_DESKTOP, _NET_WM_WINDOW_TYPE, _NET_WM_WINDOW_TYPE_NORMAL, _NET_WM_WINDOW_TYPE_DESKTOP, _NET_WM_WINDOW_TYPE_DOCK, _NET_WM_WINDOW_TYPE_TOOLBAR, _NET_WM_WINDOW_TYPE_MENU, _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_UTILITY, _NET_WM_WINDOW_TYPE_SPLASH, _KDE_NET_WM_WINDOW_TYPE_OVERRIDE, _NET_WM_STATE, _NET_WM_STATE_MODAL, _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ, _NET_WM_STATE_SHADED, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _KDE_NET_WM_STATE_SKIP_SWITCHER, _NET_WM_STATE_HIDDEN, _NET_WM_STATE_FULLSCREEN, _NET_WM_STATE_ABOVE, _NET_WM_STATE_STAYS_ON_TOP, _NET_WM_STATE_BELOW, _NET_WM_STATE_DEMANDS_ATTENTION, _NET_WM_STATE_FOCUSED, _NET_WM_STRUT, _NET_WM_STRUT_PARTIAL, _NET_WM_ICON_GEOMETRY, _NET_WM_ICON, _NET_WM_PID, _NET_WM_PING, _NET_WM_USER_TIME, _NET_STARTUP_ID, _NET_WM_WINDOW_OPACITY, _NET_WM_FULLSCREEN_MONITORS, _NET_WM_ALLOWED_ACTIONS, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE, _NET_FRAME_EXTENTS, _KDE_NET_WM_FRAME_STRUT, _KDE_NET_WM_TEMPORARY_RULES, _NET_WM_FULL_PLACEMENT, _KDE_NET_WM_ACTIVITIES, _KDE_NET_WM_SHADOW, _NET_WM_OPAQUE_REGION, _GTK_FRAME_EXTENTS, _GTK_SHOW_WINDOW_MENU
_QT_GET_TIMESTAMP(INTEGER) = 
XFree86_DDC_EDID1_RAWDATA(INTEGER) = 0, -1, -1, -1, -1, -1, -1, 0, 6, -81, -19, 56, 0, 0, 0, 0, 0, 25, 1, 4, -107, 34, 19, 120, 2, 81, 37, -109, 88, 87, -113, 40, 31, 80, 84, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 120, 55, -128, -76, 112, 56, 46, 64, 108, 48, -86, 0, 88, -63, 16, 0, 0, 26, 96, 44, -128, -76, 112, 56, 46, 64, 108, 48, -86, 0, 88, -63, 16, 0, 0, 26, 0, 0, 0, -2, 0, 50, 56, 72, 56, 48, -128, 66, 49, 53, 54, 72, 84, 78, 0, 0, 0, 0, 0, 0, 65, 2, -106, 0, 16, 0, 0, 10, 1, 10, 32, 32, 0, 9
_QT_SETTINGS_TIMESTAMP_:0(_QT_SETTINGS_TIMESTAMP_:0) = 0x0, 0x0, 0x0, 0x0, 0x0, 0x25, 0x89, 0x96, 0x4, 0xa6, 0x91, 0xf7, 0x0
XIM_SERVERS(ATOM) = @server=ibus
AT_SPI_BUS(STRING) = "unix:path=/run/user/1000/at-spi/bus_0,guid=6270b983ae75631399d80881644043a8"
GDK_VISUALS(INTEGER) = 1447, 1949
RESOURCE_MANAGER(STRING) = "*customization:\t-color\nXcursor.size:\t24\nXcursor.theme:\tbreeze_cursors\nXft.antialias:\t1\nXft.hinting:\t1\nXft.hintstyle:\thintslight\nXft.rgba:\trgb\n"
_XKB_RULES_NAMES(STRING) = "evdev", "pc101", "us,ru", "", "grp:caps_toggle,compose:ralt"
XFree86_has_VT(INTEGER) = 1
XFree86_VT(INTEGER) = 1
Xorg_Seat(STRING) = "seat0"
```
Comment 13 andy 2024-03-09 09:18:15 UTC
This just happened to me on my laptop, but major differences to this bug report: I'm on wayland and plasma 6 on my laptop. I have a vertical panel on the right side, which is not offset and the mouse click is directly under the cursor as expected. But anything to the right on the desktop is weird. Everything is offset a little to the left, and when you hover the mouse over something, the window/item that is affected by the cursor is also offset to the left of where the cursor appears on the display. 

`kwin_wayland --replace` does fix it (at the cost of nuking all running programs)


Operating System: Arch Linux rolling
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6600