| Summary: | "Remember" rules do not work with Wayland clients | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Vlad Zahorodnii <vlad.zahorodnii> |
| Component: | rules | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | bugseforuns, erin-kde, kde, nate, takuya |
| Priority: | NOR | Flags: | vlad.zahorodnii:
Wayland+
vlad.zahorodnii: X11- vlad.zahorodnii: ReviewRequest+ |
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | https://phabricator.kde.org/D18550 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Vlad Zahorodnii
2019-01-17 12:37:07 UTC
Ack. There's a lot of ShellClient that we're doing too early for XDGShell, ideally we should do a lot of stuff after the client has committed their initial state. (In reply to David Edmundson from comment #1) > There's a lot of ShellClient that we're doing too early for XDGShell Well, one can have a generic rule that applies to all windows. So, we have to apply rules once a shell client is created and once shell client gets title and window class. s/ohce/when/ I do not know how remember rules are supposed to work. They are certainly not yet hooked up for ShellClient. Just like many other aspects of rules. Maybe that's unrelated question, but... in rules.cpp we have READ_FORCE_RULE and READ_SET_RULE, what's the difference between "force" and "set" rules? So far it looks like the former can be only forced, while the latter can be forced as well "remembered". That's also a mystery I never uncovered. Git commit be48d36349e56da9eaeb377a3eabad7058458965 by Vlad Zagorodniy. Committed on 09/07/2019 at 12:13. Pushed by vladz into branch 'master'. [autotests] Rewrite testShellClientRules Summary: Currently, the test doesn't verify that each rule does what it should, e.g. a force rule is a force rule and not force temporarily, etc. This as it turns out hides some bugs, e.g. all remember rules do not work, forced window shortcuts can't be released, etc. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, graesslin, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D18464 M +2745 -267 autotests/integration/shell_client_rules_test.cpp M +18 -18 rules.h https://commits.kde.org/kwin/be48d36349e56da9eaeb377a3eabad7058458965 duplicate of bug 409797? *** Bug 409797 has been marked as a duplicate of this bug. *** |