[Bug]: Sorting on channnel pages isnt working
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads of FreeTube.
- [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
- [x] I have read and agree to follow the rules.
Describe the bug
YouTube probably made some changes which is why we are experiencing this.
Case A:
- Navigate to the Video/Shorts/Live tab on a channel page
- Click an option in the dropdown to sort videos
- See that videos arent getting sorted and dropdown disappears
Case B:
- Navigate to the Video/Shorts/Live tab on a channel page
- There is no dropdown to sort videos
Expected Behavior
Dropdown to sort videos should always be present and working as expected
Issue Labels
feature stopped working
FreeTube Version
v0.23.13-nightly-6941 Beta
Operating System Version
Windows 11 IoT Enterprise LTSC 24H2
Installation Method
.exe
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
- [x] I have encountered this bug in the latest nightly build.
I have also encountered this in v0.23.13 Beta, but it is inconsistant on shorts. Sometimes it shows up and works and sometimes it does not.
I can confirm I'm also experiencing this. Went to the "videos" tab, sort by "oldest." Fails to change the sort, drop down disappears.
I've also experienced case B (using v0.23.13). I've attached what I believe to be relevant console logs from the channel page (example channel where the error occurred).
Dev Console Logs
renderer.js:2 [YOUTUBEJS][Parser]: tD: Something went wrong at ChannelSubMenu!
This is a bug, please report it at https://github.com/LuanRT/YouTube.js/issues
at qL (app://bundle/renderer.js:2:1642825)
at tM (app://bundle/renderer.js:2:1651932)
at new LS (app://bundle/renderer.js:2:1445398)
at tM (app://bundle/renderer.js:2:1651803)
at new cA (app://bundle/renderer.js:2:1606857)
at tM (app://bundle/renderer.js:2:1651803)
at nM (app://bundle/renderer.js:2:1652087)
at new NA (app://bundle/renderer.js:2:1612080)
at tM (app://bundle/renderer.js:2:1651803)
at iM (app://bundle/renderer.js:2:1652417)
2 @ renderer.js:2
It seems to be an upstream problem and was already reported in the Youtube.js repo (https://github.com/LuanRT/YouTube.js/issues/1140).
I've tried the fix, not the root cause, it's https://github.com/LuanRT/YouTube.js/issues/1142
Seems to still not be working, even with the most recent nightly build (7104), with updated youtube.js and search filters fix (https://github.com/FreeTubeApp/FreeTube/pull/8812)
@BitSynKed that is because it addressed Search filters not Channel sorting
Hi @efb4f5ff-1298-471a-8973-3d47447115dc, do you have any update on this ? Thanks again for your work.
@cdnia its a bit complicated. Like mentioned in the issue this is due to YouTube changing stuff but they didnt fully roll it out yet which means we need to support the new way of handling the sorting but also the old way. Doing that makes a huge spaghetti mess in the code which we would rather avoid because that would lead to breaking this on our side more often.
@efb4f5ff-1298-471a-8973-3d47447115dc, thank you very much for taking the time to explain it to me in detail. Have a great day.