Skip to content

Image tab broken in Tauri #798

@jasonjgardner

Description

@jasonjgardner

Summary
TypeError is thrown when attempting to open images in native app

To Reproduce
Attempt to open an image file in the native app

Observed behavior
TypeError: t.getParent is not a function (at window.onunhandledrejection)

Expected behavior
Image tab should work like PWA

Platform (please complete the following information):

  • OS: Windows 11 (Tauri)
  • App Version: v2.5.2

Additional context

  • Could be fixed while working on feat: configure window zoom #775
  • We may want to use <canvas> instead of <img> in ImageTab.
    • That would benefit .tga performance over the current OffscreenCanvas usage.
    • It could also lead to some simple image manipulation options: resizing, hue rotation, etc.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

🚀 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions