Skip to content

Move to tab command deletes item if moving to same tab #2669

@CodesAway

Description

@CodesAway

Describe the bug
Move to tag command deletes item if moving to same tab

To Reproduce
Steps to reproduce the behavior:

  1. Create Move to "Tasks" tab command
    • Press F6 (to open commands window)
    • Click Add and type move
    • Select Move to "Tasks" tab and click OK
    • Click OK to close commands window
  2. Copy some text (appears in default clipboard tab)
  3. Right click an item and select Move to "Tasks" tab
  4. This works as expected (creating a Tasks tab if one doesn't exist)
  5. Switch to the Tasks tab
  6. Right click item and select Move to "Tasks" tab (such as if done by mistake)
  7. Item is deleted

Expected behavior
No change should be made, since the item is already on the Tasks tab

Screenshots
(1) Move to tag tasks success
(2) Select move to same tag
(3) Item is removed (expected no change)

Version, OS and Environment
CopyQ Clipboard Manager 8.0.0
Qt: 6.5.3
KNotifications: 6.0.0
Compiler: MSVC
Arch: x86_64-little_endian-llp64
OS: Windows 11 Version 23H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions