Re: menus mysteriously popping down...
- From: Owen Taylor <otaylor redhat com>
- To: wmperry aventail com
- Cc: gtk-app-devel-list redhat com
- Subject: Re: menus mysteriously popping down...
- Date: 07 Sep 2000 14:04:17 -0400
wmperry aventail com (William M. Perry) writes:
Owen Taylor <otaylor redhat com> writes:
wmperry aventail com (William M. Perry) writes:
In XEmacs/GTK if a timer fires while the user has a menu up, the menu pops
down (but the menu item it is attached to stays selected). The timeouts
are added using gtk_timeout_add()...
I could not find any logic in gtk/gtkmenu.c that would cause this - does
anybody know why this would be happening, and possibly a way around it?
There is no logic in gtkmenu.c that would cause this to happen - one
piece of code has no way of finding out about timeouts that another piece
added, still less doing something about it.
There must be something else going on...
Thats what I was afraid of. Would the menu pop down if other GTK
primitives got called? These timers tend to echo something in the
minibuffer, which causes a redisplay, which ends up calling a GDK
primitives to repaint the bottom of the frame.
No, once again there is no interaction between drawing primitives
and the menu popup code.
Basically, the only way this could happen is if the timeouts are
causing events to be received in some fashion.
You should be able to track down the problem fairly easily by putting
a break in gtk_window_unmap and seeing what is in the backtrace.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]