Resize window when zoom is changed
Submitted by Philip Ganchev
Link to original bug (#467249)
Description
A window that fits the content exactly is usually preferable one too small to view the whole content or a one so large that it wastes screen space by displaying non-content. A window without scroll bars is also more esthetically pleasing, and allows navigation to the next page using Spacebar, which is simpler than "Next page" (Control+PageDown).
Currently the right window size can be achieved by manually resizing the window, which is laborious. Instead, there should be a new mode that keeps the window in the optimal size as the content is zoomed (until the window becomes too large to fit on screen). Then user can concentrate on the content instead of resizing the window. Alternatively, there can be an action to resize the window to the optimal size; but requires more work for the user. The mode or action can be invoked under the View menu.
The causation here is the opposite direction from the one in "best fit" or "fit width" view. If it is implemented as a mode, then "best fit" and "fit width" should also be modes (alternatives to "custom window size"), so that "best width" with "resize window" both resizes the window if the content is zoomed, and re-zooms the content if the window size is changed.
Version: 0.8.x