[1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

  1. #1

    [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    Please check the attached file. Just click once on the "Load Module" desktop shortcut. A single Desktop Window opens up, but 2 Taskbar buttons are shown.

    This happens everytime no matter how many windows you open.
  2. #2

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    Can the Coolite team confirm or deny the existence of this issue?? And the possible solution/workaround to it if it exists??
  3. #3

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    Hi,

    Do not use hidden:false for desktop window. Just call show
    #{MyDesktop}.getDesktop().createWindow({...}).show();
  4. #4

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    Thanx vlad. That fixed it.
  5. #5

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    The issue has creeped up again in the latest code from the SVN. Test this code:

    <%@ Page Language="C#" AutoEventWireup="true" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <script runat="server">
    </script>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    
        <script type="text/javascript">
        </script>
    
    </head>
    <body>
        <form id="form1" runat="server">
        <ext:ResourceManager runat="server" />
    
        
            <ext:Desktop ID="MyDesktop" runat="server" BackgroundColor="Gray" ShortcutTextColor="White">
                <StartButton Text="Start" IconCls="start-button" />
                <%-- NOTE: Body Controls must be added to a container with position:absolute --%>
                <Shortcuts>
                    <ext:DesktopShortcut ModuleID="load" ShortcutID="load1" Text="Load Module" IconCls="shortcut-icon icon-user48" />
                </Shortcuts>
                <Listeners>
                    <ShortcutClick Handler="var wnd = #{MyDesktop}.getDesktop().createWindow({ title: 'Please wait...',
                                    width: '200px', height: '200px',
                                    closeAction: 'close',
                                    minimizable: true
                                    });
                                    
                                    wnd.show();
                                " />
                </Listeners>
            </ext:Desktop>
        
    
        </form>
    </body>
    </html>
  6. #6

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    Hi,

    That issue was fixed today, try to update from SVN
  7. #7

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    thanks...
  8. #8

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window



    Please this issue has not been solved?

    We are using version 1.0 and do also get a duplicate taskbar item when creating a new window. This is unwanted behaviour.

    function NewWindow(app, winURL, winTitle, winHeight, winWidth, winModal, winMax, winRes, winCollap) {
                if (winTitle == '' || winTitle == undefined) { winTitle = 'Teste' }
                if (winCollap == '' || winCollap == undefined) { winCollap = false }
                if (winRes == '' || winRes == undefined) { winRes = false }
                if (winModal == '' || winModal == undefined) { winModal = false }
                if (winHeight == '' || winHeight == undefined) { winHeight = 500 }
                if (winWidth == '' || winWidth == undefined) { winWidth = 500 }
    
    
                app.getDesktop().createWindow({
                maximizable: winMax,
                minimizable: winMax,
                resizable: winRes,
                collapsible: winCollap,
                constrain: false,
                hidden: false,
                title: winTitle,
                height: winHeight,
                width: winWidth,
                modal: winModal,
                frame: true,
                autoLoad: { maskMsg: "Carregando...", showMask: true, mode: "iframe", url: winURL}
            }).show();
    This will create duplicate taskbar items. See attachment.

    Regards,

    Martin.



  9. #9

    RE: [1.0] Strange Issue with Desktop showing 2 Taskbar buttons on opening a singlw window

    Hi,

    I cannot reproduce that issue with latest code. Try to update from SVN and if the issue is still reproducible then post full test sample

Similar Threads

  1. [CLOSED] Show Desktop window maximized - strange behavior
    By FAS in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Apr 03, 2012, 5:58 PM
  2. opening severall time a desktop window
    By feanor91 in forum 1.x Help
    Replies: 4
    Last Post: Dec 22, 2011, 11:49 AM
  3. Replies: 1
    Last Post: Nov 24, 2011, 9:02 PM
  4. [CLOSED] Preventing a Desktop Window from being shown in the taskbar
    By r_honey in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 04, 2011, 7:46 PM
  5. Replies: 0
    Last Post: Jan 23, 2010, 4:15 PM

Posting Permissions