Sketchware-Pro / Sketchware-Pro

Sketchware Pro's sources in Java. Now anyone can contribute to Sketchware Pro.
https://sketchware.pro
Other
863 stars 254 forks source link

Weird Block Behavior #611

Closed oong819 closed 1 year ago

oong819 commented 1 year ago

Cant really describe this but look at the screenshots

app version: sorry dont remember i download it from actions tab

but i have a download link form browser download history https://pipelines.actions.githubusercontent.com/serviceHosts/523ebe16-815d-4d58-b433-717bd98e7c9a/_apis/pipelines/1/runs/371/signedartifactscontent?artifactName=apk-minApi21-debug&urlExpires=2022-10-14T04%3A39%3A08.7236327Z&urlSigningMethod=HMACV2&urlSignature=qZAeNmcsA1uviXzhn%2F2o%2BfXgBeIEScp4%2Bnm%2Bk10bxEU%3D

this bug also happen in 6.4.0 rc4

sorry dont have enough storage to record a video

Screenshot_20221014-144815 Screenshot_20221014-144823 Screenshot_20221014-144826 Screenshot_20221014-144832 Screenshot_20221014-144846 Screenshot_20221014-144910 Screenshot_20221014-144916

JavkhlanK commented 1 year ago

Can you share the project as SWB instead? I wasn't able to reproduce such Block bugs in my projects so far.

oong819 commented 1 year ago

Can you share the project as SWB instead? I wasn't able to reproduce such Block bugs in my projects so far.

robally ncdt hours m y creen g8chding

JavkhlanK commented 1 year ago

what

oong819 commented 1 year ago

what

my screen glitching and im using soft keyboard

project file here (rename it from png to zip) Expluke

JavkhlanK commented 1 year ago

Thanks, I'll look into that.

JavkhlanK commented 1 year ago

Wait, I can't really restore this. Can you use this option instead?

Screenshot_20221014_202532_Sketchware Pro

oong819 commented 1 year ago

Wait, I can't really restore this. Can you use this option instead?

Screenshot_20221014_202532_Sketchware Pro

sorry deleted the app to save storage but i compressed all the .sketchware folder after deleted unessessary things sketchware also how to enable proguard with out error? its no such method when proguarding class on compilation

JavkhlanK commented 1 year ago

I'll have a look again, thanks.

To the ProGuard issue, can you show the entire error message?

oong819 commented 1 year ago

I'll have a look again, thanks.

To the ProGuard issue, can you show the entire error message?

sorry i unintalled Sketchware Pro, will screenshot in future

oong819 commented 1 year ago

I'll have a look again, thanks.

To the ProGuard issue, can you show the entire error message?

ohno i lost my project its dont appesr i should not delete mysc folder

is it able to recover the project from those folder i sent?

oong819 commented 1 year ago

I'll have a look again, thanks.

To the ProGuard issue, can you show the entire error message?

java.lang.NoSuchMethodError: No direct method (Ljava/io/File;Ljava/nio/charset/Charset;)V in class Ljava/util/zip/ZipFile; or its super classes (declaration of 'java.util.zip.ZipFile' appears in /system/framework/core-libart.jar) at proguard.io.JarReader.read(JarReader.java:72) at proguard.io.DirectorySource.readFiles(DirectorySource.java:68) at proguard.io.DirectorySource.pumpDataEntries(DirectorySource.java:54) at proguard.InputReader.readInput(InputReader.java:262) at proguard.InputReader.readInput(InputReader.java:230) at proguard.InputReader.readInput(InputReader.java:207) at proguard.InputReader.execute(InputReader.java:157) at proguard.ProGuard.readInput(ProGuard.java:310) at proguard.ProGuard.execute(ProGuard.java:113) at a.a.a.Dp.runProguard(Dp.java:973) at mod.hey.studios.project.proguard.ProguardHandler.start(ProguardHandler.java:216) at com.besome.sketch.design.DesignActivity$BuildAsyncTask.b(DesignActivity.java:1052) at a.a.a.MA.a(Unknown Source) at com.besome.sketch.design.DesignActivity$BuildAsyncTask.doInBackground(DesignActivity.java:1176) at com.besome.sketch.design.DesignActivity$BuildAsyncTask.doInBackground(DesignActivity.java:928) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

