https://bugs.kde.org/show_bug.cgi?id=528755

            Bug ID: 528755
           Summary: [Wayland] XEmbed tray clicks are ignored by Java
                    AWT/JDownloader unless XTest injection is forced
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: XembedSNIProxy
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: 1.0

Environment:
- Arch Linux
- KDE Plasma 6.8.2
- Wayland session
- plasma-workspace / xembedsniproxy 6.8.2-1
- JDownloader 2 using a Java AWT tray icon

Steps to reproduce:
1. Start JDownloader and enable its tray icon/minimize-to-tray behavior.
2. Minimize JDownloader to the system tray.
3. Click the tray icon (left or right).

Actual result:
The xembedsniproxy debug log reports “Received click”, but JDownloader does not
react.

Workaround tested:
Forcing m_injectMode = XTest in xembed-sni-proxy/sniproxy.cpp makes the
JDownloader tray icon respond after rebuilding xembedsniproxy and restarting
JDownloader.

Possible fix:
On Wayland/XWayland, prefer XTest injection for XEmbed tray clicks, or select
it for Java AWT tray windows. The current direct XSendEvent path appears to
deliver the click to the proxy without triggering JDownloader's tray handler.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to