G33kDude/Neutron.ahk

Animations (Transitions) are Laggy

Closed this issue · 4 comments

Good day GeekDude!
Just wondering why it is some time animation on Neutron is laggy comparing with the actual IE11 when it is using the same jquery animations (transitions). Specially, I am using OverlayScrollbar plugin to make custom scrollbar, It run very smooth on IE11 but it is a bit jumping on Neutron. (Should they are identical because Neutron use the same core as IE11?)
If it is OverlayScrollbar issue, when open web page on IE11 it would have been lagging too... So, I hope I can get the answer from you.
Thanks!

You should enable GPU rendering for the IE webview by adding a DWORD value for your script in the registry Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_GPU_RENDERING.

Like this
image

@SaifAqqad sorry, but it doesn't help anything 🤷🏻‍♂️

Are you running the script compiled or not?
if not, you need to add the registry key for AutoHotkey.exe or whatever version your script is running on (like AutoHotkeyU64.exe)

you can do it from your script using RegWrite

   key_dir:= "SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\"
   SplitPath, A_AhkPath, ahk_exe
   script_exe:= A_IsCompiled? A_ScriptName : ahk_exe
   RegWrite, REG_DWORD, HKCU, % key_dir . "FEATURE_GPU_RENDERING", % script_exe, 0x1

also try setting the FEATURE_BROWSER_EMULATION to IE11 (0x2AF8)

   RegWrite, REG_DWORD, HKCU, % key_dir . "FEATURE_BROWSER_EMULATION", % script_exe, 0x2AF8

@SaifAqqad Feel like it helps a little bit. Can't tell. But thank you anyway!!!