Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.03k stars 414 forks source link

webui.fls.view: true breaks right click in Files tab #2785

Closed anthonyryan1 closed 1 week ago

anthonyryan1 commented 1 week ago

What would you like changed about the web client?

Screenshot from 2024-11-08 22-55-53

Switching the list view breaks the right click, menu and removes the ability to switch back to the other view without editing the settings.

TypeError: entry is undefined from rDirectory.prototype.isDirectory@https://kibo.whatbox.ca/webui/js/common.js?v=51B4:1062:2
plugin.ui.handleTorrentFilesMenu@https://kibo.whatbox.ca/webui/# line 2 > injectedScript:2846:51
plugin.ui.init/theWebUI.createFileMenu@https://kibo.whatbox.ca/webui/# line 2 > injectedScript:3014:31
flsSelect@https://kibo.whatbox.ca/webui/js/webui.js?v=51B4:1239:19
onselect@https://kibo.whatbox.ca/webui/js/webui.js?v=51B4:53:40
dxSTable.prototype.selectRow@https://kibo.whatbox.ca/webui/js/stable.js?v=51B4:1100:8
dxSTable.prototype.handleClick@https://kibo.whatbox.ca/webui/js/stable.js?v=51B4:258:8
mouseclick/</<@https://kibo.whatbox.ca/webui/js/common.js?v=51B4:103:64
dispatch@https://kibo.whatbox.ca/webui/js/jquery.js?v=51B4:2:40035
add/v.handle@https://kibo.whatbox.ca/webui/js/jquery.js?v=51B4:2:38006

Describe the solution you'd like and propose possible alternatives.

TBD (not yet fully investigated)

Provide information and resources about the environment hosting the web client.

ruTorrent: 5.1_beta4 Browser: Firefox 132.0.1 PHP: 8.3.13 OS: Gentoo Linux (rolling release) Install script: Roughly https://gitweb.gentoo.org/repo/gentoo.git/tree/www-apps/rutorrent/rutorrent-4.3.9.ebuild

Additional context

No response

jevenski commented 1 week ago

This might be an issue related to the filemanager plugin. There have been discussions about this issue: https://github.com/Novik/ruTorrent/issues/2631

anthonyryan1 commented 1 week ago

I've confirmed the issue stops when the file manager plugin is disabled or removed. My apologies for reporting a 3rd party plugin bug. I'll address it with the correct repository.