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
I tried it again following the exact steps that you gave. I ran the executable on a Windows7 machine where no infragistics programs were installed. I connected to the machine throught RemoteDeskTop and saw the forms running. Then I clicked on the "X" to disconnect and when I logged on again to the machine saw the application and the modal forms still running.
Is there something else that is different about what you are doing?
how do you log in again? If you login through the same remote desktop (on the same machine) everything works fine. You have to login from another machine via remote desktop or login directly on the win7 machine.
We figure out that the windows will not be closed on clicking the X but on relogin from another machine or the real machine itself.
Thank you again,
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?
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.