FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Export snapshot fails silently on Linux if the extension is not part of the filename · Issue #2181 · qupath/qupath · GitHub

/ qupath Public

Export snapshot fails silently on Linux if the extension is not part of the filename #2181

Description

  • I've definitely found a bug (it you're not sure, please use image.sc instead)
  • I've checked https://qupath.github.io for a new release that might already have fixed the issue
  • I've checked the Changelog to see if the bug has already been fixed in the next release
  • I've checked for existing GitHub issues describing the same problem

Bug report

Describe the bug

On Linux, export snapshot commands only works if the extension is specified in the filename and fails silently otherwise.

To Reproduce

Steps to reproduce the behavior:

  1. Go to File -> Export snapshots... -> <Any of the 4 commands>
  2. If the file format doesn't end with .png, .tif or .jpg a file is saved as expected. If not, no file is saved and running the command fails silently.

Expected behavior

The command should add the extension automatically to save the snapshot. If not possible it should output a warning asking the user to add the desired extension into the filename.
This behavior is different on Windows, where the extension is automatically added to the provided filename.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04.2 LTS
  • QuPath Version: 0.7.0 (also tested with 0.6.0)

Additional context

On Linux, if the provided name ends with .png, .tif or .jpg, the file will be saved in this format whatever the selected output format in the GUI.

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


    Back | FazBrowse Home | New Git URL