Though I've set opacity (inactive) for an application and a specific window to be enforced to 100% (no transparency), the window still gets transparent as soon as it looses focus. Reproducible: Always Steps to Reproduce: This assumes compositing is active as well as the transparency effect and the latter is set to make inactive windows transparent. 1. Start vlc 2. Select "More Options->Specific settings for this window" from the main window's title bar. 3. Select "Appearance & Corrections" (fourth tab) 4. Tick "Opacity (inactive) 5. Select "Forced" 6. Enter "100%" 7. Click "OK" 8. Restart vlc 9. Open another window Actual Results: vlc's main window gets transparent as per the global transparency settings. Expected Results: vlc's main window should be completely opaque even though it lost focus. I've seen this behavior in kwin versions prior to 4.10.0, iirc it was at least broken in 4.5.0 as well, did not check every version in between. Screenshots of effect will be added (unfortunately my locale is german, but the wrong translucency of the window despite its settings can be seen).
Created attachment 77511 [details] Screenshot showing translucent inactive window with its settings window as the active one.
The application/window setting operates on the X11 property. The translucency effect (all effects) operate(s) multiplicative on that. The settings about - decorations - inactive windows - dialogs - popups - menus Should probably not exist in that effect (but are there for legacy reasons until the effect will be touched and the -broken- "on move" setting be transferred to a scripted effect) To gain what you want simply setup a "blind" rule to match all windows (of eg. certain type) and force their inactive opacity. Then add another rule (on top of them) to match vlc and force the inactive opacity to be 100%. It will not work the way you try it.
@Thomas: I think this is about the window rule and not about the translucency effect
"This assumes compositing is active as well as the transparency effect and the latter is set to make inactive windows transparent."
(In reply to comment #2) > The application/window setting operates on the X11 property. > The translucency effect (all effects) operate(s) multiplicative on that. [snip] > > To gain what you want simply setup a "blind" rule to match all windows (of > eg. certain type) and force their inactive opacity. > Then add another rule (on top of them) to match vlc and force the inactive > opacity to be 100%. This way works for me, yes. Though it is a bit counter-intuitive.
bug remains invalid since translucency effect does, can and will not operate on the actual window opacity.