This might not be the case when e.g. having a split view, having enabled the "auto
expand folders" option and dragging an item from the active view to another
folder of the inactive view.
void DolphinViewContainer::slotItemActivated(const KFileItem& item)
{
+ // It is possible to activate items on inactive views by
+ // drag & drop operations. Assure that activating an item always
+ // results in an active view.
+ m_view->setActive(true);
+
KUrl url = item.targetUrl();
if (item.isDir()) {