samth / test-bugs

2 stars 0 forks source link

DrRacket Fails to Quit at Logout #134

Open racket-bug-submit opened 12 years ago

racket-bug-submit commented 12 years ago
Originally submitted by Andrew Villadsen avilladsen@uchicago.edu on: Mon Oct 03 12:00:02 -0400 2011

DrRacket will not quit at logout, regardless of whether any unsaved files are open. Sometimes need to force quit DrRacket, though it appears responsive.

Steps to Reproduce:

Open DrRacket. Attempt to logout.

Release:
5.1.3
Environment:
macosx "Darwin nightingale.cs.uchicago.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7
 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386" (x86_64-macosx/3m)
 (get-display-depth) = 32
Human Language: english
(current-memory-use) 242405000

Collections:
("/Users/visitor/Library/Racket/5.1.3/collects"
 (non-existent-path))
("/Applications/Racket v5.1.3/collects"
 ("2htdp" "algol60" "at-exp" "browser" "combinator-parser" "compiler" "config" "data"
 "datalog" "defaults" "deinprogramm" "drracket" "drscheme" "dynext" "embedded-gui" "eopl"
 "errortrace" "ffi" "file" "framework" "frtime" "games" "graphics" "gui-debugger" "help"
 "hierlist" "htdp" "html" "icons" "info-domain" "lang" "launcher" "lazy" "macro-debugger"
 "make" "mred" "mrlib" "mysterx" "mzcom" "mzlib" "mzscheme" "net" "openssl" "parser-tools"
 "picturing-programs" "plai" "planet" "plot" "preprocessor" "profile" "r5rs" "r6rs"
 "racket" "racklog" "rackunit" "raco" "reader" "readline" "redex" "rnrs" "s-exp" "scheme"
 "schemeunit" "scribble" "scribblings" "scriblib" "setup" "sgl" "slatex" "slideshow"
 "srfi" "stepper" "string-constants" "swindle" "syntax" "syntax-color" "teachpack"
 "test-box-recovery" "test-engine" "tex2page" "texpict" "trace" "typed" "typed-scheme"
 "unstable" "version" "web-server" "wxme" "xml"))

Computer Language: (("Initial language" "No language chosen") #(#t print mixed-fraction-e
 #f #t debug))
This bug was converted from Gnats bug 12252.

[anon-submit avilladsen AT uchicago.edu]

racket-bug-submit commented 12 years ago
On Mon, 3 Oct 2011 11:28:09 -0500, robby@eecs.northwestern.edu wrote:

On Mon, Oct 3, 2011 at 11:00 AM, avilladsen@uchicago.edu wrote:

A new problem report is waiting at  http://bugs.racket-lang.org/query/?cmd=view&pr=12252

Running 'gracket' with the program below under Lion causes gracket to cancel logout, but after seeing the dialog box. The frame does not got away.

The docs don't say what the default response from can-close? is supposed to be, but assuming it returns #t, then I think the program below should not cancelled the logout.

#lang racket/gui
(send (new frame% [label "frame"]) show #t)
(let ([old (application-quit-handler)])
  (application-quit-handler
   (λ ()
     (message-box "hi" "hi")
     (old))))

Robby