cheerq / flexmdi

Automatically exported from code.google.com/p/flexmdi
0 stars 0 forks source link

Popups Issue with controls in MDIWindow #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a component that contains any child control which shows popup,
for example, ComboBox.

2. Add the component to the main application. It will work as expected.

3. Now add a button to the application. On button's click event, use
MDIManager.global to show the same component as popup. Now the ComboBox in
the component will not work and the dropdown list of ComboBox will be
displayed behind the popup (MDIWindow) window.

What is the expected output? What do you see instead?

Popups, for example, ComboBox drop down should be displayed on top of
MDIWindow.

What version of the product are you using? On what operating system?

Please provide any additional information below.

I have designed an application that loads modules (features) on the basis
of XML received from the server and render the UI dynamically on the basis
of that XML. Almost all of the features contain ComboBox control. The same
features can be opened as Popup from the Menu. I am using flexmdi library
to show Popups. I am not using flexmdi to create MDI Application. When the
same feature is displayed as Popup using MDIManager, ComboBox dropdowns
displayed behind the MDIWindow.

I am attaching herewith the following files.

1. Feature.jpg: Shows the normal behavior of feature.
2. FeatureAsPopup.jpg: Shows the behavior of the same feature when it is
opened as Popup via MDIManager.global.

Original issue reported on code.google.com by jehanzeb...@gmail.com on 28 Feb 2008 at 6:15

Attachments:

GoogleCodeExporter commented 8 years ago
MDIManager.global is deprecated. Please use a regular instance.

Original comment by ben.clin...@gmail.com on 28 Feb 2008 at 6:24

GoogleCodeExporter commented 8 years ago
Hello Ben,

The same issue persists if I use the regular instance of MDIManager (new 
MDIManager
(Application.application).

Regards,
Jehanzeb

Original comment by jehanzeb...@gmail.com on 28 Feb 2008 at 6:29

GoogleCodeExporter commented 8 years ago
Hello Ben,

Sorry, the last comment was not right. If I use the regular instance [new 
MDIManager
(Application.application)], the popups of the child controls of MDIWindow works 
as 
expected. However, I am now facing another issue. As displayed in the attached 
pics 
of the issue, the popup shows on top of the main UI of my application and does 
not 
affects its width and height when using MDIManager.global.

Now as I am using the regular instance [new 
MDIManager(Application.application)], 
the main UI size adjust according to the size of the popup window. I am 
attaching 
herewith the image files for your reference.

Regards,
Jehanzeb

Original comment by jehanzeb...@gmail.com on 28 Feb 2008 at 6:54

Attachments:

GoogleCodeExporter commented 8 years ago
Is the layout property of your Application set to vertical? MDI really only 
works
with absolute layouts. I would also suggest using PopUpManager rather than 
flexmdi if
all you need is a popup.

Original comment by ben.clin...@gmail.com on 28 Feb 2008 at 7:03

GoogleCodeExporter commented 8 years ago
I havent set layout property of the Application. I believe by default it's 
vertical. 
Moreover I am interested in flexmdi library because of the minimize 
functionality of 
MDIWindow. I want my user to open features from menus as popups (on top of the 
main 
UI) and then they can minimize/restore them. TitleWindow used by PopupManager 
does 
not have this functionality.

Original comment by jehanzeb...@gmail.com on 28 Feb 2008 at 7:09