cheerq / flexmdi

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

Cascade focus problems #44

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am using the http://www.returnundefined.com/flexmdi/explorer/. Click 
on add a window twice, so u should now have 4 windows in the canvas
2. Select window one to bring it to the front i.e. focus and then click on 
cascade.
3. It should be tile from top to bottom 1, 2, 3, 4 where 1 is still active.
4. Select window 4 to bring to front and you'll notice that is not active 
so when u drag around the window does not still become active. The only 
way to bring it to the front is to select another window, maximize does 
not show correctly as the other windows bleed thru. There are also times 
when multiple windows have focus, so it has two or more active windows. It 
seems to occur when the cascade operation is done.

What is the expected output?Only one window should be active, and when u 
click on a non active window it should become active and the other windows 
should be non active. What do you see instead? Multiple windows are 
active, some don't become active when clicked after a cascade operation.

What version of the product are you using?v1.0 On what operating system?xp

Please provide any additional information below.

Original issue reported on code.google.com by vince.ja...@gmail.com on 16 Oct 2007 at 9:54

GoogleCodeExporter commented 8 years ago
I came across the same problem with the tile function. However, the problem only
occurs when you aren't using any effects.

I fixed it by removing "manager.bringToFront(item.window);" in the function
getTileEffect() in the class MDIEffectsDescriptorBase.

Original comment by gert-s...@gmx.at on 12 Nov 2007 at 10:03

GoogleCodeExporter commented 8 years ago
I nearly forgot: You also need to remove "bringToFront(window);" in the function
tile() in the class MDIManager. After those changes the tile works without 
problems.
However, you need the bringToFront() in the cascade() function. So removing it 
is no
option. I have no solution for that problem at the moment.

Original comment by gert-s...@gmx.at on 12 Nov 2007 at 2:07

GoogleCodeExporter commented 8 years ago
Fixed during other focus-related cleanup

Original comment by ben.clin...@gmail.com on 14 Jan 2008 at 7:05