Bug 2041569

Summary: Network stops working after suspend/resume cycle, fix available
Product: [Fedora] Fedora Reporter: ValdikSS <iam>
Component: qt5-qtbaseAssignee: Than Ngo <than>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: jgrulich, jreznik, kde-sig, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-26 14:56:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ValdikSS 2022-01-17 17:52:51 UTC
Description of problem:

Qt5 QNetworkStatusMonitor does not correctly check for internet connectivity and reports false negative result in some cases (which is mine).

QNetworkAccessManager checks for QNetworkStatusMonitor::isEnabled and block the request if "no internet connection" detected.

Internet access in some Qt5 application does not work after suspend/resume cycle on Fedora 35 for me due to this issue.
https://bugreports.qt.io/browse/QTBUG-84907 — this seems like a fix which should have been applied to 5.15.1, but apparently haven't been. I've checked the source of qt5-qtbase-5.15.2-30.fc35 and QNetworkStatusMonitor::isEnabled checks are still present there.


Version-Release number of selected component (if applicable):
qt5-qtbase-5.15.2-30.fc35


How reproducible:
All the time


Steps to Reproduce:
1. Run QuiteRSS
2. Suspend the laptop
3. Resume the laptop
4. Try to update RSS feeds in QuiteRSS

Actual results:
Feeds are reported as "broken", not updated. The internet access is 100% working.


Expected results:
Feeds are updated.

Comment 1 ValdikSS 2022-01-26 14:56:23 UTC
Looks like the issue is not due to missing QTBUG-84907, it's already applied and I missed it.