[Bug 338489] Re: AllowDeactivateGrabs is broken
right, closing as fixed, it's not going to be enabled by default but it's there if you want to enable it. ** Changed in: xorg-server (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/338489 Title: AllowDeactivateGrabs is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/338489/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
Xorg 1.11 and later restored the feature upstream, though it's not enabled by default due to the security issues of being able to bypass screen locks with it. http://who-t.blogspot.com/2012/01/xkb-breaking-grabs-cve-2012-0064.html has more info, as do the more recent comments in the upstream bug report at https://bugs.freedesktop.org/show_bug.cgi?id=21652 . -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/338489 Title: AllowDeactivateGrabs is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/338489/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
here is a workaround that works with both KDE and GNOME 2. to ungrab the keyboard in KDE. you should see the show desktop icon on your toolbar. right click it then select the Show Desktop Settings click the field and type say Ctrl+Alt+d (or any sequence that you would like but you may not want to overwrite any that KDE is currently using) and then that is your short cut. when you run GDB and it locks up type Ctrl+Alt+d and it will minimize all the windows and then simply click on the Show Desktop Icon and you will find that the mouse is no longer grabbed and you can continue debugging. for GNOME 2: when you run GDB and it locks up type Ctrl+F12 to change desktops (should have at least 2 desktops for this to work) then Ctrl+F1 again to get back to the desktop where you are running gdb and you will find that the mouse is no longer grabbed and you can continue debugging. kind of hokey but it works. Saif Warsi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/338489 Title: AllowDeactivateGrabs is broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/338489/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
Debug key actions including one to deactivate grabs have very recently been added to the upstream X source See recent comments by Daniel Stone at https://bugs.freedesktop.org/show_bug.cgi?id=21652 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/338489 Title: AllowDeactivateGrabs is broken -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
There is another workaround mentioned in the X.org bug. (http://bugs.freedesktop.org/show_bug.cgi?id=21652) compile a small library and LD_PRELOAD it. That seems to have fewer drawback than global anti-screenlocker feature. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/338489 Title: AllowDeactivateGrabs is broken -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
But the workaround isn't effective because it breaks applications so you can't use them properly - menus don't work properly, so in the debugging scenario, you can't bring up the menu functionality you're wanting to test. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/338489 Title: AllowDeactivateGrabs is broken -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
I have created a patch against the xorg-xserver-1.9.0 sources which re- enables grab deactivation and adds a little extra debug output (Should I be using ErrorF(...) is there something better to use?). See below: http://www.lumaki.com/pub/patches/xorg-enable-grab-deactivation/README.txt http://www.lumaki.com/pub/patches/xorg-enable-grab-deactivation/enable-grab-deactivation.patch I also built some debs for Maverick AMD64 (but please be gentle it's my first time using debuild), available here: http://www.lumaki.com/pub/patches/xorg-enable-grab-deactivation/ubuntu/ -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
[This is an automatic notification.] Hi Josh, This bug was reported against an earlier version of Ubuntu, can you test if it still occurs on Lucid? Please note we also provide technical support for older versions of Ubuntu, but not in the bug tracker. Instead, to raise the issue through normal support channels, please see: http://www.ubuntu.com/support If you are the original reporter and can still reproduce the issue on Lucid, please run the following command to refresh the report: apport-collect 338489 If you are not the original reporter, please file a new bug report, so we can work with you as the original reporter instead (you can reference bug 338489 in your report if you think it may be related): ubuntu-bug xorg If by chance you can no longer reproduce the issue on Lucid or if you feel it is no longer relevant, please mark the bug report 'Fix Released' or 'Invalid' as appropriate, at the following URL: https://bugs.launchpad.net/ubuntu/+bug/338489 ** Changed in: xorg-server (Ubuntu) Status: Confirmed = Incomplete ** Tags added: needs-retested-on-lucid-by-june -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
apport-collect says Package xorg-server not installed and no hook available, ignoring But the behavior hasn't magically reverted itself over the last year. This bug should either be reopened or marked as wontfix. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
** Changed in: xorg-server (Ubuntu) Status: Incomplete = Confirmed -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
This is a VERY SERIOUS problem for developers of GUI applications. Given this problem, the only realistic debugging approach for GUI apps is to run development environments in windows virtual machines. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
This is going to be present in every modern Xorg distro including lucid, because AllowDeactivateGrabs has been INTENTIONALLY removed from X (http://cgit.freedesktop.org/xorg/xserver/commit/?id=5e43cd28692bc05cac80f38b47104a26c0524385) , even though it provides features that appear to have no workable alternatives. Some of these X people look at everything from an entirely theoretical perspective, like AllowDeactivateGrabs shouldn't need to be there, and they're right because the grab-lockup problem shouldn't be there, but is. AllowDeactivateGrabs shouldn't have been removed until the grab- lockup problem is gone. By the grab lockup problem I mean there are some circumstances where an application does an X grab, and if you're then stopped at a debugger breakpoint, there's nothing that will release the grab, and then your entire desktop is locked up. You can't do a thing!! -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
** Tags added: jaunty -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
I've been trying to find a way to allow the mouse to be released from a program (UT2004) so that way I could do other things (answer IMs, browse internet) and switch back to the game later without exiting it. I heard this feature could let me do this easily, but then I find that the feature has been removed. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
I'm using this workaround on fedora9: - the content of file /etc/acpi/actions/power.sh I modified to: #!/bin/sh /usr/bin/chvt 1 - so after X stops responding I just press POWER button on desktop machine and it will switch me to working terminal. Then I'm able to stop some process (e.g. when I'm using NetBeans, X will stop responding during debugging, I kill java process), then press alt+F7 and X will be responding again :) -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
That's certainly helpful, avoids a reboot, but if you're wanting to debug menu code that involves a grab, the above doesn't let you do it, rather you have to kill the process you were wanting to debug. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
If anyone can't wait (like me), I've built an Xorg binary for Ubuntu Jaunty that restores this AllowDeactivateGrabs functionality and also includes the patch provided in https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/334626 that stops regular server crashing, especially when running vmware player. Binary is at http://www.aaa.net.au/campbell/Xorg.tar.bz2 and is a drop-in replacement for /usr/bin/Xorg but do back up your original. If installing you'll likely need to stop the gdm service, then restart it after you're done. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
I see the same thing This is incredibly lousy... X grab hangs are a regular occurrence when debugging GUI applications. If you don't have a network connection then as far as I know, there's no alternative but to power the machine down and suffer potential loss of data. I don't understand why they'd remove it from the source. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
Same issue here. This is a show stopper for GUI application development since you cannot switch back to the debugger when a breakpoint is hit. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
Upstream bug seems to be http://bugs.freedesktop.org/show_bug.cgi?id=21652 ** Bug watch added: freedesktop.org Bugzilla #21652 https://bugs.freedesktop.org/show_bug.cgi?id=21652 -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
I cannot work as a software developer without this functionality or some workable alternative. I'm now running Intrepid's X server in Jaunty. This issue needs fixing as a matter of urgency. -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
See this thread I raised on the xorg mailing list http://lists.freedesktop.org/archives/xorg/2009-May/thread.html#45750 -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
Ouch. Just upgraded to Jaunty and went looking for how to deactivate screengrabs, hitting this exact problem. Does anyone have or know a workaround? This is critical core functionality for Salasaga, an eLearning creation package that's already available through Add/Remove. Without the ability to trigger screenshots of applications with menu's open, which this bug is preventing, there's no way to create effective how-to style screenshots. :( -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
The option has been removed from the X server: http://cgit.freedesktop.org/xorg/xserver/commit/?id=5e43cd28692bc05cac80f38b47104a26c0524385 -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/23527276/Dependencies.txt ** Attachment added: LsHal.txt http://launchpadlibrarian.net/23527277/LsHal.txt ** Attachment added: LsMod.txt http://launchpadlibrarian.net/23527278/LsMod.txt ** Attachment added: LsPci.txt http://launchpadlibrarian.net/23527279/LsPci.txt ** Attachment added: XorgConf.txt http://launchpadlibrarian.net/23527280/XorgConf.txt ** Attachment added: XorgLog.txt http://launchpadlibrarian.net/23527281/XorgLog.txt ** Attachment added: XorgLogOld.txt http://launchpadlibrarian.net/23527282/XorgLogOld.txt ** Attachment added: glxinfo.txt http://launchpadlibrarian.net/23527283/glxinfo.txt ** Attachment added: setxkbmap.txt http://launchpadlibrarian.net/23527284/setxkbmap.txt ** Attachment added: system.txt http://launchpadlibrarian.net/23527285/system.txt ** Attachment added: xdpyinfo.txt http://launchpadlibrarian.net/23527286/xdpyinfo.txt ** Attachment added: xkbcomp.txt http://launchpadlibrarian.net/23527287/xkbcomp.txt -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 338489] Re: AllowDeactivateGrabs is broken
** Changed in: xorg-server (Ubuntu) Status: New = Confirmed -- AllowDeactivateGrabs is broken https://bugs.launchpad.net/bugs/338489 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs