daviddeutsch / yt-sanegrid

YouTube abandoned the subscription grid view. This has made a lot of people very angry and been widely regarded as a bad move.
http://daviddeutsch.github.io/yt-sanegrid/
GNU General Public License v3.0
35 stars 10 forks source link

Sluggish scrolling #45

Closed thany closed 11 years ago

thany commented 11 years ago

As long as watched videos are visible (see my other issue ;)) the grid is quite hefty. Scrolling the page is quite sluggish, and I know why.

When the mouse cursor is over a video, probably a script executes to show more buttons. That also happens while scrolling (with the mouse wheel). When the mouse cursor is over the scrollbar, scrolling is smooth.

Either make some sort of delay, or make the mouseovers entirely in CSS.

Opera 12.16 on Windows 7.

daviddeutsch commented 11 years ago

Mouseovers already are entirely CSS, so I'm not sure how to improve this right now... Any idea?

thany commented 11 years ago

Okay, well I didn't look into it that much. I just assumed it was javascript because it was sluggish.

Well, I have come across some tricks to prevent mouseovers from happening while scrolling. Sadly I didn't save them and right now I don't have time to look them up. I think they involved catching a javascript "scrolling" event and disabling mouseovers for, say, a second after such event had fired. Since it's entirely written in css, disabling them temporarily should in itself be trivial. Knowing when the user is scrolling?...

You could also try a CSS transition delay, maybe that'll help. I'll be happy to test it out for you, when I have some more time ;)

daviddeutsch commented 11 years ago

The biggest problem with this for me is that I don't even get sluggish scrolling in any browser I test, so while I could try to look for ways to improve it, I wouldn't really be able to test whether it actually works.

Anyways - if you find anything that I can use, I'd be more than happy to use it.

thany commented 11 years ago

Maybe your computer is blazingly fast then :) Mine is an "old" Core 2 Quad Q9450. Still very fast I think, but not "up there" anymore. Should be sufficient for browsing though ;)

Remember, I only get this issue on Opera 12 (I know there's newer version, but the newer ones are a horrible mess, so I feel forced to stick with this version for now), and while the mouse cursor is on the grid.

HJGreen commented 11 years ago

I've spent a few minutes comparing Opera 12.16 and 16.0 (latest version) side by side.

This is more of a browser issue, rather than a bug. Opera 12.16 performs significantly worse when scrolling the page, and removing the CSS transitions didn't seem to make any noticable difference. One thing that did help was disabling Smooth scrolling from the Preferences window: (Ctrl+F12 > Advanced > Browsing)

Otherwise the only thing I can suggest is upgrading your browser to the latest version. You should be able to install it alongside 12.16 to try it out. The 12.16 installer is also available towards the bottom of this page if required: http://www.opera.com/computer/windows

daviddeutsch commented 11 years ago

Yeah, I'm pretty sure this is just a problem with the old Opera - I see it in no other browser. Will close this bug report.

If anybody finds something, feel free to post here, I'd be happy to reopen it.