Fixed
Status Update
Comments
al...@gmail.com <al...@gmail.com> #2
The problem is very serious.
Currently html5 clearRect isn't working within any android 4 devices.
Please, solve this problem as soon as possible.
Currently html5 clearRect isn't working within any android 4 devices.
Please, solve this problem as soon as possible.
ap...@google.com <ap...@google.com> #3
we have the same problem
We are waiting for a patch since November because none of the workaround we have tried is stable.
We hope that the patch will come before the launching of our app and if not...well, sadly, we will launch the app on iOS and windows only
We are waiting for a patch since November because none of the workaround we have tried is stable.
We hope that the patch will come before the launching of our app and if not...well, sadly, we will launch the app on iOS and windows only
al...@gmail.com <al...@gmail.com> #4
[Comment deleted]
[Deleted User] <[Deleted User]> #5
Still appears to be an issue as I'm getting quirky results when trying clearRect in a loop. #3 solution is good but too heavy to work in a loop.
se...@google.com <se...@google.com> #6
What about using requestAnimationFrame for loop rather than using a timer loop ?
al...@gmail.com <al...@gmail.com> #7
Hey, this is a serious issue that is affecting our production components, could someone please look into this???
sa...@gmail.com <sa...@gmail.com> #8
is there any solvtion for that issue ?
al...@gmail.com <al...@gmail.com> #9
Something like that works for me:
function bug_workaround() {
$(canvas).hide();
setTimeout(function() {
$(canvas).show();
}, 1);
}
I call this function after clear.
function bug_workaround() {
$(canvas).hide();
setTimeout(function() {
$(canvas).show();
}, 1);
}
I call this function after clear.
al...@gmail.com <al...@gmail.com> #10
Opacity trick is better because will not initiate page reflow and hide /
show will.
show will.
[Deleted User] <[Deleted User]> #11
which trick would that be? modify the opacity?
is...@gmail.com <is...@gmail.com> #12
Yes,
function bug_workaround() {
canvas.style.opacity = 0.99;
setTimeout(function() {
canvas.style.opacity = 1;
}, 1);
}
function bug_workaround() {
canvas.style.opacity = 0.99;
setTimeout(function() {
canvas.style.opacity = 1;
}, 1);
}
ka...@gmail.com <ka...@gmail.com> #13
[Comment deleted]
yu...@gmail.com <yu...@gmail.com> #14
Hi,
I'm having the same problem but the workaround doesn't seem to help. Was wondering if this issue is somehow fixed by now?
Thank You.
I'm having the same problem but the workaround doesn't seem to help. Was wondering if this issue is somehow fixed by now?
Thank You.
li...@gmail.com <li...@gmail.com> #15
This opacity hack works for me. I've had this issue on 4.1.1 and 4.1.2, both Galaxy S3 and the S3 mini.
Calling this function between clearing the canvas and the next draw call seems to have fixed the problem.
function bug_workaround() {
canvas.style.opacity = 0.99;
setTimeout(function() {
canvas.style.opacity = 1;
}, 1);
}
Thanks, dennis.ra!
Calling this function between clearing the canvas and the next draw call seems to have fixed the problem.
function bug_workaround() {
canvas.style.opacity = 0.99;
setTimeout(function() {
canvas.style.opacity = 1;
}, 1);
}
Thanks, dennis.ra!
ay...@gmail.com <ay...@gmail.com> #16
The opacity trick doesn't seem to work for me (Android 4.3).
Hide & show causes a lot of nasty flicker.
This solution works form me:
https://medium.com/@dhashvir/android-4-1-x-stock-browser-canvas-solution-ffcb939af758
But only the second one:
canvas.clearRect(0, 0, w, h);
canvas.style.display = 'none';// Detach from DOM
canvas.offsetHeight; // Force the detach
canvas.style.display = 'inherit'; // Reattach to DOM
Performance hit seems to be minimal for my app (game with multiple canvas one over another).
Hide & show causes a lot of nasty flicker.
This solution works form me:
But only the second one:
canvas.clearRect(0, 0, w, h);
canvas.style.display = 'none';// Detach from DOM
canvas.offsetHeight; // Force the detach
canvas.style.display = 'inherit'; // Reattach to DOM
Performance hit seems to be minimal for my app (game with multiple canvas one over another).
ay...@gmail.com <ay...@gmail.com> #17
seems android 4.1/4.2/4.3 both have this problem?
s3...@gmail.com <s3...@gmail.com> #20
c
pi...@gmail.com <pi...@gmail.com> #21
Fovof d
pi...@gmail.com <pi...@gmail.com> #22
Ro dbod
ho...@gmail.com <ho...@gmail.com> #23
Actuvar
ga...@gmail.com <ga...@gmail.com> #24
Mantap
ka...@gmail.com <ka...@gmail.com> #25
Hloo
ka...@gmail.com <ka...@gmail.com> #26
osmanvhuyan
gu...@gmail.com <gu...@gmail.com> #27
Li
gu...@gmail.com <gu...@gmail.com> #28
mo...@gmail.com <mo...@gmail.com> #29
Ok
da...@gmail.com <da...@gmail.com> #30
thanks
Description
Version used: 2.0.0-beta01
Project:
Issue: com.firebase.ui.auth.data.remote.SignInKickstarter has its <init>(Application) removed.
Workaround: don't specify the allowshrinking option:
-keepclassmembers,allowobfuscation class * extends androidx.lifecycle.AndroidViewModel {
<init>(android.app.Application);
}