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

Canvas can no longer be really big #2404

Open
2 of 7 tasks
ewpatton opened this issue Jan 29, 2021 · 0 comments
Open
2 of 7 tasks

Canvas can no longer be really big #2404

ewpatton opened this issue Jan 29, 2021 · 0 comments

Comments

@ewpatton
Copy link
Member

Describe the bug

Power users group: It used to be that the canvas could have really large width/height, but this is no longer the case. Making a large canvas crashes the app. This is due to the fact that in older versions of App Inventor we used software rendering but newer versions of App Inventor use hardware rendering. Hardware rendering places constraints on the size of resources drawn on the canvas object, and the background image violates those constraints in large Canvas components.

Affects

  • Designer
  • Blocks editor
  • Companion
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

Large Canvas objects should not crash the companion (although at some point we will have OOM issues due to background image size). Existing apps that no longer work should resume working.

Steps to reproduce

  1. Create a Canvas in a project. Set its width/height to something large like 2048x2048
  2. Connect companion or install APK on your device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant