This forum has been archived. All content is frozen. Please use KDE Discuss instead.

VM screens are only opaque when mouse hovers over

Tags: None
(comma "," separated)
searchfgold6789
Registered Member
Posts
22
Karma
0
OS
When I open my dual-monitor virtual machine, I have one virtual screen for each real screen. However, I have to actually hover my mouse over a virtual screen in order for it to be fully opaque when it is fullscreen, for some reason. When I put my mouse over one screen, it's fully opaque and the other one is semitransparent; vice-versa. I checked the window settings and there seems to be nothing about forcing opacity at all times, and blocking compositing didn't work...

Does anyone know how I could make both opaque all the time?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Which window decoration, application style and virtual machine software are you using? The decoration and style are both set in System Settings.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
searchfgold6789
Registered Member
Posts
22
Karma
0
OS
bcooksley wrote:Which window decoration, application style and virtual machine software are you using? The decoration and style are both set in System Settings.


I am using the default Oxygen window decorations. The application style (http://i.imgur.com/oOvgLQy.png) is also Oxygen... and I am using the latest VirtualBox 4.3.10.
luebking
Karma
0
just to be sure:
this does not happen when you suspend the compositor (Shift+Alt+F12)?

- do you use a mouse drive focus policy (focus-follows mouse)?
- do you have the translucency effect enabled (and configured for inactive windows...)? - see "kcmshell4 kwincompositing", 2nd tab

You can enforce the opacity of active and inactive windows by setting up a rule ("kcmshell4 kwinrules", last tab)
searchfgold6789
Registered Member
Posts
22
Karma
0
OS
luebking wrote:just to be sure:
this does not happen when you suspend the compositor (Shift+Alt+F12)?

- do you use a mouse drive focus policy (focus-follows mouse)?
- do you have the translucency effect enabled (and configured for inactive windows...)? - see "kcmshell4 kwincompositing", 2nd tab

You can enforce the opacity of active and inactive windows by setting up a rule ("kcmshell4 kwinrules", last tab)


  • This does not happen with the compositor disabled; however I would rather have it on because this makes it easier to switch to another window out of the VM.
  • There is no focus-follows-mouse policy enabled.
  • The translucency effect is enabled for inactive windows.
luebking
Karma
0
did you try whether disabling the translucency effect has any impact?
searchfgold6789
Registered Member
Posts
22
Karma
0
OS
Disabling Translucency does solve it, but I guess that is the only way? If there were any way to disable desktop effects for that one window/app only, or something...
luebking
Karma
0
Seems the window perform self-activation on hovering (if you really use click-to-focus)

The effect cannot be controlled in that way, but you can disable the inactive window part of it and set up a blind rule (don't alter matching, you'll get a warning that you'll match all windows) for the desired opacities ("kcmshell4 kwinrules", last tab) and a special rule (using the detect button) for the virtual machines (which must be above the blind rule!) to be opaque in any case.

Alternatively, you'd have to edit the effect (it's written in javascript)
searchfgold6789
Registered Member
Posts
22
Karma
0
OS
Hoo Ray! It's working, I just followed your instructions.

Here are the exported rules in case anyone else encounters this bug, I just put "special rule" above "blind rule"! http://1drv.ms/1mBdjS0


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar