Tag Archives: windows 8

Windows 8 FAQ: the real Frequently Asked Questions

Since there is a certain amount of puzzlement around concerning Microsoft’s new version of Windows, or I should say, two new versions of Windows, here are the answers to the questions many are asking.

Why is Windows 8 so odd?

Windows is the most popular desktop operating system in the world; but is on a trajectory of slow decline. A combination of Macs at the high end and iPad or Android tablets in mobile is eroding its market share. You might not mind that, but Microsoft does, and Windows 8 is its answer. It has a tablet personality which is Microsoft’s tablet play, and a desktop personality which lets you run your existing Windows applications. The two are melded together, which makes Windows 8 a little odd, but ensures that neither one will be ignored.

Why did Microsoft not make a separate tablet version of Windows, like Apple’s iOS and OSX?

Many users think Microsoft should have made the tablet personality in Windows 8 a separate operating system. However, when they say that this would have made more sense and be less odd and intrusive, what they mean is that if it were a separate operating system they could ignore it and get on with their work in old-style Windows. That would achieve nothing for Microsoft, since the tablet-only OS would fail in the market.

Furthermore, Microsoft did in fact make a separate tablet version of Windows. It is called Windows RT (see below).

Why did Microsoft make the desktop side of Windows 8 impossible to use without touch input?

Actually it is fine to use with keyboard and mouse, it just takes some getting used to. When people say it is impossible to use, they mean that they have only tried it for five minutes in a virtual machine and did not like it. If you stick at it, you discover that Microsoft actually thought hard about keyboard and mouse users, and that the new Start screen is a better application launcher than the old Start menu, particularly in combination with the most used applications pinned to the taskbar. Some will not get that far, in which case they will stick with Windows 7 or even buy Macs. That is Microsoft’s calculated risk.

Why didn’t Microsoft simply make desktop Windows easy to use with touch input?

Microsoft tried, in Tablet PC and in Windows 7, but could not make it work. The biggest problem is that while Microsoft conceivably could have made the Windows desktop work well with touch input alone, it had no chance of fixing third-party applications, or older versions of Microsoft’s own software like Office.

Why did Microsoft remove the Start menu from the desktop?

This was not just to annoy you; but Microsoft would rather risk annoying you than have the new app platform in Windows be ignored. That said, there are third-party utilities that put something very like the Start menu back on the desktop if you prefer.

Why is the tablet side of Windows 8 locked down so you can only install apps from the Store?

Well, there are ways. But Microsoft observed Apple’s success with this model on the iPhone and iPad. Easy app discovery, no malware, and a stream of income from third-party sales. Aiming for lock-down was an easy decision; but the Intel version of Windows 8 will never be truly locked down.

Why are the apps in the Windows Store so few and so poor?

This is because the tablet personality in Windows 8 is a new and unproven platform. Software vendors and app developers are not sure whether it will succeed; and they are busy making apps for the two tablet platforms that already have a market, iOS and Android. If Windows 8 takes off, then the apps will start to flow. Unfortunately, the poor quality of the apps so far makes that less likely. Microsoft is countering by seeding the market with a few high quality apps, like OneNote MX, and hoping that Windows 8 users will create a strong demand for apps as the operating system becomes well-known.

What is Windows RT?

Windows RT is Windows 8 running on the ARM processor. The difference from the user’s perspective is that only new-style tablet apps will run on Windows RT. Your existing Windows apps will not run. It is not all bad news though. A Windows RT tablet or notebook will be more secure and run more efficiently than Windows 8 on Intel. If Microsoft has done its job, it should be more stable too, since apps are isolated from each other and from the operating system. Another bonus is that Windows RT comes with Microsoft Office bundled for free – though business users should beware of licensing issues which prohibit commercial use, unless you have an additional license to use Office.

Why are there so few Windows RT devices?

Microsoft’s third-party partners are not sure that Windows RT will succeed. They are a conservative bunch, and think that users will prefer compatibility with the past over the advantages in security, efficiency, and usability with touch, that Windows RT offers.

Why are most Windows 8 tablets complex and expensive hybrids with twisty screens and keyboards?

See above. Most of Microsoft’s hardware partners are not sure that users will buy into the idea of using Windows with simple touch-only slates, so they are playing safe, as they think, with hybrid devices that can be used either as slates or like laptops. Unfortunately the high price of such complex devices will limit demand. Microsoft is doing its own devices, called Surface, as examples of hardware that shows off Windows 8 to best advantage.

