-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The link would be opened when drag and drop it in the Tab view on Ubuntu 18.04 #51
Comments
Hi, I'm afraid I haven't been able to reproduce this behavior at all in Firefox 75 on Linux (I have Ubuntu 19.10 on my side). It seems especially strange that you're only hitting this issue with the tab view (and not the sidebar view), since they both use the same code underneath with different styling applied. Can you share a little more info about your setup?
The reason I ask about the VM is I have noticed some VM engines use different methods for sending mouse input to the VM, and this can sometimes cause oddities with drag and drop and mouse-over events. That said, I'm still mystified as to why you would only be seeing this problem in the tab view and not the sidebar... |
Hi, thanks for your reply! You do not face the same problem on Ubuntu 19.10? Is this only related to 18.04?
|
If you are using the default environment of Ubuntu, that tells me enough to try to replicate your setup, so I will try to do that and see if I can reproduce the problem. (That said, I will only be able to do it as a virtual machine, but hopefully that's close enough.) I can also find out whether it's Wayland or not, so no need to worry about it for now. :) Let me see if I can reproduce the issue on my side and we can go from there. |
I unfortunately still haven't been able to reproduce this on my end, but once version 2.6 is released, let's re-test—I know there have been some changes in the drag-and-drop library used by Tab Stash, so hopefully this will resolve your issue. |
Version 2.6 was just released, please let me know if you still see the issue on the latest version. You can check which version of Tab Stash you have by scrolling to the very bottom of the stash list. If you're not on 2.6 yet, you can ask Firefox to update your add-ons by going to the add-ons page, opening the gear menu and choosing "Check for Updates". |
Hi, I think I have updated to version 2.6 because I can see the message on the top of the tab view. But I think the issue still exists. It only happens when it is in the tab view. When I use the side view I do not see such an issue. Do you want me to make a video? However, I do not know how to upload a video on github. |
Hm, sorry to hear that. A video would definitely help; I don't think GitHub allows attaching videos directly, but you could upload one to Firefox Send and put the link here. https://send.firefox.com/ I'll try to do some more reading on my end as well. The only thing I can think of is there's some weird interaction happening between the library I'm using for drag-and-drop and the handling for click events which is causing a click to be registered when it shouldn't be. But I still have no idea why it would only happen in the tab view. |
Hi, I am sorry for the late response. I am sorry I do not the other ways to do so, so I have recorded a video with my cell phone. I hope it would be clear to see the problem. |
No problem, thanks for taking the time to make the video! It was quite clear and I definitely see your problem, but I unfortunately have to confess I'm still not sure what's going on. I've tried installing an Ubuntu 18.04 VM just with default settings, and after installing updates it came up to Firefox 77.0.1. Still no luck in reproducing it here, but watching your video a few times gave me some more ideas for what to check. First, some questions:
And here are some experiments to try, in order from easy to hard:
If you still see the problem even with other extensions disabled, there's one more thing you can try, although I don't know if it will help: https://github.com/josh-berry/tab-stash/wiki/Restart-Firefox-Without-Saved-Session-Data Let me know what you find, and thanks again for taking the time to help in troubleshooting. :) |
Hi, thanks for the detailed reply! I followed your instructions and here are my tests.
I also done some experiments as you suggested.
By the way, I mentioned another addon named |
Thanks for the video. It's interesting that no matter which way you're dragging something (into or out of Unstashed Tabs), it seems to be opening a new tab each time. I saw at one point you even had three of the same tab open. The fact that you're having the same problem with To get a complete list of add-ons, including which ones are enabled/disabled, go to Unfortunately I don't know of a good way to disable all add-ons except Tab Stash. There is Firefox Safe Mode, but that will disable all add-ons including Tab Stash, so I'm not sure it will help your testing. But if you save the "Extensions" list above, you can at least keep a note of which extensions were enabled/disabled before the experiment. If you're uncomfortable sharing your preferences and extensions in a public bug report, you can email me directly at: |
Hi, were you able to narrow this down any further? |
Hi, I have sent the list of the installed extension on my Firefox to the email address tab-stash at condordes.net about one month ago. Did you receive the email? |
Sorry, no I didn't receive it. :( I think there may have been some problem with spam filtering on my side, can you please try sending it again? |
Hi, I have sent the email again. Could you please check whether the email has been received? If there is any problem, please tell me. |
Got it, thank you! I'll take a look and get back to you. |
Glad to hear that. I hope it helps. And thanks very much for your effort to solve this issue! |
My pleasure—thanks for your patience in trying to solve it! Hopefully we will catch it soon. I read through your list of extensions and preferences, and unfortunately nothing stands out to me as potentially causing this... although I'm not familiar with a lot of the extensions you have installed, so I can't rule it out either. I did try installing a couple of extensions that seemed like they might cause conflicts (e.g. Gesturefy) but still wasn't able to reproduce the problem. However, I did do some more searching around and ran across an open bug in the library I'm using to handle drag and drop (SortableJS/Sortable#985), which sounds similar to your issue. It is possible that Firefox itself sees you are dragging a link, and for some reason decides to treat that drag operation as a request to open the link even though it is being handled by Tab Stash. I will put in a workaround for this bug for the next release. I'm not sure if this is actually your issue, so there are no guarantees, but hopefully this will help. In the meantime, I do still think it would be useful to test without other extensions involved—if nothing else, this will help to rule out extensions and/or custom Firefox settings as the cause. I thought of another way you could do this that wouldn't be disruptive to your current Firefox, which is to install Firefox Developer Edition (which is a newer/beta version of Firefox that is completely isolated from your regular Firefox), and then install Tab Stash there. I think you can install Firefox Developer Edition directly through Ubuntu's software center, but if not, you can get it here: https://www.mozilla.org/en-US/firefox/developer/ If it still happens in the developer edition, that tells us this is an actual bug. But if not, it seems more likely to be a problem with some setting or extension in your browser (and you don't have to wait for the next release for a fix that wouldn't work for you anyway). To summarize:
|
[[note to self]]
|
Hi, I have downloaded the Firefox Developer Edition from the link you provided. I only installed the |
Oh interesting! A few possibilities seem most likely to me:
Would you be open to trying Firefox Beta? The only difference between Beta and Developer Edition is Beta uses your existing profile/settings/add-ons. Otherwise they are the same version of Firefox (one version ahead of regular Firefox). If Beta has the problem but Developer Edition does not, that points us in the direction of your settings/add-ons. If both Beta and Developer Edition work OK, that points towards a Firefox bug (fixed in beta) or the SortableJS issue. And if Firefox Beta works for you, hopefully that will resolve your problem in the meantime until I can get a new release done with the SortableJS workaround. |
Hi, I think I have good news for us. Following your instructions and after intensive tests, I found the problem should be caused by one extension, it seems it only exists in Chinese language version Firefox, and I can not find it on the default add-ons search web site of Firefox (https://addons.mozilla.org/). It can be found here (http://mozilla.com.cn/thread-343905-1-1.html), but the web site is in Chinese and it is called |
Awesome, glad to hear it! I took a quick look inside the extension, and it does seem to have some privileged access to Firefox to be able to control drag-and-drop events. Unfortunately there is not much I can do to control for this in Tab Stash (although I will still try to put the workaround and you can see if it helps). The add-on seems to be distributed by Mozilla itself, so if you still want to use it, you might want to open a bug report with them. Glad you were finally able to find the problem! |
Hi, thanks for all your instructions! That helps a lot. The add-on seems to be installed default on the Chinese version. But I am not able to find it on the official add-on website of Firefox. And I also cannot find the official website of that add-on. Could you please tell me how to find the distributor of the add-on and where to raise the issue? |
From what I could see, the "add-on" is baked into the Chinese-language version of Firefox itself and is developed/distributed by Mozilla, so I think the right thing to do is to raise an issue with Mozilla. |
So I checked just now and it seems the drag-and-drop library I'm using already does what I was thinking of doing for the workaround. I don't think there's anything more I can do here, so I'm going to go ahead and close this out. Thanks again for all your help in troubleshooting. Hopefully Mozilla is able to address this in the Chinese version of Firefox, and sorry for the inconvenience! |
Describe the Bug
A clear and concise description of what the problem is.
When the links in the rearranged in the Tab view, the link will be opened in the browser. I think this is unwanted and such behavior does not show if the link is dragged and dropped in the sidebar view.
Steps to Reproduce
Detailed steps to reproduce the problem:
Expected Behavior
A clear and concise description of what you expected to happen.
If the saved link is rearranged in the sidebar view, the function works great. And the expected behavior is that the link is moved without opened in Firefox if the Tab view if used.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: