Open Rodolphe-dev opened 10 months ago
It's working fine for me on Opera GX.
Can you provide a screenshot and maybe check the console?
Right-Click on the Extension > Inspect Pop-up and Right-Click on the Extension > Manage Extension > Under Inspect Views check service worker console
Also check if the folder "Bookmark Bars" is created in "Other Bookmarks"-Folder
here the screenshot of what i have and no folder created. By the way i'm a bit lost with your instruction about the console
EDIT: my bad my browser wasn't in Dev Mode, so i got only this
Can you try creating the folder "Bookmark Bars" manually in the "Other Bookmarks" folder and see if this fix it?
I created the folder and same
Okay, weird. Can you try checking the console of the service worker? Go to your Extensions > Find Bookmark Bar Switcher > Click on Details > Click on service worker as on screenshot below.
I change Browser to french and see that the first default Bookmark Folder doesn't gets created. But I still see the buttons to create a new folder, which isn't the case on your side.
Try creating folders inside the Bookmark Bars Folder.
"I change Browser to french and see that the first default Bookmark Folder doesn't gets created." Even after changed in English (US) it doesn't create the folder : Bookmark Bars
"But I still see the buttons to create a new folder, which isn't the case on your side." Inside the app or the setting bookmark from opera ? Coz i see them in both language
"Try creating folders inside the Bookmark Bars Folder." Here ?
Even if there are no folders the extension interface should be displayed. Therefore I am a bit perplexed by this bug. @Kamiikaze are you using Opera GX or the normal Opera Browser? I have tested on Opera Browser only before last release.
The failed creation of the Bookmark Bars-folder is also interesting. Does the equivalent of the Other Bookmarks-folder have a different id in other languages?
I tried to disabled all my other extension but it's the same, i did a bit of digging in the error inspect popup
here the screenshot:
"But I still see the buttons to create a new folder, which isn't the case on your side." Inside the app or the setting bookmark from opera ? Coz i see them in both language
For me it looks like this if there is no folder
"Try creating folders inside the Bookmark Bars Folder." Here ?
I mean inside Other Bookmarks > Bookmark Bars > New Folder
are you using Opera GX or the normal Opera Browser?
I'm using Opera GX
Does the equivalent of the Other Bookmarks-folder have a different id in other languages?
Checked it, it's the same ID in different languages
"I mean inside Other Bookmarks > Bookmark Bars > New Folder" Yep still no change
Very strange. Have you tried reinstalling already? I am struggling to reproduce this error right now.
@Kamiikaze For you it works fine on both Opera and Chrome?
For me it looks like this if there is no folder
Yeah, that's what it should look like.
For you it works fine on both Opera and Chrome?
Yea, working fine on both.
"Very strange. Have you tried reinstalling already?" Multiple time between change language in Opera GX and folders creation
It work like a charm on chrome for me btw
Damnit. So it that case it must be relatrd to the Opera-specific parts if the code somehow or it is somehow related to Opera itself or the Chromium version it is using.
@Rodolphe-dev @Kamiikaze please check if both of you are usung the same Opera version
That's my current version
I had the same version as Kamiikaze but Opera just updated to this update :
Did you tried the extension in chrome? Is it working there? @Rodolphe-dev
yep like i said work on chrome very well
I will install Opera GX in French on a new pc and install the extensions. Because I can't reproduce the issue, even with a new Opera GX Profile.
Even on a fresh Opera GX install on my privat Win10 VM, there were no Issues. It created the folders by default and shows them in the list.
Can you try creating a new Opera GX Profile with this extension only and see if it works?
opera://settings/side-profiles-settings
@Kamiikaze it work now ! But don't know how to fix it on my actual profile ...
@Kamiikaze it work now ! But don't know how to fix it on my actual profile ...
Sounds good. It seems that removing the extension, doesn't delete the items in the chrome.storage. Maybe there is an issue at this side.
Could you go to your extensions and search for the Bookmark Bar Switcher.
Then click on the service worker as shown below:
Now go to console in the new opened window and paste this code:
await chrome.storage.sync.get(null, async function(items) {
var allKeys = Object.keys(items);
for (let i = 0; i < allKeys.length; i++) {
const value = await chrome.storage.sync.get(allKeys[i])
console.log('Synced.'+allKeys[i], value[allKeys[i]])
}
});
await chrome.storage.local.get(null, async function(items) {
var allKeys = Object.keys(items);
for (let i = 0; i < allKeys.length; i++) {
const value = await chrome.storage.local.get(allKeys[i])
console.log('Local.'+allKeys[i], value[allKeys[i]])
}
});
Paste a screenshot of the result. Should look like this:
Now you can try deleting this entries with following code:
await chrome.storage.sync.get(null, async function(items) {
var allKeys = Object.keys(items);
for (let i = 0; i < allKeys.length; i++) {
const value = await chrome.storage.sync.remove(allKeys[i])
console.log('Synced.'+allKeys[i], value)
}
});
await chrome.storage.local.get(null, async function(items) {
var allKeys = Object.keys(items);
for (let i = 0; i < allKeys.length; i++) {
const value = await chrome.storage.local.remove(allKeys[i])
console.log('Local.'+allKeys[i], value)
}
});
Now disable and enable the extension and try if it works now.
"Paste a screenshot of the result. Should look like this:"
It doesn't look like you and still not working
Hmm interesting. It seems it didn't even touched the sync storage.
As I mentioned in Issue #218 I will create a new branch where I add more logging for better debugging. If I'm done, you can try this version and maybe we will see where it fails. Not sure if I can do it today, but definitely this week.
no problem feel free to tell me when it's done
Added now more logging. There is a visual bug, where new added bookmarks are not visible immediately but after reopening the extensions. So still function.
Tell me if you need something else
any news about the issue ?
Doesn't work on Opera GX
Description
After left click on the logo on the top right, only a white square appear with nothing in it
Reproduction
Click on the extension logo on the top right
Environment
Opera GX