octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65312] "__run_test_suite__" ran in GUI hangs


From: Torsten Lilge
Subject: [Octave-bug-tracker] [bug #65312] "__run_test_suite__" ran in GUI hangs Octave in some configurations
Date: Thu, 15 Feb 2024 16:14:42 -0500 (EST)

Follow-up Comment #27, bug#65312 (group octave):

If we add a preference, then the related text would have to be translated
again, which is probably not desired direct before the final release. We could
use the derived file icon provider on Linux (and MacOS?) and the
QFileIconProvider on Windows.

I played around with icons that are selected depending on the mime type and
used the following in the providers icon method:

    QMimeDatabase db;
    QMimeType type = db.mimeTypeForFile(fi.absoluteFilePath ());
    return QIcon::fromTheme (type.iconName ());

This already slows down the file browser as if the QFileIconProvider is used.
Without calling QIcon::fromTheme, the file browser works as expected.
Obviously, the delays that we are seeing are caused by searching the correct
icon.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65312>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]