Bug 506369
| Summary: | under load, metacity's run_command_x keybinding runs command many times | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jason Woofenden <jason310> | ||||
| Component: | metacity | Assignee: | Owen Taylor <otaylor> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 11 | CC: | sandmann, talcite | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 2.28.0-11.fc12 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-06-28 13:04:34 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Jason Woofenden
2009-06-16 22:07:18 UTC
this is killer! I've had to hard-reset my computer another few times because of this. I'm becoming increasingly convinced that it's related to key auto-repeat. IMO metacity should never run commands more than once, even if the key is held. And if I'm correct, and the key repeat thing is what's causing this, even when I make just a normal tap of the F2 key, it really shouldn't. I turned off auto-repeat completely in the gnome keyboard settings and that seemed to help. I had a little trouble, so I'm not completely convinced. Somehow autorepeat came on again at some point.... Anyway, now I've figured out how to disable auto-repeat just for the F-keys. Here's the code that does it for me for anybody interested: xset -r 67 xset -r 68 xset -r 69 xset -r 70 xset -r 71 xset -r 72 xset -r 73 xset -r 74 xset -r 75 xset -r 76 xset -r 95 xset -r 96 I'll report back later, saying if this works around the bug for me. Thank you, - Jason Oops, forgot to report back, but here it is: I've been running the above xset commands to disable auto-repeat on all my f-keys as soon as I log in, and I've not had the problem since. This is pretty strong evidence that key-repeat is the culprit. I hope this gets treated as a serious issue, because it turns a sticky key (a common software/hardware glitch) into effectively crashing the whole system. *** Bug 513728 has been marked as a duplicate of this bug. *** Created attachment 373617 [details]
a patch
Here is a patch that ignores key repeat for selected key bindings. Currently, it only disables key repeat for the screenshot commands, but it may be a good idea to do the same for all run_command bindings.
metacity-2.28.0-11.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/metacity-2.28.0-11.fc12 metacity-2.28.0-11.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update metacity'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12392 Moving back to NEW, since disabling repeat for printscreen only can't be seen as fixing the Subject of this bug. metacity-2.28.0-11.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. I don't think this has been fixed. Reasons: 1) nobody has said that it was fixed 2) it doesn't work for me (details below) 3) if I understand what's going on correctly... this bug was closed by a bot. Here's how I tested it: I've updated to metacity-2.28.0-11.fc12, logged out, logged back in, held f2 for a couple seconds (which I have mapped to run_command_2 which executes gnome-terminal) and got probably 20 terminals. Changing status back to ASSIGNED (the only option I have besides CLOSED). (In reply to comment #9) > I don't think this has been fixed. Reasons: > > 1) nobody has said that it was fixed > > 2) it doesn't work for me (details below) > > 3) if I understand what's going on correctly... this bug was closed by a bot. Yes, thanks for reopening. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |