-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b81
-
sparc
-
solaris_10
-
Verified
I have a frame with a Choice and Choice has around 10 items. Initially frame has only the choice component and hence frame is packed to the size of the choice. Now when I choose an item from the choice, I am loading 3-4 canvases on to the frame each showing an image and invalidating the frame. So the frame size becomes bigger now and I expect the drop-down to close and resize to the new size of the Choice's component. But this never happens. Drop-down stays where it was initially shown but the actual Choice component is located somewhere else on the frame and choice looks like a popup menu.
This behavior is incorrect and it never happens this way on Motif or Win32 But I am able to reproduce this behavior on XToolkit since Tiger. This looks pretty bad and would become obvious when the size of the frame changes dynamically based on some selections in the choice. I reproduced it on SolSparc10 with Mustang-b75.
I have attached a sample test. Execute the sample test. You would see a frame with a choice. Click on choice. The drop-down opens up. Now press the down-arrow. You will see some images being loaded on to the frame. Keep pressing the down arrow one by one slowly and you will see the frame's size becoming bigger/smaller depending on the selection. But the drop-down will stay there and will not change according to the new frame's size.
This behavior is incorrect and it never happens this way on Motif or Win32 But I am able to reproduce this behavior on XToolkit since Tiger. This looks pretty bad and would become obvious when the size of the frame changes dynamically based on some selections in the choice. I reproduced it on SolSparc10 with Mustang-b75.
I have attached a sample test. Execute the sample test. You would see a frame with a choice. Click on choice. The drop-down opens up. Now press the down-arrow. You will see some images being loaded on to the frame. Keep pressing the down arrow one by one slowly and you will see the frame's size becoming bigger/smaller depending on the selection. But the drop-down will stay there and will not change according to the new frame's size.