Source: motif Version: 2.3.4-5 Severity: serious In order to fix bug #730026 (Keyboard navigation of menus not working correctly) [1], I included an updated fix from upstream's bug #1565 (The active window changes to inactive when the drop down list is clicked) [2].
Unfortunately, this fix causes ddd [3] and xpdf [4] to segfault, as reported in Ubuntu's bug tracker. Steps to reproduce in ddd: (1) compile a simple C program (e.g. hello world) with debugging info (2) run ddd and open the program (3) right-click over some empty space in the Source Window for the 'Set Breakpoint' popup menu to appear (4) right-click over some text in the Source Window for the 'Print / Display' popup menu to appear (5) press a key (e.g. Ctrl) Repeat steps 3 through 5 until a segfault occurs Steps to reproduce in xpdf: (1) open a PDF document in xpdf (2) right-click on the page for the popup menu to appear (3) select 'Full screen' to toggle full screen mode (4) press a key (e.g. Ctrl) Repeat steps 2 through 4 until a segfault occurs The problem occurs around line 622 (after 18-updated-fix-1565.patch is applied) of lib/Xm/Xm.c in Motif. if (grabw_top) { if (event->type == KeyPress || event->type == KeyRelease) event->xany.window = XtWindow(grabw_top->w); } XtWindow is called, but grabw_top->w no longer points to a valid widget as the popup menu has been destroyed. While this may be caused by errant behaviour on the part of ddd and xpdf (xpdf seems to destroy the popup menu from within its own callback function), and since the updated fix for #1565 is not yet part of an official Motif release, I am inclined to drop fix #1565 completely so that we can have a working ddd and xpdf and keyboard navigation in menus in Jessie. As far as I am concerned, the original bug #1565 is purely cosmetic, and only affects certain window managers / desktop environments. I'd appreciate any comments from maintainers of other Motif packages. [1] http://bugs.debian.org/730026 [2] http://bugs.motifzone.net/show_bug.cgi?id=1565 [3] https://bugs.launchpad.net/ubuntu/+source/ddd/+bug/1354961 [4] https://bugs.launchpad.net/ubuntu/+source/xpdf/+bug/1372649 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org