https://bugs.kde.org/show_bug.cgi?id=492660

xust <xushit...@uniontech.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xushit...@uniontech.com

--- Comment #2 from xust <xushit...@uniontech.com> ---
rename files which have same suffix `.idx` also makes file lost it's suffix.
seems like the `.idx` cannot be correctly batch renamed.
seems like a Qt bug, or the mime database doesn't contains the `.idx` suffix.
tested with minimal qt demo:
#include <QCoreApplication>
#include <QMimeData>
#include <QMimeDatabase>
#include <QDebug>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    QMimeDatabase db;
    const QString extension =
db.suffixForFileName("/home/debian/Downloads/file.idx");
    qDebug() << "######  " << extension; // output an empty string
    return 0;
}

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to