Should I upgrade to Windows 8?

If you don’t mind trying something new, yes. It runs better than Windows 7 in most respects. Yes, it is a little odd and has some annoyances, but nothing too serious. Give yourself a little time to learn it. If you hate change though, stick with what you like.

Will Windows 8 succeed, or is it the beginning of the end for Windows?

Ask me that a year from now. Let me add though, that the thing to watch is the Windows Store. If the Store flourishes and quality apps start to flow, it is working. If not, then Microsoft will have failed to achieve its goal with Windows 8, which is to establish a new app ecosystem.

See also:

Windows 8 survival guide for keyboard and mouse users

Windows 8 survival guide for tablet and touch users

Hands on Windows 8 development: Twitter and hyperlink hassles

I have been messing around with a Windows 8 app to present content from ITWriting.com in an app, mainly as a learning exercise. I came up with the idea of showing recent tweets on the main page of the app. Like this:

image

I thought this would be easy, but encountered several problems. I am developing in XAML and C#; this aspect would probably be easier in HTML.

The first problem: retrieving the tweets. The Twitter REST API version 1.1 has GET statuses/user_timeline which does what I want, except that it requires “user context”, in other words a Twitter log-in. That is an unacceptable requirement for a user simply viewing my tweets, rather than their own timeline.

The deprecated  Twitter RSS API on the other hand is perfect. Unfortunately:

Please note that there is no support for the RSS response format in API v1.1. Properly versioned API v1 URLs will cease functioning in March 2013

Never mind, it will do for the moment. I created a Twitter data source which retrieves the tweets as RSS. In my XAML I have a ListView which is bound to this data source. This ListView has an ItemTemplate which defines what appears in the list. I added a TweetItemTemplate in the Resources section of the XAML which displays each tweet in a TextBlock. So far so good.

image

No hyperlinks though – they are dead. What is the use of a tweet without hyperlinks? Not much. I thought of a hack which would let you click or tap an entire tweet, look to see if a hyperlink is there, and then launch it. Ugly, and would only work for one hyperlink per tweet.

TextBlock does not support hyperlinks. However there is a way to do this using RichTextBlock. This supports a collection of inline elements. You can have a Run element containing text, then an InlineUIContainer containing a HyperLinkButton, then another Run element and so on. The Hyperlink will be out of alignment, as shown here, but you can fix that by tweaking margins and padding.

Of course, this approach does mean parsing the tweet to extract the URLs and then building the RichTextBlock content. So in place of my simple TextBlock binding I now have this:

  <ContentControl Content="{Binding Path=Title,Converter={StaticResource tweetToBlocks}}"></ContentControl>

I have also written a converter class which takes the bound value, builds the RichTextBlock in C#, and returns it. This gets you the result in the first image in this post. Not too bad, and the links work.

What is annoying though is that the mouse pointer does not change to a hand icon when you hover over the link. I thought I could fix this by subclassing HyperLinkButton and adding code to change the cursor on the PointerEntered event:

Window.Current.CoreWindow.PointerCursor = new Windows.UI.Core.CoreCursor(Windows.UI.Core.CoreCursorType.Hand, 1);

This does not work. At least, you can see a flash as the cursor tries to change, but it is overridden by the RichTextBlock which changes it back to a text select cursor. I have not found a way round this yet.

I then tried another approach. You can use a RichEditBox which does support links. The approach is different; you set the text of the Document property and then use the Link method to assign a link to a TextRange within it. It works; but I was frustrated to find that the mouse pointer still does not change to a hand when over the link. The RichTextBlock actually works just as well and is more integrated with XAML.

image

I am sure you could fix this by using a WebView – embedded IE – for each tweet, but that seems to me an unduly heavyweight approach. Better perhaps would be a single web view showing all the tweets, which I might try when I have a moment.

Even so, I was surprised how tricky it is to show tweets with hyperlinks in a ListView.

Microsoft posts decline in revenue and profits on the eve of Windows 8 launch

Microsoft has announced its results for the first quarter of its financial year. The quote from Chief Financial Officer Peter Klein sums it up pretty well:

While enterprise revenue continued to grow and we managed our expenses, the slowdown in PC demand ahead of the Windows 8 launch resulted in a decline in operating income

