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

Qt Assistant help file (qgis.qch) style issues #42872

Open
jakimowb opened this issue Apr 20, 2021 · 5 comments
Open

Qt Assistant help file (qgis.qch) style issues #42872

jakimowb opened this issue Apr 20, 2021 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc

Comments

@jakimowb
Copy link
Contributor

Description

The QGIS C++ API documentation can be downloaded as Qt Help file (qgis.qch) from https://qgis.org/api
Added to the Qt Assistant, this allows to browse and search the API docs very fast.

Since QGIS 3.18, the qgis.qch seems to have some broken styles affecting hyperlinks and table (?) elements, which makes it pretty unreadable:
image

Affected versions

The following files are affected by these changes:

https://qgis.org/api/qgis.qch
https://qgis.org/api/3.18/qgis.qch

The latest version where it looks fine to me is:
https://qgis.org/api/3.16/qgis.qch

Environment:

So far I found this error on Windows 10 only, were I tested it with the Qt Assistant for QGIS 3.19 (via OSGeo4W for testing) and QGIS 3.18 (via conda forge).

@jakimowb jakimowb added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Apr 20, 2021
@roya0045
Copy link
Contributor

what is the qt version of the assistant and your qgis installs? The files should be generated by qt and a mismatch may be the cause of those issues.

@jakimowb
Copy link
Contributor Author

jakimowb commented Apr 21, 2021

Tested Environments:

Testd Helpfile Versions
qgis-3.21.qch https://qgis.org/api/qgis.qch (current development branch)
qgis-3.20.qch https://qgis.org/api/3.20/qgis.qch
qgis-3.18.qch https://qgis.org/api/3.18/qgis.qch
qgis-3.16.qch https://qgis.org/api/3.16/qgis.qch

OS QGIS Env Qt / Qt Assistant Style problems?
Win10 3.19 OSGeo4W 5.15.2
QTextBrowser
qgis-3.21.qch
qgis-3.20.qch
qgis-3.18.qch
Win10 3.18.1 conda 5.12.9
QTextBrowser
qgis-3.19.qch
qgis-3.18.qch
Ubuntu 18.04.5 3.18.1 conda 5.12.9
QTextBrowser
qgis-3.19.qch
qgis-3.18.qch

@jakimowb
Copy link
Contributor Author

@roya0045

Looks like these styling issues appear only when Qt Assistant uses the QTextBrowser instead of the Qt WebKit

grafik

@roya0045
Copy link
Contributor

@jakimowb That would explain why the webtags were faulty. Thanks!

@jakimowb
Copy link
Contributor Author

jakimowb commented Dec 8, 2021

I created a ticked in the OSGeo4W issue tracker (@jef-n , https://trac.osgeo.org/osgeo4w/ticket/708), as this seems to be a problem that affects mostly windows users

@alexbruy alexbruy added the Documentation Changes to Documentation, README, INSTALL, etc label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc
Projects
None yet
Development

No branches or pull requests

3 participants