warpd icon indicating copy to clipboard operation
warpd copied to clipboard

Wayland: warpd looses focus when when popup inside IntelliJ idea shows up

Open matejdro opened this issue 9 months ago • 0 comments

Whenever a popup inside IntelliJ Idea (a Java app running under XWayland) appears, warpd will loose focus. Red square will remain, but focus will be back on the IntelliJ Idea (I can move the mouse and click/type normally):

https://github.com/rvaiya/warpd/assets/507922/3fa2bbef-aa8b-4d75-ba07-1821b7292eac

This might be a broader XWayland or Java thing, but I could only reproduce it in IntelliJ so far. This only appears to happen on Sway (Wayland), same setup works fine with native X11.

Steps to reproduce:

  1. Install both warpd and IntelliJ under Sway
  2. Open IntelliJ
  3. Trigger warpd
  4. Right click somewhere with warpd to open context menu

Running

Linux 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64 GNU/Linux Sway 1.9 warpd v1.3.5 (built from: 01650ea) IntelliJ IDEA 2023.3.4, Build #IU-233.14475.28, built on February 13, 2024

matejdro avatar May 01 '24 05:05 matejdro