Skip to content

Negative Zoom Start Value in PCB View #4333

Description

@NickInTimeFilms

Current Behaviour

Some files load in with a negative zoom value on the PCB view, but display correctly zoomed and centered. Using the mouse or trackpad to scroll zoom causes the value to jump to 1 along with the view matching 1%.

After value is set to a positive number, the rest of the file session is fine. Just annoying to have to manually scroll zoom in the first time at start-up. This does not affect all my files, but those that do reliably trigger this negative start bug every file open.

Image

I've tested back several versions, and the bug does not appear in 1.0.0. 1.0.3 and above have the bug.

I've looked through a bunch of files and it's hard to spot an exact pattern, but larger boards over 50mm and boards with components off the board seem more likely to have this issue.

Saving As a problem file in 1.0.8 does not change the issue.

Getting the absolute of the start value would probably work as the number seem right, it's just negative.

Build:
Version 1.0.8
(CD-2903-0-5aa56a510 2026-07-28) Cocoa [Qt 6.8.3]

Operating System:
macOS 12.7.6 Monterey

Steps to reproduce:

  • Step 1: Open file with issue
  • Step 2: Go to PCB View and negative zoom value is shown
  • Step 3: Scroll and value is reset to 1, then regular scrolling after that.

Expected Behaviour

Zoom value is positive, scrolling correctly adds or subtracts from the current view.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions