The SetMaximizedViewport command has three flows.

  1. It is slow because it displays four-viewport workspace first and then switches to one maximized viewport.

  2. It can maximize only the viewport that already exists. For example, it cannot maximize pre-defined (standard) Left viewport if the viewport does not exist.

  3. It should be merged with MaxViewport and renamed MaximizeViewport.