# Ubuntu – Unity unable to bring programs to foreground

unity

Ubuntu 14.04.2 LTS, some programs are already running and shown on dash. But from time to time I am unable to switch to the program. As shown in the snapshot, SecureCRT is running and when I click its icon on the dash, all SecureCRT windows are shown but I can't switch to it. As soon as I click on the window, it disappears.

The only way to solve is to kill the process and restart it. It happens almost anything, terminal, files, firefox, filezilla etc.. It gets quite annoying when I have to kill all the processes every few hours. What's preventing me from switching to the program?

I am using 2 monitors. And I can still reproduce this issue with the second monitor unplugged.

\$ ulimit -n

* hard nofile 65535