emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No refresh of buffer before popup-menu


From: Lennart Borgman (gmail)
Subject: Re: No refresh of buffer before popup-menu
Date: Wed, 21 Feb 2007 15:38:46 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

Jason Rumney wrote:
Lennart Borgman (gmail) wrote:
I consider this bug and I can see other bugs here that seems related. Though I do not know if these bugs are only related to the w32 port.

I can't comment, because I don't know which bugs you are referring to. This particular one is specific to w32, because the event handling on w32 is different than on X. Events on Windows arrive on a different thread, and in the case of popup menus, need to be processed on that thread because the Lisp thread is waiting for popup-menu to return and won't process its message queue during that time. On X, events are received by callbacks into the same thread of execution, so it can be safe there to perform redisplay while it isn't on Windows.


The bugs I refer to here are in the display of the popup menus. The display of the second popup menu gets garbled very often.

I also once saw that the menus did not open at all. I got an error instead. I have no idea of why.

If you want to sync the threads, is there an explicit way to do it? Why can't popup-menu do it?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]