rdesktop seamless constantly sets windows to 'Always on top'

Bug #482134 reported by Twisted Lucidity
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
rdesktop (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: rdesktop

Details:
Description: Ubuntu 9.10
Release: 9.10
rdesktop: 1.6.0-2ubuntu2

Expected:
Gnome window settings to mirror those of remote machine

Actual:
Gnome "Always on top" seems to get set and then 'stick' for some reason.

Recreation:
If I launch rdesktop like this:
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe explorer" remote-ip:3389 -u user_name -p password

Then I get the Windows Explorer bar (I have set compiz to remove window decorations to by-pass the seamless window bug).
From there I start Outlook.

It starts with "Always on top" checked. I right-click on the kick-bar entry and remove the check. The Gnome window will behave normally for a while. If I then use the Windows minimise button (-) and then click on the kick-bar entry to restore Outlook, it has had the Gnome "Always on top" re-checked.

At first I thought the problem was caused by the Windows Explorer bar always being on top and unchecking the "Keep the taskbar on top of other windows" seemed to reduce the problem slightly. However, normal operations within Outlook cause the Gnome "Always on top" option to get set again (e.g. Tools/Options?Mail Format/Signatures/OK, then New/Mail Message).

My only guess is that somehow the attributes of the modal dialogs is getting persisted, but I can't be sure.

I'm happy to provide any logs should they be needed (I'm afraid I'm still fairly new to Linux, so I'd need to be told where these log files reside).

Revision history for this message
cosechy (cosechy) wrote :

I have also encountered this problem. It seems that when you focus on a window, rdesktop will try to raise it above all other windows, possibly including some always on top windows, resulting in the window itself always on top in Microsoft Windows. Unchecking this option does nothing in the remote system, so it won't work.
Comment out all ewmh_set_window_above() and ewmh_set_window_popup() in xwin.c for a temporary fix. But if you relogin directly on the remote computer, you will find most opened windows always on top and cannot apply this option to new windows. Another choice is to disable always on top for all Windows programs, such as Windows Task Manager and, for me, Tencent QQ instant messenger. But accidentally creating an always on top window will cause big trouble.

Revision history for this message
cosechy (cosechy) wrote :

how to repeat:
1.open an always on top window, namely taskmgr
2.open two normal windows, namely notepad and winmine, the current windows is winmine
3.click on taskmgr
4.click on notepad
5.click on winmine
6.click on taskmgr
7.click on notepad
8.click on winmine
10.now winmine is always on top

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.