Bug Report Q586757
Visible to All Users

TcxPopupEdit - Re-activating an application window that was made inactive while displaying the popup editor's drop-down window causes the "Control has no parent window" exception

created 11 years ago

Hi!
An error "Control '' has no parent windows" occurs when I use a TcxPopupEdit together with a TcxGrid as PopupComponent .
To recreate the issue, you need:
- a form
- a TcxPopupEdit on the form
- a TcxGrid on a TPanel as PopupControl
Run the application in a terminal server session or a remote desktop connection, open the popup window (and don't close it), minimize the remote desktop window, then restore the remote desktop window and you will get the error.

Please have a look at the enclosed test application.

The same error occurs if you define the edit properties of a TcxGrid as TcxPopupEditProperties and you attach the same panel+cxgrid to the properties of the column as PopupControl.

TIA,
Domenico

Comments (2)

    I just see the same error for the first time in our main app, 3 minutes ago ;-) I thought my colleague had made an error somewhere in our code. This is in my development environment in VMWare. We upgraded from 13.2.2 to 13.2.4 last Thursday.

    DevExpress Support Team 11 years ago

      Hello,
      Thank you for your detailed description. I have reproduced this behavior with the remote desktop connection. However, when I compiled your project with Build 59 - a very old version of our controls, I got the same error. This means that the current behavior has been present in our PopupEdit for a very long time. Thus, I am not sure that it is possible to fix this quickly. Anyway, I have forwarded this ticket to our developers for research.

      Answers approved by DevExpress Support

      created 11 years ago (modified 11 years ago)

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Additional information:

      The issue is not fixed yet.

        Show previous comments (5)

          Link for download hotfix is not working or I have no idea how to use it (it opens a window with code PF_Q586757 - no other link).

            Hi, the link is not working for me too. Using Chrome 37.

            DevExpress Support Team 10 years ago

              Hello Filip and Marco,

              The hotfix links are unavailable because we were not able to reliably fix the issue for now. Would you please help us test our solution? I have created two separate private tickets (T157960 (Marco) and T157959 (Filip)) on your demand where I have published the hotfix code (to avoid sharing it in public). If possible, apply that patch on your side, test it, and let me know the result. Your help would be greatly appreciated.

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.