Except that is for one thing. Klein implies that the PC slowdown is something to be expected ahead of the launch of a new edition of Windows, but I suggest there is more to it than that. First though, here are the figures, in the summary form that I have used before:

Quarter ending September 30th 2012 vs quarter ending September 30th 2011, $millions

Segment Revenue Change Profit Change
Client (Windows + Live) 3244 -1630 1646 -1624
Server and Tools 4552 +336 1748 +183
Online 697 +56 -364 150
Business (Office) 5502 -133 3646 -71
Entertainment and devices 1946 -15 19 -321

What is notable here is a significant reduction in revenue from the Windows client, while the enterprise-focused server and tools continue to grow. The Office products are bumping along fine, despite a small reduction in revenue, and despite the fact that we are on the eve of a new edition of Office as well as Windows.

Note that I am not a financial analyst, so take the following observations in that light.

I suggest that falling revenue from the Windows client is not just because Windows 8 is on the way, but because of a shift in the market towards mobile and tablets – Apple iPad and Google Android devices. See this post for an example of that in the consumer market.

Will Windows 8 deliver the hoped-for boost in PC and Windows sales? I am sceptical, especially in the short term (in other words, the next quarter). I discussed some of the issues here. Microsoft is making radical changes both to Windows and to its business model. It is doing the right thing, bringing Windows into the tablet era, and venturing into Windows device manufacture in order to pull quality of hardware design into its own hands rather than trusting entirely to OEM partners.

That transition may or may not work long-term, but in the short term it is likely to be costly. In Windows 8 Microsoft has concentrated on establishing a new ecosystem around the new tablet-friendly Windows Runtime platform. The consequence is that it does not deliver much benefit to users of desktop applications – in other words, all Windows applications other than those in the new Windows app store. Further, moving to Windows 8 is difficult at first for those familiar with Windows, so much so that many users react against it.

This means that Windows 8 will not deliver the upgrade rush that Windows 7 enjoyed, following on from the unpopular Vista. Rather, its success rests on the new elements in Windows: tablet use and Windows 8 apps.

Right now though, there is very little in the Windows Store that is good enough to drive sales. Developers are waiting to see if the platform succeeds before diving in.

The Windows 8 platform does have plenty of potential; and Microsoft is putting a huge promotional push behind it. Against that, there are powerful forces that will tend to suppress demand. It is going to be a battle, and one for which the outcome is hard to predict.

Amazon.com sales stats snapshot shows why Microsoft is reinventing Windows

Anyone who questions the need for Microsoft’s radical reinvention of Windows need look no further than Amazon’s sales stats.

I was on Amazon.com checking out the specs for Samsung’s new Ativ slate, and happened to click the link for best sellers in Computers and Accessories.

On the morning of 17th October 2012, here is how the top 20 looked:

  • Six Android tablets including Samsung Galaxy Tab at number 1 and Google Nexus 7 at 3
  • Four varieties of Apple iPad at number 4, 7, 9 and 13
  • Two Apple MacBooks (Pro and Air) at positions 2 and 16
  • One solitary Windows laptop at number 10 (Dell Inspiron).

A mix of networking devices, screens and accessories make up the other eight places; I chose the entire sector because it puts tablets and laptops alongside each other.

image

This is not about price. That Dell laptop is $429.99, little different from the 16GB iPad 2 at $399.99 and 42.5% of the cost of the MacBook Pro.

Windows still outsells the Mac overall. Gartner gave Apple just 13.6% of the US PC market (excluding tablets) for the third quarter of 2012. However, Windows is boosted by large corporate sales, where the Mac is still a minority taste; Amazon is largely a consumer vendor.

Further, Amazon’s figures change hourly and I may have hit a low spot; check out the current list yourself.

Finally, the large number of Windows laptops on offer dilute the ranking of any one – though there are a lot of Android tablets on sale too.

For Microsoft though, this is still a worrying list to see. Today’s Windows 7 devices are not what consumers want. Reinventing Windows for tablets was the right thing to do – though that does not, of course, prove that Windows 8 will succeed. Windows 8 pre-orders are not high on the list either – and yes, they are on the list; the Samsung Ativ convertible is currently at 60.

Microsoft Surface is coming: Windows, but not as you know it

Today Microsoft showed full details and prices for its Surface RT tablet with an ARM processor – an Intel variant is to follow – and you can order now.

image

