Comment 1 for bug 260480

Revision history for this message
Bill Filler (bfiller) wrote :

After investigating, there are two main problems here:
1)Create a second user, and use Quit->Switch User to switch to this user. A second instance of the launcher is run as the new user and the original launcher instance is still running. The second launcher works, but the performance is extremely bad - everything on the system is very slow and sluggish. I'm guessing because we are consuming too many resources (memory, vram, ?). So the question is can Switching users be detected and can we release resources from the non-active instance of the launcher or somehow fix the performance issue?

2)The second case is to try Quit->Switch User and then log back in as the same user. This causes the same problem as suspend/resume (see bug 237761) where the launcher is no longer responsive to mouse events (key events still work). According to mterry, Switch User creates a new virtual terminal which is why we see the same symptoms here. Is there a way to have a generic "virtual terminal" listener that can perform the workaround that we do for suspend/resume?