Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-23 Thread Matthew Flatt
At Mon, 22 Feb 2016 18:55:59 -0500, George Neuner wrote: > If you suspect App Nap, have you tried disabling it for DrRacket? That's worth a try, but App Nap should be disabled automatically by the `racket/gui` library that DrRacket uses. The library calls the `setActivationPolicy:` method of the

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Robby Findler
There has been improvement since 6.1.1, I believe. Robby On Mon, Feb 22, 2016 at 5:55 PM, George Neuner wrote: > On 2/22/2016 3:04 PM, 'John Clements' via Racket Users wrote: >> >> I have several students who are observing truly impressive UI delays in >> using DrRacket.

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread George Neuner
On 2/22/2016 3:04 PM, 'John Clements' via Racket Users wrote: I have several students who are observing truly impressive UI delays in using DrRacket. Specifically, it often happens when they type a double-quote (“) with “automatic parentheses” enabled, and after typing the key, it will take

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Robby Findler
One thing that might help is if, during the pause, you open up a terminal, figure out the pid for the drracket's misbehaving and then do "kill -SIGINT " you might get a message with a stack in it. I'm not completely sure about this, but if you start up from the shell (not using "open" but by

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Robby Findler
I gave that file a try with background expansion on and didn't seem to be able to trigger the issue. Background expansion doesn't really interact with the GUI itself unless the little colored bubble in the corner is the lighter purple color (the dark blue and the darker purple both correspond to

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Jens Axel Søgaard
I don't see for that file. If I remember correctly it happened in this file: https://github.com/soegaard/urlang/blob/master/urlang.rkt I can't reproduce it now though (which btw is the reason I didn't report a bug). Hmm. Maybe it went away when I disabled background expansion? That file is very

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Robby Findler
That sounds like something that is fixable and it would be helpful to have a file that exhibits particularly bad problems in order to make sure it really is fixed. I tried opening drracket/private/unit (using "Open Require Path...") and wasn't able to provoke the bad behavior. Do you (or Jens

Re: [racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread Jens Axel Søgaard
FWIW I may have seen the same thing. I am not using "automatic parentheses" though. I have seen it at occasion when typing a " in longish files (>1500 lines). This was on version 6.3 (or earlier?). 2016-02-22 21:04 GMT+01:00 'John Clements' via Racket Users < racket-users@googlegroups.com>: > I

[racket-users] long (16s) pauses in UI associated with OS X, possibly app nap?

2016-02-22 Thread 'John Clements' via Racket Users
I have several students who are observing truly impressive UI delays in using DrRacket. Specifically, it often happens when they type a double-quote (“) with “automatic parentheses” enabled, and after typing the key, it will take more than 16 seconds for the screen to update and for the quotes