Do not match daemonized dolphin instances
ClosedPublic

Authored by elvisangelaccio on Jun 8 2019, 11:01 AM.

Details

Summary

dolphin --daemon does not have the /dolphin/Dolphin_1 dbus path,
because it doesn't have any DolphinMainWindow.

Checking if the QDBusInterface is valid is not enough, we also need to look for dbus errors.

BUG: 408244

Test Plan
  1. Make sure there is a dolphin --deamon process around.
  2. Start another dolphin process.

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Dolphin. · View Herald TranscriptJun 8 2019, 11:01 AM
Restricted Application added a subscriber: kfm-devel. · View Herald Transcript
elvisangelaccio requested review of this revision.Jun 8 2019, 11:01 AM
elvisangelaccio edited the summary of this revision. (Show Details)Jun 8 2019, 11:03 AM
feverfew accepted this revision.Jun 9 2019, 11:25 AM
This revision is now accepted and ready to land.Jun 9 2019, 11:25 AM
This revision was automatically updated to reflect the committed changes.

This does not actually fix https://bugs.kde.org/show_bug.cgi?id=408244:

  1. Open Dolphin
  2. Use that Dolphin window to navigate to an image
  3. Open the image in Gwenview
  4. in Gwenview, go to FileOpen Containing Folder

Nothing happens.

ngraham reopened this revision.Jun 13 2019, 4:11 AM

@feverfew reopening since this doesn't seem to fix the bug.

This revision is now accepted and ready to land.Jun 13 2019, 4:11 AM

Yeah it seems I should have used CCBUG: instead. D21691 will fix it.

This does not actually fix https://bugs.kde.org/show_bug.cgi?id=408244:

  1. Open Dolphin
  2. Use that Dolphin window to navigate to an image
  3. Open the image in Gwenview
  4. in Gwenview, go to FileOpen Containing Folder

    Nothing happens.

Actually, I cannot reproduce this issue. At step 4, Dolphin gets raised as expected for me.

This does not actually fix https://bugs.kde.org/show_bug.cgi?id=408244:

  1. Open Dolphin
  2. Use that Dolphin window to navigate to an image
  3. Open the image in Gwenview
  4. in Gwenview, go to FileOpen Containing Folder

    Nothing happens.

Actually, I cannot reproduce this issue. At step 4, Dolphin gets raised as expected for me.

Hmm, I still experience them. But no worries, D21691 fixes them both for me. :)