KDirModel::canFetchMore always false on network folder?
Is it really necessary that KDirModel::canFetchMore
always returns false for network folders?
!1455 (merged) introduced this as a performance improvement, but it breaks the semantics of canFetchMore
(it should be "Can more data be loaded for this item", not "Will it be fast to load more data for this item").
I stumbled upon this because I'm exposing KDirModel to QML and using it in a Plasmoid with a QML TreeView
to show a directory tree, and I can't expand any subfolders of a network folder.
To me, this looks like the kind of hidden trap that'll cause more headaches in the future, so if it's necessary, I think it should be configurable or, at the very least, documented.