Hi Phil, Peter and everyboady, I send my update of LTK year ago to Peter with description of problem and video with problem. But nothing happened. I hope for second time :)
Just replace function read-event with this:
(defun read-event (&key (blocking t) (no-event-value nil)) (or (pop (wish-event-queue *wish*)) (if (or blocking (can-read (wish-stream *wish*))) (if (eql #( (peek-char t (wish-stream *wish*) nil)) (read-preserving-whitespace (wish-stream *wish*) nil nil) (read-line (wish-stream *wish*) nil)) no-event-value)))
and please tell me, if it helped or not.
This error is because TCL/TK aqua inplementation on intel mac sends specific message whitch I remember was like "suom moved" and original function read-event was not rady for this input in stream. I made this update because I used LTK for my diplom work and i found this strange error too late for change graphic library. So i repaired it. Probably there is better and cleaner way to repair this strange error, but I was in great hurry with my diplom work :) So i hope it will work also for you and everyboady.
Hi Peter, please correct this strange error. My solution is bropably not best, but you can make better because you are creator of library. But this proofs existence of problem. I home my informations will be useful for you.
Zdenek Eichler
On Dec 27, 2008, at 11:34 AM, Phil Armitage wrote:
Hi Zdenek,
I hadn't realised exactly what was triggering it but now I try what you say and the problem is completely reproducible.
It sounds like this patch would be very useful. If it's something that can be 'fixed' at the LTK level then I'm sure Peter would consider it for inclusion in the library so please do send it to the list.
Many thanks!
Phil
2008/12/27 Zdenek Eichler zdenek.eichler@gcajkol.cz:
Hi Phil, I had same problem years ago. It happen to me when i move with cursor when clicking on menuitem. If cursor is stopped, it work. Is it the same in your case? I have patch for this. This is specific error in TCL/TK aqua on intel mac.
If you need this patch, just tell.
Zdenek Eichler
On Dec 27, 2008, at 1:30 AM, Phil Armitage wrote:
Hi,
I've been having a problem on OS X whereby selecting menu options (either top level menus or pop-up menus) would throw random, but very regular, reader errors "comma not inside a backquote". At first I thought this was just my code but having ran (ltk:ltktest), I can verify that the same problem occurs here too.
My system is OS X 10.5.6 and the error can be triggered in both SBCL 1.0.23 and CCL 1.2. The error does not seem to occur on any Linux or Windows box I've tested on.
Note that to recreate the problem it may be necessary to select menu options several times. For example, I just ran LTKTEST and generated the error on the first click of File->Load. Running a second time it took 15 attempts before it triggered again. Unfortunately my users are managing to trigger the error quite regularly!
My attempts at tracking this down have been rather useless...has anyone else worked out hot to fix the problem?
Many thanks,
-- Phil Armitage http://phil.nullable.eu/
ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user
ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user
-- Phil Armitage http://phil.nullable.eu/
ltk-user site list ltk-user@common-lisp.net http://common-lisp.net/mailman/listinfo/ltk-user