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

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|kcm_kwinrules               |rules
            Product|systemsettings              |kwin

--- Comment #4 from Ismael Asensio <isma...@gmail.com> ---
I don't know exactly how to triage this bug. What it depicts is true, but it is
also kind of intended behavior.

The window rules are attached by definition to specific windows, not
applications. In case of an activation shortcut rule, it lacks information
about the application itself, it just knows the actual window. 

The shortcut is registered when a window matches a rule, and de-registered
after that, so it cannot launch the application itself. This explains why the
single letter ("K" in the example) appears as text, as there is no shortcut
when that happens.

If we wanted some shortcut to show this behavior (cycle focus between open
instances of an application, or launch a new instance otherwise) I think a more
proper place might be the Icons-Only Task Manager. This sounds to me a lot just
how icons for pinned apps work, but I'm not sure as I don't use that workflow. 

About cycling between open windows matching the rule, this is a valid feature
request, but would require some "deep" changes on how the shortcut is handled
by kwin. It has also been requested in
https://bugs.kde.org/show_bug.cgi?id=442220

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

Reply via email to