zealdocs / zeal

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

Zeal tab should not show "Loading..." when Zeal is started #1640

Open sanel opened 4 months ago

sanel commented 4 months ago

When you start Zeal, it will show "Loading..." in tab, but nothing will be loaded in the main view (as shown in the screenshot). IMHO, it should either load the first item from the list (that can be slow) or should show empty tab (or no tabs at all), before the first item is selected.

2024-07-08_12-21

meoowth commented 4 months ago

me too. do u work out?

trollixx commented 3 months ago

What is your Zeal version and OS?

sanel commented 3 months ago

Tested with 0.7.1 and the latest git version. OS is Slackware 15.0

sanel commented 3 months ago

Looks like "Loading..." is added by default. I think "Welcome" was before, can't recall 100%.

trollixx commented 3 months ago

Are you seeing an empty page? That means the home page (with Welcome title) does not load. Anything in the console output?

sanel commented 3 months ago

Yes, I see empty page. Here is the output from zeal git version:

$ ./build/bin/zeal 
zeal.core.applicationsingleton: Singleton ID: va1X0JUe8bmvHzhlZMk_a2Cv-V0mauKmu5lwiW19DTs
zeal.core.applicationsingleton: Starting as a primary instance. (PID: 25377)
QVariant::load: unable to load type 1032.
zeal.core.httpserver: Listening on http://127.0.0.1:43169...
zeal.core.httpserver: Mounted '/home/foo/.local/share/Zeal/Zeal/docsets/Ansible.docset/Contents/Resources/Documents' to '/ansible'.
zeal.core.httpserver: Mounted '/home/foo/.local/share/Zeal/Zeal/docsets/Bash.docset/Contents/Resources/Documents' to '/bash'.
...