┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2019-11-24 19:18:41 +0100
committerElvis Angelaccio <[email protected]>2019-11-28 21:52:16 +0100
commit089a05b4edfd7a70e50ed7d8b158cbcc50538d36 (patch)
tree2a11766d25ce61393bf8d1c6e0174350eb9c5b60 /src/tests
parenta08d498182e481165771f4f7e82c1b6dc4c9fe60 (diff)
Force dbus introspection on the Dolphin_1 object
Summary: QtDBus caches known interfaces when passing a non-empty interface name to the QDbusInterface constructor. This is an issue when calling the FileManager1 methods more than once, because `preferred` could be a valid interface from the cache, but it would later fail to call the `openFiles`/`openDirectories` methods on the main window. By passing an empty interface name, we prevent QtDBus from using the cache so that we always get an invalid interface when calling the FileManager1 methods on a daemonized dolphin process (that doesn't have the Dolphin_1 dbus object). BUG: 414402 FIXED-IN: 19.12.0 Test Plan: 1. dolphin --daemon 2. qdbus org.freedesktop.FileManager1 /org/freedesktop/FileManager1 ShowFolders "/tmp" "" 3. Close the dolphin window that was just opened. 4. Start a normal dolphin process 5. qdbus org.freedesktop.FileManager1 /org/freedesktop/FileManager1 ShowFolders "/tmp" "" 6. Close again the dolphin window 7. qdbus org.freedesktop.FileManager1 /org/freedesktop/FileManager1 ShowFolders "/tmp" "" Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D25510
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions