rvaiya / warpd

A modal keyboard-driven virtual pointer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

matejdro opened this issue · 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):

idea-bug.mp4

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