Skip to content

JSON > Table tool is auto-selected instead of the last tool used when bringing DevToys forward with clipboard JSON #1626

@huckncatch

Description

@huckncatch

Current behavior

When I have JSON data on my clipboard and activate DevToys (bring the app forward), the "JSON > Table" tool is auto-selected, even though my last used tool was "JSON Formatter" and it is marked as a favorite. This interrupts my workflow when I want to repeatedly format JSON by pasting in different selections from other apps, since I need to re-select JSON Formatter each time.

How to reproduce it (as minimally and precisely as possible)

  1. Open DevToys and select the JSON Formatter tool
  2. Select and copy valid JSON data from another app (e.g., text editor).
  3. Bring DevToys back to the foreground.
  4. Observe which tool loads; the "JSON > Table" tool, not "JSON Formatter".
  5. Use the JSON Formatter once, then switch apps and repeat steps 2-3. The issue persists.

Expected behavior

I expect DevToys to remember my last selected tool ("JSON Formatter") when I bring the app forward, especially if it is favorited. The tool should not switch to "JSON > Table" automatically just because JSON is on the clipboard.

Screenshots

No response

Workaround

I have to manually re-select the "JSON Formatter" tool every time I want to format new JSON input. This slows down my workflow significantly.

Affected platforms

macOS

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 2.0-preview.8 (2.0.8.0)

Relevant Assets/Logs

No response

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