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
Mouse right click not working on WEB UI (may be a theme/whitespace issue?) #18754
Comments
Which "item"? |
I can confirm I've been dealing with this same issue, mind you, not only with 4.5.2 but rather most versions I've tried starting with 4.3.9. I feel as though it's a browser error, but I just come up empty everytime I try to look into it. Only issues I'm seeing in Chrome Dev tools are: as well as, If there's anything needed from me to help someone look into this sort of issue, I'm available to do anything. It's become almost a chore to try to navigate the hundreds of active torrents without being able to access that specfic menu. Oh, also worth noting: the "trackers" list, bottom left, is also empty despite having at least a dozen to two dozen active trackers. Apologies if I just hijacked this issue, that's not my intention. |
Didn't it really occur to anyone to provide details about the affected browser? |
To be honest, I've been looking into this exact issue for weeks now and my head hurts from it. But no, I hadn't even thought about it. With that said, I've tried multiple browsers, across multiple systems (windows and linux os) as well Android tablet and phone. I've tried various networks, however, my main system is running: Current docker container I'm using is:
|
I am on macOS13 and Win11, tried Safari and Edge, all seeing this issue. |
Cannot reproduce with latest qBittorrent |
How about "tags" list above it? |
Hey there, so I've tried on a fresh install of ubuntu 22.04 Desktop, and same issues (on top of the multiple systems I've attempted to bypass this issue). In addition, I've also attempted to spin up a new install of qbittorrent and what happened thereafter, is likely the weirdest issue I've come across in regards to this issue; for split second, the problem was gone. I was acutally able to interact with each individual torrent (i.e. selecting force recheck, start,stop, etc..). I then decided to reboot my PC and upon rebooting my laptop, the same issues were back unfortunately. The absolute only thing I could find in dev tools via Chrome is the following. I can't seem to find any info on it either, so no idea where to go. As for tags, that doesn't work. Only options available are Untagged and All. (See second screenshot.) So basically, the only things that I can interact with at this time, are Categories, the top menu options and the options below the list of torrents which list size, peers, etc.. |
#18754 (comment) qBittorrent/src/webui/www/private/scripts/client.js Lines 527 to 537 in eaee38a
|
I'm seeing what I assume is the same issue. On my end the problem has occurred a few times, not only blocking right-clicks but auto-refresh of the ui as well. Tested on both Safari and Chrome (on macOS), running the latest qB on Debian stable in a docker container. Restarting the container didn't help. Deleting a single torrent have made the problem go away, and downloading the exact same torrent again didn't trigger the problem. |
This actually helps me quite a bit. I also seem to be having the issue of the UI not refreshing ( adding/deleting torrents need a manual refresh of the browser in order to see any changes). I've also come across an issue where the entire UI is empty, displaying 0 active torrents when in fact there are several hundred. I'm wondering though, how were you able to track down that one torrent that was causing the issue. My problem is that right now, I have upwards of 500 torrents in qbittorrent, many being cross-seeds. I think the issue will likely be with one of these cross seeding torrents. Im definitely going to give it a shot and try to track down that 1 (hopefully only 1) bad torrent. |
Hm... but this is interesting. And it seems that it may be related to what I mentioned above. Is there any chance that you saved these tags to use them for testing? |
Unfortunately it was more of chance than anything deliberate. I was looking at the interface, no issue, came back a couple of minutes later, noticed the error, checked which torrents had been added the last few minutes and deleted one of them. |
Unfortunately not, if I run into the issue again I'll make sure to take notes. EDIT: fixed typos |
So how was this torrent added after all and where did it get the assigned tags from? Maybe there is a way to reproduce this? |
It was added by autobrr, with some tags like video resolution etc. Unfortunately I cannot remember exactly what torrent it was, and have since changed the autobrr config so I cannot tell you exactly what tags were added. As I mentioned in a reply above, it might have had faulty tags with leading spaces but I cannot confirm this. |
Confirmed that tags with leading spaces cause the problem (tags with trailing spaces should also do, but I have not checked). |
A more detailed investigation revealed that this is not always true. There are still some inconsistencies due to different leading/trailing spaces handling. |
It should use the standard WebAPI as far as I can tell, I'm not the author and haven't done any source diving. It's available at github if you wan't to have a look. I accidentally added a space after "," when entering multiple tags in autobrr's config, and apparently neither it or qB trim the values in this case. |
Gentleman, I just wanted to pop in and say, I've solved my issue with thanks to @cleesieboy. After he mentioned the tag being the issue, I began looking at what information was infront of me in the GUI. Unfortunately, there wasn't much to work with as most things weren't accessible. Upon looking at it a second time, I noticed a very oddly named category with the same name used for a tag (although, tags weren't listed where they nromally would be on the left hand side). Somehow, someway I had enterted the Category and Tag as I truely cannot believe I've gone this long banging my head against a wall, deploying new servers, etc, etc trying to fix this when the entire time it was (likely) due to the fact the tag and/or category had those whitespaces in it. Thanks again for all the help folks! |
Nice! |
A tag with whitespaces within it rather than leading/trailing doesn't trigger this issue for me. My understanding from looking at the source code (though admittedly I'm far from a programmer) is that you shouldn't even be able to delete or assign a 'faulty' tag to a torrent from the Web UI. I had to manually delete the tags from both the config file as well as all torrents with those tags in the SQLite database autobrr use. If the issue was resolved by the steps you describe there's something else that can cause it. |
Can someone locate the whitespace threshold in the code and tweak it to see if this solves the issue? |
Same for me but only in the search tab using Safari 17.0. Right mouse button does nothing. Working with Chromium. This happened since I upgraded to 4.5.5 (docker version on raspberry pi). |
I can confirm, somehow a tag I used regularly disappeared from the tag list in the left but was still present on a torrent. Simply re-adding the tag fixed the issue, but obviously a code update to handle when tags and categories on torrents do not match known tags and categories should still be pursued. Quick Fix TL;DR
|
This problem should be fixed in current |
I encountered this issue today with Chrome on Windows. I looked at this thread and tried Edge and the issue wasn't there. So I figured there was something wrong with my Chrome and disabled all my extensions, then the issue was gone. I found out that the Chrome extension that caused this issue was "Allow Right-Click" which would forbid websites from interfering with my ability to right click in Chrome. |
qBittorrent & operating system versions
qBittorrent: 4.5.2
Operating system: ubuntu 22.04 docker
What is the problem?
Mouse right click not working on WEB UI
Steps to reproduce
right click on the item
Additional context
related issue: linuxserver/docker-qbittorrent#236
No response
Log(s) & preferences file(s)
No response
The text was updated successfully, but these errors were encountered: