zealdocs / zeal

Offline documentation browser inspired by Dash
https://zealdocs.org
GNU General Public License v3.0
11.37k stars 778 forks source link

Regression: custom CSS file no longer works in v0.7.0 #1543

Open wdscxsj opened 12 months ago

wdscxsj commented 12 months ago

My custom CSS file has been working quite well in v0.6.1 and earlier, but it has no effect in v0.7.0. This can be observed in the LaTeX doc, Linux doc, and Nginx doc, to name a few.

genabug commented 11 months ago

Same for me. Get this message:

QResource '/browser/home/gbug/documents/zeal.css' not found or is empty

Prefix /browser is odd here, I don't have it in my settings.

trollixx commented 4 months ago

The culprit:

zeal.browser.webpage: [userscript:_zeal_userstylesheet:1] Not allowed to load local resource: ...

Need to change how style sheets are set, and stop the web view from trying to reach a local file.

trollixx commented 3 months ago

Not a quick fix unfortunately. Retagging for the next release, as I don't want to hold v0.7.1 any longer.