D16648: Open externally called files/directories in new tabs

Alexander Saoutkin <[email protected]>
Newsgroups gmane.comp.kde.devel.kfm,gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
feverfew added a comment.


  In D16648#450590 <https://phabricator.kde.org/D16648#450590>, @davidedmundson wrote:
  
  > activateWindow works if and only if your X startup info is correct.
  >
  > When you launch dolphin through a UI (on gnome or Plasma) you will see an extra environment variable on your dolphin process.
  >
  > DESKTOP_STARTUP_ID=David-Desktop;1555336591;362121;16299_TIME219914845
  >
  > Qt normally handles this internally.
  >
  > If you then call into an existing dolphin you need to pass this and import it the other side before calling window->activate().
  >  See KStartupInfo or QX11Extras::setAppTime
  >
  > Plasma isn't really involved.
  
  
  Does this also apply if dolphin is called via the terminal? If not then I think we should stick with `forceActiveWindow`, otherwise I'm happy to make the changes necessary.
  
  In D16648#452719 <https://phabricator.kde.org/D16648#452719>, @fbg13 wrote:
  
  > Currently opening an already open path creates a new tab.
  >  I think it's better to just activate the existing tab.
  
  
  Good point. Happy to implement this if everyone else is.

REPOSITORY
  R318 Dolphin

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

To: feverfew, #dolphin, elvisangelaccio
Cc: fbg13, davidedmundson, kwin, ngraham, elvisangelaccio, anthonyfieroni, kfm-devel, alexde, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, 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.