Surface is a distinctive device. Here are the key points:

  • Surface RT runs an NVidia ARM chipset – which means not one of your existing Windows 7 or earlier apps will run. Only new Windows Store (Metro-style) apps can be installed.
  • Microsoft Office 2013 comes preinstalled. It is the Home and Student edition, no Outlook and no license for commercial use, though individuals who use it for work are unlikely to be pursued. Businesses will need to cover Office usage with a volume license.
  • This is a true tablet. There are two different styles of keyboard cover, but it is designed for touch control. How successful this is for Office is moot (and we have not yet seen the final Office 2013) but it should at least be tolerable.

I doubt you will buy Surface RT for its specs: not bad, but not special either:

  • 10.6″ 1366 x 768 display (no Retina claims here)
  • 5-point multitouch
  • 2GB RAM
  • 1.5lbs weight – pretty lightweight
  • Wifi and Bluetooth but no 3G or 4G
  • Front and rear 720p cameras
  • Two microphones, stereo speakers
  • USB 2.0 (not 3.0)
  • MicroSDXC card slot (a nice differentiator from the Apple iPad)
  • 32GB or 64GB built-in storage
  • HD video out
  • Sensors: ambient light, accelerometer, Gyroscope, Compass
  • Estimated 8 hour battery life – a bit disappointing, but decent

On the plus side, this should be the most reliable Windows yet. With desktop application installs blocked and only sandboxed Windows Runtime apps allowed, there is little opportunity for badly behaved applications or OEM foistware to foul up the system.

Surface RT realises the Windows 8 vision more fully than the Intel models, which are less efficient, less secure, and odd hybrids of old and new Windows. There is still a desktop in Surface RT, but it is limited and it would not be surprising if it disappears in future versions.

This means that Surface RT is in some respects better than the x86 Surface Pro which is promised at a later date. Surface Pro is heavier (up to 2lbs total), more power hungry, does not come with Office bundled, and will not be as secure. Further, Surface Pro will have greater need of keyboard and mouse thanks to those old desktop applications that users will install. I know which one I would rather take on a plane.

The problem with Surface RT: the Windows Store currently has around 3000 apps, most of them trivial and/or poor. How viable is Surface RT right now for getting all your work done when on the road?

That is an open question, and makes this a risky purchase for most users right now.

Then again, with Office, a web browser and a remote desktop client you are covered for many needs.

As the Windows 8 app ecosystem matures, Surface RT will get correspondingly more attractive. If Microsoft has got the design right (and early reports are good) this could be the ideal device for work and play. I want one.

Windows 8 survival guide for touch and tablet users

Many features of Microsoft’s new Windows are designed for touch control on tablets – or perhaps a touch screen on your desktop or laptop. If you have one of those, congratulations: you are set to get the best from Windows 8. Even so, finding your way around does take a bit of time to learn, thanks to some non-obvious features. Here is a brief survival guide for tablet and touch users – if you only have keyboard and mouse see here. If you have a hybrid with both, I suggest reading both survival guides; some things are easier with a keyboard and mouse.

That said, I have found that almost anything can be accomplished with touch alone; and it is worth persevering since it gets easier with practice. A slate without a keyboard is smaller and more convenient that a laptop or slate with loose keyboard. The exception: if I need to type a lengthy piece, a keyboard is worth the inconvenience.

I am mostly avoiding third-party utilities. This is for out-of-the-box Windows 8.

Options are shown a, b , c etc where they are alternatives. Steps are shown as 1, 2, 3 where needed.

How do you right-click an icon without a mouse?

In the Desktop, you can do the equivalent of a right-click by tapping and holding an item until a rectangle outline appears under your finger. Release to show the right-click menu (context menu).

How do you type in a desktop app when the keyboard does not appear?

Tap the Touch keyboard icon in the notification area at bottom right of the screen.

image

How do I stop the keyboard covering what I am typing in a desktop app?

Very annoying and I do not have a perfect solution. One option is to dock the on-screen keyboard by tapping the dock icon at top right of the keyboard:

image

In this mode, it will not overlap any apps. I find it annoying though since you now have a short screen, and when you hide the keyboard apps remain in the position the keyboard pushed them to, so I have to resize them.

Tap the icon when docked to undock.

My tip: try typing in portrait mode. Docked or undocked, this gives you a better chance of not having to type into the void.

How do you get back to the Start screen?

