• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Definitely a bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Definitely a bug


  • Subject: Re: Definitely a bug
  • From: Steven Angier <email@hidden>
  • Date: Tue, 25 Dec 2001 18:54:24 +1100
  • Organization: Macscript.com

Paul Berkowitz wrote:

> I've been noticing that 'display dialog' is truncating its messages very
> frequently in OS 10.1.x (AS 1.8.x and I think also 1.7, but I'm not sure),
> when the message is much less than 255 characters long. It only happens when
> there are 'returns' (carriage returns) within the message. But carriage
> returns (usually '& return & return &' ) occur in about 95% of my display
> dialogs, and this bug seems to be happening about 33% of those. That's an
> awful lot of dialogs to check.
>
> This particular bug has always been around in choose from list's 'prompt'..
> But I'd never seen it in 'display dialog' until the most recent version(s)
> of AS. How did it creep in, and - can it be removed?

I sent the following message to C. Nebel in November, which I think describes the same
problem.
I haven't heard anything back from him on it.

Steven Angier
Macsccript.com

----

Hi Chris,

There is a bug in the "display dialog" command under Mac OS 10.1 / AS
1.7 in which the depth of the text area of the dialog is miscalculated.
This causes the last line of some dialog messages to disappear.

Example:

display dialog "The Macscript.com Library has two functions for removing
items from lists." & return & return & ,
"They are ExcludeFromList() and RemoveFromList()." with icon 1

On my machine, the word "lists." at the end of the first paragraph
wraps, although I think that the dialog box depth is calculated as the
word not wrapping.

This happens surprisingly often, affecting as many as 10% of the dialog
messages I have seen.

Steven Angier
Macscript.com

----


  • Follow-Ups:
    • Re: Definitely a bug
      • From: Deivy Petrescu <email@hidden>
References: 
 >Definitely a bug (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Capturing current handler name in a string variable
  • Next by Date: Re: Scale a GIF with QT: possible?
  • Previous by thread: Definitely a bug
  • Next by thread: Re: Definitely a bug
  • Index(es):
    • Date
    • Thread