Fannon / search-bookmarks-history-and-tabs

Browser extension to search and navigate browser tabs, local bookmarks and history.
MIT License
172 stars 8 forks source link

Arc (chromium) Browser: Cannot open "Options" or "Tips" pages #114

Closed boyeatssteak closed 3 months ago

boyeatssteak commented 3 months ago

This looks to be similar to issue #39 , but in a different browser. I'm using Arc Browser 1.33.0 on MacOS 14.4 2024-03-16_12-48-35

The rest of the extension works fine, and I know at some point in the past, the "Options" page opened properly, even in Arc.

Recently though, when clicking Options or Tips from the footer, the click appears to be ignored in all contexts.

In normal Chrome v119.0.6045.199 on the same machine, the extension works exactly as expected without any issues.


Trying to follow the advise in the other issue, I cloned this repo, npm install and npm run build, and then "Load unpacked" the extension directly in to Arc, but I still don't know how to get to any console output specific to the extension (v1.9.5). 2024-03-16_12-53-05

If you can advise me on how to collect logs or console output for you, I'm happy to do so.


Other minor differences from #39 :

the popup freezes in the sense that I can no longer click any of the other links

This is not my experience.

found a workaround by opening and closing the extension window twice, which then allowed options tab to display.

This also, is not my experience. I cannot get the Options page to display in Arc in any scenario.

Fannon commented 3 months ago

Hi!

Thanks for going through the effort to reproduce it!

Now that you loaded it unpacked, you're already most of the way. Regarding how you get to the console, this may be different across browser. For chrome, you right-click the extension icon and choose "inspect pop up window". I remember that one browser had the option to switch the console focus to the popup somewhere in the developer console itself. If you find out how it works in your case (I don't have a mac nor the Arc browser), it would be interesting to learn how this is done.

boyeatssteak commented 3 months ago

Thanks @Fannon ! It was right where you said in the right-click menu, I don't know why I didn't think to check there 🤦 .

2024-03-17_11-46-45

There are no errors reporting in the chrome://extensions page, or the console. Here is what I was able to determine though:

Based on all of that, I suspect it is more likely a bug with the currently-in-use Chrome engine Arc is using, and not a bug with the extension itself.


Workaround

A clunky workaround though is to go to just nav directly to the options page in the main browser without bothering to try to access it via the extension itself.

  1. Go to chrome://extensions to find the ID of your install
  2. Go to chrome-extension://{{ id }}/popup/options.html to adjust your options

In my tests, this correctly displays, allows me to edit, and persists my saved changes. 🤷

I'm going to close this since I don't suspect there is anything further worth you investigating, but feel free to open it back up, or let me know if I can help gather any additional information!

Fannon commented 3 months ago

Ok, thanks for finding this out! Sounds definitely like a problem with the Arc browser itself.

It's also good that you documented how to directly access the options in case that something goes wrong. Well done!