It seems that the accessibility effect 'track mouse' does not work anymore (regression after I updated from 4.8.4 to 4.9.0). I had it assigned to the the modifier keys CTRL+META. I tried to assign a key combination to it, but the stars encircling the mouse cursor still don't show when pressing it.
Steps to Reproduce:
1. enable track mouse effect, e.g. setting the modifier keys CTRL and META as shortcut
2. press CTRL+META
No visible change on the screen
Yellow stars should have been circling around the mouse cursor (or at least some other effect making the mouse cursor discoverable more easily).
Please have a close look and start moving the mouse when you pressed the shortcut. It's no longer a circle of stars.
First off: I logged into my desktop freshly today and I saw the new effect when pressing the shortcut. It is harder to see than the circling stars, maybe because it is smaller. I like the fact that it has two 'colors' (b&w) though, because it can probably be seen on differently colored backgrounds – is there an easy way to configure/program the colors/sizes/number of bars?
The other thing is: the effect seems to stop working once I use the window switcher (ALT+TAB). In one test, I had the impression that the effect was just a bit more faded after using the switcher once and then it disappeared completely after another switching (but I might be mistaken on this since I could not really reproduce this). What I could reproduce is:
1. fresh login: effect works
2. hit ALT+TAB to display the window switcher
Result: effect stops working, I found no way to re-enable it other than to logout/login
> 2. hit ALT+TAB to display the window switcher
> Result: effect stops working, I found no way to re-enable it other than to
which window switcher are you using? Do you press Alt+Tab while the track
mouse is shown or how do you do that?
I'm using box switch. I do not use the effect while doing ALT+TAB, but just hit ALT+TAB to display the switcher, then try the effect again, which does not show anymore. It is really strange: sometimes the effect seems to disappear completely, sometimes it is just VERY translucent. Btw., I found a way to re-enable it other than to logout/login: zoom the whole desktop, then the effect works again (also in the unzoomed state). But as soon as I use the box switch again, there are these strange goings on with the track effect.
> I'm using box switch.
that's not possible. Box Switch is no longer used as an alt+tab effect. Could
you please provide an overview of all the settings regarding Alt+Tab you have
(In reply to comment #2)
> is there an easy way to configure/program the colors/sizes/number of bars?
override them in ~/.kde/share/apps/kwin - I'm not sure about size change handling atm - you'll have to try ;-)
@Thomas: Thanks for the information; I'll have a look at it later.
@Martin: I don't really know what to tell you other than: I've checked 'Box Switch' on the Configure desktop effects page. I've now unchecked this, logged out/in, but the behavior did not change (box switch seems to be active still).
>I don't really know what to tell you other than: I've checked 'Box
> Switch' on the Configure desktop effects page. I've now unchecked this,
> logged out/in, but the behavior did not change (box switch seems to be
> active still).
Alt+F3 -> More Actions -> Window Manager Settings... -> Task Switcher
Please screenshot this window
Created attachment 72892 [details]
Screenshot of the task switcher settings
I gave a try to the same settings but are not able to reproduce the issue.
Please post the output of when facing the problem:
qdbus org.kde.kwin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.
Qt Graphics System: raster
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 525M/PCIe/SSE2
OpenGL version string: 4.2.0 NVIDIA 295.49
Driver version: 295.49
GPU class: GF100
OpenGL version: 4.2
X server version: 1.10.4
Linux kernel version: 3.1.10
Direct rendering: yes
Requires strict binding: no
GLSL shaders: yes
Texture NPOT support: yes
OpenGL 2 Shaders are used
Currently Active Effects:
When I press my track mouse shortcut just shortly before issuing the command, I also get
under Currently Active Effects. Yet, I don't see the mouse tracking.
Opacity changes come with fading in/out non clients (reliably with popup menus, the switcher falls into that category) and GLSL -> the shaders are not correctly "popped"
This is possibly a more general problem.
I discovered that using e.g. the 'Large icons' switcher, this does not seem to happen. Also, https://bugs.kde.org/show_bug.cgi?id=304435 does not happen anymore.
Once I choose the thumbnail switcher again, however, I see both of these strange phenomena.
Created attachment 73226 [details]
If you have any chance, please try the attached patch. I'm quite confident that it will fix the issue, but I am myself not able to reproduce the issue, so I cannot test it.
"Ship It!" - works for me.
shader->setUniform(GLShader::ModulationConstant, QVector4D(1.0, 1.0, 1.0, 1.0));!
I'm wondering how that could compile here...
Git commit 091b9fd562683e127490433f416e3735cd01042f by Martin Gräßlin.
Committed on 16/08/2012 at 08:19.
Pushed by graesslin into branch 'KDE/4.9'.
Reset shader state in TrackMouse effect prior to render it
The Shader might have left-overs from last usage which might
cause the effect to not work properly.
Reviewed By: Thomas Lübking
M +5 -2 kwin/effects/trackmouse/trackmouse.cpp