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.