GNOME Bugzilla – Bug 603115
Activate wnck function is not working (ldtputils.py)
Last modified: 2011-02-05 01:14:43 UTC
wnck Activate window function wrapper is not working. Passing a timestamp of 0 makes the wnck always return a warning: Wnck-WARNING **: Received a timestamp of 0; window activation may not function properly. The window is not activated properly
Created attachment 148575 [details] [review] Patch that solves bug 603115 Using a "now" timestamp solves the issue.
I have not checked LDTPv2 code, but I guess the bug and patch applies also to it.
Review of attachment 148575 [details] [review]: Committed to git
Thanks for the patch, committed in both LDTPv1 and v2.
Looks like this doesn't fix the issue, atleast on Ubuntu 9.10. When I use 0L, the window gets actual focus and when I use int(time.time()), the window comes to front, but the actual focus still remain on the last application we are using. Need to test more on this, for now, let me reopen this bug.
Works fine with LDTPv2, closing, if the issue appears again, please reopen this bug. Thanks for the bug report.