Bug 555165

Summary: Couldn't show GridSplitter sample which is build by mxap
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Moonlight - GeneralAssignee: Mario Carrion <mcarrion>
Status: VERIFIED FIXED QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium    
Version: Unspecified   
Target Milestone: Release 2.1   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 546068    
Attachments: GridSplitter sample: please extract it and run 'make' to do mxap. TestPage.html and *.xap was build on Visual Studio

Description calen chen 2009-11-13 06:57:23 UTC
Created attachment 327309 [details]
GridSplitter sample: please extract it and run 'make' to do mxap. TestPage.html and *.xap was build on Visual Studio

REPRO:

1. I have created a sample with GridSplitter and TextBlock control
2. the sample can be build by mxap successful to create html and xap
3. run the html with Forefox on linux

RESULTS:

Couldn't show GridSpitter and TextBlock element on Firefox window but I got a blank page

EXPECTED RESULTS:

Elements should be shown on the page.

COMMENTS:

If I build the sample by Visual Studio and copy to Linux, the TestPage.html can works well.
Comment 1 Andreia Vidigal Gaita 2009-11-19 18:27:04 UTC
If you look inside the xap file that VS produces, you'll notice that it includes the dll in it, and to compile apps that use the System.Windows.Controls assembly, you need to reference it with mxap to do the same.

Assuming your moon directory is on ~/work/moon , you need to do:

mxap --application-name=GridSplitterSample -r=System.Windows.Controls.dll --builddirhack=~/work/moon
Comment 2 calen chen 2010-01-14 11:02:09 UTC
(In reply to comment #1)
> If you look inside the xap file that VS produces, you'll notice that it
> includes the dll in it, and to compile apps that use the
> System.Windows.Controls assembly, you need to reference it with mxap to do the
> same.
> 
> Assuming your moon directory is on ~/work/moon , you need to do:
> 
> mxap --application-name=GridSplitterSample -r=System.Windows.Controls.dll
> --builddirhack=~/work/moon

Hey, 

I have done it following your Comment 1, but I got the same problem, could you help to take a look again, or I am missing something? Sorry I reply late, big thanks!


[mono]/A11y/uia2atk-test/samples/moonlight/GridSplitter@ mxap --application-name=GridSplitterSample -r=System.Windows.Controls.dll --builddirhack=/A11y/mono-2.6/moon/
  adding: AppManifest.xaml (deflated 47%)
  adding: GridSplitterSample.dll (deflated 64%)
  adding: GridSplitterSample.dll.mdb (deflated 57%)
Comment 3 Mario Carrion 2010-03-19 20:18:50 UTC
Review: http://reviews.mono-a11y.org/r/720/
Comment 4 calen chen 2010-03-20 07:14:01 UTC
Closed!