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

            Bug ID: 483321
           Summary: Frequent error message - QML Image: Socket operation
                    timed out
    Classification: Frameworks and Libraries
           Product: frameworks-knewstuff
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: ad...@leinir.dk
          Reporter: ralf.habac...@freenet.de
                CC: alexander.loh...@gmx.de, kdelibs-b...@kde.org
  Target Milestone: ---

Created attachment 167015
  --> https://bugs.kde.org/attachment.cgi?id=167015&action=edit
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();

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

Reply via email to