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

            Bug ID: 511162
           Summary: Improve focus handling for Plasma applets when
                    floating applets, focus follows mouse are enabled  and
                    focus delay is set to 0 ms.
    Classification: Plasma
           Product: kwin
      Version First 6.5.0
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

### **SUMMARY**

Improve focus handling for Plasma applets when *floating applets*, *focus
follows mouse* are enabled  and *focus delay is set to 0 ms*.

---

### **STEPS TO REPRODUCE**

1. Enable **floating applets** in Plasma panel.
2. Open **System Settings → Window Management → Window Behavior → Focus**.
3. Enable **Focus follows mouse** and set **Delay focus by** to **0 ms**.
4. Open any applet from the panel.
5. Move the mouse cursor from the panel button toward the applet popup.

---

### **OBSERVED RESULT**

When moving the cursor from the panel button toward the applet, the pointer
briefly passes over the *gap* between the panel and the floating applet popup.
Because *focus follows mouse* is active with *0 ms delay*, focus instantly
switches to the desktop or any window beneath that gap.
This immediately closes the applet, making it very difficult or effectively
impossible to interact with unless the user moves the cursor extremely quickly
into the popup area before focus changes.

---

### **EXPECTED RESULT**

When an applet popup is opened, focus should remain logically associated with
that applet and its originating panel button.
Crossing the small visual gap between the panel and popup should **not** cause
a focus loss.
The applet should remain open and interactive under *focus follows mouse* with
*0 ms delay*.

---

### **SOFTWARE/OS VERSIONS**

**Operating System:** CachyOS Linux
**KDE Plasma Version:** 6.5.0
**KDE Frameworks Version:** 6.19.0
**Qt Version:** 6.10.0
**Kernel Version:** 6.17.5-2-cachyos (64-bit)
**Graphics Platform:** Wayland

---

### **ADDITIONAL INFORMATION**

This only occurs when all three are active simultaneously:

* Floating applets enabled
* Focus follows mouse
* Focus delay set to 0 ms

If any one of these is disabled (for example, adding 100ms focus delay), the
issue isn't very noticeable.

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

Reply via email to