thorium icon indicating copy to clipboard operation
thorium copied to clipboard

[BUG] Thorium doesn't show extensions in chrome://extensions

Open wrestlerdude opened this issue 2 years ago • 11 comments

System Details

Observable Problem

The extensions page chrome://extensions is empty despite multiple extensions installed.

Additional Notes

  • I also installed the AppImage, and the same problem persists.
  • I installed the regular ol' Chromium deb, this issue does not exist on there, so it must be related to Thorium.

Screenshots

image image

wrestlerdude avatar Jul 17 '22 18:07 wrestlerdude

I can't confirm the bug on my debian bookwork using the same version.

midzer avatar Jul 17 '22 19:07 midzer

@wrestlerdude @midzer I am making new release right now. I will test in a pop os VM to see if i can recreate, and see if the new release fixes the problem.

Alex313031 avatar Jul 17 '22 20:07 Alex313031

@wrestlerdude @midzer I am making new release right now. I will test in a pop os VM to see if i can recreate, and see if the new release fixes the problem.

If it doesn't occur for you, I'll try wiping my Thorium .config/ and do a fresh install.

wrestlerdude avatar Jul 17 '22 21:07 wrestlerdude

@wrestlerdude I cant recreate with either the version you are using, or the one I just compiled. First, try sudo apt purge thorium-browser-unstable, and then installing the fresh release from https://github.com/Alex313031/Thorium/releases/tag/M105.0.5183.0

If the issue still persists, move the .config/thorium dir or rename it, and then see if it shows up. If it fixes it, you can restore the old config/thorium dir to back up bookmarks, tabs, passwords, etc. And then delete it and start from scratch. If it doesn't fix it, then may I ask what CPU/GPU you are using, how you are running Thorium (portable, regular using .desktop file, or from command line), and if you have any extensions loaded manually like via .crx or via "load unpacked extension"

Alex313031 avatar Jul 17 '22 23:07 Alex313031

The newest release has fixed the issue for me.

wrestlerdude avatar Jul 18 '22 17:07 wrestlerdude

@Alex313031 Same issue here with 106.0.5212.0 deb version on CachyOS (Arch-based). Same with AppImage. CPU: Ryzen 9 5900HX | GPU: Radeon RX 6800M | Mesa 22.1.4

There's also an output in terminal with AppImage version: [207716:207716:0803/214341.382020:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times! [207681:207681:0803/214344.989113:ERROR:bad_message.cc(20)] Terminating extension renderer for bad IPC message, reason 8 [0803/214344.995609:ERROR:elf_dynamic_array_reader.h(64)] tag not found [0803/214344.995923:ERROR:elf_dynamic_array_reader.h(64)] tag not found [207681:207681:0803/214345.014266:ERROR:bad_message.cc(20)] Terminating extension renderer for bad IPC message, reason 8 [207681:207681:0803/214345.014304:ERROR:extension_function.cc(796)] Bad extension message webRequestInternal.addEventListener [207716:207716:0803/214346.491714:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times! [207716:207716:0803/214410.105953:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times! [207681:207681:0803/214438.204795:ERROR:CONSOLE(167)] "Uncaught (in promise) Error: Assertion failed: Don't send themes to the chrome://extensions page", source: chrome://extensions/extensions.js (167) [207681:207681:0803/214440.261066:ERROR:CONSOLE(3614)] "Uncaught TypeError: Cannot read properties of null (reading 'page')", source: chrome://extensions/extensions.js (3614) [207681:207681:0803/214440.872487:ERROR:CONSOLE(3614)] "Uncaught TypeError: Cannot read properties of null (reading 'page')", source: chrome://extensions/extensions.js (3614)

StarterX4 avatar Aug 03 '22 19:08 StarterX4

@wrestlerdude @StarterX4 Can you guys try using the portable release and/or with a fresh user profile?

Alex313031 avatar Aug 04 '22 18:08 Alex313031

Tried AppImage version with fresh profile (on freshly installed CachyOS GNOME on QEMU) and before logging-in the extensions page was showing some components and [Chrome?] Web Store, but after i've logged-in, the extensions page became empty. image

image

StarterX4 avatar Aug 04 '22 22:08 StarterX4

The ZIP version has the same exact behavior.

StarterX4 avatar Aug 04 '22 22:08 StarterX4

@StarterX4 @wrestlerdude Interesting. What CachyOS version (like what DE) are you using.

As far as PopOS, I am currently building and running my thorium releases on popos22.04, with no issues. Can you run it with a temporary profile, i.e. by appending the cmdline flag --user-data-dir=/full/path/to/tempuserprofile

Alex313031 avatar Aug 05 '22 14:08 Alex313031

@StarterX4 @wrestlerdude @midzer Found out what it was, thanks to @not-lucky

Turns out it only happens when a theme is installed, which is why I couldn't recreate it. After installing my thorium material dark theme, it occurred for me.

Here is the fix, next build should be fine > https://github.com/Alex313031/Thorium/commit/8d99f75ec4095425ae0eaa414354865fdab80066

Alex313031 avatar Aug 06 '22 10:08 Alex313031

As of the latest release (106.0.5237.0), the extensions page is now showing properly. image I think we can close this issue.

StarterX4 avatar Aug 16 '22 15:08 StarterX4

@StarterX4 Good. Also, whats the Preload extension? This looks like an internal extension, but it doesn't show on my machine?

Alex313031 avatar Aug 16 '22 17:08 Alex313031

That's my extension I use personally 😅 Along with autostart script invoking /bin/thorium-browser --no-startup-window /prefetch:5 image

StarterX4 avatar Aug 16 '22 18:08 StarterX4

@StarterX4 I could fork it and make a few tweaks and publish it on the web store? Would you like that?

Alex313031 avatar Aug 16 '22 18:08 Alex313031

Yeah, no problem.

StarterX4 avatar Aug 16 '22 19:08 StarterX4

@StarterX4 I made a fork, and made a pull request.

Alex313031 avatar Aug 16 '22 19:08 Alex313031

@StarterX4 Could you post another screenshot here, one thats higher resolution. I made the promo image, but I also need to upload at least one screenshot. It will be 1280x800, but what you send me doesnt have to be exactly that resolution. What I've done with my other extensions is take a screenshot thats at least 512x512, and then overlay it onto a blank 1280x800 canvas in GIMP.

Alex313031 avatar Aug 16 '22 19:08 Alex313031