D16648: Open externally called files/directories in new tabs

David Edmundson noreply at phabricator.kde.org
Mon Apr 15 15:02:48 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190415/60a53fdc/attachment.htm>


More information about the kfm-devel mailing list