Version: SmartClient Version: SNAPSHOT_v8.3d_2012-10-11/LGPL Development Only (built 2012-10-11)
Browser: IE9, Firefox, Chrome
I'm running into a strange interaction in my app. I've attached screen shots and DOM's to show what is happening.
I do the following:
1. Bring up my page and right-click on the grid header and get the standard context menu (everything looks fine - see the "good" version of the PNG attached). To cause the problem the context menu MUST be brought up once BEFORE step 2.
2. Click on a tool on my toolbar that launches a "dialog" (it is actually a highly customized window object that contains many layers of controls).
3. Inside the control, click on an item that is an IPickTreeItem inside a DynamicForm (the item has values in the tree, doesn't seem to matter what they are).
4. Close the dialog/window (you do not need to do anything else while in the dialog - you don't even need to select an item from the IPickTreeItem, you just need to click on it so it drops down).
5. Right click on the grid header again to display the context menu (the one that displays shows all of the icons on the menu items twice - see the attached "bad" PNG file).
The attached txt files are what the related part of the DOM looks like. Notice that in the highlighted section (bracked by a comment line in the txt file) that the item does indeed have two icons. In addition, the second icon has a very strange width (says 73 even though it is visually the same size as the first one which is 24). Also notice that the order of the other items in the table row are mixed up in order).
I have tried producing smaller standalone examples that demostrate this, but with no success. Any idea how this code happen or what I can do to fix this problem? Seems like something related to dropping down the IPickTreeItem is corrupting the DOM!
P.S. I also have other context menus on my page and any that have been previously displayed get corrupted also (any that have not been rendered yet are fine when you bring them up).
Browser: IE9, Firefox, Chrome
I'm running into a strange interaction in my app. I've attached screen shots and DOM's to show what is happening.
I do the following:
1. Bring up my page and right-click on the grid header and get the standard context menu (everything looks fine - see the "good" version of the PNG attached). To cause the problem the context menu MUST be brought up once BEFORE step 2.
2. Click on a tool on my toolbar that launches a "dialog" (it is actually a highly customized window object that contains many layers of controls).
3. Inside the control, click on an item that is an IPickTreeItem inside a DynamicForm (the item has values in the tree, doesn't seem to matter what they are).
4. Close the dialog/window (you do not need to do anything else while in the dialog - you don't even need to select an item from the IPickTreeItem, you just need to click on it so it drops down).
5. Right click on the grid header again to display the context menu (the one that displays shows all of the icons on the menu items twice - see the attached "bad" PNG file).
The attached txt files are what the related part of the DOM looks like. Notice that in the highlighted section (bracked by a comment line in the txt file) that the item does indeed have two icons. In addition, the second icon has a very strange width (says 73 even though it is visually the same size as the first one which is 24). Also notice that the order of the other items in the table row are mixed up in order).
I have tried producing smaller standalone examples that demostrate this, but with no success. Any idea how this code happen or what I can do to fix this problem? Seems like something related to dropping down the IPickTreeItem is corrupting the DOM!
P.S. I also have other context menus on my page and any that have been previously displayed get corrupted also (any that have not been rendered yet are fine when you bring them up).
Comment