[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GC garbles menu items (was: tooltip can be displayed outside the scr
From: |
Richard M. Stallman |
Subject: |
Re: GC garbles menu items (was: tooltip can be displayed outside the screen) |
Date: |
Sat, 17 Dec 2005 19:00:12 -0500 |
I can reproduce this bug only on non-toolkit builds.
Aha, now I see. The non-toolkit definition of xmenu_show copies the
addresses of string text directly into the non-toolkit menu data.
When GC happens, it relocates the strings and garbles the text.
Could you rewrite that code to copy the strings when making the menus,
and free the copies at the end?
I think that code was written before we made Emacs GC during idle time
and before there were timers. Back then, it was probably impossible
to GC while the menu was up.
- Re: tooltip can be displayed outside the screen, (continued)
- Re: tooltip can be displayed outside the screen, Jan Djärv, 2005/12/03
- Re: tooltip can be displayed outside the screen, Juri Linkov, 2005/12/05
- Re: tooltip can be displayed outside the screen, Jan D., 2005/12/12
- Re: tooltip can be displayed outside the screen, Juri Linkov, 2005/12/14
- Re: tooltip can be displayed outside the screen, Jan Djärv, 2005/12/14
- Re: tooltip can be displayed outside the screen, Juri Linkov, 2005/12/15
- Re: tooltip can be displayed outside the screen, Richard M. Stallman, 2005/12/15
- Re: tooltip can be displayed outside the screen, Juri Linkov, 2005/12/16
- Re: tooltip can be displayed outside the screen, Richard M. Stallman, 2005/12/16
- GC garbles menu items (was: tooltip can be displayed outside the screen), Juri Linkov, 2005/12/17
- Re: GC garbles menu items (was: tooltip can be displayed outside the screen),
Richard M. Stallman <=
- Re: GC garbles menu items, Juri Linkov, 2005/12/20
- Re: GC garbles menu items, Richard M. Stallman, 2005/12/22
- Re: GC garbles menu items, Juri Linkov, 2005/12/22