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

Desktop effect / invert colors not working for some windows

Tags: None
(comma "," separated)
aurelieng
Registered Member
Posts
16
Karma
0
OS
Hi all !

The desktop effect "invert colors" works really well and is really convenient. I love the ability to invert all the desktop at once, and also to invert specifically some windows.

Unfortunately, I can't find a way to invert specifically VirtualBox's windows running guest operating systems. It's like the shortcut is just ignored. It's been the case for all the last KDE versions, and remains true for 4.11.3. Interestingly, when I invert the colors for all windows at once, then VirtualBox's windows are inverted too. But no way to invert them one by one.

Does it mean something to you?

Aurel
luebking
Karma
0
Inverting the screen (from the kwin shortcut, not the effect shortcut) preferably operates on the gamma table, what comes for free and does not require a compositor or shaders - ie. it works fundamentally different than inverting single windows. (Shaders are used only as fallback mechanism here, but on a regular system you won't need them)

So that's not too strange.

Let's rule out the obvious:
1st: you're absolutely sure that inverting individual windows in general works? (effect loaded and shortcut bound and operational)
2nd: do you use a rule that prevents global shortcuts on virtualbox or does virtualbox grab the keyboard?
iow: can you eg. alt+tab or alt+f3 or alt+f2 while virtualbox is active?
aurelieng
Registered Member
Posts
16
Karma
0
OS
Thanks for the info.

I confirm that inverting individual windows works very well. It seems that global shortcuts are not available: Atl+Tab or Alt+F2 do not work when the focus is on the VirtualBox window (I expect it to work only when I'm on the title bar or on the menu, not within the guest OS, of course).

There's no rule I am aware of. I checked in the Right click > More action > Window/Application specific settings > Appearance & Fixes and played with the "Ignore global shortcuts", but it does not change anything. It's like global shortcut keystrokes are lost in space.

Any idea why these global shortcuts are not working ?

Edit: just found a solution: the guest OS captures keystroke as soon as the mouse pointer is in the VirtualBox window (title bar, menu, controls), and not necessarily in the guest OS display itself. If I pause the guest OS, global shortcuts work and I'm able to invert the window :-) Thanks a lot for your help !


aurelieng, proud to be a member of KDE forums since 2008-Nov.


Bookmarks



Who is online

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