pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Status bar zoom value does not update when switching to and from the camera layer

Open scribblemaniac opened this issue 4 years ago • 0 comments

Issue Summary

When a camera layer is selected, the zoom may change, but if it does, the zoom value in the status bar is not updated until something else alters the zoom level (such as scrolling).

Actual Results

When switching the active layer from a non-camera layer to a camera layer or between camera layers, if the zoom level differs, the zoom level in the status bar will not be updated.

Expected Results

The status bar zoom label/field should always display the current view zoom level on non-camera layers. If a camera layer is active, the current zoom level of the camera should be displayed in the status bar zoom label/field, even if it has not been changed by the user yet.

Steps to reproduce

  1. Start a new project.
  2. Zoom in or out so the current zoom level is not 100%.
  3. Switch to the camera layer.
  4. Observe that the current zoom level is the same as it was on the non-camera layer, despite the fact that the view zoom has changed to match the default 100% zoom of the camera layer.

System Information

  • Pencil2D Version: 0.6.6, ddcaedda5555dfc549a34571adfaf3dbea35b2b8

Developer Notes

This issue was mentioned in #1442, but has been known to exist in the program far before then. This issue would be made obsolete by the changes in #1587 because then the zoom level would not depend on the currently selected layer.

scribblemaniac avatar Jul 24 '21 04:07 scribblemaniac