Re: Popup in RMCL 5.2.1

peter <p2.edoc-gM/[email protected]> Tue, 2 Feb 2010 16:14:04 +0000
Newsgroups gmane.lisp.mcl.general
Message-ID <p06240802c78dfce54d79@[192.168.1.33]>
At 4:18 PM +0100 10/2/2, Sandro Pedrazzini wrote:
>Hi,
>
>Trying to migrate my application from RMCL 5.1 to 5.2.1 I am 
>encountering following problem with popup menus:
>
>- After fresh loading the application files on RMCL 5.2.1, the popup 
>menus are ok, those of my application, as well as those of RMCL.
>
>- After performing a "save-application" and restarting it through 
>the saved image, the popup menus are not drawn anymore. The 
>menu-items are there, you can select them pointing the mouse into 
>the popup menu area, but the menu itself is not visible (as shown in 
>the picture attached, showing the "Tools:Apropos..."  dialog).
>
>
>Did someone encounter a similar problem?

Yes. But I haven't begun to find out what's going on.
I've seen the same effect in simple static-text-dialog-item after 
just loading a file (rather than running a saved image). I wondered 
if somehow the layer ordering has messed up.  They seem to be there, 
know about their view-container, wptr, dimensions etc. and respond to 
clicks OK, just be invisible.

>It seems as I am loading something in the application that prevents 
>the popups to draw themselves, but only after a save-application. I 
>see the problem in 5.2 and 5.2.1. In 5.1 I did not have this problem.
>Where should I look?

I have no idea yet.
Current thinking is that some erase operation elsewhere has moved out 
of its bounds, so drawn over the dialog.

I find various small offsets have crept into various parts of dialog 
drawing under 5.2.
I plan to systematically replace area erase and fill operations with 
solid color, in hope of seeing where any area change has crept in.
_______________________________________________
info-mcl mailing list
[email protected]
http://clozure.com/mailman/listinfo/info-mcl