JavkhlanK commented 1 year ago

I'll have a look again, thanks.

To the ProGuard issue, can you show the entire error message?

ohno i lost my project its dont appesr i should not delete mysc folder

is it able to recover the project from those folder i sent?

Yeah it's possible, no worries.

JavkhlanK commented 1 year ago

I'll have a look again, thanks.

To the ProGuard issue, can you show the entire error message?

java.lang.NoSuchMethodError: No direct method (Ljava/io/File;Ljava/nio/charset/Charset;)V in class Ljava/util/zip/ZipFile; or its super classes (declaration of 'java.util.zip.ZipFile' appears in /system/framework/core-libart.jar) at proguard.io.JarReader.read(JarReader.java:72) at proguard.io.DirectorySource.readFiles(DirectorySource.java:68) at proguard.io.DirectorySource.pumpDataEntries(DirectorySource.java:54) at proguard.InputReader.readInput(InputReader.java:262) at proguard.InputReader.readInput(InputReader.java:230) at proguard.InputReader.readInput(InputReader.java:207) at proguard.InputReader.execute(InputReader.java:157) at proguard.ProGuard.readInput(ProGuard.java:310) at proguard.ProGuard.execute(ProGuard.java:113) at a.a.a.Dp.runProguard(Dp.java:973) at mod.hey.studios.project.proguard.ProguardHandler.start(ProguardHandler.java:216) at com.besome.sketch.design.DesignActivity$BuildAsyncTask.b(DesignActivity.java:1052) at a.a.a.MA.a(Unknown Source) at com.besome.sketch.design.DesignActivity$BuildAsyncTask.doInBackground(DesignActivity.java:1176) at com.besome.sketch.design.DesignActivity$BuildAsyncTask.doInBackground(DesignActivity.java:928) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)

This looks like what Pranav meant with a too new ProGuard version for minApi21 builds. Will fix soon, thanks for reporting!

oong819 commented 1 year ago

crash in pic1 freeze in pic2

pic1 Screenshot_20221018-194728 pic2 Screenshot_20221018-194755

oong819 commented 1 year ago

this seems like just visual glitch, dont affect code

Screenshot_20221023-125609 Screenshot_20221023-125615 Screenshot_20221023-125617 Screenshot_20221023-125620 Screenshot_20221023-125644

JavkhlanK commented 1 year ago

I think I've fixed all those bugs recently, could you try using the latest snapshot build from this link?

Arashvscode commented 1 year ago

I tested the last action and it was fine, thanks

oong819 commented 1 year ago

Yay finally

oong819 commented 1 year ago

I think I've fixed all those bugs recently, could you try using the latest snapshot build from this link?

uhhh Screenshot_20221109-194523

version: Version v6.4.0-SNAPSHOT-d7fbf56-minApi21

JavkhlanK commented 1 year ago

That Event was probably corrupted by previous buggy snapshot builds. Try using the Reset option in the Events list.

oong819 commented 1 year ago

That Event was probably corrupted by previous buggy snapshot builds. Try using the Reset option in the Events list.

Screenshot_20221109-230711 Screenshot_20221109-230717 Screenshot_20221109-230824

amazing error code

JavkhlanK commented 1 year ago

Just reset it already, the Event is corrupted.

oong819 commented 1 year ago

Just reset it already, the Event is corrupted.

i copy the block to the collection and reset it before those screenshots

JavkhlanK commented 1 year ago

Don't do that, you'll just copy those corrupted Blocks to Collections.