Non-modal map previews is not working if the map has transparent background colors.
*Control does not support transparent background colors.* /System.ArgumentException: Control does not support transparent background colors. at System.Windows.Forms.Control.set_BackColor(Color value) at Maestro.MapViewer.MapViewer.InitViewerFromMap(Nullable`1 initialScale) in C:\projects\mapguide-maestro\Maestro.MapViewer\MapViewer.cs:line 1155 at Maestro.MapViewer.MapViewer.LoadMap(RuntimeMap map) in C:\projects\mapguide-maestro\Maestro.MapViewer\MapViewer.cs:line 1138 at Maestro.Editors.Preview.MapPreviewViewContent.OnLoad(EventArgs e) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\MapPreviewViewContent.cs:line 73 at System.Windows.Forms.UserControl.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.SetVisibleCore(Boolean value) at System.Windows.Forms.Form.SetVisibleCore(Boolean value) at System.Windows.Forms.Control.set_Visible(Boolean value) at WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible() at WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value) at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate() at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel, DockState dockState) at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel) at WeifenLuo.WinFormsUI.Docking.DockContent.Show(DockPanel dockPanel) at Maestro.Shared.UI.WorkbenchBase.ShowContent(IViewContent vc) in C:\projects\mapguide-maestro\Maestro.Shared.UI\WorkbenchBase.cs:line 410 at Maestro.Shared.UI.ViewContentManagerBase.OpenContent[T](String title, String description, ViewRegion region, CreateFunc`1 method) in C:\projects\mapguide-maestro\Maestro.Shared.UI\ViewContentManagerBase.cs:line 229 at Maestro.Shared.UI.ViewContentManagerBase.OpenContent[T](ViewRegion region, CreateFunc`1 method) in C:\projects\mapguide-maestro\Maestro.Shared.UI\ViewContentManagerBase.cs:line 164 at Maestro.Editors.Preview.LocalMapPreviewer.<>c__DisplayClass10_0.<Preview>b__1(Object obj, Exception ex) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\LocalMapPreviewer.cs:line 172 at Maestro.Shared.UI.BusyWaitDialog.Run(String message, BusyWaitDelegate action, Action`2 onComplete, Boolean bPreserveThreadCulture) in C:\projects\mapguide-maestro\Maestro.Shared.UI\BusyWaitDialog.cs:line 103 at Maestro.Editors.Preview.LocalMapPreviewer.Preview(IResource res, IEditorService edSvc, String locale) in C:\projects\mapguide-maestro\Maestro.Editors\Preview\LocalMapPreviewer.cs:line 162 at Maestro.Base.Editor.EditorContentBase.Preview() in C:\projects\mapguide-maestro\Maestro.Base\Editor\EditorContentBase.cs:line 376 at Maestro.Base.Commands.PreviewResourceCommand.Run() in C:\projects\mapguide-maestro\Maestro.Base\Commands\PreviewResourceCommand.cs:line 42 at ICSharpCode.Core.WinForms.ToolBarCommand.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)/ -- View this message in context: http://osgeo-org.1560.x6.nabble.com/MapGuide-Maestro-6-0M6-available-tp5306454p5306565.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users