Opened 14 years ago

Closed 13 years ago

#301 closed defect (fixed)

console log window needs to be less intrusive

Reported by: gz Owned by: gz
Priority: major Milestone:
Component: IDE Version:
Keywords: Cc:


On Sun, May 18, 2008 at 1:00 AM, Gary Byers <gb@…> wrote:
Sometimes when running the Cocoa IDE, people have reported seeing messages like:

'SystemFlippers: didn't consume all data for xmnu ..."

or something similar appear in the console window. Andrew said that he saw this when double-clicking on a lisp file to start the IDE.

AFAIK (er, "according to Google searches") this has something to do with Apple code not handling endianness of (classic Macos-style) resource IDs in some cases. AFAIK, these messages are harmless and uninteresting. I don't know how to tell in the general case whether a message like this is interesting; seeing meaningless gibberish like this presented as if it was something that the user would and should care about doesn't create a good impression; not calling the user's attention to something that's actually important isn't ideal either.

It's probably closer to the right thing to give some indication that there's some sort of diagnostic output available and not automatically pop up the console window when that output first appears. Whatever that indication is it should somehow be visible without being intrusive.

(I think that there are some leftover calls to NSLog in the IDE itself.)

Change History (3)

comment:1 Changed 14 years ago by gz

Currently, the console support starts out in a mode where any output causes the window to pop up. Once the user explicitly selects to Hide Console, output no longer pops up the window until the user does Show Console.

So the workaround for this problem is to select Hide Console, and that will fix it for the rest of the session.

We should probably start out with the console hidden, i.e. the automatic popping up disabled. When people complain about mysterious bugs we can tell them to Show Console, but as long as they are not personally experiencing any bugs, they don't need to deal with console output.

When the console is hidden, we could put a diamond or some other marker in the Show Console menu item when there is output in the console since the last time the console window was shown.

comment:2 Changed 14 years ago by alms

I like GZ's suggested solution.

comment:3 Changed 13 years ago by gz

  • Resolution set to fixed
  • Status changed from new to closed

This is implemented in r9772.

Note: See TracTickets for help on using tickets.