Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wikipedias/Wiktionaries are not available after hibernation on Linux #642

Closed
vedgy opened this issue Nov 12, 2015 · 7 comments
Closed

Wikipedias/Wiktionaries are not available after hibernation on Linux #642

vedgy opened this issue Nov 12, 2015 · 7 comments

Comments

@vedgy
Copy link
Member

vedgy commented Nov 12, 2015

This is a regression (less than a year old, I think). After hibernation, instead of the word translation, the following text is displayed in all wiki dictionaries "Query error: Network access is disabled.". The Wiki dictionaries do not become available until I manually restart goldendict.

@vedgy
Copy link
Member Author

vedgy commented Nov 13, 2015

I'm probably mistaken and this is not actually a regression. I switched from master to qt4x5 branch recently, and noticed this issue. I checked the Qt4 version of goldendict - and wikis work after hibernation. So, I suppose that this is Qt5-only issue.

@Abs62
Copy link
Member

Abs62 commented Nov 13, 2015

May be it's because QTBUG-46323?

@vedgy
Copy link
Member Author

vedgy commented Nov 13, 2015

Yes, this is probably the same issue. I'm currently using Qt 5.5.1, and the fix (https://codereview.qt-project.org/#/c/121724/14//ALL,unified) is not yet there (http://code.qt.io/cgit/qt/qtbase.git/tree/src/network/access/qnetworkaccessmanager.cpp?h=v5.5.1). Hopefully, the fix will be included into Qt 5.5.2, and then I'll be able to close this issue.

@xmyth
Copy link

xmyth commented Jan 13, 2016

It works for me by changing wikipedia url from http to https . #607

@vedgy
Copy link
Member Author

vedgy commented May 4, 2016

This issue is still present with Qt 5.6.0 even though QTBUG-46323 was fixed in 5.6.0 RC and the code from the fix is present here: https://code.qt.io/cgit/qt/qtbase.git/tree/src/network/access/qnetworkaccessmanager.cpp?h=v5.6.0.
So I think that this issue is caused by something else. Not sure whether this is Qt or goldendict fault.

@vedgy
Copy link
Member Author

vedgy commented May 14, 2016

This issue became much less frequent with Qt 5.6.
It manifests itself about once every 5-10 hibernations.

@vedgy
Copy link
Member Author

vedgy commented Jun 10, 2018

Haven't encountered this issue with Qt 5.10/5.11 and fresh goldendict versions for months. I assume it has been fixed somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants