]> cloud.milkyroute.net Git - dolphin.git/commit
Add test for openFiles()
authorFelix Ernst <fe.a.ernst@gmail.com>
Sat, 1 Apr 2023 16:20:19 +0000 (18:20 +0200)
committerFelix Ernst <felixernst@kde.org>
Mon, 3 Apr 2023 15:34:32 +0000 (15:34 +0000)
commit95905ce76170dd5404947b578ad9d571f8e44235
tree9654ff625e2cd4fbaa49f5cb444d5daf57c82eee
parente190977a909899dddd748cc0ee32e6fbfe32c4e2
Add test for openFiles()

The basic mainWindow methods openFiles(), openDirectories(),
isUrlOpen(), and isItemVisibleInAnyView() have some non-obvious
behaviours that shouldn't regress. We never want to open
directories that are already open. We only want to open new tabs
when the currently open ones don't have the file that should be
highlighted in view already. This should work even if view modes
that allow folder expansion are in play. It should also work when
the view area is split.
src/tests/dolphinmainwindowtest.cpp