Engineering Windows 7

Welcome to our blog dedicated to the engineering of Microsoft Windows 7

User Interface: Managing Windows windows

User Interface: Managing Windows windows

We’ve booted the machine, displayed stuff on the screen, launched programs, so next up we’re going to look at a pretty complex topic that sort of gets to the core role of the graphical user interface—managing windows.  Dave Matthews is program manager on the core user experience team who will provide some of the data and insights that are going into engineering Windows 7.  --Steven

The namesake of the Windows product line is the simple “window” – the UI concept that keeps related pieces information and controls organized on screen.  We’ll use this post to share some of the background thinking and “pm philosophy” behind planning an update to this well established UI feature.

The basic idea of using windows to organize UI isn’t new – it dates back (so I hear) to the first experiments with graphical user interfaces at Stanford over 40 years ago.  It’s still used after all this time because it’s a useful way to present content, and people like having control over how their screen space is used.  The “moveable windows” feature isn’t absolutely needed in an operating system – most cell phones and media center type devices just show one page of UI at a time – but it’s useful when multi-tasking or working with more than one app at a time.  Windows 2.0 was the first Windows release that allowed moveable overlapping windows (in Window 1.0 they were only able to be tiled, not overlapping.  This “tiled v. overlapping” debate had famous proponents on each side—on one side was Bill Gates and on the other side was Charles Simonyi).  In addition, Windows also has the unique notion of "the multiple document interface” or MDI, which allows one frame window to itself organized multiple windows within it.  This is somewhat of a precursor to the tabbed interfaces prevalent in web browsers. 

As a side note, one of the earlier debates that accompanied the “tiled v. overlapping” conversations in the early Windows project was over having one menu bar at the top of the screen or a copy of the menu bar for each window (or document or application).  Early on this was a big debate because there was such limited screen resolution (VGA, 640x480) that the redundancy of the menu bar was a real-estate problem.  In today’s large scale monitors this redundancy is more of an asset as getting to the UI elements with a mouse or just visually identifying elements requires much less movement.  Go figure!

Screenshot of Windows 2.0 Screenshot of Windows Vista
From Windows 2.0 to Vista.

An area I’ve been focusing on is in the “window management” part of the system – specifically the features involved in moving and arranging windows on screen (these are different than the window switching controls like the taskbar and alt-tab, but closely related).  In general, people expect windows to be moveable, resizable, maximizable, minimizable, closeable; and expect them to be freely arranged and overlapping, with the currently used window sitting on top.  These transformations and the supporting tools (caption buttons, resize bars, etc) make up the basic capabilities that let people arrange and organize their workspace to their liking. 

In order to improve on a feature area like this we look closely at the current system - what have we got, and what works?  This means looking at the way it’s being used in the marketplace by ISVs, and the way it’s used and understood by customers.

Standard caption buttons or upper right corner of a window in Vista.

Caption buttons give a simple way to minimize, maximize, and close.  Resizable windows can be adjusted from any of their 4 edges.

Data on Real-World Usage 

As pointed out in the previous Taskbar post, on average people will have up to 6 – 9 windows open during a session.  But from looking at customer data, we find that most time is spent with only one or two windows actually visible on screen at any given time.  It’s common to switch around between the various open windows, but for the most part only a few are visible at once.

Typical number of visible windows (one window 60%, two windows 29%, three or more windows 11%.
Windows Feedback Panel data

As part of our planning, we looked at how people spend their time and energy in moving and sizing their windows. This lets us understand what’s working well in the current system, and what could be improved.

For example, we know that maximize is a widely used feature because it optimizes the work space for one window, while still being easy to switch to others.  Users respond to that concept and understand it.  Since most of the time users just focus on one window, this ends up being very commonly used.  We know that for many applications people ask for every single pixel (for example spreadsheets where a few pixels gain a whole extra row of column) and thus the beyond maximize features for “full screen” become common, even for everyday productivity.

An issue we've heard (as recently as the comments on the taskbar post!) with maximize in Vista is that the customized glass color isn’t very visible, because the windows and taskbar become dark when a window is maximized. (In Vista you can customize the glass window color – and in 29% of sessions a custom color has been set).  The darker look was used to help make it clear that the window is in the special maximized state.  This was important because if you don’t notice that a window is maximized and then try to move it, nothing will happen - and that can be frustrating or confusing.  For Windows 7 we’re looking at a different approach so that the customized color can be shown even when a window is maximized.

Pie chart showing custom window color selection.  29% of sessions have a custom color of "glass".

Interestingly, people don’t always maximize their windows even when they’re only using one window at a time.  We believe one important reason is that it’s often more comfortable to read a text document when the window is not too wide.  The idea of maximizing is less useful on a wide monitor when it makes the sentences in an email run 20+ inches across the screen; 4 or 5 inches tends to be a more pleasant way to read text.  This is important because large desktop monitors are becoming more common, and wide-aspect monitors are gaining popularity even on laptops.  Since Windows doesn’t have a maximize mode designed for reading like this, people end up manually resizing their windows to make them as tall as possible, but only somewhat wide.  This is one of the areas where a common task like reading a document involves excessive fiddling with window sizes, because the system wasn’t optimized for that scenario on current hardwarwe.

Worldwide LCD monitor shipments by form factor. Distribution of native monitor resolution 2005-20010 est.
Resolution data suggests wide aspect-ratio monitors will become the norm.

Being able to see two windows side by side is also a fairly common need.  There are a variety of reasons why someone may need to do this – comparing documents, referring from one document into another, copying from one document or folder into another, etc.  It takes a number of mouse movements to set up two windows side by side – positioning and adjusting the two windows until they are sized to roughly half the screen.  We often see this with two applications, such as comparing a document in a word processor with the same document in a portable reader format. 

Users with multiple monitors get a general increase in task efficiency because that setup is optimized for the case of using more than one window at once.  For example, it’s easy to maximize a window on each of the monitors in order to efficiently use the screen space.  In a Microsoft Research study on multi-tasking, it was found that participants who had multiple monitors were able to switch windows more often by directly clicking on a window rather than using the taskbar, implying that the window they want to switch to was already visible.  And interestingly, the total number of switches between windows was lower.  In terms of task efficiency, the best click is an avoided click.  

Multimonitor users rely less on the taskbar and more on window interactions to switch among windows.
MSR research report

Single monitor machines are more common than multi-mon machines, but the window managing features aren’t optimized for viewing multiple windows at once on one monitor.  The taskbar does has context menu options for cascade, stack, or side-by-side, but we don't believe they're well understood or widely used, so most people end up manually resizing and moving their windows whenever they want to view two windows side by side.

An interesting multiple window scenario occurs when one of the windows is actually the desktop.  The desktop is still commonly used as a storage folder for important or recent files, and we believe people fairly often need to drag and drop between the desktop and an explorer window, email, or document.  The “Show Desktop” feature gives quick access to the desktop, but also hides the window you're trying to use.  This means you either have to find and switch back to the original window, or avoid the Show Desktop feature and minimize everything manually.  It’s very interesting to see scenarios like this where the people end up spending a lot of time or effort managing windows in order complete a simple task.  This kind of experience comes across in our telemetry when we see complex sequences repeated.  It takes further work to see if these are common errors or if people are trying to accomplish a multi-step task.

Evolving the design

To find successful designs for the window management system, we explore a number of directions to see which will best help people be productive.  From extremes of multi-tasking to focusing on a single item, we look for solutions that scale but that are still optimized for the most common usage.  We look at existing approaches such as virtual desktops which can help when using a large number of different windows (especially when they are clustered into related sets), or docking palettes that help efficiently arrange space (as seen in advanced applications such as Visual Studio).  And we look at novel solutions tailored to the scenarios we're trying to enable.

We also have to think about the variety of applications that the system needs to support.  SDI apps (single document interface) rely heavily on the operating system to provide window management features, while MDI apps (multiple document interface)  provide some of the window management controls for themselves (tabbed UI is an increasingly popular approach to MDI applications).  And some applications provide their own window sizing and caption controls in order to get a custom appearance or behavior.  Each of these approaches is valuable, and the different application styles need to be taken into account in making any changes to the system.

For Window 7 our goal is to reduce the number of clicks and precise movements needed to perform common activities.  Based on data and feedback we've gotten from customers,  a number of scenarios have been called out as important considerations for the design.  As with all the designs we’re talking about—it is important to bring forward the common usage scenarios, make clear decisions on the most widely used usage patterns, address new and “unarticulated needs”, and to also be sure to maintain our philosophy of “in control”.  Some of the scenarios that are rising to the top include:

  • Can efficiently view two windows at once, with a minimal amount of set up.
  • Simple to view a document at full height and a comfortable reading width.
  • Quick and easy to view a window on the desktop.
  • The most common actions should require the least effort - quicker to maximize or restore windows with minimal mouse precision required.
  • Keyboard shortcuts to replace mouse motions whenever possible for advanced users.
  • Useful, predictable, and efficient window options for a range of displays: from small laptops to 30” or larger screens; with single or multiple monitors.
  • Easy to use different input methods: mouse, keyboard, trackpad, pen, or touch screens.
  • Customized window glass color visible even when maximized.
  • Overall - customers feel in control, and that the system makes it faster and easier to get things done.

This last point is important because the feeling of responsiveness and control is a key test for whether the design matches the way people really work.  We put designs and mockups in the usability lab to watch how people respond, and once we see people smiling and succeeding easily at their task we know we are on the right track. The ultimate success in a design such as this is when it feels so natural that it becomes a muscle memory.  This is when people can get the feeling that they’ve mastered a familiar tool, and that the computer is behaving as it should.

This is some of the background on how we think about window management and doing evolutionary design in a very basic piece of UI.  We can’t wait to hear feedback and reactions, especially once folks start getting their hands on Windows 7 builds.

- Dave

Leave a Comment
  • Please add 2 and 8 and type the answer here:
  • Post
  • Windows Explorer using tabs ...

    A next Windows Explorer using tabs is a nice idea (one window fits all).

    Here is an example of a tabed Windows Explorer concept.

    The inventory is a place where we drop files and programs to create links, and the multi windows icon button releases or bounds the sub folders to the tabs.

  • http://i237.photobucket.com/albums/ff89/mariosalice/WinExplorer.jpg

  • For those of you who want a window switcher more like expose, that shows all your windows at once, you might want to try out Switcher:

    http://insentient.net/

    It will show you all your windows, with live content. It also provides incremental filtering/searching of the windows based on their titles. It has many customization options too. It's really much better than Flip3d.

  • I hate the way XP/Vista thinks I wish to rearrange my files when dragging from one window to another (copying or moving). If I have the Auto Arrange option on, icon repositioning should not be allowed.

  • I just recently experienced an issue with window management that I think might be interesting for the team:

    I was on a forum typing a response to a post. This required me to do some calculations, so I opened up the calculator and made the first calculation.

    However when I clicked the maximized browser window to type in the result of my calculation the calculator of course disappeared behind it. When I wanted to do the second calculation I had to reactivate the calculator via the taskbar. After several calculations this became pretty annoying.

    A solution for this problem would be a checkable option in the right-click menu of a window to "stay on top". A more advanced version of this could divide the desktop into several overlapping layers. If a window exists on a layer higher then that of another window, it will stay above the other window no matter what the activated window is. I can see numerous situations in which this could be useful during multi-tasking.

  • one word - expose.

    copy it.

  • Expose has its own set of drawbacks: Like having 30 windows on a macbook pro 1400x1050 screen is really not that helpful. Though its way more helpful than Crap Flip 3D. Expose would be even more useful with keyboard window search...

  • @Domenico - I couldnt care less what longhorn did or did not do. Vista don't :)

    LCars - "I would like to see more APIs for developers to leverage the power of the window manager."

    Excactly. I want to be able to replicate compiz fusion in windows. My Desktop, My Way. If a linuxdude then wants to complain about it, he would have to do it to me and not ms.

  • It would be very cool if I can change the window color with a hex code and then save the preset :)

    An hex color text box would be very useful also for the color selector window (http://stevesartgallery.bryce-alive.net/tutorials/bryce/keyboard/01_swatch3.jpg).

  • I agree with mariosalice.

    I think that the tabs on explorer would be very useful.

    (very important: middle click on a favorite link of the left pane to open a new tab, and drag&drop beetween tabs).

    But I want also to show you a concept that I made some days ago.

    http://img523.imageshack.us/my.php?image=7conceptyp0.jpg

    Very useful for me.

  • 1. My old Mac LC3 (OS v7) had a "fit to contents" button on the window pane.  It would be useful for Windows applications that can determine their most economical size.  As far as I know, this has never been implemented in a Windows OS.

    2. A few apps these days have options to display windows "always on top".  For example, MS Communicator has this and some other apps as well.  I've implemented this in my own applications, and think it would be great as a pushpin icon on the window pane (next to minimize).  This would allow any user to make any window persistantly visible (or not).

  • Mark_ms and others have requested a convenient way to drag from a foreground window to another window that may be obscured or minimized.

    You might be interested in a feature that's been around since the task bar was introduced in Windows 95. While dragging, you can hover the mouse over a task bar button to bring the corresponding window to the foreground.

  • @niklas borson: this specifically is not really useful when having grouped tasks in the taskbar - you have to wait until the grouped tasks show up and then you have to find the right one... really annoying... Flicking away Windows with a special gesture would be really helpful!

    Please give us also a window always on top function built into the context menu of a window. Also transparency settings for a window would be useful in many cases. As I said before - give use power users some useful choice that should not bother any novice user.

    @quillaja: Switcher is really nice (especially the search feature) but its lacking performance and is not that mature. Additionally I dont think I should need extra programs to comfortably switch between windows. Although I use Ultra Mon for getting a second taskbar. It also has handy buttons to span a window on different screens and to move a window instantly from one screen to another while scaling the frame to fit different screen sizes. This should also be in Windows directly, if you ask me...

  • Niklas (and Mark_ms and others): There's also drag, Alt+Tab to other window, then drop.

    You can also do this with Ctrl+Tab in MDI apps and tabbed dialogs to get to a particular child window or tab.

    Unfortunately IE7 doesn't allow you to switch tabs using that same shortcut when you have something in mid drag.

  • I don't know if anyone mentioned this, but I hope that if you're going to add new items to the standard system menu, that "Close" remain at the bottom of the menu. I and many users I know have developed the habit of right clicking on taskbar buttons and selecting close to close them. Then we run into windows like the console, MMC, or HTML help where other items are positioned below Close. I'd like to see these apps fixed so that close is always at the bottom (why does the MMC need help on the system menu anyways?), and perhaps this could be somehow enforced by Windows for all apps?

Page 5 of 9 (135 items) «34567»