Check usage of QDir::setCurrent()
Open, Needs TriagePublic


For each invocation check if it is (still) necessary and/or whether it conflicts with other invocations.

janlepper added a comment.EditedJan 10 2017, 7:03 PM

The invocation In ListPanelFunc::doRefresh() seems to rely on the panel being the active one (which was true historically - when refreshing a panel would activate itself first).
Nowadays a panel might refresh while being inactive - breaking code which relies on the workdir matching the active panel.

abika added a subscriber: abika.Jan 15 2017, 9:41 PM

I have no idea why the directory change is there in the code or why it could be important. Maybe remove it and see what happens(?)

janlepper claimed this task.Mar 5 2017, 6:39 PM