[CLOSED] BUG desktop modal windows doen't show context menu in FF

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Hi,

    After this update (http://forums.ext.net/showthread.php...0957-16-1.aspx) desktop modal windows doen't show context menu in Firefox.

    Thanks, please solve it as soon as posible.

    <%@ Page Language="C#" %>
    
    <%@ Import Namespace="System.Collections.Generic" %>
    
    <%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    <script runat="server">        protected void Page_Load(object sender, EventArgs e) { List<object> data = new List<object>(50); for (int i = 1; i <= 50; i++) { data.Add(new { text = "Item " + i }); } this.Store1.DataSource = data; this.Store1.DataBind(); }</script>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head id="Head1" runat="server">
    
        <title></title>
    
        <style type="text/css">
    
            .dataview-block
    
            {
    
                border: 1px solid silver;
    
                background-color: #f0f080;
    
                width: 40px;
    
                height: 40px;
    
                margin: 10px;
    
                text-align: center;
    
                line-height: 40px;
    
                font-size: 11px;
    
                font-family: sans-serif;
    
                float: left;
    
            }
    
            .block-label
    
            {
    
                font-weight: bold;
    
                font-size: 12px;
    
                padding: 5px 0px 5px 28px;
    
                width: 150px;
    
            }
    
        </style>
    
    </head>
    
    <body>
    
        <form id="form1" runat="server">
    
        <ext:ScriptManager ID="ScriptManager1" runat="server" />
    
        <ext:Store runat="server" ID="Store1" AutoLoad="true">
    
            <Reader>
    
                <ext:JsonReader>
    
                    <Fields>
    
                        <ext:RecordField Name="text" />
    
                    </Fields>
    
                </ext:JsonReader>
    
            </Reader>
    
        </ext:Store>
    
        <ext:Menu ID="DataViewContextMenu" runat="server">
    
            <Items>
    
                <ext:TextMenuItem ID="BlockLabel" runat="server" CtCls="block-label" />
    
                <ext:MenuItem ID="MenuItem1" runat="server" Text="Delete" Icon="Delete">
    
                    <Listeners>
    
                        <Click Handler="Ext.Msg.alert(this.parentMenu.block.id, 'Delete');" />
    
                    </Listeners>
    
                </ext:MenuItem>
    
                <ext:MenuItem ID="MenuItem2" runat="server" Text="Print" Icon="Printer">
    
                    <Listeners>
    
                        <Click Handler="Ext.Msg.alert(this.parentMenu.block.id, 'Print');" />
    
                    </Listeners>
    
                </ext:MenuItem>
    
            </Items>
    
            <Listeners>
    
                <BeforeShow Handler="#{BlockLabel}.el.update(this.block.innerHTML);" />
    
            </Listeners>
    
        </ext:Menu>
    
        <ext:Desktop ID="MyDesktop" runat="server" BackgroundColor="Black" ShortcutTextColor="White"
    
            Wallpaper="images/desktop.jpg">
    
            <StartButton Text="Start" />
    
            <Modules>
    
                <ext:DesktopModule ModuleID="DesktopModule1" WindowID="ImagePanel" AutoRun="true">
    
                    <Launcher ID="Launcher3" runat="server" Text="Catalog Manager" Icon="Report" />
    
                </ext:DesktopModule>            
    
            </Modules>        
    
        </ext:Desktop>
    
        <ext:DesktopWindow runat="server" ID="ImagePanel" Frame="true" Height="500" Width="535" Title="Simple DataView" Modal="true">
    
            <Body>
    
                <ext:FitLayout ID="FitLayout1" runat="server">
    
                    <ext:DataView ID="DataView1" runat="server" StoreID="Store1" ItemSelector="div.dataview-block">
    
                        <Template ID="Template1" runat="server">                            <tpl for=".">                                <div id="item-{#}" class="dataview-block">{text}
                                </tpl>                            <div class="x-clear">
                            </Template>
    
                        <Listeners>
    
                            <ContextMenu Handler="e.preventDefault(); #{DataViewContextMenu}.block = node;#{DataViewContextMenu}.showAt(e.getXY());" />
    
                        </Listeners>
    
                    </ext:DataView>
    
                </ext:FitLayout>
    
            </Body>
    
        </ext:DesktopWindow>
    
        </form>
    
    </body>
    
    </html>
  2. #2

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Hi,

    I am doubt that last change is source of problem because it avoid minimizing of window only.
    The problem is that in FF menu go to behind the window

    I suggest to add the following listener to the menu

    <Listeners>
        <Show Handler="this.getEl().setZIndex(25000);" />
    </Listeners>
  3. #3

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Thanks for the quick response... It works
    Nevertheless it's a workaround.... are you planning to solve it in the next build?
  4. #4

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Hi,

    We have fixed it for FF. Still exists problem in Chrome
    *
  5. #5

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Thanks for the update, we're having problems with tooltips too with the latest version :S

    Please notify me if you have news!
  6. #6

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Hi,

    Can you clarify tooltips problem?


    Thanks
    *
  7. #7

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    The tooltip appears below the mask and the modal window.
  8. #8

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    The context menu, appears masked so they are not clickable

    Please I need it solved as soon as posible


    Thanks, and I appreciate your help!

  9. #9

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Hi,

    For me context menu works fine under IE and FF (there is problem under Chrome but at this moment you can use workaround with setting z-index explicitly in Show listener).


    I tested it with your example. Can you show your test case?


  10. #10

    RE: [CLOSED] BUG desktop modal windows doen't show context menu in FF

    Hi,

    I was able to reproduce it. While we are trying to find a fix you can use next work-around
    Set for Menu
    <CustomConfig><ext:ConfigItem Name="shadow" Value="false" Mode="Raw" /></CustomConfig>

    P.S. We have fixed tooltips. Please update


Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: Mar 29, 2012, 1:50 PM
  2. Context Menu in desktop
    By dotnet in forum 1.x Help
    Replies: 7
    Last Post: Sep 16, 2010, 5:30 PM
  3. Context menu on Desktop
    By flaviodamaia in forum 1.x Help
    Replies: 0
    Last Post: May 12, 2009, 10:42 AM
  4. [CLOSED] Desktop BUG: Modal windows can be minimized and you can interact with the other windows
    By juanpablo.belli@huddle.com.ar in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 31, 2009, 3:49 PM
  5. Replies: 1
    Last Post: Mar 17, 2009, 2:17 AM

Posting Permissions