D16648: Open externally called files/directories in new tabs

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin,gmane.comp.kde.devel.kfm
Message-ID <[email protected]>
davidedmundson added a comment.


  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
  
  Plasma isn't really involved.

REPOSITORY
  R318 Dolphin

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

To: feverfew, #dolphin, elvisangelaccio
Cc: 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.