[FIXED] [#154] [2.x] BoxReorderer on TabPanel makes browser window minimizes itself or loose focus

Page 1 of 2 12 LastLast
  1. #1

    [FIXED] [#154] [2.x] BoxReorderer on TabPanel makes browser window minimizes itself or loose focus

    I always find the weirdest bugs...If you have a BoxReorderer plugin on TabPanel, switching tabs will send the browser window to the back or minimizes it.

    1) Open several windows in Windows 7 (i have Visual Studio, Pidgin, Outlook)
    2) Place browser on top of those windows
    3) Click on Tab2

    The browser will either minimize itself or be sent back behind the other windows.

    <html>
    <head id="Head1" runat="server">
    </head>
    <body>
        <script type="text/javascript">
    
    
        </script>
        <form id="Form1" runat="server">
        <ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
            DisableViewState="true" />
        <ext:TabPanel ID="TabPanel1" runat="server" Plain="true">
            <Items>
                <ext:Panel runat="server" Title="Tab1" ID="tab1">
                </ext:Panel>
                <ext:Panel runat="server" Title="Tab2" ID="tab2">
                </ext:Panel>
            </Items>
            <Plugins>
                <ext:BoxReorderer>
                </ext:BoxReorderer>
            </Plugins>
        </ext:TabPanel>
        </form>
    </body>
    </html>
    Last edited by fabricio.murta; Apr 26, 2016 at 10:39 PM.
  2. #2
    Hello!

    Yes it's reproducible with Windows 7 and IE9. Strange bug.

    We are investigating.
  3. #3
    Try the following overriding:

    <script>
    	Ext.override(Ext.ux.BoxReorderer, {
    		getDragCmp: function(e) {
    			return this.container.getChildByElement(e.getTarget(this.itemSelector));
    		}
    	});
    </script>
  4. #4
    Quote Originally Posted by Baidaly View Post
    Try the following overriding:

    <script>
        Ext.override(Ext.ux.BoxReorderer, {
            getDragCmp: function(e) {
                return this.container.getChildByElement(e.getTarget(this.itemSelector));
            }
        });
    </script>
    same issue with the override in place
  5. #5
    Hello everybody,

    Yes, I noticed such strange behavior a bit earlier.

    It is also reproducible with dragging events in a Calendar and portlets in a Portal. Probably, some issue with dragging at all.

    Also it seems to be reproducible only if there is a single tab (just with a test case) in IE. Could you confirm it?

    I reported it at Feb 7, but no answer yet from ExtJS team.
    http://www.sencha.com/forum/showthread.php?255890

    I made a bump.
  6. #6
    Vladimir reported this issue again.
    http://www.sencha.com/forum/showthread.php?256909

    There is already a discussion.
  7. #7
    Thanks, I will follow the Sencha thread. Very interesting discussion.
  8. #8
    Sencha thread says this is fixed. Any idea when it will get to trunk? Thanks!
  9. #9
    Sencha thread says this is fixed. Any idea when it will get to trunk? Thanks!
    Trunk will be updated after next public release from Sencha

    If you need I can provide temp fix (override)
  10. #10
    If you can provide the override, that would be great. Thanks!
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] BoxReorderer prevents field focus
    By RCN in forum 3.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 17, 2015, 1:22 PM
  2. [CLOSED] Problem: Closing Maximized Window will loose parent window scrollbar
    By tlfdesarrollo in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 19, 2012, 8:51 PM
  3. [CLOSED] Binding Large Set of Data to a Grid makes browser unresponsive
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Apr 14, 2011, 4:01 PM
  4. [1.0] Fixed column makes the grid grow
    By nextSTEP in forum Bugs
    Replies: 3
    Last Post: Nov 25, 2010, 7:06 AM
  5. Replies: 7
    Last Post: Nov 13, 2008, 10:19 PM

Posting Permissions