Loading blog entries.. loading

Windows 8 - Far from perfect

Thursday, December 1, 2011 9:20 PM
Written by Wayne Ye
Font Size: S  M  L 

Recently I spent a few days in investigating Metro App (AKA immersive UI) development, I downloaded & installed VS 2011 Ultimate, watched couple of videos talking about WinRT, Metro App life cycle, Living tiles & Notifications, etc. So far, I've encountered many many issues... I had to say: Windows 8 - Long Way to goSmile.

Below are few examples.

Metro App failed to got suspended

This happened when Ben Srour was doing the demo at Build conference, I encountered, too. His walking arround was killing explorer process and relaunch it manually, I copied that and my app successfully got suspended (applauding...).

Suspending issue

From a blackbox point of view, I guess this might be a bug: explorer process failed to suspend metro apps that deployed after process.exe itself.

Obvious library code defect

Code snippet below is copied from WinJS.IOHelper.existsFar from - MSDN link

 exists: function (fileName) {
    return this.folder.getFileAsync(fileName).
            function () { return true; },
            function () { return false; }

What happend? When I call var fileExisted = IOHelper.exists("FileName.extention"); and the given file does not exists, exception will be thrown inside exists method's inside -> getFileAsync, in which essentially grabs a thread from ThreadPool and does an async IO, FileNotFound exception was thrown at that thread and can be caught by VS debugger, however Metro app will not got affected. This drove me crazy and so far I didn't find a walk arround, I think this is a bug in wwaapp.js version 0.5.

Inconsistent between code and documentaiton

In the Dev Center documentation it clearly claims how to specify your own rules inside ApplicationContentUriRules node.

 <?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest">

  <!-- Code has been omitted. -->

    <Application Id="MyApp" StartPage="default.html">

          <Rule Match="http://*.bing.com/*" Type="include"/>



Whereas when I tried that I saw below (click to enlarge):

Living tiles does not got updated

This happened in Kip Olson's demo at build conference, it was embarrassing. for me, I haven't found a way to get it work so far.

wwahost.exe hang/refused to work

This happened many timesSmile... Every time it refused to work, many metro apps cannot runany more.

To be continued

I want to say, those are not my complaints, if I don't like it, I won't wast my time on it. The truth is, Windows 8 will be the most revolutionary OS from Microsoft after Windows 95, it will change everything. I hope so and I believe in it! However, again, there is long way to goSmile.


Permalink: http://wayneye.com/Blog/Windows-8-Far-From-Perfect 3506 Views  0 Comments
Tag: Category:Programming»Windows Development
Previous Blog: 慈父形象




No comments so far, be the first one!

Your view point or opinion?
Nickname *
Gravatar *
Required (not shown), used only for displaying Gravatar and receiving future notification when new comment(s) posted on this blog.
Content *
Current length:     Maximum allowed: charactors