Summary: | Please allow for a delay with "Detect Window Properties" | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Daniel Hahler <kde-bugzilla> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | james, kde |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Daniel Hahler
2011-03-29 23:06:22 UTC
I see we have this feature now (using 4.7.4 here, but it's been there for a few versions). However, this feature doesn't do what I'd hoped it would. I would like to have a delay that kwin waits on new windows before applying the rules. Let me give a specific example to make this more clear. I want certain gvim windows to be placed/sized in a specific way, but not all gvim windows. I wish to make the distinction based on the window title, which typically shows information based on the file being edited. However, gvim has this annoying habit of first setting the title to "gvim" and then replacing it with "gvim -- filename" or something along those lines. The point is that gvim changes the window title shortly after start up. I want the window rule to apply to the final title, not the initial title. Can we add a second delay to accomplish that too? No. a) "delay" would introduce just heuristic behavior in this regard b) esp. for placing this is a problem, because the window is placed before -> The only solution would be to track window titles, ie. update rules everytime a title updates - what a) can happen quite often b) would likely break other rule behavior (major functional change) so it must (while actually reasonable) be touched with great care and should not be done unless the upateRules function become a little smarter. What you want to do can however possibly be achieved by scripting or also plain good old gvim -geometry 640x480+64+48 what will open a new gvim window at x:64 y:48 with 640x480px size Btw, thanks for bumping /this/ bug (forgot to tag it fixed) but in general please do not hijack other bugs/wishes only because they've similar titles, makes bug triaging hell =) Bulk change: move all KWin kcm bugs to product kwin |