Comment 5 for bug 974685

Revision history for this message
Jan-Erik Meyer-Luetgens (mail-wz6bkyhu4uqpfausw0ege9b0y33ege6o4wzvqwe1gy1) wrote :

I tracked down the Bug.

The FolderTreeModel::hasChildren method is buggy.
(File: src/library/browsefoldertreemodel.cpp)

It uses the readdir call, but it works only on some file systems.

entry->d_type is DT_DIR for direcories on these file systems.
on the other (non working) file systems entry->d_type is DT_UNKNOWN

See the readdir(3) man page.

My raid file system is JFS and I asume Mike's USB-Drive file system is NTFS or VFAT, so we are
out of luck.