manga-download / hakuneko

Manga & Anime Downloader for Linux, Windows & MacOS
https://hakuneko.download
The Unlicense
4.56k stars 461 forks source link

[Bug] Developer tools won't open on Linux #5738

Open KaMyKaSii opened 1 year ago

KaMyKaSii commented 1 year ago

Did you read the troubleshooting guide Yes

Describe the bug When pressing F12 or CTRL+SHIFT+I the developer tools simply do not open. I've noticed this behavior for almost a year now. Reinstall the deb and deleting the hakuneko folder from .cache/.config doesn't fix the problem, so I'm guessing it's not some corrupt configuration file. Developer tools open normally when using the same version of Hakuneko for Windows.

Context (please complete the following information):

MikeZeDev commented 1 year ago

I know that is weird , and a bug indeed but i have no clue about that and it doesn't impact the end user soooo... 🤷

Terminal doesnt give error message?

KaMyKaSii commented 1 year ago

Terminal doesnt give error message?

Just the message

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397

In KDE Neon these other messages also appear but I don't know if they have a connection

(hakuneko-desktop:88370): Gtk-WARNING **: 13:46:58.621: Theme parsing error: gtk.css:1649:16: '-gtk-icon-size' is not a valid property name

(hakuneko-desktop:88370): Gtk-WARNING **: 13:46:58.621: Theme parsing error: gtk.css:1652:16: '-gtk-icon-size' is not a valid property name

I usually download from the YesMangasBR connector and in the default configuration some pages return an error and consequently some available manga do not appear in Hakuneko. Previously I was able to open the developer tools and limit the latency of requests to circumvent this. Considering that many connectors already have a limit implemented or may still implement one, wouldn't it be useful to add a general throttling option in Hakuneko?

MikeZeDev commented 1 year ago

wouldn't it be useful to add a general throttling option in Hakuneko?

Maybe. Its already included in Haruneko btw

KaMyKaSii commented 1 year ago

wouldn't it be useful to add a general throttling option in Hakuneko?

Maybe. Its already included in Haruneko btw

I don't understand, is there already implemented some way to limit requests globally? Could you tell me how? Thanks

Sheepux commented 1 year ago

He meant HaRuneko (notice the R) it's hakuneko v10 (Work In Progress) https://github.com/manga-download/haruneko Global throttling & per connector throttling has been implemented in haru https://github.com/manga-download/haruneko/issues/9 https://github.com/manga-download/haruneko/issues/10

Regarding the console bug, i have no ideas at all (it's an electron issue, will probably be fixed with haru)

leolopez89 commented 1 month ago

Same problem here...

OS: Xubuntu 22.04.4 LTS

Hakuneko info:

--------------
Framework Info
--------------
Electron : 8.3.4
Chrome   : 80.0.3987.165
Node     : 12.13.0

Mayby this can help to solve the problem:

https://stackoverflow.com/questions/69969658/electron-devtools-inspector-not-showing-on-linux

the accepted answer says:

It seems like the problem is that I'm using a older electron version (11.x). Upgrading to a new version (anything from 13.5.0 onwards) fixes the issue.
leolopez89 commented 1 month ago

I know that is weird , and a bug indeed but i have no clue about that and it doesn't impact the end user soooo... 🤷

About this... I am trying to use the terminal to fix some connectors... like MangaCrab... the url was moved and apparently, the API was updated

MikeZeDev commented 1 month ago

If you have a problem about a website open an appropriate issue dont hijack unrelated ones.

Sheepux commented 1 month ago

Mayby this can help to solve the problem:

https://stackoverflow.com/questions/69969658/electron-devtools-inspector-not-showing-on-linux

the accepted answer says:

It seems like the problem is that I'm using a older electron version (11.x). Upgrading to a new version (anything from 13.5.0 onwards) fixes the issue.

Hakuneko's electron won't be updated (it broke too many things). The work is being done in haruneko