[ext] Yet Another Smooth Scrolling

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
pirlouy
Posts: 232
Joined: February 11th, 2005, 6:29 am
Location: France

Post by pirlouy »

Leaks in window 0x26d56e0:
[+] [leaked object] (3458ee8) = [Object]
[+] lastfunc (271a3f8, chrome://yass/content/main.js, 259-336) = [Function]
[ ] prototype (13d6040) = [Object]
[+] stack (3458e88) = [Array]
[ ] 0 = chrome://yass/content/contextmenu.xul
[+] observe (3458e80, chrome://yass/content/main.js, 390-392) = [Function]
[ ] prototype (1378e10) = [Object]
Ven0m
Posts: 60
Joined: June 15th, 2004, 2:33 pm

Post by Ven0m »

Hi
This is a really great externsion, however it has one a little irritating flaw:
When I scroll down, stop, scroll up, then just before scrolling up, it tends to scroll down a bit.

It only happens when scrolling with a mouse.
My specs:
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9b2) Gecko/2007121120 Firefox/3.0b2
Microsoft mouse with smooth scroll wheel, drivers: IntelliPoint 6.1
kataho
Posts: 44
Joined: October 19th, 2007, 10:11 am
Location: Tokyo, Japan

Post by kataho »

@pirlouy
I tried on both Fx 2.0.0.11 and 3b2 still have no popup even with old leak monitor extension which has some false positive bug. Anyway, the object listed is allocated only once at each initialization of a window. And it contains two references for a function and few lines of string. It will not be a cause of a serious problem, Even if it is an actual leak.

@Ven0m
Maybe It is a problem only on smooth scroll wheel, I don't sure. How is that with a wheel which has click on scroll?
Ven0m
Posts: 60
Joined: June 15th, 2004, 2:33 pm

Post by Ven0m »

Too bad I haven't got such mouse right now...
However it gave me one idea - I have "Accelerated scrolling" option in drivers. Disabling it removed the problem in Firefox, but then it's difficult to use scroll in other programs - if only your plugin worked for all the software :)

I can see this issue only in this situation:
- scroll down
- wait till it stops scrolling
- scroll up
- it scrolls down just a little, then up

If I scroll up before it stops, it seems that this problem doesn't appear. It's also ok, when I scroll up, stop, scroll down. Weird thing...
Don't worry too much - web pages are scrolled usually downwards, even when scrolling up it's only a small glitch and not very noticeable.

I <3 "default blue mode" - it's just perfect for my screen & mouse combo (21" CRT 1600x1200, Microsoft Wireless Laser Mouse 6000).
(changed 1-line speed + acceleration to 3-line speed + no acceleration and it gives no problems in FF and is acceptable in other apps)
kataho
Posts: 44
Joined: October 19th, 2007, 10:11 am
Location: Tokyo, Japan

Post by kataho »

@Ven0m
It is my surprise, with smooth non-click wheel, the extension works almost fine even with a bit of problem. I expcted that would not work at all.

Heard that problem happens only while scroll down and up action, I found a point may fix that problem, and implemented on the sample page for a trial.
Open this page and give it a try. ** Be sure to disable YASS and restart Fx first.
http://www.aa.alpha-net.ne.jp/kataho/xp ... ample.html
Ven0m
Posts: 60
Joined: June 15th, 2004, 2:33 pm

Post by Ven0m »

When I disable YASS and open this page, scrolling works just as it should.
I tried a few driver settings and I can see no glitches.
User avatar
pirlouy
Posts: 232
Joined: February 11th, 2005, 6:29 am
Location: France

Post by pirlouy »

kataho wrote:@pirlouy
I tried on both Fx 2.0.0.11 and 3b2 still have no popup even with old leak monitor extension which has some false positive bug. Anyway, the object listed is allocated only once at each initialization of a window. And it contains two references for a function and few lines of string. It will not be a cause of a serious problem, Even if it is an actual leak.

Indeed, after having created a new profile, I don't have problem anymore...
But I persist, instead of all that options, one is enough: "use simple settings" which would disable green and blue settings, statusbar icon and contextual menus...
kataho
Posts: 44
Joined: October 19th, 2007, 10:11 am
Location: Tokyo, Japan

Post by kataho »

@Ven0m
Thank you for your report! That fix will be applied to next release.

@pirlouy
I'm feeling enough of struggle with XUL on Mozilla for properties dialog. There are many unimplemented XUL attributes and bugs are leave unfixed. It is so annoying. Actually, there is an attribute for disabling tabs. But it is not prevent tabs recieving events, it just makes tab label color to gray. So interesting. It needs a extra work to make actual disable of tabs.
Like you want on this extension's properties dialog box, simple is good. The options in view pane is for simply toggling separated modules to load. Just let my implementation go simple way.
User avatar
Recall
Posts: 1686
Joined: November 7th, 2004, 11:07 am
Location: United Kingdom

Post by Recall »

Kataho, could you add an option like smoothwheel that allows you to set the fps limit? So for example I used to set smoothwheel to 60fps as that is my current refresh rate.
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
kataho
Posts: 44
Joined: October 19th, 2007, 10:11 am
Location: Tokyo, Japan

Post by kataho »

I want it too if possible. removing tearing while scrolling and whole synchronized animation. What prevent this is resolution of timing of bachground routine to be woken up. It is at least 1/64 sec each, even if we call setTimeout at 1 msec idle time. That means we are only allowed to have 64 fps, 32 fps and 16 fps 8 fps.

But this is how my Firefox on my environment goes and I am not sure how others go. So I have made sample page into time beween frames viewable. open sample page and let me know what frametime log says. it is placed on top of the page.
http://www.aa.alpha-net.ne.jp/kataho/xp ... ample.html
Maybe you will have 15,16,17 and multiples of them.
User avatar
Recall
Posts: 1686
Joined: November 7th, 2004, 11:07 am
Location: United Kingdom

Post by Recall »

Hi kataho, here is my timeframe

Smooth scrolling enabled:

16,15,15,26,16,16,31,15,16,17,46,17,47,17,17,14,14,14,13,16,16,27,15,16,16,15,16,15,16,16

Smooth scrolling disabled:

16,15,16,16,15,16,15,16,17,31,13,14,15,16,16,15,16,15,16,16,15,16,15,16,16,15,16,15,16,16

I just noticed the frametime changes as I move the page, so not sure how helpful this is?
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
kataho
Posts: 44
Joined: October 19th, 2007, 10:11 am
Location: Tokyo, Japan

Post by kataho »

Thank you Recall. and yes. That is helpful and is as I expected. And sorry to say, making animation frame rate consistancy is difficult to implement. That result shows, We extensions side, we are not allowed to do something at very correct time.
irkregent
Posts: 176
Joined: July 15th, 2003, 9:04 am

Post by irkregent »

I like this extension, but found that on GMail's Compose page the Up and Down cursor keys do not work inside the mail body text. Disabling this extension fixes the problem.
User avatar
Recall
Posts: 1686
Joined: November 7th, 2004, 11:07 am
Location: United Kingdom

Post by Recall »

kataho, you need to bump your version to keep compatibility with nighty builds.

We are now at:

3.0b4pre

It continues to work perfectly on these builds, so no problem with a version compatibility bump :)

