gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
240 stars 14 forks source link

Meta+Mouse does not trigger OSD #16

Closed ChickenIQ closed 5 months ago

ChickenIQ commented 1 year ago

The OSD and all snapping features are not triggered when the window is moved using SUPER + LClick Basically, this is only triggered when the window is selected which does not happen while using that shortcut.

Steps to reproduce:

  1. Launch an app
  2. Launch another one
  3. Try to move the 1st window The OSD will appear.
  4. Try to move the 2nd window using the shortcut above The OSD will not be triggered.
gerritdevriese commented 1 year ago

I can reproduce this, and after some investigation I don't think I will be able to solve this.

This problem occurs because KWin does not give the correct signal (onClientStartUserMovedResized) when moving an inactive window using Super+LClick. Without this signal its impossible for the script to know when to show the OSD.

I have made a bug report, you can follow it here: https://bugs.kde.org/show_bug.cgi?id=460883

codeswhite commented 1 year ago

Please try the test branch

gerritdevriese commented 11 months ago

Please try the test branch

Bug is not solved yet upstream, so this issue still exists.