Bug #320
Problem with Subtlext::View.current not updating; :client_kill doesn't track dialog boxes
0%
Description
Per attached file, I'm trying to track how many clients are active on the current view so I can show that number on my panel. When I switch to an empty view, the View.current
variable doesn't update. So View.current
will return the last populated client until I switch to another populated client.
If I'm in a view with clients and I close out all the clients, it tracks that correctly and View.clients.length
shows a 0 as expected.
Also, if I open a dialog box as I just did (from Firefox) to attach numwin.rb to the ticket, View.current.clients.length
is incremented, but does not show as decremented until I switch to a different view and back, so probably some dialog boxes are seen by on :client_create
but not by on :client_kill
.
Let me know if you want me to split these up into subtopics or stick them somewhere else.