-
Bug
-
Resolution: Fixed
-
P4
-
17, 21
-
b20
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8342976 | 23.0.2 | Paul Hohensee | P4 | Resolved | Fixed | b04 |
JDK-8343303 | 21.0.6 | Paul Hohensee | P4 | Resolved | Fixed | b02 |
JDK-8343570 | 17.0.14 | Paul Hohensee | P4 | Resolved | Fixed | b02 |
According to https://github.com/openjdk/jdk/blob/285ceb9ee51e064687da6fc3fbed984e34cf02e6/src/java.desktop/unix/classes/sun/awt/X11/XWindowPeer.java#L766, it appears like KWin is assumed to always send synthetic ConfigureNotify events. However, the internal KWin implementation details have/will be changed in 6.2 to match the behavior described in ICCCM 4.1.5, i.e. if the client window is resized, no synthetic configure notify event will be sent. The reason for that was to fix some issues during interactive resize.
Unfortunately, it breaks pointer input under certain circumstances.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Have a machine running KWin 6.2, it can be either built from source code (https://develop.kde.org/docs/getting-started/building/kdesrc-build-compile/) or one can download the KDE Neon Testing or Developer edition.
- download JDownloader2 app, and open it
- right click anywhere in the download list, dismiss the popup
- maximize the JDownloader2 window
- right click again, and hover entries in the popup window
- the context menu entries are not highlighted as expected and pointer events have an offset
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
pointer input has some offset after maximizing JDownloader2 window
ACTUAL -
no issues with pointer input
CUSTOMER SUBMITTED WORKAROUND :
If KWin is forced to pretend to be Mutter by changing the WMName property, then the issue cannot be reproduced. The issue is reproducible both in Plasma X11 and Plasma Wayland sessions.
FREQUENCY : always
- backported by
-
JDK-8342976 ConfigureNotify behavior has changed in KWin 6.2
- Resolved
-
JDK-8343303 ConfigureNotify behavior has changed in KWin 6.2
- Resolved
-
JDK-8343570 ConfigureNotify behavior has changed in KWin 6.2
- Resolved
- duplicates
-
JDK-8338752 Wrong mouse position in popup menus when running in KDE Plasma 6.2-dev
- Closed
- links to
-
Commit(master) openjdk/jdk17u-dev/24769df8
-
Commit(master) openjdk/jdk21u-dev/fa58ee09
-
Commit(master) openjdk/jdk23u/8985dab4
-
Commit(master) openjdk/jdk/3da68900
-
Review(master) openjdk/jdk17u-dev/2981
-
Review(master) openjdk/jdk17u/404
-
Review(master) openjdk/jdk21u-dev/1072
-
Review(master) openjdk/jdk21u/457
-
Review(master) openjdk/jdk23u/202
-
Review(master) openjdk/jdk/21449