Comment 7 for bug 581032

Revision history for this message
Yves Laprie (yveslaprie) wrote : Re : [Bug 581032] Re: mouse cursor gets trapped in a Motif drawing area when creating a popup menu

Hi Jerry,

Thank for your solution. I am far from my office. I will thus test your patch next week.

Best regards,
Yves

________________________________
De : Jerry Dunmire <email address hidden>
À : <email address hidden>
Envoyé le : Mer 2 juin 2010, 4h 57min 29s
Objet : [Bug 581032] Re: mouse cursor gets trapped in a Motif drawing area when creating a popup menu

Hi Yves,
Here are the notes I promised earlier today:

I found a patch discussed at http://bugs.archlinux.org/task/18598. The
direct URL is http://bugs.archlinux.org/task/18598?getfile=4963. I
believe the patch is from http://www.mail-archive.com/xorg-
<email address hidden>/msg05737.html, but I did not verify.

I hacked the patch file so that I could make it apply in my environment.
The hacked patch file is attached.

Here is a summary of how I built and installed a replacement .deb:

  $ sudo apt-get install build-essential fakeroot dpkg-dev devscripts
  $ apt-get source xserver-xorg-core
  $ sudo apt-get build-dep xserver-xorg-core
  $ cd xorg-server-1.7.6/
  $ patch -p1 </tmp/xorg-patch.patch
  $ dch -i
  $ dpkg-buildpackage -rfakeroot -uc -b
  $ cd ..
  $ sudo dpkg -i xserver-common_1.7.6-2ubuntu8_all.deb

This did fix the problem for me.

Let me know if you have any more questions.

** Patch added: "this patch was applied manually and is not properly formated for release."
  http://launchpadlibrarian.net/49534821/xorg-server.patch

--
mouse cursor gets trapped in a Motif drawing area when creating a popup menu
https://bugs.launchpad.net/bugs/581032
You received this bug notification because you are a direct subscriber
of the bug.

Status in Ubuntu: New

Bug description:
This bug appeared when changing to Ubuntu 10.4 with OpenMotif and Lesstif as well.

The mouse is trapped in the Drawing area where a popup menu should appear.

To replicate this problem just use the program simple_popup.c from http://www.ist.co.uk/motif/books/vol6A/ch-19.fm.html.
I compiled this program with gcc simple_popup.c -lXm.
After clicking the button 3 (the right one) the pointer is trapped in the window without any popup menu.

In the previous version (9.10) the menu did appear correctly.

Best regards,
Yves

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/ubuntu/+bug/581032/+subscribe