Skip to content

Dropping a folder onto ifself should be impossible #18850

Description

@raimund-schluessler

Steps to reproduce

  1. Create two folders a and b
  2. Select both folders
  3. Start dragging the two folders by clicking on folder a or b.

Expected behaviour

It should not be possible to drop the two folders onto themself.

Actual behaviour

It is possible to drop the two folders onto the folder which was not clicked for starting the drag, see the image:

dragging

Of course, moving folder b into itself fails and produces an error message:

dragging2

But since I wanted to move both folders, moving folder a into folder b is not the intended result.

Server configuration

Nextcloud version: stable18 as of 8b4b3e1

Activity

  1. raimund-schluessler commented on Jan 13, 2020

    @raimund-schluessler
    MemberAuthor

    If someone from @nextcloud/javascript could give me a hint were to start I would look into this.

  2. szaimen commented on May 28, 2021

    @szaimen
    Contributor

    I could reproduce this on NC21.0.1

    cc @nextcloud/javascript any update here regarding raimund-schuessler's comment above?

  3. added
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on May 28, 2021
  4. ChristophWurst commented on May 28, 2021

    @ChristophWurst
    Member

    Somewhere ™️ in the files app code. But please beware that the files app is our biggest legacy component at the moment and there are strong believes that we'll soon have to rewrite at least parts of it.

  5. szaimen commented on Jan 9, 2023

    @szaimen
  6. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    and removed
    1. to developAccepted and waiting to be taken care of
    on Jan 9, 2023
  7. raimund-schluessler commented on Mar 6, 2023

    @raimund-schluessler
    Author
  8. added and removed
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    on Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions