iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hello,
I have noticed that when I attempt to move an open window on WebDesktopManager, the movement is sporadic. When moving the window less than a couple hundred pixels, I don't notice any problems.... however, when I attempt to move the window to the opposite end of the WebDesktop, especially near the extremities of the desktop, I notice "sporadic" / "jerky" behavior (typically with half of the window being off the page)
I can provide a video snapshot if it will help.
Is there anything that can be done to fix this? I don't expeirence this issue when moving Windows on the Intersoft Developer Network portal.
Thank you.
Hi,
Could you look into my sample and let me if you get the same issue or not. Did you mean "window disappeards and a silhouetter" as shadow animation or something? If yes, you only need to set WindowInteractiveMove properties "Shadow". Unfortunately, i still could not replicate sporadic issue. May i know what safari version did you use?
Ok, thank you for your report. But could you help me by posting some screenshots that can show the differences between them?
Regards,Handy
Attached is a screen capture.
Note that at first, when I was trying to move the Window I was "click and dragging". Thereafter, the window was stuck in the "move" state, and the window would move without the mouse click pressed.
Hello Alex,
Could you also share your WebDesktop structure? I need it also to replicate your issue.
Thank you for your reply.
The WebDesktop is remarkably simply at this stage of development.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Authenticated.aspx.cs" Inherits="MDSPortal.Web.Partner.Authenticated" %><%@ Register Assembly="ISNet.WebUI.WebDesktop" Namespace="ISNet.WebUI.WebDesktop" TagPrefix="ISWebDesktop" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><html><head id="Head1" runat="server"> <title>**************** - Authenticated User</title></head><body style="padding:0px; margin:0px; overflow:hidden;"> <form id="form1" runat="server"> <div> <ISWebDesktop:WebDesktopManager ID="WebDesktopManager1" runat="server" ActiveWindowIndex="0" Height="100%" Width="100%"><FrameStyle BackColor="WhiteSmoke"></FrameStyle><TaskBarButtonStyle><Normal Cursor="Default" Font-Names="segoe ui,tahoma" Font-Size="9pt" Width="150px"><BorderSettings> <Bottom Color="Gray" /> <Right Color="Gray" /></BorderSettings></Normal> <Over BackgroundImage="url(/CommonLibrary/Images/WebDesktop/npi_o7_over.gif)" BaseStyle="Normal"> </Over><Active BaseStyle="Normal" BackColor="WhiteSmoke" backgroundimage="url(/CommonLibrary/Images/WebDesktop/npi_o7_active.gif)"><BorderSettings><Bottom Color="White"></Bottom><Right Color="White"></Right></BorderSettings></Active></TaskBarButtonStyle><WindowSettings bordertype="ComplexImages" commandbuttonbordertype="ComplexImages"><WindowStyle><Active BaseStyle="Normal" BorderColor="#B0CFF7"> <BorderSettings> <Top Color="176, 207, 247" Width="0px" /> </BorderSettings> </Active><Normal BackColor="White" BorderColor="LightGray" BorderStyle="Solid" BorderWidth="3px" Font-Names="segoe ui,tahoma" Font-Size="9pt" height="100%" overflow="Auto" overflowx="Auto" overflowy="Auto"> <BorderSettings> <Top Color="LightGray" Style="Solid" Width="0px" /> </BorderSettings> </Normal></WindowStyle><CaptionStyle><Active BaseStyle="Normal" forecolor="#15428B"></Active><Normal Cursor="Default" Font-Names="segoe ui,tahoma" Font-Size="10pt" ForeColor="Gray"><Padding Top="3px" Left="2px" Right="2px" Bottom="2px"></Padding></Normal></CaptionStyle><CaptionButtonStyle><Normal Overflow="Hidden" OverflowY="Hidden" OverflowX="Hidden"></Normal> <Over BaseStyle="Normal"> <BorderSettings> <Bottom Color="Gray" /> <Right Color="Gray" /> </BorderSettings> </Over> <Active BaseStyle="Normal"> <BorderSettings> <Left Color="Gray" /> <Top Color="Gray" /> </BorderSettings> </Active></CaptionButtonStyle><ContainerStyle Overflow="Auto" OverflowY="Auto" OverflowX="Auto" BackColor="White" Font-Names="segoe ui,tahoma" Font-Size="9pt" Height="100%" Width="100%"><Padding Top="4px" Left="4px" Right="4px" Bottom="4px"></Padding></ContainerStyle><CommandButtonStyle><Active BaseStyle="Normal"></Active><Normal BorderStyle="None" Font-Names="segoe ui,tahoma" Font-Size="9pt" forecolor="Black"></Normal><Over BaseStyle="Normal"></Over></CommandButtonStyle><CommandButtonDisabledStyle BackColor="Control" BorderColor="ControlDarkDark" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Gray"></CommandButtonDisabledStyle></WindowSettings> <ImagesSettings ButtonCenterActive="o7/button_center_active.gif" ButtonCenterInactive="o7/button_center_normal.gif" ButtonCenterOver="o7/button_center_over.gif" ButtonLeftActive="o7/button_left_active.gif" ButtonLeftInactive="o7/button_left_normal.gif" ButtonLeftOver="o7/button_left_over.gif" ButtonRightActive="o7/button_right_active.gif" ButtonRightInactive="o7/button_right_normal.gif" ButtonRightOver="o7/button_right_over.gif" CaptionCenterActive="o7/center_active.gif" CaptionCenterInactive="o7/center_inactive.gif" CaptionLeftActive="o7/left_active.gif" CaptionLeftInactive="o7/left_inactive.gif" CaptionRightActive="o7/right_active.gif" CaptionRightInactive="o7/right_inactive.gif" CloseActive="o7/close_active.gif" CloseDown="o7/close_down.gif" CloseInactive="o7/close_inactive.gif" CloseOver="o7/close_over.gif" MaximizeActive="o7/max_active.gif" MaximizeDown="o7/max_down.gif" MaximizeInactive="o7/max_inactive.gif" MaximizeOver="o7/max_over.gif" MinimizeActive="o7/min_active.gif" MinimizeDown="o7/min_down.gif" MinimizeInactive="o7/min_inactive.gif" MinimizeOver="o7/min_over.gif" RestoreActive="o7/restore_active.gif" RestoreDown="o7/restore_down.gif" RestoreInactive="o7/restore_inactive.gif" RestoreOver="o7/restore_over.gif" /><ShortcutStyle><Active BaseStyle="Normal" BackColor="#A7CDF0"></Active><Normal Cursor="Default" Font-Names="Segoe UI,Tahoma" Font-Size="9pt"></Normal></ShortcutStyle><MenuStyles><System backgroundstripcolor="233, 238, 238" backgroundstripcolor2="" menuanimation="True" menudropshadow="True" menuwindowtype="Normal"><ItemStyle><Normal Font-Names="segoe ui,tahoma" Font-Size="8.25pt"></Normal><Over BaseStyle="Normal" BackColor="#FFE7A2" bordercolor="#FFBD69" borderstyle="Solid" borderwidth="1px"></Over></ItemStyle><DisabledItemStyle><Normal Font-Names="segoe ui,tahoma" Font-Size="8.25pt" ForeColor="Silver"></Normal><Over BaseStyle="Normal" BackColor="WhiteSmoke" bordercolor="#FFBD69" borderstyle="Solid" borderwidth="1px" forecolor="Gray"></Over></DisabledItemStyle> <CheckedItemStyle> <Normal BackColor="#FFBD69" BorderColor="#FFAB3F" BorderStyle="Solid" BorderWidth="1px"> </Normal> <Over BackColor="#FB8C3C" BorderColor="#FB8C3C" BorderStyle="Solid" BorderWidth="1px"> </Over> </CheckedItemStyle><FrameStyle BackColor="White" BorderColor="#404040" BorderStyle="Solid" BorderWidth="1px"></FrameStyle><SeparatorStyle><BorderSettings><Top Width="1px" Color="154, 198, 255" Style="Solid"></Top></BorderSettings></SeparatorStyle></System> <Application BackgroundStripColor="233, 238, 238" BackgroundStripColor2="" MenuAnimation="True" MenuDropShadow="True" MenuWindowType="Normal"> <ItemStyle> <Normal Font-Names="segoe ui,tahoma" Font-Size="8.25pt"> </Normal> <Over BackColor="#FFE7A2" BaseStyle="Normal" BorderColor="#FFBD69" BorderStyle="Solid" BorderWidth="1px"> </Over> </ItemStyle> <DisabledItemStyle> <Normal Font-Names="segoe ui,tahoma" Font-Size="8.25pt" ForeColor="Silver"> </Normal> <Over BackColor="WhiteSmoke" BaseStyle="Normal" BorderColor="#FFBD69" BorderStyle="Solid" BorderWidth="1px" ForeColor="Gray"> </Over> </DisabledItemStyle> <CheckedItemStyle> <Normal BackColor="#FFBD69" BorderColor="#FFAB3F" BorderStyle="Solid" BorderWidth="1px"> </Normal> <Over BackColor="#FB8C3C" BorderColor="#FB8C3C" BorderStyle="Solid" BorderWidth="1px"> </Over> </CheckedItemStyle> <FrameStyle BackColor="White" BorderColor="#6593CF" BorderStyle="Solid" BorderWidth="1px"> </FrameStyle> <SeparatorStyle> <BorderSettings> <Top Color="154, 198, 255" Style="Solid" Width="1px" /> </BorderSettings> </SeparatorStyle> </Application></MenuStyles> <Windows> </Windows><TaskBarStyle Overflow="Hidden" OverflowY="Hidden" OverflowX="Hidden" BackColor="#A1BDCF" Height="30px" backgroundimage="url(/CommonLibrary/Images/WebDesktop/npi_o7_normal.gif)"> <BorderSettings> <Bottom Color="161, 189, 207" Style="Solid" Width="1px" /> <Top Color="161, 189, 207" Style="Solid" Width="1px" /> </BorderSettings></TaskBarStyle> </ISWebDesktop:WebDesktopManager> </div> </form></body></html>
I copied your structure and found that there is no WebDesktopWindow inside. Then, i added a WebDesktopWindow but with no issue. So, perhaps i was missing something in replicating the issue?
FirmSubscriptions firmsubs = FirmSubscriptions.GetFirmSubscriptions(GetFirmID()); foreach (FirmSubscription firmsub in firmsubs) { foreach (Shortcut sc in firmsub.Module.Shortcuts) { if ((sc.UserType == "FirmUser") || (sc.UserType == "FirmAdmin" && (FirmUser.IsFirmAdmin || FirmUser.IsAdmin)) || (sc.UserType == "Admin" && FirmUser.IsAdmin)) { ISNet.WebUI.WebDesktop.WebDesktopShortcut shortcut = new ISNet.WebUI.WebDesktop.WebDesktopShortcut(); shortcut.Name = "sc" + sc.ShortName; shortcut.WindowName = "wnd" + sc.ShortName; shortcut.Text = sc.ShortcutName; shortcut.ToolTip = sc.Tooltip; shortcut.TargetURL = sc.TargetURL; shortcut.Image = sc.IconURL; shortcut.Visible = true; WebDesktopManager1.ShortcutIcons.Add(shortcut); ISNet.WebUI.WebDesktop.WebDesktopWindow window = new ISNet.WebUI.WebDesktop.WebDesktopWindow(); window.Name = "wnd" + sc.ShortName; window.Text = sc.WindowName; window.ShowInTaskBar = true; if (sc.Maximized) window.WindowState = ISNet.WebUI.WebDesktop.WindowState.Maximized; if (sc.AllowMaximize) window.AllowMaximize = ISNet.WebUI.WebDesktop.AllowMaximize.Yes; else window.AllowMaximize = ISNet.WebUI.WebDesktop.AllowMaximize.No; if (sc.AllowMinimize) window.AllowMinimize = ISNet.WebUI.WebDesktop.AllowMinimize.Yes; else window.AllowMinimize = ISNet.WebUI.WebDesktop.AllowMinimize.No; if (sc.AllowClose) window.AllowClose = ISNet.WebUI.WebDesktop.CloseMode.Yes; else window.AllowClose = ISNet.WebUI.WebDesktop.CloseMode.No; window.ClientVisible = sc.ClientVisible; window.ContentURL = sc.TargetURL; window.ContentMode = ISNet.WebUI.WebDesktop.ContentMode.UseIFrame; if (sc.SizeMin != "") { try { int x = 0; int y = 0; x = Int32.Parse(sc.SizeMin.Substring(0, sc.SizeMin.IndexOf("x"))); y = Int32.Parse(sc.SizeMin.Substring(sc.SizeMin.IndexOf("x") + 1)); window.MinimumSize = new System.Drawing.Size(x, y); } catch { Response.Redirect("/Error.aspx?message=Invalid window dimensions");} } if (sc.SizeMax != "") { try { int x = 0; int y = 0; x = Int32.Parse(sc.SizeMax.Substring(0, sc.SizeMax.IndexOf("x"))); y = Int32.Parse(sc.SizeMax.Substring(sc.SizeMax.IndexOf("x") + 1)); window.MaximumSize = new System.Drawing.Size(x, y); } catch { Response.Redirect("/Error.aspx?message=Invalid window dimensions"); } } WebDesktopManager1.Windows.Add(window); } } } WebDesktopManager1.ShortcutIconsVisible = true;
All windows and shortcuts are set dynamically upon pageload based upon the logged in user permissions. Below is a code snip so you can see the properties assigned to the window / sc.
Hi Alex,
I tested out a simple sample with those settings, but I could not replicate the issue. Could you help me by sending a simple sample that replicates this issue? The sporadic window movements is very weird. Please ensure that you have applied the latest hotfixes in your project bin folder.
I continue to experience this issue on all computers I test it on. It works in IE fine in all cases.
Is there a "click lock" feature that locks the curser to the window? Sometimes my curser become stuck in "Move" mode when I move a window. It's as if move mode isn't properly ending after my click release.
Is there a way to disable this feature?
How can I make my Window move behavior like yours on the Intersoft Network. When moving a window on your WebDesktop, the window disappears and a "silhouette" appears. How can I replicate this feature?
Should I create a support ticket, or should we continue to troubleshoot this here.
Kindly read my last post. Thank you!
I was able to resolve this by setting WindowInteractiveMode to shadow, and futher speed things up by disabling animations in WebDesktopManager.
Prior to this change, I experienced the above behavior problems in ALL browsers except IE.
Thank you
Ok, glad to hear that you can resolve it. But once again, i tried on another browser such as safari and mozila. Both of them worked fine.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname