https://bugzilla.redhat.com/show_bug.cgi?id=874855
Bug ID: 874855 QA Contact: extras-qa@fedoraproject.org Severity: unspecified Version: 17 Priority: unspecified CC: haskell-devel@lists.fedoraproject.org, mathstuf@gmail.com, petersen@redhat.com Assignee: mathstuf@gmail.com Summary: xmonad does not follow ICCCM and ignores WM_TAKE_FOCUS protocol Regression: --- Story Points: --- Classification: Fedora OS: Unspecified Reporter: jon.vanalten@redhat.com Type: Bug Documentation: --- Hardware: Unspecified Mount Type: --- Status: NEW Component: xmonad Product: Fedora
Description of problem: I experience symptoms of this problem primarily when using java programs (but not all java programs). Where there is a GUI component that should allow text entry, it is not possible to place the cursor in that component and allow typed text to appear there.
Version-Release number of selected component (if applicable): Currently seeing this in 0.10-11 but has been observed since I started using xmonad some months ago.
How reproducible:
One known example of java app affected by this bug is thermostat. # yum install thermostat $ thermostat service --start (this^ will block terminal) $ thermostat gui
In left-most panel of gui, near upper edge, is a search box. Try as I might, I cannot place the cursor in this search box. Works when using other WM.
Additional info:
This is a long-standing bug in upstream.
http://code.google.com/p/xmonad/issues/detail?id=177
comment 33 at above link has patch that allegedly fixed things, which is supposed to be upstream for some time now, but others find that they still have this issue (and myself apparently). comment 107 may have useful info for how to build/install xmonad in rpm package such that java7 users (ie all of f17 users) are also not affected anymore. I haven't tested it, not really interested in installing wm separate from fedora repos, but I would be happy to test any rpm builds that may sometime be available!
https://bugzilla.redhat.com/show_bug.cgi?id=874855
Solitary t.hlavnicka@centrum.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.hlavnicka@centrum.cz
--- Comment #1 from Solitary t.hlavnicka@centrum.cz --- Same problem as mine https://bugzilla.redhat.com/show_bug.cgi?id=837388 although I use Bluetile, which utilizes Xmonad anyway. I would be really happy if someone tried to apply the patch and made a package, Xmonad does seem to take it bit slow, so waiting for upstream could take long. At least some test package would be great, if patching it official would be a problem. The whole Haskell patching and compiling thing is unfortunatelly over my head, otherwise I would try it myself.
https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #2 from Jens Petersen petersen@redhat.com --- Thanks for the reports - will try to get back to you soon.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
Ricky Zhou ricky@rzhou.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ricky@rzhou.org
--- Comment #3 from Ricky Zhou ricky@rzhou.org --- I ran into this issue as well, and extracted the relevant patches out of the xmonad and XMonadContrib darcs repos (which have just recently incorporated the patches from the bug).
Here are the patches (track-currently-processing-event.patch is for xmonad, icccmfocus.patch is for XMonadContrib), as well as some quickly modified spec files: http://ricky.fedorapeople.org/xmonad/
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #4 from Jens Petersen petersen@redhat.com --- *** Bug 837388 has been marked as a duplicate of this bug. ***
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #5 from Jens Petersen petersen@redhat.com --- Thanks guys.
I committed track-currently-processing-event.patch to xmonad master:
http://pkgs.fedoraproject.org/cgit/xmonad.git/commit/?id=c5692567169accb4043...
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #6 from Jens Petersen petersen@redhat.com --- Scratch builds
F18: http://koji.fedoraproject.org/koji/taskinfo?taskID=4697827
F17: http://koji.fedoraproject.org/koji/taskinfo?taskID=4697830
Please test :)
Will update xmonad-contrib and bluetile soon.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|mathstuf@gmail.com |petersen@redhat.com
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #7 from Jens Petersen petersen@redhat.com --- I committed icccmfocus.patch to fedora xmonad-contrib:master.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #8 from Jens Petersen petersen@redhat.com --- Here is an untested srpm which should build against the above patched xmonad:
http://petersen.fedorapeople.org/ghc-xmonad-contrib-0.10-7.fc19.src.rpm
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #9 from Jens Petersen petersen@redhat.com --- Ok, xmonad and ghc-xmonad-contrib also built for F19 Rawhide:
http://koji.fedoraproject.org/koji/buildinfo?buildID=366978 (xmonad) http://koji.fedoraproject.org/koji/buildinfo?buildID=366979 (xmonad-contrib)
These builds should work also on F18 (since rawhide is still on ghc-7.4.1) but not for F17 or earlier.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #10 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-15.fc18,ghc-xmonad-contrib-0.10-7.fc18,bluetile-0.6-10.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/xmonad-0.10-15.fc18,ghc-xmonad-contr...
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #11 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-15.fc17,ghc-xmonad-contrib-0.10-7.fc17,bluetile-0.6-10.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/xmonad-0.10-15.fc17,ghc-xmonad-contr...
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #12 from Jens Petersen petersen@redhat.com --- If people could test either of these that would be most helpful.
Once we are sure they are good - it can also be backported to f16 if there is demand I guess.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #13 from Solitary t.hlavnicka@centrum.cz --- Just updated my bluetile, ghc-xmonad and ghc-xmonad-contrib and did quick test and Netbeans IDE with OpenJDK 1.7 works as supposed to, earlier mentioned test case too. Awesome! :)
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #14 from Jon VanAlten jon.vanalten@redhat.com --- I've updated *xmonad* packages from the update (not bluetile, I don't use it) and all is well. Added karma. Thanks a lot for getting this out, Jens!
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #15 from Fedora Update System updates@fedoraproject.org --- Package xmonad-0.10-15.fc18, ghc-xmonad-contrib-0.10-7.fc18, bluetile-0.6-10.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing xmonad-0.10-15.fc18 ghc-xmonad-contrib-0.10-7.fc18 bluetile-0.6-10.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19420/xmonad-0.10-15.fc1... then log in and leave karma (feedback).
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #16 from Jens Petersen petersen@redhat.com --- Looks good to me on F18 and F17.
So I will also backport to F16 and EPEL6
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #17 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-3.8.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/xmonad-0.10-3.8.fc16
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #18 from Jens Petersen petersen@redhat.com --- Well actually https://admin.fedoraproject.org/updates/xmonad-0.10-3.8.fc16,ghc-xmonad-cont...
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |CURRENTRELEASE Last Closed| |2012-12-10 02:11:28
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #19 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-15.fc18, ghc-xmonad-contrib-0.10-7.fc18, bluetile-0.6-10.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #20 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-15.fc17, ghc-xmonad-contrib-0.10-7.fc17, bluetile-0.6-10.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #21 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-3.8.fc16, ghc-xmonad-contrib-0.10-7.fc16, bluetile-0.6-10.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #22 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-3.4.2.el6,ghc-xmonad-contrib-0.10-7.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/xmonad-0.10-3.4.2.el6,ghc-xmonad-con...
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=874855
--- Comment #23 from Fedora Update System updates@fedoraproject.org --- xmonad-0.10-3.4.2.el6, ghc-xmonad-contrib-0.10-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
haskell-devel@lists.fedoraproject.org