omz / Pythonista-Issues

Issue tracker for Pythonista (iOS)
168 stars 14 forks source link

Error/Debug View vs. Presented View bug #53

Open 1dancook opened 8 years ago

1dancook commented 8 years ago

This is a bug - I had this happen the other day but had trouble reproducing it. Now I've been able to. Here's a simplified version with some code.

It's a bug with the debug/error message when there is a view presented (perhaps in 'sheet') mode. There should be another view presented already (represented by v below). When there is an error and the error view pops-up, you can't do anything to it - no touches are handled. Try:

import ui
v = ui.View()
v.present() #if v is not presented this bug is not present
view = ui.TextView(frame=(0,0,350,350))
view.present('sheet')
view.present('sheet') #just to throw an error...

image

jsbain commented 8 years ago

Seems you can touch the X on the presented view, then you can close the debugger window.

zrzka commented 6 years ago

Still valid in 311014. I have to tap on X in presented view and then I can interact with error overlay. If I do not close the presented view, I can't do nothing with it.