Bug Report T318075
Visible to All Users

BreadCrumbEdit - SelectedNodeChanged has a wrong node when the node has same name as a higher level node

created 9 years ago

We have discovered yet another bug with the BreadCrumbEdit.  This one is pretty odd behavior, and it took us a long time to narrow it down to reproduce it.  It seems that when there is a node that has the same name as a higher level node, and the higher level node is first selected, and then the lower level node is selected by using the BreadCrumbEdit.Properties.Path property, and then the previous node is selected, and then the lower level node is again selected by using the Path property, it incorrectly selects the higher level node with the same name, even though it is displaying the correct lower level node in the editor.

For example:

Let's say you have the following structure:

Folder A
     Folder B
           Folder C
     Folder C

Steps to reproduce the problem:

  1. Navigate to: Folder A\Folder C
  2. Set BreadCrumbEdit.Properties.Path = @"Folder A\Folder B\Folder C"
  3. Click Folder A\Folder B
  4. Set BreadCrumbEdit.Properties.Path = @"Folder A\Folder B\Folder C"

You'll see that the BreadCrumbEdit.Properties.SelectedNodeChanged event reflects the Folder A\Folder C node, instead of the Folder A\Folder B\Folder C node.

Please see the screencast that shows this behavior:  http://screencast.com/t/4XTgMLDhEbyk

You'll notice that the Path value does not match the PathChanged value in the text boxes on the form, proving the problem.

I have also attached the sample project.

Comments (1)
Nadezhda (DevExpress Support) 9 years ago

    Hello,

    I have reproduced this behavior. I have forwarded this ticket to our R&D team. We will research and update it as soon as we obtain any additional information.

    Answers approved by DevExpress Support

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

      Comments (1)

        Fixed, thanks!

        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.