twitter-archive / twui

A UI framework for Mac based on Core Animation
Other
2.74k stars 268 forks source link

Various rendering issues while using fast user switching on OSX 10.7 Lion #87

Open raytrodd opened 12 years ago

raytrodd commented 12 years ago

I am seeing several issues related to fast user switching and twui.

I have a mac book pro running lion. I am logged in as 'User A', I create 'User B' and ensure that 'fast user switching' is enabled. I am using the Example.app included in the source code in all scenarios.

App becomes unresponsive after switching to User B and then back to User A: 1.) As User A, launch Example.app, notice that everything is working fine (scrolling, clicks, etc) 2.) Fast user switch to User B 3.) Fast user switch back to User A Expected: Example.app continues to operate normally Actual: The app appears to no longer respond to clicks or scrolls. I believe that events are still being handled, its just that nothing is being rendered.

App goes "blank" after being restarted while "switched out": 1.) Login as User A 1.) Move Example.app to ~/Applications 2.) execute this command from the command line

sleep 10 ; ~/Applications/Example.app

3.) quickly switch to User B (before the 10 seconds elapses) 4.) as User B, wait for more than 10 seconds to allow the app to launch while switched out 5.) switch back to User B Expected: Example.app is running normall Actual: Example.app is running, but the screen is blank. Nothing is rendered, although events seem to be processed