STEPS TO REPRODUCE 1. Open Konsole's Special Window Settings; 2. Change the keep above rule to "Remember"; 3. Set the keep above state for the Konsole window; 4. Close the Konsole window; 5. Open Konsole again. OBSERVED RESULT The new Konsole window is not kept above other windows. EXPECTED RESULT The Konsole window is kept above other windows. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.14.90 KDE Frameworks Version: 5.54 Qt Version: 5.12
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. ***