Skip to content

Unable to easily switch between moving the background or portrait. #448

@kwvanderlinde

Description

@kwvanderlinde

Describe the bug

When first opening TokenTool, I can only drag the portrait, even after opening the "Background Options" panel. After I click the "Change Background Image" button and close the file chooser, now I can only drag the background image even after switching to the "Portrait Options" or "Overlay Options". I'm stuck like this until I click the "Change Portrait Image" button and close that file chooser.

To Reproduce
Steps to reproduce the behavior:

  1. Open TokenTool
  2. Set your portrait image via "Portrait Options" > "Change Portrait Image". Verify you can drag the portrait image around.
  3. Set your background image via "Background Options" > "Change Background Image". Verify you can drag the background image around.
  4. Expand the "Portrait Options" again.
  5. Try to drag the portrait image. Notice the background image is dragged instead..

Expected behavior
The background should only drag if the background panel is currently open.

Screenshots

TokenTool Info

  • Version: 2.2.2
  • Install: New

Desktop (please complete the following information):

  • OS: Linux Mint
  • Version 22.1

Additional context

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