Open bcpi opened 10 years ago
^ I second this! My app relies on the 'focus' event, with out a fix, this bug renders my app unusable =(
^ Happens on my app as well...all windows looses focus event
Same here
Same here, Mads are you listening?
Same here.
also present in Ti SDK 3.0.0GA
i confirm in 3.3.0GA and 3.2.3GA, after closing the activity or after sharing, all the app (every window, even not already created) loose focus event, so apparently there is an overlay win on top of the stack that never release correctly
guys waiting for being fixed as soon as possible try this workaround:
var fakeWin = Ti.UI.createWindow({ backgroundColor: 'transparent', zIndex: 1500, touchEnabled: false, top: 20//fullscreen: true }); fakeWin.open(); fakeWin.close();
on complete, error and cancelled events
Hi wondering why there has been no movement on this issue since it is such a deal breaker. I'd like to also add that blur events are also removed.
I tried the fake window technique and it doesn't work for iPhon6 and iphone 7 devices on iOS10. For reference I am coding with Ti SDK 5.5.1GA. I also can't work my app unless I use focus events.
Has someone found another workable solution to this?
This is a sample app that shows how the focus event is lost on all windows within a TabGroup right after an activity view is loaded.
My environment is TiSocial.Framework v1.7.3, Ti SDK 3.2.2GA, iOS Simulator 7.1, iPhone 5s iOS 7.1.
Test: Load the sample app. Click between tab 1 and tab 2 several times to see the label change with the focus event. Then click the "share" button to load the activity view. Click cancel on the activity view, and switch tabs back and forth again. Now the focus event does not fire and the labels don't get updated.
app.js