realbasic-nug
[Top] [All Lists]

Two Scary Mac Bugs (just in time for Halloween)

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Two Scary Mac Bugs (just in time for Halloween)
From: Keith DeLong <lists@redcort.com>
Date: Fri, 31 Oct 2008 09:53:39 -0700
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Thread-index: Ack7eTj9d13y/qdsEd2xnAAbY5tzNg==
Thread-topic: Two Scary Mac Bugs (just in time for Halloween)
User-agent: Microsoft-Entourage/11.4.0.080122
Both of these bugs are consistently reproducible in Mac OS X10.4 but not
10.5:
 
1. If a sheet is open on a window, attempting to modally open a subsequent
dialog as a sheet silently fails.

In our case we are confirming save changes when closing the sheet. No
problem in 10.5 or Win32 builds. OS X 10.4 builds silently miss the dialog,
allowing the code to continues and result in a NOE when testing the results
of the dialog.


2. Looking up an Integer keys in dictionaries using Int64 values fail on OS
x 10.4:

Dim i as integer = 2
myDictionary.Value( i ) = someString


Later on...
MyString = myDictionary.lookup( myField.text.Clong, "" )

In 10.4 myString = ""
On 10.5 and Win32 myString = someString

However, this works on all 3 platforms:

Dim i as Integer = myField.text.CLong
MyString = myDictionary.lookup( i, "" )

Hope this saves someone else some hassles,

Keith DeLong



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>