D16648: Open externally called files/directories in new tabs

René J.V. Bertin <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin,gmane.comp.kde.devel.kfm
Message-ID <[email protected]>
rjvbb added a comment.


  A thought: shouldn't the `KRun::run*` functions use `QCoreApplication::applicationFilePath()` instead of invoking "dolphin" and hope the path leads to the same application?
  
  I haven't read through the entire review to see if there has been discussion of this (beyond the allusions to having different versions in the test plan) nor what has been decided, but:
  
  - I'd expect "open in new window" to behave as if it opened a new window in the same application (and not, for instance, give me the KDE4 version if for some reason I'm testing Dolphin 5 on a system that still runs a Plasma 4 desktop)
  - typically there will not be a dolphin executable on the path when running on a Mac, nor on MS Windows. On the latter "open in new window" seems to work (as long as the application runs in its installation directory?), on the former the feature fails with the expected error that dolphin cannot be found.
  
  (I'm bringing this up here because it's the latest discussed, relevant change to `Dolphin::openNewWindow()`.)

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D16648

To: feverfew, #dolphin, elvisangelaccio, thomasp
Cc: rjvbb, thomasp, zzag, dfaure, fvogt, fikrim, magar, fbg13, davidedmundson, kwin, ngraham, elvisangelaccio, anthonyfieroni, kfm-devel, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, fbampaloukas, alexde, Codezela, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, rdieter, mikesomov
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.