Skip to content

[Bug]: Preview screenshot export is not the same as preview #297

@ollioddi

Description

@ollioddi

Describe the bug

Hi.

I am using the snippet preview screenshot function, however upon saving the result is not as expected.

I am unsure whether this is intended or a bug.

Expected output:
image

Actual output:
image

Issues:

  • Wrong aspect ratio
  • Corners are cut out (And not rounded)
  • Background not present on output
  • Margin / padding around buttons missing

Expected:
What is seen in the preview

I could not find any documentation on this feature or ways to customize.

If this is not a bug, then feel free to close the issue.

To reproduce

  1. Go to a snippet
  2. View the snippet preview
  3. Export the preview
  4. Compare

Version

Version: 3.4.1 Electron: 16.2.3 Chrome: 96.0.4664.174 Node.js: 16.9.1 V8: 9.6.180.23-electron.o OS: Windows NT 10.0.22621

OS

Windows 11

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions