Zoomicon / ZUI

Zoomable Container hosting Floating Windows with Zoomable Content
Other
13 stars 7 forks source link

Can't build project and nuget package does not work. #13

Open Del-an opened 8 years ago

Del-an commented 8 years ago

Hello,

To begin, thank you for implementing such functionalities I could not find anywhere else, the first version of FloatingWindows worked great.

Meanwhile, I have two issues with ZUI, the first being :

Error       Ambiguous type reference. A type named 'VisualState' occurs in at least two namespaces, 'System.Windows' and 'System.Windows'. Consider adjusting the assembly XmlnsDefinition attributes.  FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   1   
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\DetailsForm.xaml.cs    12  Active
Error       The tag 'BootstrapButton' does not exist in XML namespace 'clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls'. Line 92 Position 14.    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   92  
Error       Unknown build error, 'Index (zero based) must be greater than or equal to zero and less than the size of the argument list. Line 1060 Position 23.' FloatingWindow.WPF  C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF\Themes\Generic.xaml 1060    
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 22  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\ModalWindow.xaml.cs    13  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MyIcon.xaml.cs 24  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\Population.xaml.cs 16  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\WindowWithChart.xaml.cs    12  Active
Error   CS0103  The name 'InitializeComponent' does not exist in the current context    FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\WindowWithIcon.xaml.cs 12  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 30  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 37  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 59  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 89  Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 101 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 119 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 140 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 161 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 166 Active
Error   CS0103  The name 'host' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml.cs 171 Active
Error   CS0103  The name 'dataGrid' does not exist in the current context   FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\Population.xaml.cs 21  Active
Error       The name "IconbarZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   142 
Error       The name "IconbarZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   210 
Error       The name "IconbarZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   265 
Error       The name "FloatingWindowHostZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI". FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   33  
Error       The name "FloatingWindowHostZUI" does not exist in the namespace "clr-namespace:FloatingWindowZUI". FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   194 
Error       The name "FloatingWindowHost" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls". FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml    95  
Error       The name "FloatingWindowHost" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls". FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml    100 
Error       The name "FloatingWindowHost" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls". FloatingWindow.WPF.Demo C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindow\FloatingWindow.WPF.Demo\MainWindow.xaml    103 
Error       The name "BootstrapButton" does not exist in the namespace "clr-namespace:SilverFlow.Controls;assembly=SilverFlow.Controls".    FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   92  
Error       Ambiguous type reference. A type named 'VisualStateManager' occurs in at least two namespaces, 'System.Windows' and 'System.Windows'. Consider adjusting the assembly XmlnsDefinition attributes.   FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   1   
Error       Ambiguous type reference. A type named 'VisualStateGroup' occurs in at least two namespaces, 'System.Windows' and 'System.Windows'. Consider adjusting the assembly XmlnsDefinition attributes. FloatingWindowZUI.WPF   C:\Users\XXX\Documents\Visual Studio 2015\Projects\ZUI-master\FloatingWindowZUI\FloatingWindowZUI.WPF\Themes\Generic.xaml   1

Second issue is : When I download the nuget package available there (https://www.nuget.org/packages/ZUI/) and I copy the files of the FloatinWindow.WPF.Demo, it builds and lauches but I am unable to move any FloatingWindow across the FloatingWindowHost, also, the bottom toolbar does not move when I click on the BootstrapButton to display it

Is it a normal behavior or did I do something wrong ?

Thank you in advance and again, thank you for your work.

birbilis commented 8 years ago

Hi, if I remember well I had replied on this by e-mail, did you have any progress resolving the first one on your own?

The 2nd one is known bug at the WPF version, have been trying for sometime now to fix. If you have the courage to try out older versions of the WPF part and see when it broke, the strategy you can follow is to grab those from http://clipflair.codeplex.come (where ZUI was before splitting to separate repository) and use a divide&conquer approach, that is go back to half of the timeline and get old version, if it works OK in WPF, then go to half point on the rest of the timeline at the right of that point. If it doesn't work, go to half point on the rest of the timeline at the left of that point and then keep on dividing till you spot the version where it worked and then when it stopped working to diff and see what change caused the window dragging to not occur in WPF.