Skip Menu |
 

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 38746
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: macosx12345 [...] yahoo.fr
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 402.003-bin-01-os2
  • 402.003-bin-02-os2
  • 402.003-bin-03-os2
  • 402.003-OS2-bin
  • 800.012-bin-00-os2
  • 800.015
  • 800.024
  • 800.025
  • 804.024.patches-0.1
  • 804.025
  • 804.025_beta10
  • 804.025_beta11
  • 804.025_beta12
  • 804.025_beta13
  • 804.025_beta14
  • 804.025_beta15
  • 804.025_beta16
  • 804.025_beta5
  • 804.025_beta6
  • 804.025_beta7
  • 804.025_beta8
  • 804.025_beta9
  • 804.026
  • 804.027
  • 804.027_500
  • 804.027_501
  • 804.027_502
  • 804.028
Fixed in: (no value)



Subject: Tk events break if built with x11proto-core 7.0.13
[This is a duplicate bug report from #38745, because it was filed by mistake against perl-tk which is apparently not the same as Tk] In x11proto-core 7.0.13, a new event (``GenericEvent'') was added at the end of the list, after ``MappingNotify''. Since the Tk toolkit's event management was poorly designed, older versions of the Tk toolkit and current version of Perl-Tk fail at runtime with the message "no event type or button # or keysym" when compiled against (or even run under ?) an X11 server with the new event list. This issue has been reported as bug 2010422 of the Tk toolkit and a patch was provided and applied (at least partially) to the core 8.4, core 8.5 and current branches. This is only a short-term solution (patching the event list in generic/tk.h) and the Tk team is thinking of a long-term solution for future releases. In Perl-Tk the issue was not yet corrected AFAIK (I tried version 804.028 under Mac OS X v. 10.5.4 with XQuartz 2.3.0). It is enough to patch the file pTk/mTk/generic/tk.h to fix it. Please find a patch that does it along with this report.
Subject: patch-lastevent
Download patch-lastevent
application/octet-stream 880b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 141b
Thanks, I applied the patch. You can check out the Perl/Tk subversion repository at https://svn.perl.org/modules/Tk/trunk Regards, Slaven


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.