elliotwaite / thumbnail-rating-bar-for-youtube

A Chrome and Firefox extension for YouTube that adds a rating bar (likes/dislikes ratio) to the bottom of every thumbnail.
https://chrome.google.com/webstore/detail/youtube-thumbnail-rating/cmlddjbnoehmihdmfhaacemlpgfbpoeb
MIT License
249 stars 17 forks source link

[Bug] (LibreWolf) Rating bar on video page doesn't scale correctly with exponential scaling on #77

Closed RenegadeScooter closed 1 year ago

RenegadeScooter commented 1 year ago

Screenshot 2022-09-26 213324 Exponential scaling should make this video page rating bar half-green and half-red because the video has 90% likes, but instead all except one pixel is red. I am using LibreWolf version 105.0.1-1, based on the same version of Firefox. I took the screenshot at 75% zoom.

RenegadeScooter commented 1 year ago

Screenshot 2022-09-26 220554 In this case, the bar is completely red despite the video having 99.6% likes.

elliotwaite commented 1 year ago

@RenegadeScooter, thanks for reporting this issue. I noticed that the thumb icons are green and red. Do you have a custom YouTube theme or something like that installed through some other extension? If so, that extension and this one may be interfering with each other in how they are trying to update that rating bar.

RenegadeScooter commented 1 year ago

Screenshot 2022-09-27 005623 The only YouTube-related extensions I have are SponsorBlock, Return YouTube Dislike, Thumbnail Rating Bar, Enhancer for YouTube and vidIQ Vision. Return YouTube Dislike and Thumbnail Rating Bar are the only ones that control the rating bar. I have Enhancer for YouTube enforcing the official dark theme, and disabling that setting doesn't solve the issue. Here are my settings for Return YouTube Dislike and Thumbnail Rating Bar, if it helps: Screenshot 2022-09-27 005141 Screenshot 2022-09-27 005318

elliotwaite commented 1 year ago

Thanks, I'm able to reproduce the issue with those Return YouTube Dislike settings. I'll work on a solution and let you know when I have an update.

elliotwaite commented 1 year ago

I just released a fix (version 1.8.6). You should be able to update the extension from your browser's Extensions page, although I'm not familiar with LibreWolf. When you get the chance, feel free to try it out and let me know if it resolves the issue for you.