Also, here is a site that shows classic problems with screen tearing:

http://www1.plala.or.jp/tete009/en-US/
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008051206 Firefox/3.0
User avatar
geodxann
Posts: 2
Joined: March 19th, 2005, 1:29 am

installation succeeds, but app fails

Post by geodxann »

I just installed the latest version of YASS and it doesn't work. It shows in the add-ons applet and I can access options, disable, enable, etc, but I have no context menu or status bar icon

I'm running Firefox v.2.0.0.11. (I just now installed v.2.0.0.12, but haven't tried YASS since) I have been using SmoothWheel, but disabled it before installing YASS. I then uninstalled SW & YASS and re-installed YASS alone, still no go.

I have listed my FF info below. Also, if this is covered in the forum, just let me know where & I'll check it out.

TIA,

geo

----------------------------------------------------------------------------

Last updated: Sat, 09 Feb 2008 13:36:22 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Extensions (enabled: 43, disabled: 12):

* Adblock 0.5.3.043
* Auto Copy 0.6.4
* Clear Fields 2.0
* Clipmarks 3.0.2
* Cookie Button 0.8.9
* Cookie Button in the status bar 0.8.9
* CookieCuller 1.3.1
* CuteMenus - Crystal SVG 1.9.2
* deskCut 0.5.0.5
* DOM Inspector 1.8.1.12
* Download Statusbar 0.9.5.3
* DownloadHelper 2.6.1
* Favicon Picker 2 0.3.4.3
* Firebug 1.05
* Firefox Companion for eBay 1.1.1
* Flat Bookmark Editing 0.8.1
* FormFox 1.6
* Foxmarks Bookmark Synchronizer 2.0.43 [disabled]
* functions for keyconfig 1.3.7
* Grab and Drag 2.5.0.3
* Greasemonkey 0.7.20080121.0
* IE Tab 1.3.3.20070528
* iMacros for Firefox 6.0.2.1 [disabled]
* InfoLister 0.9f.2
* InFormEnter 0.5.3
* Java Console 6.0.03
* Java Console 6.0.01
* keyconfig 20060828.1
* KeywordSelection 0.3.2 [disabled]
* Media Pirate - The video downloader 2.3
* MediaPlayerConnectivity 0.8.3
* Menu Editor 1.2.3.3
* Mouse Gestures 1.5.2 [disabled]
* MR Tech About:About 2.4
* NoScript 1.3.2
* Nuke Anything Enhanced 0.65 [disabled]
* Open link in... 1.4.1
* OpenBook 1.3.4.1
* OpenDownload 1.0.0
* OpenNewWindowFromHere 0.3
* Options Menu 1.4
* PDF Download 1.0.1.0
* RichScrollbar 0.1
* Save Link in Folder 1.3.4
* ScribeFire 1.4.2 [disabled]
* SecurePassword Generator 0.5.4 [disabled]
* Smart Bookmarks Bar 1.3.1
* SubmitToTab 0.3.5 [disabled]
* Tab Mix Plus 0.3.6
* Tabs Menu 1.4.8
* Talkback 2.0.0.12 [disabled]
* Toolbar Buttons 0.4.5.2
* Web Developer 1.1.4 [disabled]
* Xinha Here! 0.10.0 [disabled]
* Yet Another Smooth Scrolling 2.0.2 [disabled]

Themes (3):

* Acid Burn 1.3alpha2
* Firefox (default) 2.0
* Noia 2.0 (eXtreme) 3.371 [selected]

Plugins (16):

* DivX Player Netscape Plugin
* DivX® Content Upload Plugin
* DivX® Web Player
* IE Tab Plug-in
* Java(TM) Platform SE 6 U3
* Microsoft® DRM
* MoveNetworks Quantum Media Player
* Mozilla Default Plug-in
* QuickTime Plug-in 7.0.2
* RealJukebox NS Plugin
* RealPlayer Version Plugin
* RealPlayer(tm) G2 LiveConnect-Enabled Plug-In (32-bit)
* Shockwave Flash
* Shockwave for Director
* VLC Multimedia Plugin
* Windows Media Player Plug-in Dynamic Link Library
Post Reply