[Chandler-dev] RenameAndNewEvent fails on Mac

Philippe Bossut pbossut at osafoundation.org
Fri Jul 6 23:51:14 PDT 2007


Hi,

I arrived at the same conclusion on my side. I checked a fix in r14940. 
Note that recTestNewEvent had the same problem.

Now, the real issue is that the script recording is sensitive to 
rendering condition which means my tweaks (on Mac) do not work on Linux: 
this is because the position of the divider between mini cal and 
collections depends on the font size used for the various text (in the 
day preview and the minical) and that is not consistent from a platform 
to the next. This also really means that a functional test framework 
based on the capture of mouse coordinates can't  work crossplatform.

How do we solve that?

- Philippe

D John Anderson wrote:
> Hi:
>
> Dan and I just tracked down the cause of RenameAndNewEvent failing on 
> Mac. A recent change (I'm not sure of the revision) causes the Mini 
> calendar to be too large -- which makes the sidebar smaller (not so 
> tall) and the test depends on a sidebar with enough room to edit a new 
> collection that is completely visible.
>
> You can launch Chandler, make the mini calendar smaller and the test 
> passes. Also the failure it detects is consistent with that change.
>
> Dan said the window was recently made smaller and that's probably the 
> problem. If the window gets smaller the mini cal should probably only 
> show one month instead of two.
>
> John
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev


More information about the chandler-dev mailing list