PreviousNextTracker indexSee it online !

(105/231) 3056960 - 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:07z Assigned kpouer
Priority 5 Category editor core
Status Open Group normal bug
Resolution None Visibility No

Comments

2010-12-08 - 16:39:42z
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:54z
ezust
Still Reproduces in jEdit 5.0pre1, regardless of global or editpane scope.
2011-12-03 - 20:37:07z
ezust
Does NOT reproduce when using new action added to 5.0pre1, Close All (local), and Editpane (default) bufferset scope.

Attachments