Web VPython editor unusable on iPad Pro

57 views
Skip to first unread message

Joe Heafner

unread,
Aug 30, 2022, 3:22:44 PM8/30/22
to Web VPython Users

The Web VPython editor has apparently become unusable when using my iPad Pro (running iPadOS 15.6.1) with and without Apple’s Magic Keyboard. I’m trying to code the following loops:

lambda i, j, k: (i-j)*(j-k)*(k-i)/2
for i in 1, 2, 3:
for j in 1,2,3:
for k in 1,2,3:
print (i,j,k)

But I can never get past the first level of indentation. When I hit “return” after the second for statement, there is no indentation and pressing TAB makes the cursor vanish completely. This happens both with the iPad’s built-in virtual keyboard and my Apple Magic Keyboard. Restarting the iPad had no effect. This is the first time I’ve encountered this problem.

I know in the past there has been mention of incompatibilities with the ACE editor and iPad, but two summers ago I created an ACE installation here


and it works flawlessly with every device I’ve tested it on, including various iPads and iPhones. I’m not sure what’s going on and I don’t know where to look to debug this. Just thought I’d pass it along and ask whether or not anyone else has experienced this.

Joe Heafner
Sent from my iPad

Harlan Gilbert

unread,
Aug 30, 2022, 4:10:27 PM8/30/22
to glowscri...@googlegroups.com
While my classes have not encountered this particular situation, we found that using Glowscript on IPads was very tricky:
- certain browsers worked, while others didn't work with Web VPython.  Safari, in particular, gave us many problems; we avoided this at all cost.
- some iOs versions were very problematic.  In general, ensuring the Ipad is using the latest update has been a good idea.
- AutoCorrect of punctuation absolutely needs to be off. Single quotes were being changed to slanted quotation marks, which VPython doesn't recognize, for example. I can't imagine that colons are autocorrected in any way, but if they were, this would explain the lack of indentation.

Good luck!
Harlan


--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glowscript-users/FA9AE5CE-EE03-4D75-8B82-E9259AF85EF9%40gmail.com.


--
Harlan Gilbert, Ph.D.
High School Chair and Math, Physics, Computer Science, and Philosophy Teacher
Green Meadow Waldorf High School
Chestnut Ridge, NY 10977

Bruce Sherwood

unread,
Aug 30, 2022, 4:54:30 PM8/30/22
to Glowscript Users
I just tried this using Chrome on a brand-new iPad running 15.6.1 and the only thing wrong (with or without physical keyboard) was that upon pressing Return after the 2nd colon there wasn't the expected additional indent, and Tab failed; I had to enter spaces instead. There was no problem with single quotes, nor did I  have to do anything special about AutoCorrect.

Joe, what browser were you using?

Bruce

Joe Heafner

unread,
Aug 30, 2022, 5:40:49 PM8/30/22
to glowscri...@googlegroups.com
I was using Safari as it ships with iPadOS 15.6.1. I confess I had not tried Chrome or Firefox today on the iPad. I also didn’t see any autocorrect issues, and spaces worked for indentation. 


Joe Heafner
Sent from my iPad

On Aug 30, 2022, at 16:54, Bruce Sherwood <bruce.s...@gmail.com> wrote:


I just tried this using Chrome on a brand-new iPad running 15.6.1 and the only thing wrong (with or without physical keyboard) was that upon pressing Return after the 2nd colon there wasn't the expected additional indent, and Tab failed; I had to enter spaces instead. There was no problem with single quotes, nor did I  have to do anything special about AutoCorrect.

Joe, what browser were you using?

Bruce

--

---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.

Harlan Gilbert

unread,
Aug 30, 2022, 7:07:00 PM8/30/22
to glowscri...@googlegroups.com
Glowscript in Safari auto-indents after a colon on my IPad. Version 15.6.1.

Reply all
Reply to author
Forward
0 new messages