Commit 4d3a765e authored by Nate Graham's avatar Nate Graham
Browse files

Warn that the fast native indexer doesn't follow symlinks

When using the Baloo-powered fast native indexer, symbolic links are
not followed, due to a longstanding design decision in Baloo itself.
This means that if, for example, you have ~/Music confiured as the only
music location, and within that folder is a symbolic link pointing to
~/otherMusicLocation, none of the music there will be visible. The user
will have to manually add ~/otherMusicLocation to the list of music
locations as well.

This is not at all obvious, and it's not going to change in Baloo
anytime soon as it is a design decision. So let's tell the user about
it in the config dialog so they're aware.

BUG: 451294
FIXED-IN: 22.08
parent 74c04d51
Pipeline #154648 passed with stage
in 6 minutes
......@@ -317,30 +317,41 @@ ColumnLayout {
}
}
RowLayout {
spacing: Kirigami.Units.largeSpacing * 2
QQC2.Button {
text: i18n("Add New Location")
icon.name: "list-add"
QQC2.Button {
text: i18n("Add New Location")
icon.name: "list-add"
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
Layout.alignment: Qt.AlignTop | Qt.AlignLeft
onClicked: fileDialog.open()
Accessible.onPressAction: onClicked
onClicked: fileDialog.open()
Accessible.onPressAction: onClicked
Dialogs.FileDialog {
id: fileDialog
title: i18n("Choose a Folder")
folder: shortcuts.home
selectFolder: true
Dialogs.FileDialog {
id: fileDialog
title: i18n("Choose a Folder")
folder: shortcuts.home
selectFolder: true
visible: false
visible: false
onAccepted: {
var oldPaths = ElisaConfigurationDialog.rootPath
oldPaths.push(fileDialog.fileUrls)
ElisaConfigurationDialog.rootPath = oldPaths
onAccepted: {
var oldPaths = ElisaConfigurationDialog.rootPath
oldPaths.push(fileDialog.fileUrls)
ElisaConfigurationDialog.rootPath = oldPaths
}
}
}
QQC2.Label {
Layout.fillWidth: true
visible: indexingTypeCombo.currentIndex === 0 // Native indexer
text: i18n("The fast native file indexer does not follow symbolic links. If any of the locations in this list contain symbolic links to other locations, you will need to add those other locations to the list as well.")
wrapMode: Text.Wrap
font: Kirigami.Theme.smallFont
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment