k-ivan / visual-bookmarks-chrome

Simple visual bookmarks extension for Google Chrome and Microsoft Edge.
https://chrome.google.com/webstore/detail/visual-bookmarks/jdbgjlehkajddoapdgpdjmlpdalfnenf
125 stars 24 forks source link

Drag and Drop not working now in Brave Browser #157

Closed visbook closed 9 months ago

visbook commented 9 months ago

Hi k-ivan, I hope you are well.

I use Brave Browser and for some reason the drag-and-drop function in VB has stopped working; when I try to move a thumbnail VB is displaying a red “no entry” circle. My VB settings are to allow drag and drop and I’ve tried different settings but I can’t get the drag-n-drop to work.

I’ve also tried disabling/ enabling VB, disabling all my other 3rd party extensions, I uninstalled/ reinstalled VB, shutdown/ restarted the computer. After more checking it may have something to do with Brave being automatically updated yesterday to version 1.62.153.

I don’t know if everyone is having this issue and if you can replicate in on Brave yourself to see if it is a user wide issue or just affecting me. Note: On another workstation that still has Brave v1.61 installed, VB's drag-and-drop works fine.

DSCF6768

k-ivan commented 9 months ago

Hello, I tried to install the browser, I don’t see any problems, it looks like it’s a local problem.

Try clearing local storage for the extension image

visbook commented 9 months ago

Will clearing the local storage delete all of the thumbnails?

k-ivan commented 9 months ago

No, images are saved in the IndexDB.

visbook commented 9 months ago

Cleared the entry, restarted the browser, also changed VB D-&-D slider but no change.

k-ivan commented 9 months ago

Check if you have enabled the sorting settings when displaying, these settings are incompatible with dragging.

image

visbook commented 9 months ago

Only D&D is enabled and my settings are the same as your clip,

k-ivan commented 9 months ago

Try resetting the extension settings to the default (if synchronization is enabled, then these settings too).

visbook commented 9 months ago

I had to do a Brave reinstall to get it working again, but have lost my 3,000+ thumbnails; however before I did the reinstall I saved my Brave User Data folder from Windows>Users>AppData>Local> BraveSoftware>Brave-Browser.

Rather than having to update all the thumbnails in VB again which will take a very long time, can I just copy and paste the .blob folder from my saved IndexedDB folder into the same current AppData>Brave-Browser folder? And is this .blob folder where every thumbnail is kept?

IndexDB

k-ivan commented 9 months ago

Of course you can copy it, but I don’t know whether it will help or not. I haven’t been interested in this issue for a very long time. In theory it should help, but I don’t know if it will help with indexDB data.

visbook commented 9 months ago

While I’ve got your attention k-ivan, when I was altering the VB settings to try to get the drag and drop to work, I saw a few settings/ options and would be grateful if you can explain what they change and actually do, I moved the sliders but couldn’t see what difference they made.

1) Include a panel with services 2) Show in context menu 3) Enable Synchronisation 4) Delete Synchronisation Data from Server

k-ivan commented 9 months ago

When I'm at the computer, I'll take screenshots.

k-ivan commented 9 months ago

1) image

2) image

3) Application settings will be synchronized in your browser account between devices 4) Reset settings from step 3, that is, the synchronized data will be reset

3, 4 - relate only to extension settings, not images

visbook commented 9 months ago

Thanks for taking the time for showing me what these options do and I'm now up to speed with all the VB options (I think)- There is just one more question I forgot to ask previously-

When you instruct VB to add a bookmark of a webpage, VB opens a large second window in the bottom right of the monitor, which it needs in order to take a screenshot and create the webpage thumbnail. I use 3 monitors and usually have the browser open on one of the side monitors as I need to carry on using other programs on my main monitor and these other programs need to be always totally visible and accessible.

Presently when using VB, it doesn't matter on which of the monitors you have your Browser app open, the VB pop-up screen always displays in the lower right of the middle monitor which blocks my access to the other program. Therefore, is there some custom code/ custom coordinates or another way to force the VB window to pop-up on one of the side monitors, ideally in the top left corner? It would be even better if I had total control of where the VB pop-up window appears and the ability to put it wherever I like.

It would make it so easy if users could move the VB pop-up window by doing the following- In General options, move the "Delay before creating a thumbnail" slider to 10+ seconds, right click on a webpage and tell VB to add the page to your bookmarks, then when the VB pop-up window appears you have up to 10 seconds (or however many seconds the user has chosen) to drag the pop-up window to a new screen location where all VB's future pop-up windows would appear.

k-ivan commented 9 months ago

The browser, or rather the system, decides on which monitor to display the window, perhaps the user can control this.

Asking at the time of creating a screenshot is not correct, since the code that generates the screenshot runs in the background, it can be launched when the tab itself is not even open, in addition, it can trigger the generation of several thumbnails. That is, this is completely wrong, and it is not possible to implement it normally and clearly.

The window is given coordinates, but I think it would be wrong to enter additional settings. In theory, it would be possible to adjust the screen edge selection, but there is a lot of work, and no one will use it. So I’m not even ready to add this option yet.