dual head with full screen tsclient / remote-desktop prevents keyboard focus following mouse focus for previously selected windows.

Asked by Druid

Hardware / Software:
Machine is running 64 bit Ubuntu 9.04 (upgraded from 8.04),has a dual GPU video card running dual head working otherwise perfectly with dual X-sessions and gnome.

Problem:

If I run tsclient full screen (not sure if it matters but it's to a Windows 2003 server) on one screen then keyboard focus does not follow mouse focus when changing to the other screen UNLESS I select a different window to the previously selected one.

If the remote desktop is not full screen then everything works as expected.

To Reproduce:

1) Configure machine dual head, dual x-sessions.
2) Open tsclient on one screen (for reference the right screen), connect to a remote machine full screen.
3) Open a couple of windows in the other screen (I'm using opera and gedit, again for reference the left screen).
4) Open something on the remote desktop (eg notepad), type something.
5) Select something on the other screen (eg gedit), type something.
6) Reselect notepad on the remote desktop, type something
7) Reselect gedit, type something
8) Attempt to select the top bar on gedit and move it round the screen.

Expected results:

1) Keyboard focus follows mouse focus, step 7 should results in text in gedit.
2) gedit window should be moved by mouse, step 8 should result in the window being 'picked up' and moved round the screen.

Actual results:

Keyboard focus stays in the remote desktop session, anything typed appears in the previous window selected in the remote desktop.

Once anything has been typed then the mouse is unable to 'pick up' the 'active' screen (prior to anything being typed it works), selecting a non active screen works exactly as expected and keyboard focus is given to that window.

Workaround:

1) Select a non-active window (on the left screen), then select gedit again, type something.
2) Maximise rather than full screen the remote-desktop / tsclient session.

Other Notes:
Behavior is not consistent on all applications, Firefox works exactly as expected. Opera, gedit, gnome-terminal does not.

Can you help with this problem?

Provide an answer of your own, or ask Druid for more information if necessary.

To post a message you must log in.