[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3303: delete-frame raises old (invisible) frame
From: |
YAMAMOTO Mitsuharu |
Subject: |
bug#3303: delete-frame raises old (invisible) frame |
Date: |
Tue, 19 May 2009 09:58:42 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Mon, 18 May 2009 11:08:39 -0400, David Reitter
>>>>> <david.reitter@gmail.com> said:
>>>> There is no behavior built into the NS window manager to choose
>>>> another application window to be active after the active one has
>>>> been removed -- this is left to application code.
>>>
>>> [ So, nothing gets focus? Keyboard events are just dropped on the
>>> floor in such a case? Sounds odd: it should be easy for Apple to
>>> provide a sensible default behavior without any negative impact.
>>> ]
>>
>> Yes, KB events only get sent to a focused window, except for menu
>> shortcut invocations. It might be that in NSDocument-based apps
>> (which Emacs.app isn't, but would be conceptually similar to if 1-
>> buffer=1-frame) the NSDocument architecture would autofocus the
>> most recently available doc window, but I guess NeXT/Apple decided
>> not to make assumptions otherwise about sensible focus-sequencing.
> Precisely for this reason is the patch not sufficient.
As I mentioned in (*), neither the above consideration about
NSDocument-based vs. non-NSDocument-based nor the updated comment in
frame.c is correct.
*: http://lists.gnu.org/archive/html/bug-gnu-emacs/2009-05/msg00373.html
If you don't observe the problems on the Carbon+AppKit port, then it
indicates that they can most likely be solved without touching the
platform-independent code.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
- bug#3303: delete-frame raises old (invisible) frame, (continued)
- bug#3303: delete-frame raises old (invisible) frame, David Reitter, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, Stefan Monnier, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, David Reitter, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, Stefan Monnier, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, David Reitter, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, Stefan Monnier, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, David Reitter, 2009/05/18
- bug#3303: delete-frame raises old (invisible) frame, YAMAMOTO Mitsuharu, 2009/05/19
- bug#3303: delete-frame raises old (invisible) frame, Stefan Monnier, 2009/05/19
- bug#3303: delete-frame raises old (invisible) frame, David Reitter, 2009/05/19
- bug#3303: delete-frame raises old (invisible) frame,
YAMAMOTO Mitsuharu <=
bug#3303: delete-frame raises old (invisible) frame, Chong Yidong, 2009/05/16
bug#3303: delete-frame raises old (invisible) frame, David Reitter, 2009/05/22
bug#3303: delete-frame raises old (invisible) frame, Adrian Robert, 2009/05/27
bug#3303: delete-frame raises old (invisible) frame, Stefan Monnier, 2009/05/27