a. The Start menu is a now a full-screen Metro application. You can find it in several ways. Press the Windows key, which is present even on tablets as the solitary key under the display.

b. You can also swipe in from the right to display the Charms bar, then tap Start.

image

c. A third way is to swipe in from the left and then immediately out again. This brings up the app history bar. Tap the Start tile at the bottom.

How do I organize the Start screen into groups?

The new Start screen is not hierarchical, but does support named groups. Two things you need to know:

1. To create a group, tap on a tile and drag up slightly as if you were going to flick to select, but don’t lift your finger. An outline appears on the tile and you can drag a tile right or left until it passes a grey vertical bar. Release to start the new group, or drag further to add to a different group. You can drag past the end of the screen to have further groups scroll into view.

image_thumb1

Add further tiles to a new group by dragging them under one of the existing tiles in the group.

2. To name and/or move the group, put two fingers on the screen and pinch inwards. This will zoom out. Now, flick up on the group you want to name. This selects the group. Then you can tap Name group to name or rename it.image_thumb4

3. To move a group, use the same technique you used to move a tile – flick up, but do not lift your finger. Now you can drag the whole group to a new position.

I turned my tablet on and the logon screen comes up, but it does not respond to touch.

I hope this never happens to you, but I have seen it regularly on a Samsung Slate and guess it may happen on other models too. The only solution I have found is to reset the machine. To do this:

1. Hold down the power button until the unit turns off.

2. Now hold does the power button again. When the unit seems to be turning on, keep the button held down. Eventually it will turn off again. Now it is completely off. Turn on again in the normal way, and your touch control should be OK again.

I have the Start screen or a Metro app running. How do I get to the desktop?

You can go back to the Start screen and tap the Desktop tile. There is a better way though. Unless you are already at the Start screen, it is quicker to raise the app history bar by swiping in from the left and then out again. Then tap the Desktop tile.

image

I’m in a Metro app running full-screen. Where are the menus and settings?

There are two places to look. To get menus, like the tabs and address bar in Metro Internet Explorer, swipe in from the top or bottom of the screen. To get settings, swipe in from the right to show the Charms bar, and tap Settings. The settings are contextual, so you will get the settings for the current app.

I’m in a Metro app. Where is the search function?

I was surprised to see reviews of the Wikipedia app bemoaning the lack of a search function. How could an encyclopaedia app not have search?

It does of course. It is just that it is not obvious where to find it.

The reason is that Windows 8 has a system search feature. You summon by displaying the Charms bar (swipe from the right) and tapping Search. Search defaults to the current app, but you can search elsewhere by tapping another option.

I’m in a Metro app running full-screen. How I can see the on-screen clock?

This annoys me as well. However, swiping in from the right will show it temporarily.

I’m in a Metro app running full-screen. How do I close it?

The idea is that you don’t normally need to close an app. Rather, you switch away from it, which you can do using techniques already described: swipe in from the left and immediately out again, to show the app history bar.

Metro apps may be hibernated when not in use, so they do not grab system resources in the way desktop apps sometimes do.

However, you might want to close an app because it is misbehaving, or just because you have a tidy mind. Swipe in from the left and out again to show the app history bar, then press on an app, do not lift your finger but drag it down and off the bottom of the screen to close it (throw it away).

I hate the “live tiles” in the start menu, how can you turn off all the flickering activity?

Yes, I’m not sure about them either. In the Start screen, flick up on a live tile so a tick appears in the top right corner. Then tap Turn live tile off at the foot of the screen.

image

There is also an option to remove personal data from live tiles. To get this, display the Start screen, move the mouse to the bottom right corner of the screen, then tap Settings – Tiles. Tap Clear.

image

How do I start an application when I can’t even see it in the Start screen?

Can be a problem. Before you give up though, there are a few things to try:

a. The quickest way to find an application is by typing a search. Display the Start screen. Swipe in from the right to display the Charms bar, and tap Search. Then type a few letters on the on-screen keyboard; all the matching applications are listed.

b. Swipe up in the Start screen and tap the  All Apps button that appears in the app bar. Swipe through the entire list to find an app.

c. Still can’t see it? Try showing Administrative tools. From the Start screen, swipe in from the right to show the Charms menu. Tap Settings, then Tiles, Show administrative tools.

d. If you are really stuck, you might need to use Explorer in the desktop to find the application in Program Files or Program Files (x86).

How do I switch between applications, since Metro apps do not appear in the taskbar?

Swipe in from the left and then immediately out to show the app history bar. This shows all the running Metro apps as well as the current Desktop app. It is not ideal because it does not show all the Desktop apps. Then again, you can use the taskbar as your switcher for Desktop apps so it is just about viable.

How do I shut down or restart the computer?

Swipe in from the right to show the Charms menu, then tap Settings and then Power.

image

This is somewhat hidden because Microsoft intends that normally power management, or shutting the lid on a laptop, or the soft power-off on a tablet, will be enough. Still, some of us like to turn the PC off completely.

How do I log off or switch user?

Go to the Start screen and tap the user name at top right to display a menu, including Lock, Sign out, and Switch account.

image_thumb211

Having two versions of IE is confusing. I keep losing track of which sites are open in which browser.

Agreed. One solution is to make Metro IE the default, so that Desktop IE rarely opens, though this is not ideal since some web sites only work properly in Desktop IE.

If you do want to do this. go to Control Panel, type Internet in the search box, and tap on Internet Options. Tap the Programs tab, and under Choose how you open links, select Always in Internet Explorer on the desktop. Finally, make sure Open Internet Explorer tiles on the desktop is NOT checked.

image

How can I avoid going back to the Start screen when I am working in the Desktop?

a. Make sure your usual applications are pinned to the taskbar and start them from there. If you use lots of applications, you can make it double-height to fit more on, or it will scroll.

b. Put more shortcuts on the Desktop and use Windows – D to bring up the desktop when you need it.

Where is control panel? The real one, that is.

If you have read this far, you should know several ways to find it.

a. Start screen, search apps, type “control”, tap Control Panel

b. On the desktop, swipe from right for Charms, tap Settings, Control Panel.

How do I play a DVD?

Windows 8 does not include a DVD player. However your PC may come with DVD playing software bundled by the PC manufacturer. If not, download Videolan (VLC) from here. It’s free, and DVDs will play fine.

How can I stop PDF documents opening in Metro?

Windows 8 is set up to open PDF documents in the Metro-style Windows Reader. It is not too bad, but can be annoying and does not have the range of features in the Adobe reader. To fix this, make sure that the latest Adobe reader is installed by downloading it from here. Once installed, tap and hold a PDF file until a rectangle outline appears, and release to show the context menu. Tap Open With and then Choose Default program.

image

In the dialog that appears, tap Adobe Reader:

image

Now PDF documents will open on the desktop in Adobe Reader.

Where has backup gone in Windows 8?

It’s still there, but for reasons best known to Microsoft it is now called Windows 7 File Recovery. Open desktop Control Panel, type recovery top right and tap Enter. Tap Windows 7 File Recovery.

image_thumb21

How do you run an application as administrator?

Go to the Start screen find the application icon and flick up to select. Then tap Run as administrator from the menu bar at the foot of the screen.

image_thumb3

How do you capture a screenshot without a keyboard?

Use the Snipping tool by searching the Start screen. Tap New to capture all or part of the screen.

image

Where is the alt key on the touch keyboard?

Microsoft has made every effort to prevent you finding the alt key (and a few other useful things like function keys) if you are using the touch keyboard.

Enabling these is a two-stage process. First, show the Charms menu, tap Settings, and then Change PC Settings. Tap General. and then under the heading Touch keyboard, select Make the standard keyboard layout available.

image

Now tap to show the touch keyboard and tap the keyboard icon at bottom right. This lets you select a keyboard mode such as the split keyboard. Select the full keyboard, second icon from the right in the screen grab below.

image

The touch keyboard now shows Alt, Fn and other useful keys.

Adapting the Items Page template in a Windows Runtime app

A while back I adapted a sample application in order to create an app for Windows 8. I am mulling over putting it in the Windows Store, but it needed some work. In particular, I wanted to add a Twitter feed to the front page. There is plenty of space:

image

Sounds easy; but inspecting the layout code I realised that I did not understand it all that well at first.

It is based on the Items Page template in Visual Studio 2012, and there is a fair amount going on in that template:

image

  • The contents are data-bound, which is great at runtime but inconvenient at design time as the page is empty.
  • The contents are layout-aware which means that they account for the four views possible in a Windows Runtime app: landscape, portrait, snapped, and filled. The “filled” name is a little misleading; this is an app which occupies most (but not all) of the screen when another app is snapped to one side.
  • The page uses resources and templates for its element styling, which are defined either in the page itself, or in StandardStyles.xaml which resides in the Common folder in your project (added automatically in projects which use the ItemsPage template).

