snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.05k stars 3.18k forks source link

QR code size increased by ~50% after upgrade #10217

Closed Scayn closed 3 years ago

Scayn commented 3 years ago

Debug mode

Describe the bug

I just upgraded from v. 4.6 to 5.3, and now my QR codes on labels, are out of proportion. They increased from being a nice 1.7 cm to about 3 cm in size. This causes the label print to not fit on the labels, and they are cutting off some of the QR code and moving the text so it doesn't fit.

Reproduction steps

  1. generate label
  2. ctrl + p
  3. Print doesn't fit now ... If I change the scaling to 70% it will fit the QR, but the text becomes a lot smaller, and still doesn't "fit" on the line.

Expected behavior

Expected behavior is to fit on the label, as it did before the upgrade.

Screenshots

Actual size msedge_9PBQZFBnqg 70% scaling (notice p is on line below) msedge_L1kRp4lzWm

Snipe-IT Version

5.6

Operating System

Ubuntu 18.04

Web Server

Apache

PHP Version

v7.2.24-0ubuntu0.18.04.9

Operating System

Windows 10 21H2

Browser

Microsoft Edge, Google Chrome

Version

Edge v94.0.992.50, Chrome v95.0.4638.54

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No error messages

Additional context

It's an upgrade, after migrating from manual upgrades to git upgrades. From Snipe-IT 4.6 to 5.3.

welcome[bot] commented 3 years ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Scayn commented 3 years ago

Alright, if anyone sees this, and think the same as me. You can adjust the label enough to make it fit on it again. But the QR code is still a bit bigger than before. I changed it from this: image To this: msedge_7xclVG9d39 And it now fits fine on the label, for a "Large Adress Label" on the Dymo LabelWriter 450 Turbo.