Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird Animation Glitch! #486

Closed
Healian opened this issue Sep 19, 2014 · 45 comments
Closed

Weird Animation Glitch! #486

Healian opened this issue Sep 19, 2014 · 45 comments
Labels

Comments

@Healian
Copy link

Healian commented Sep 19, 2014

Hello, i am using CefSharp 1.25.3 (for winforms) and i am already blown by it's power and usability however, i noticed that when something is animated it is rendered very badly (some times shatters) and becomes pixelated (when i test on google chrome it is very fine)

This pictures demonstrates what i am talking about (while the one on the right is CefSharp, the one on the left is Google Chrome)... can someone help me in anyway please ?

http://i.imgur.com/TaiDKhR.png

another image http://i.imgur.com/X3acVKB.png

notice the shattering, and bad colors (as if anti aliasing is not working properly)

Also that spinning animation is not steady it keeps shaking (while it is not the case when tested on IE, Chrome, Firefox)... it looks like anti aliasing is not working or something.

@amaitland amaitland added the cef1 label Sep 19, 2014
@Healian
Copy link
Author

Healian commented Sep 19, 2014

any help ?, please if anyone could help do it immediately because i really need that fast help (sorry)

@amaitland
Copy link
Member

Try posting on CefSharp google group.

@Healian
Copy link
Author

Healian commented Sep 20, 2014

can u give me a link please

@realMorrisLiu
Copy link

What link?I am a new user for GitHub and I don’t know how to use GitHub. Therefore, I don’t know how to do the thing you asked me to do.

发自 Windows 邮件

发件人: Healian
发送时间: ‎2014‎年‎9‎月‎20‎日, ‎星期六 ‎11‎:‎00
收件人: cefsharp/CefSharp

can u give me a link please


Reply to this email directly or view it on GitHub.

@realMorrisLiu
Copy link

Sorry

发自 Windows 邮件

发件人: Healian
发送时间: ‎2014‎年‎9‎月‎20‎日, ‎星期六 ‎11‎:‎00
收件人: cefsharp/CefSharp

can u give me a link please


Reply to this email directly or view it on GitHub.

@amaitland
Copy link
Member

@morrieati It would appear you have starred the CefSharp project on github and as a result you will receive notifications for all project activity. Same concept as if you subscribe to a google group, you just get copied in on all project activity. If you have something useful to contribute then by all means respond 😄

@Healian I see you found the google group, hopefully someone there can be of assistance.

@jornh
Copy link
Contributor

jornh commented Sep 20, 2014

Quite "entertaining" dialogue 😉 it had me confused a bit first. Well, you got to make a mistaek sometimes to learn, about GitHub, and anything else ... which I guess by now @Healian did 👍 lol ... Sorry I meant @morrieati ..

@Healian
Copy link
Author

Healian commented Sep 20, 2014

so i won't receive help :D ?

@realMorrisLiu
Copy link

yep,because i am really not able to help you. So sorry.

发自 Windows 邮件

发件人: Healian
发送时间: ‎2014‎年‎9‎月‎20‎日, ‎星期六 ‎23‎:‎44
收件人: cefsharp/CefSharp
抄送: Morris Lew

so i won't receive help :D ?


Reply to this email directly or view it on GitHub.

@Healian
Copy link
Author

Healian commented Sep 21, 2014

@morrieati i mean from the developers... so there is no active community for @cefsharp ?

@Healian
Copy link
Author

Healian commented Sep 21, 2014

@jornh can i have some help ?. am i being trolled here or something ?

@amaitland
Copy link
Member

@Healian Activity around CefSharp1 is very low these days, there's next to no development happening. Searching the upstream Cef project forum may also yield some results as it's possible the issue exists in Cef it's self.

If there is any way to upgrade to CefSharp3 then I'd highly recommend that. If upgrading is not an option then as this project is open source you can always help yourself.

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland the problem is that i am not that good with c++, second it's like an ocean to me how could i figure out the place in which i at least start digging... and unfortunately i can't upgrade to Cef3 because it lacks the javascript binding capability (which i need the most)

@amaitland
Copy link
Member

@Healian The only suggestion I can give is take the plunge and get on board with #480, the more people using and providing feedback on the JsBinding_WIP branch, the quicker we can get a stable release out.

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland !, so it is already done ? and just you are finishing up with it to get a stable release ?

@amaitland
Copy link
Member

@Healian It's done, some people are already using it, so it's quite stable, just need needs more testing before a stable release 😄

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland i will take the risk and use it in my release !... :D if any problems appeared with my users or with me during tests i will make sure to post them here.... amaaazing news 💃

@Healian Healian closed this as completed Sep 22, 2014
@Healian Healian reopened this Sep 22, 2014
@amaitland
Copy link
Member

@Healian If you come up with any problems then feel free to let me know, I'm keen to resolve any remaining issues 😄

There are a few things to note when migrating from CefSharp1 to CefSharp3

  • WebView has been renamed to ChromiumWebBrowser
  • CEF class has been renamed to Cef (note the change in case).
  • You may find a few other things have been renamed as part of our API cleanup, trying to make things more consistent. So just hunt around in the source and you should find things (much of the code has been ported to c# now, so that should make life easier)
  • You can now build either a 32bit or 64bit version based on your requirements.

If you have any problems building from source then let me know, it should Just Work with the latest version of JsBinding_WIP

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland can i get the pre-release directly from nuget for testing now ?, or i have to download the repository here https://github.com/cefsharp/CefSharp/tree/JsBinding_WIP

@amaitland
Copy link
Member

@Healian Building from source is the only option for now, once the changes have been merged into master we'll look at releasing a new set of Nuget packages.

@amaitland
Copy link
Member

I pushed a couple of packages to https://www.myget.org/F/amaitland-cefsharp/
There are packages for

  • WinForms x86 and x64
  • WPF x86 and x64

They haven't been very well tested, so I make no grantees. Simple way to install from nuget package manager console is:
Install-Package -IncludePrerelease CefSharp.WinForms.x86 -Source https://www.myget.org/F/amaitland-cefsharp/

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland great i really appreciate your work... and cefsharp is the best chromium framework out there so keep up the good work plx 👍

@amaitland
Copy link
Member

I pushed a few newer version, trying to get a x64 build working, not quite there yet. so it is best to be specific and use this particular version for now.

Install-Package -IncludePrerelease CefSharp.Wpf.x86 -Version 31.0.0-JSWIP-PRE-10014 -Source https://www.myget.org/F/amaitland-cefsharp/

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland here is the weird thing again... although it doesn't happen with the Cefsharp 3 from nuget it happened with the one i got from the repository... it has to be a very weird animation bug that has to be fixed i hope you investigate it with me. i really don't want this bug to land on the final release of cef3 so we shall take a look on it together today in any time you want.

@Healian
Copy link
Author

Healian commented Sep 22, 2014

@amaitland :D i am waiting you 👍

@amaitland
Copy link
Member

so we shall take a look on it together today in any time you want

@Healian Please remember this is an open source project, not a commercial application with paid support. I think it might be worth taking a quick read of 5 Rules for Getting Started in Open Source in How to start contributing to Open Source

Solving your immediate problem

Summary I believe your missing WebGl dlls which enable 2d/3d acceleration.

@Healian
Copy link
Author

Healian commented Sep 23, 2014

@amaitland i know that it is an open source but does it mean we can't work together to solve an issue... i mean even if you did me that as a favor.. However i will test what you said and tell you what happens.

@amaitland
Copy link
Member

@Healian Ask for help, don't just expect it. Do you get the difference?

@Healian
Copy link
Author

Healian commented Sep 23, 2014

@amaitland thanks

@Healian
Copy link
Author

Healian commented Sep 23, 2014

@amaitland sorry again but after trying everything for 4 days, i came to a conclusion there wasn't a version of cefsharp that works properly with the animation (it was cefglue and i mistaken it with cefsharp) however i don't like cefglue and really eager to use cefsharp... i tried everything all libraries exist everything must work fine but still i get the same animation shaking glitch in a simple css spinner icon. here is a picture of the directory http://i.imgur.com/hMDYzdA.png

@amaitland
Copy link
Member

@Healian Sorry, I don't really have time to look into this further right now.

@Healian
Copy link
Author

Healian commented Sep 23, 2014

@amaitland this is very disappointing.. i hope really that you remember to help me out when you got some time any soon.

@Healian
Copy link
Author

Healian commented Sep 23, 2014

@amaitland after testing further it the problem is related to blur in css, when i set the all elements to 0 blur the shaking stopped so i think this is caused by subpixel rendering... ?

@Healian
Copy link
Author

Healian commented Sep 24, 2014

@amaitland thanks the support here is amazing 👍 i solved the bug by settings the css for all elements to 0 blur but at least i verified that the problem is in Cef itself (so i am not an idiot) and you better not to work on cef 31 as it is fixed in later versions or sub versions... (cefglue using 3.1650.1639 libcef which is working perfectly)

@amaitland
Copy link
Member

@Healian We're in the process of updating CefSharp3 to version 3.1750.1738, if all goes well the changes will be merged sometime over the next week.

Hopefully that fully resolves your problem.

@Healian
Copy link
Author

Healian commented Sep 25, 2014

@amaitland that's great piece of news! i hope everything goes smoothly.

@amaitland
Copy link
Member

Changes have been merged into master can you try your code again and see if the problem has been resolved?

@Healian
Copy link
Author

Healian commented Oct 3, 2014

@amaitland this is fluid as hell, very nice.. the problem has been resolved. the FPS has increased alooot this is very nice GJ guys i wish i could contribute some work to you at some time. I want to ask you a small question though, if i want to handle and async operation in ProcessRequest what should i do to use Async/Await ?. Also has the nuget package been updated too ? because i prefer to use it. Another Also :D, does the WebView name changed to ChromiumWebBrowser ?

@amaitland
Copy link
Member

does the WebView name changed to ChromiumWebBrowser

Correct

if i want to handle and async operation in ProcessRequest what should i do to use Async/Await ?

Your question is too vague, I've got no idea what your actually asking

@Healian
Copy link
Author

Healian commented Oct 4, 2014

@amaitland about the nuget ? has it been uploaded to nuget yet or what... i only can find the 1650 version. (although i am pretty sure that it is somewhere on nuget)

@amaitland
Copy link
Member

@Healian Impatient much?

There is a version on staging.nuget.org, was built last week, doesn't have Js binding though.

https://staging.nuget.org/packages/CefSharp.Wpf/33.0.0-pre2

@Healian
Copy link
Author

Healian commented Oct 4, 2014

@amaitland yeah :D i really like to upgrade my application's ui (as it was built in winfroms and alot of users are complaining) sorry if i am annoying you in anyway 👍 so from what you say the 1750 cef version will have JS Binding too ?

@amaitland
Copy link
Member

sorry if i am annoying you in anyway

I really wish you'd chosen CefGlue! lol

so from what you say the 1750 cef version will have JS Binding too ?

Where exactly did I say that?

@Healian
Copy link
Author

Healian commented Oct 4, 2014

@amaitland lol really :D, you are so straight xD.. i mean i like cefglue but cefsharp has better structure.

@amaitland
Copy link
Member

Anyways, as you've confirmed the original issue has been resolved, I'm going to close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants