zealdocs / zeal

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

Docset not showing Icons in tabs (but icon.png present and used in treeview) #1026

Closed johnbeard closed 6 years ago

johnbeard commented 6 years ago

I have a Docset, constructed with doxygen and doxytag2zealdb.

It has an icon.png, which is shown in the treeview on the left, but not in the tabs - these only get a "zeal book" icon:

2018-11-02_230048_520x162_screenshot

Attached a (hopefully sanely reduced) docset and the script used to build it in case that doesn't work.

tclap.tar.gz

build.sh.txt

trollixx commented 6 years ago

This is caused because name of the docset is tclap, while its directory is tclap2.docset. So, when Zeal tries to find a docset by using name from the path, it fails. Removing 2 fixes the issue.

I guess it would be better to rely on the path itself rather than the name, but this whole situation will become irrelevant once we stop unpacking docsets, and rather use a custom URL scheme, or a built-in HTTP server.

trollixx commented 6 years ago

I don't think this is worth fixing, since the workaround is simple, and I don't want to invest in the current docset format.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for a related request.