PreviousNextTracker indexSee it online !

(88/244) 3464 - First view brought to front on close all (global)

When working with two views, if C+e C+w (Close All) is executed in the second view, then the buffers are closed and the first view is brought back to the front.

On a side note, this also closes all buffers among all views even when the BufferSet scope is not set to global, but I don't know if that qualifies as a bug or not.

Submitted kog13 - 2010-08-31 19:35:07 Assigned kpouer
Priority 5 Labels editor core
Status open Group normal bug
Resolution None

Comments

2010-12-08 16:39:42
ezust

i agree, the focus should not change before/after a close all.

Close all means all buffers everywhere including the other views.

There is a "clear bufferset except active" which you can use with non-global bufferset scope that will do what you want - just clear your own bufferset.


One problem is, closing a buffer in the non-active view can cause another buffer to open there, which then can cause one of the plugins to do something in response, which then might grab focus in a dockable or something.

2011-12-03 19:58:54
ezust

Still Reproduces in jEdit 5.0pre1, regardless of global or editpane scope.

2011-12-03 20:35:14
ezust

- **summary**: First view brought to front on close all --> First view brought to front on close all (global)

2011-12-03 20:37:07
ezust

Does NOT reproduce when using new action added to 5.0pre1, Close All (local), and Editpane (default) bufferset scope.