[Openmcl-devel] Modal dialog problems with CCL 1.9 32/64 on Mountain Lion
R. Matthew Emerson
rme at clozure.com
Fri Aug 31 09:59:06 PDT 2012
On Aug 31, 2012, at 9:36 AM, Raffael Cavallaro <raffaelcavallaro at me.com> wrote:
> On Aug 30, 2012, at 10:45 PM, Gary Byers <gb at clozure.com> wrote:
>> It'd be interesting to know whether that behaves any differently for you
>> than the one which uses GUI:EXECUTE-IN-GUI.
> I see two significant differences between the two examples running Version 1.9-dev-r15452M-trunk both (DarwinX8664) and (DarwinX8632):
> A. The version that uses objective-c directly (with the example class and #/performSelectorOnMainThread:withObject:waitUntilDone:) works properly every time - panels are populated with files, etc.
> B. The version that uses gui:execute-in-gui exhibits two bugs:
> 1. the empty-directories-until-presentation-style-is-changed issue is present the first time through the loop in both 32 and 64 bit IDEs - on subsequent iterations of the loop the directory is populated *whether I have changed presentation style the first time through or not*. This pattern is reliable and repeatable - if I call the loop again, the first time through the empty directories issue is present again; on subsequent iterations the directory is populated.
> 2. The gui:execute-in-gui version will not show quick-look previews in column view in either the 32-bit or 64-bit IDE - the field where the preview should be shows the spinning (non)progress indicator instead of the file's quick-look preview. This is true on all iterations, not just the first when the directory is not populated. The gui:execute-in-gui version *does* show previews in Cover Flow view, just not in Column view. The other (#/performSelectorOnMainThread) version reliably shows quick-look previews in both Column view and Cover Flow view in both the 32 and 64 bit IDEs.
I was able to duplicate this in an Objective-C program.
When you build and run this, a little window will appear with two buttons. One will show an open panel via a dispatch_async call, and the other uses performSelectorOnMainThread. The respective buttons show open panels that display symptoms like the ones you describe.
When I build and run this on my Snow Leopard system, both versions appear to behave normally.
More information about the Openmcl-devel