It’s worth adding some dummy data early on so you can see what the page really looks like:

image

For example, imagine that you want to use a smaller item size that the default 250 x 250 size. Proceed as follows:

  1. Copy the DataTemplate called Standard250x250ItemTemplate from StandardStyles.xaml. Place it in the Page.Resources section of ItemsPage1.xaml (or whatever you called your ItemsPage). Rename it to, say, “MyItemTemplate”.
  2. Modify it to use a smaller size. You will probably want to adjust the bound elements as well, plus change the references to the standard Brush elements like  ListViewItemPlaceholderBackgroundThemeBrush as well.

Here is how the page looks with the space for the image removed, the DataTemplate height set to 50, and the height of the bound Title field set to 20:

image

Note that this template is not used by the Snapped view. For that, you will need to copy and modify the Standard80ItemTemplate, or make your own template suitable for an item in the Snapped view.

The code that determines which templates are used in which state is in the VisualStateManager.VisualStateGroups element. This has a Storyboard animation for the Portrait and Snapped views. The way this works:

  1. The default view is landscape. This is why in the XAML there is a GridView called itemGridView which is visible, and a ListView called itemListView which is hidden (Visibility="Collapsed").
  2. In the Snapped view there is only room for a single-column list, not the grid. Therefore the Storyboard for the Snapped view sets the itemListView to visible and the itemGridView to hidden.
  3. When you change back to a non-Snapped landscape view, the layout reverts to the default. Code for this in in LayoutAwarePage.cs, also in the Common folder.

After working this out I was better able to adapt my own page. More on that another time!

Windows 8 usability: still a struggle for new users

Today I met with a professional software developer and at the end of the meeting brought out a laptop with Windows 8 installed. Had he ever used it? No.

This particular laptop has the RTM (Release to Manufacturing) build of Windows 8 and Office 2010 installed. I logged on with a new profile and put it in front of him. This was good, because Windows 8 ran its start-up sequence exhorting the user to “move your mouse into any corner” and showing the Charms menu.

image

This intro was not a success. My contact thought he was being instructed to move the mouse, but at this point in the start-up sequence, the mouse is disabled; it is a kind of pre-roll slideshow.

Microsoft would have done better to show a video of a user performing common actions.

Next, the Start screen came up.

image

The user soon found the Desktop tile and clicked it. I then asked him to run Word.

“Ah, no Start menu” he said. Then, being resourceful, he right-clicked the desktop and clicked “New Microsoft Word Document.” Next he double-clicked the new document.

Very good, I said, but now run Word without making a new document.

This was a struggle. Although the new Start screen is called Start, it was not obvious to him that this was in fact the Start menu and he looked for some other launcher on the desktop. He probably could have done something else clever like Ctrl-Alt-Del, Task Manager, File – New Task, but knew that was not what I was looking for.

It did not help that some quirk or bug in Office or Windows 8 meant that there were no shortcuts for Office showing by default in the Start screen. In other words, the Office apps were not “pinned to Start.” I had not intended this.

After some clicking around he stabbed the keyboard a few times which had the effect of performing random searches in the Start screen. This changes the view from big tiles to small tiles, quite disconcerting when you see it for the first time.

At this point I gave him some more help; once he got the idea of typing a few letters to find an application he was fine with it.

“What is the point of removing the Start menu?” he asked me.

I know the answer to that one. The purpose is not to trip up users like him; but nor is it to help him – though personally I do now find the Start screen a better launcher than the old Start menu.

Microsoft designed Windows 8 so that users cannot avoid the Start screen, which is the gateway to the new world of Windows Store apps.

Despite his uncertain start, my victim thought he would be fine with Windows 8 after a few days. I agree.

Nevertheless, most Windows users will have a few painful moments as they get used to the new user interface.

Users less steeped in the old familiar ways of Windows may actually find it easier. I have seen children using Windows 8 and having no problem with it.

Expect fireworks when Windows 8 goes fully public, and more users like David Gerwirtz declare:

… despite the operating itself being a marvel of engineering, ease of use, speed, and underlying functionality — I’m forced to say that it’s unusable for desktops out of the box. Un-frakin’-usable.

