Bug 483321 - Frequent error message - QML Image: Socket operation timed out
Summary: Frequent error message - QML Image: Socket operation timed out
Status: REPORTED
Alias: None
Product: frameworks-knewstuff
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-12 08:17 UTC by Ralf Habacker
Modified: 2024-03-13 21:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screensho (41.89 KB, image/png)
2024-03-12 08:17 UTC, Ralf Habacker
Details
Log (27.11 KB, text/x-log)
2024-03-12 08:17 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2024-03-12 08:17:27 UTC
Created attachment 167015 [details]
Screensho

SUMMARY
Using the qml dialog to install resources from kde store fails with the mentioned error message.

STEPS TO REPRODUCE
1. download alkimia sources from https://invent.kde.org/office/alkimia
2. build with qt5/KF5  
3. run <builddir>bin/alknewstuffwidget

OBSERVED RESULT
The dialog takes a very long time to switch from the "Search..." display to the view shown in the attached screenshot. After appearing, a message is displayed that a socket operation has timed out. The generated log contains urls that do not work in the browser, e.g. https://images.pling.com/cache/100x100-0/img/00/00/19/27/99/1164278/default-ocs.png.  

EXPECTED RESULT
The dialog should not have the mentioned delay and should work.
 
SOFTWARE/OS VERSIONS
Linux: openSUSE Leap 15.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8+kde185

ADDITIONAL INFORMATION
The following source code is used to run  the install dialog (from https://invent.kde.org/office/alkimia/-/blob/master/src/alknewstuffwidget.cpp#L92)

    QPointer<KNS3::QtQuickDialogWrapper> knsWrapper = new KNS3::QtQuickDialogWrapper(configFile, dynamic_cast<QObject*>(parent));
    knsWrapper->open();
    QEventLoop loop;
    connect(knsWrapper, &KNS3::QtQuickDialogWrapper::closed, &loop, &QEventLoop::quit);
    loop.exec();
    return !knsWrapper->changedEntries().empty();
Comment 1 Ralf Habacker 2024-03-12 08:17:58 UTC
Created attachment 167016 [details]
Log

Log file