samth / test-bugs

2 stars 0 forks source link

image-snip%s don't have filenames #181

Closed rfindler closed 11 years ago

rfindler commented 11 years ago
Originally submitted on: Fri Aug 03 09:15:01 -0400 2001
Steps to Reproduce:
(send
   (make-object image-snip% (build-path (collection-path "icons") "bug09.gif"))
  get-filename)

  returns #f. I would have expected a string.
Release:
unknown
This bug was converted from Gnats bug 2001.
racket-bug-submit commented 11 years ago
On Fri, 3 Aug 2001 09:04:48 -0600 (MDT), mflatt at cs dot utah dot edu wrote:
Quoting :
>   (send
>    (make-object image-snip% (build-path (collection-path "icons") "bug09.gif"))
>   get-filename)
> 
>   returns #f. I would have expected a string.

The filename is not preserved when the file is loaded as inline (the
default). The only reason it's preserved in non-inline mode is so the
filename can be recorded in the marshaled form of the snip.
racket-bug-submit commented 11 years ago
On Tue Aug 21 16:52:44 2001, mflatt assigned this bug to mflatt
racket-bug-submit commented 11 years ago
On Tue Aug 21 16:52:47 2001, mflatt