[Manual]
Before testing, set the default file manager in system settings as the newly built Dolphin executable.
Please noteAlso, one must also change line 54 of global.cpp such that when testing the "Open In New Window"/"Detach Tab" feature,KRun runs the patched version of Dolphin, not the system version; an old instance of dolphin will be opened (in particularthe "Open In New Window"/"Detach Tab" feature, the executable in your /usr/ directory)will open an old instance of Dolphin(in particular, to properly test please change the source code to the new Dolphin executablethe executable in your /usr/ directory) if this is not done.
Furthermore, running two different versions of Dolphin (in particular, where one does not have this patch included) can result in bugs appearing when the setting is enabled, in particular, new tabs not opening as old instances will not recognise the DBus commands sendsent to it. However, I see no reason why a user will have two different versions of Dolphin (apart from people like us :D).
With setting off:
Application should behave as before.
With setting on:Open directories with the help of auxillary programs (i.e. a browser). The files/directories should appear in a new window if an instance does not exist. If an existence already exists, then a new tab should be opened and activated in that instance and the window activated.
Open directories with the help of auxillary programs (i.e. a browser). The files/directories should appear in a new window if an instance does not exist. If one already does, then a new tab should be opened and activated in that instance and the window activatedUse QDBusViewer to open folders/items by calling the ShowFolders/ShowItems methods in org.freedesktop.FileManager1 of the Dolphin instance.
When a user chooses to "Open In New Window"/"Detach Tab" then the files/directories should be opened in a new window.