[OPEN] [#440] On IE9, Viewport fails when a window is moved over

Page 1 of 2 12 LastLast
  1. #1

    [OPEN] [#440] On IE9, Viewport fails when a window is moved over

    On the following example, click on "Click Me" button, then, when the window appears, move it to the right, as shown below:

    Click image for larger version. 

Name:	01.png 
Views:	16 
Size:	42.9 KB 
ID:	6869

    Click image for larger version. 

Name:	02.png 
Views:	16 
Size:	46.6 KB 
ID:	6870

    Click image for larger version. 

Name:	03.png 
Views:	17 
Size:	45.8 KB 
ID:	6871

    <!DOCTYPE html>
    <html>
    <head id="Head1" runat="server">
        <script type="text/javascript">
            var openWindow = function () {
                var wdn = new Ext.Window(
                    {
                        width: 300,
                        height: 300,
                        maximizable: true,
                        resizable: true,
                        closable: true,
                        modal: true,
                        layout: "fit",
                        html: "Ext.Net"
                    });
                wdn.show();
            }
        </script>
    </head>
    <body>
        <ext:ResourceManager runat="server" />
        <ext:Viewport Layout="BorderLayout" runat="server">
            <Items>
                <ext:Panel Title="West" Region="West" Width="225" Html="West" runat="server" />
                <ext:Panel Title="Center" runat="server" BodyPadding="10" Region="Center">
                    <Items>
                        <ext:Button Text="Click Me" Width="200" runat="server">
                            <Listeners>
                                <Click Handler="openWindow();" />
                            </Listeners>
                        </ext:Button>
                    </Items>
                </ext:Panel>
                <ext:Panel Title="East" Region="East" Width="225" Html="East" runat="server" />
            </Items>
        </ext:Viewport>
    </body>
    </html>
    Last edited by Daniil; Feb 25, 2014 at 12:41 PM. Reason: [OPEN] [#440]
  2. #2
    It's possible to overcome this issue by setting contrain property to true. Please take a look on http://www.sencha.com/forum/showthre...w-is-moved-out
  3. #3
    Please mark this thread as closed if you agree with the solution provided above
  4. #4
    Hi Raphael,

    I will investigate the issue in details tomorrow morning.
  5. #5
    Thank you Daniil
  6. #6
    I updated the Sencha thread with this post:

    +1 to: constrain: true is not always appropriate as a solution.

    I can confirm that the issue is still reproducible with 4.2.1 GA in IE9 and it is not reproducible in FireFox and Chrome. So, it definitely looks a bug.

    @Animal, is there any chance to open a ticket on that?
    If no answer for a while, I will report it in a new thread.

    For now, yes, please use constrain if appropriate.
  7. #7
    Thank you Daniil.

    Please keep me posted about any update.
  8. #8
    Still no answer from Sencha. I don't think starting a new thread will help. So, created an Issue to track this defect.
    https://github.com/extnet/Ext.NET/issues/440

    Maybe, it will be fixed in the next ExtJS release.

    For now let's live with the workaround.
  9. #9
    I tested on version 3.1.0 and the behaviour has changed.

    On this version, ViewPort' layout does not break anymore, but window is out of document's region and its border is within document's region, as shown below:

    Click image for larger version. 

Name:	wd001.png 
Views:	4 
Size:	9.0 KB 
ID:	19911

    It might be related to: http://forums.ext.net/showthread.php?50742

    Anyway, using window's constrain property overcome the issue.
  10. #10
    Confirm, still buggy behavior. Probably, Sencha is not going to fix this it since they even didn't open a bug. Though, I prefer to leave the Issue open to track this defect at least.

    Anyways, it is good we have a Constrain option.
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] [#316] Window content disappears when moved
    By vadym.f in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Jan 22, 2015, 10:44 AM
  2. [CLOSED] MultiHeader filters get mixed up when column is moved
    By georgek in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jul 06, 2011, 4:55 PM
  3. [CLOSED] Preventing a window moved with header outside browser window
    By CarWise in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 22, 2010, 12:17 PM
  4. Replies: 0
    Last Post: Mar 25, 2010, 7:59 PM
  5. How to fix Window in Viewport
    By designworxz in forum 1.x Help
    Replies: 4
    Last Post: Feb 23, 2009, 5:49 PM

Posting Permissions