Bug 146383 - port math/grace seizes mouse cursor on right-click with Xorg-server 1.7.5
Summary: port math/grace seizes mouse cursor on right-click with Xorg-server 1.7.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 18:50 UTC by russo
Modified: 2010-06-05 20:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.26 KB, patch)
2010-05-07 18:50 UTC, russo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description russo 2010-05-07 18:50:06 UTC
Due to a documented bug in xorg-server 1.7.5 (https://bugs.freedesktop.org/show_bug.cgi?id=25400), motif applications that use XmCreatePopupMenu can seize the mouse cursor and not let go.

The port math/grace is one such program.  In Debian, maintainers have come up with a patch to work around the broken X server behavior.  The behavior is documented in:

https://bugs.launchpad.net/ubuntu/+source/grace/+bug/552681

Fix: The Debian maintainers of the grace package have come up with a patch:

http://patch-tracker.debian.org/patch/series/view/grace/1:5.1.22-5/motiflockup.diff

I have attached a version of this patch suitable for dropping directly into the ports/math/grace/files directory.  With this patch, xmgrace no longer grabs the cursor on right-click.



Patch attached with submission follows:
How-To-Repeat: Install Xorg-server 1.7.5,1 (current in ports as of 6 May 2010)
Install math/grace
Start xmgrace
Choose "Data Set Operations" under the data menu.
Right-click in the scroll box under "Data Sets."

The mouse cursor will now be confined to the bounds of the box, with no way to release it other than to kill xmgrace in a separate terminal (virtual terminal or remote login, as the X display will now be useless).
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-06-05 20:30:13 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-06-05 20:34:19 UTC
miwi        2010-06-05 19:29:56 UTC

  FreeBSD ports repository

  Modified files:
    math/grace           Makefile 
  Added files:
    math/grace/files     patch-src-motifutils.c 
  Log:
  - Fix seizes mouse cursor on right-click with Xorg-server 1.7.5
  
  PR:             146383
  Submitted by:   Tom Russo <russo@bogodyn.org>
  
  Revision  Changes    Path
  1.61      +1 -1      ports/math/grace/Makefile
  1.1       +39 -0     ports/math/grace/files/patch-src-motifutils.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"