He is wrong. Even as a desktop operating system, with mouse and keyboard, Windows 8 works fine. Take the trouble to learn how to use it, and you will soon be just as productive as before.

Those first moments are hard though; and no doubt some will adjust quicker than others, and some will never adjust.

It is also true that while Windows 8 is just as productive as Windows 7, and probably a bit more productive, it is less coherent in its design, thanks to its split personality.

I understand why Microsoft removed the Start menu, but it seems to me the company could have done better in showing new users how to get going. Of course this is an opportunity for OEM vendors to show how they can add value, though history is not encouraging in this respect.

Windows 8 is a brave move for Microsoft; but remember this. Without the new tablet personality, Windows would be doomed to irrelevance in a few years. As it is, Windows is getting a new Start.

All about Search in Windows 8: a feature every user has to understand

Windows 8 is a frustrating experience until you work out how Search works. Once it is discovered though, it is an elegant and powerful feature.

A confusing aspect of Windows 8 apps (on the tablet side) is that features such as menus and toolbars are hidden by default. There can be menu bars at top and bottom of an app, but you have to display them either by right-click or by swiping in from top or bottom. There is a philosophy behind this. Microsoft has called it the “immersive user interface”, one which puts content first and hides anything distracting.

Even this will not generally show Search though. Rather, Search is in the Charms bar, which you show by swiping from the right or pressing Windows key and C. There are also better shortcuts for Search, which I will come to in a moment.

When you click or tap Search in Windows 8, you are really in a kind of search centre. Take a look at the following screen, where I have displayed Search and typed “Keyboard”:

image

Note that the active search is restricted to Apps which have the word keyboard in their name. However, if you look at the right column, you can also see numbers: 25 against Settings, and 911 against Files.

This means Windows has found 25 settings for the keyboard, and 911 files. If you click or tap the different context, you see the new results.

image

Even this is not everything. The column below shows apps which have a search feature, such as Wikipedia, Store, Maps and Bing. If I tap or click Wikipedia, for example, I see encyclopaedia entries for keyboard.

image

Bing of course would give me an Internet search. Even Tunein Radio gives me results, and I can hear a broadcast about How does a QWERTY Keyboard work:

image

What this means is that the Search feature is a fast and efficient means of navigating the Windows user interface, finding documents and files, and discovering information from a variety of sources.

To get the most our of search, learn the following shortcuts:

  • Windows key and Q: Search apps
  • Windows key and W: Search settings
  • Windows key and F: Search documents and files

These shortcuts save you some clicks. If you use the mouse or Windows key and C to show charms, you have to then click or tap Search, and then choose the context you want. The shortcuts on the other hand get you a cursor ready to type your search. Search is incremental, so often just a few letters will do.

There is one subtlety. If you are  in the Start screen or on the Desktop and press Windows key and Q, you will search for an app by default. However, if you are in a Windows 8 tablet app, the shortcut will search within the current app by default. This is an inconsistency, and annoying if it comes up “This app can’t be searched”, but you can understand why it is designed that way. Otherwise, we would have four shortcuts to learn.

Windows 8 discoverability: users searching for search

I have been poking around in the Windows Store as the public launch of Windows 8 approaches, and was intrigued by the reviews for the Wikipedia app, which is nicely done. Several users complain about the lack of a search function:

image

In fact the Wikipedia app has excellent fast search, on the Charms bar:

image

The problem: when you open the Wikipedia app there is no visual clue of where to find Search. Even if you have figured out that you need to right-click, or swipe up, to show the menu bar, it does not show a Search option.

image

The Wikipedia app developers have done the design correctly, in terms of Microsoft’s guidelines. This is the “Immersive user interface” which shows content rather than distracting UI furniture.

Another advantage of having Search on the Charms bar is that you are just a tap away from performing the same search in other apps, such as Internet Explorer.

The concept fails though if users simply do not discover key functions. What is the use of an encyclopaedia without search?

It does not help that the Charms bar, which is where Search lives, is hard to summon with the mouse. It is OK on a tablet (swipe from the right) or with the keyboard (Windows Key + Q). With the mouse, you have to position the pointer vaguely in the top or bottom corner and wait for Charms to fade into view if you have done it correctly. It is a vague movement with no feedback that you have initiated an action, like a button that does not click.

I presume though that as users live with Windows 8, Windows Key + Q will become natural when looking for a Search function (hah!). It is fair to say though that the UI does not score highly for discoverability.