Hello,
we have a problem with the UltraWinToolbarsmanager and the RDP in Windows 7 but also other remote tools.
From the beginning:
Everything works fine with the infragistic tools but when we use the Ultratoolbarsmanager on a form which is opened modal then it is closed by the closed rdp session.
I have addded a sample project to reconstruct.
Start the release on a Windows 7 machine and open some forms with the buttons. Connect to this machine via rdp an close this rdp session. Now all the modal forms are closed.
Hope to hear from you soon,
Bjoern
[Edit] We are using VS 2005 with Infragistics Windows Forms 9.1 [/Edit]
Bjoern,
I followed the steps that you have given and I did not find that the modal forms were closed after I disconnected the remote session. How are you disconnecting the session? Are you logging out?
Hello Michael,
no, not logged out. Only closed by clicking the X or "steal" the session from another pc.
It only happens when the application runs on Win 7 and you connect from Win7 or XP (or less maybe). Maybe it depends on the version of mstsc.exe. Thats what we try to check out...
Here are the steps we can reproduce:
1. Open Solution and compile the release version
2. Start the exe file on a win7 (try using a not develop machine also so that no infragistics framework is installed. Only the copied files from the release-folder)
3 connect to this win7 machine by rdp from another machine and close then session by using X (NOT log off)
4 Now you can login on your win7 machine again and the modal forms disappeared.
Thank you
Andreas,
I tried it again by connecting from another machine and I still do not see the issue that you are seeing. I clicked on the "X" to disconnect the session but the Windows are still runing. I "relogged in" again from another machine and I still see the Windows running.
Let me know if there is something else I can try.
we found out an additional reason/restriction.
It only happens if the win7 machine where the application runs has enabled aerostyle. If you choose the "basic"-style all forms persists. That explains why the forms are not closed before you log on the real machine again, because the aerostyle is not working in virual machines and via remote desktop.
So the ribbon seems to have a problem in enable the aerostyle again.
BTW. I don't know if i say that before. The close reason is "None" when they are closed automatically.
Greetings from Cologne, Germany
I still don't see it. I enabled the aerostyle on my desktop machine with Windows7 and ran your sample application and opened three different windows. Then I remoted in from another machine and clicked on the X to close the session. When I returned to my desktop the Forms were still there; they had not closed. Are you running an anti-virus program or something that could be interfering with this?
Michael,
mmmh. Ideas are becoming quite rare.
Which three forms you open? And the machine from where you remoted in is not Win7? It must not be Win7 from where you remote in.
The two forms which are closing are the "Ribbon (Thread)" and "Ribbon". Sometimes it is only "Ribbon (Thread)".
So this form is a must for testing.
No on our test machines is no anti-virus software installed but this behaviour is a support from our customers. I don't know what they have installed.
Which version of mstsc.exe do you use on the remoting in machine?
Thank you,
Bjoern Moeller
I tried this again by remoting in from a machine with Windows XP and I got the same result. None of the forms had closed when I returned to my Windows 7 machines with the aerostyle enabled, not even the Ribbon or Ribbon (Thread). All of the Windows were still running.
The machine from which we remoted in is using mstsc.exe version 6.0.6001.18589.
Have you tried this on many different machines?
For search and history: The bug has fixed in 12.1
I have opened a private support case for you. The reference number for the case is CAS-73565-CTWXYT. I will keep you informed through the case.
here are the 4 stacktraces as requested.
All these traces are from forms that called by ShowDialog. One form iscalled from an own thread and the other one is called from mainform directly (as seen in the code attached in the first post). For both i attach the stacktrace when closing manually and of the automatic closing effect.
Please provide the stack trace that you referred to so that I may review it as well.
Let me know if you have any questions regarding this matter.
We use .NET framework 3.5 SP1.