Bug 412995

Summary: Custom Shortcut Group condition doesn't notice title change
Product: [Frameworks and Libraries] frameworks-kwindowsystem Reporter: Gabor <gabor>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.15.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gabor 2019-10-15 19:11:46 UTC
SUMMARY
Not sure it's a bug, maybe it is a feature request.
I would like to use mouse gestures in browser except on one tab. But the custom shortcut group condition didn't respect title changes.

STEPS TO REPRODUCE
1. In Settings -> Shortcuts -> Custom Shortcuts Create a group, add coniditon with a "window class contain" and a "title doesn't contain" rule to match you borswer class and title on a specific site.
2. add some shortcut to the group
3. try the shortcuts while changing tab (so the title changes) in browser

OBSERVED RESULT
The match decided when I hit the apply button on settings, so the gestures working on every tab if I was not on that site, and don't work on any tab if the site was active, even when I switch to other tab and the title changes.


EXPECTED RESULT
If I add a title related condition, it should monitor the title changes, so the shortcut group activates/deactivates on title changes.

SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: kubuntu 19.04
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56
Qt Version: 5.12.2

ADDITIONAL INFORMATION