Bug Report T728989
Visible to All Users

Performance – The “Gathering Suggestions” dialog opens slow when renaming properties with custom attributes

created 6 years ago (modified 6 years ago)

When the cursor is on the name of a property with custom attribute, clicking on the Quick Actions menu causes the "Gathering Suggestions" dialog to be displayed for several seconds. This happened in VS 2019 RC and VS 2017

See https://davesparks.tinytake.com/sf/MzQyOTcwOF8xMDI2Njc4Mg for demonstration.

The attribute is defined as follows :

C#
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public sealed class PlugInPropertyAttribute : Attribute { …

The solution is large (95 projects) and targets .Net Framework 4.7.2. The custom attribute is referenced 99+ times in the solution. It is also used in parent classes of the class shown in demonstration.

I attempted, but failed, to reproduce the issue in a simple project with just the one example class and some of the classes that it references.

Please let me know if there is any further information I can provide to help you to troubleshoot this issue.

Show previous comments (9)
DevExpress Support Team 6 years ago

    Hello Dave,

    Thank you for your cooperation and sharing these results.
    With this information, I was able to reproduce a similar issue with the "Pull Member Up" code action. We will analyze it and notify you of our results.

    As a temporary workaround, you can disable the "Pull Member Up" code action.

      I can confirm this is fixed now. Thanks!

      DevExpress Support Team 6 years ago

        I am happy to hear that the issue is resolved. Thank you for informing us.

        Answers approved by DevExpress Support

        created 6 years ago (modified 6 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.

          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.