Bug 2041569 - Network stops working after suspend/resume cycle, fix available
Summary: Network stops working after suspend/resume cycle, fix available
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-17 17:52 UTC by ValdikSS
Modified: 2022-01-26 14:56 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-26 14:56:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.