What feedback to give to users about why drag & drop does not work here?

I’ve been struggling to find good examples of this online, basically, the issue I’m trying to solve is that I want to provide feedback to users on why they’re unable to rearrange the order of their documents (in the outline) while they have filters set.

Normally users can rearrange the order by dragging, but when filters are turned on, it’s too prone to mistakes, however simply disabling drag & drop doesn’t feel like the right way to go either. The fact that filters are set is made clear through chips, but I don’t think users will just understand that those filters relate to why they can’t use drag & drop right now.

What I considered:

  • Change cursor to “unavailable” cursor while dragging (This doesn’t explain why it doesn’t work)
  • Show message such as “turn off filters to use dragging” in a temporary toast after trying to drop it (I don’t want to waste the users time by first pretending everything is fine)
  • Show message such as “” on the drop location (same as above)
  • Show toast message once the user tries to drag the item (so far this feels most logical)

Would love advice!
Thanks a lot.

sharepoint online – Library Drag and Drop no working for all users

Need help in troubleshooting possible causes for why a user is unable to drag and drop documents into a SharePoint Online library. They have contribute rights to the site and contribute rights to the library. They can manually upload items, edit items and delete items but are unable to drag and drop files. When they attempt to do so, the curser changes into a circle with a line through it. I’m able to drag and drop files to the library, but I’m also a System Admin. The user is accessing SharePoint via Chrome and has M365 suite installed and updated. Suggestions for troubleshooting much appreciated. Thanks

unity – How can I manipulate a layer with click and drag functionality?

This works well on clicking layers but not click and dragging layers.

public class FishClicker : MonoBehaviour {

public LayerMask whatIsFish;

public float clickRadius = 0.1f;

void Update() {

    if (Input.GetMouseButtonDown(0)) {
        var mousePos = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        var hit = Physics2D.OverlapCircle(mousePos, clickRadius, whatIsFish);

        if (hit != null) {
            var fish = hit.GetComponentInParent<Fish>();

            if (fish != null) { fish.DoClickThing(); }
        }
    }
} 

}

for DoClickThing(); this works

public void ControlFishClick()
{
    screenPos = myCam.WorldToScreenPoint(transform.position);
    Vector3 v3 = Input.mousePosition - screenPos;
    angleOffset = (Mathf.Atan2(transform.right.y, transform.right.x) - Mathf.Atan2(v3.y, v3.x)) * Mathf.Rad2Deg;

}

for DoDragThing() i want this to work

public void ControlFishDrag()
{
    stopMovement = true;
    rigid2D.velocity = new Vector2(0, 0);
    Vector3 v3 = Input.mousePosition - screenPos;
    float angle = Mathf.Atan2(v3.y, v3.x) * Mathf.Rad2Deg;
    transform.eulerAngles = new Vector3(0, 0, angle + angleOffset);
    //print(stopMovement);
}

for DoReleaseClick() i want this

public void ControlFishUp()
{
    stopMovement = false;
    SnapToPosition();
}

Help locating Javascript for Mouse Drag

I recently started working for a company that had been getting all of its software provided by overseas developers.
SEMrush

I was hired on because of my years of experience in software, but all of those years were in Windows Forms using C#. This project is still in Visual Studio, but largely it is controlled by HTML, CSS, and Javascript – which I am not good at.

My assignment right now: When User drags on a row on a table, a pointer appears on the left of the grid control, follows the row to indicate where the row is able to be dropped, and the row is moved to that location when the User releases the mouse.

Right now, the mouse is not moving 1 to 1 with the arrow. The more rows in the grid, the greater the discrepancy between the mouse and the pointer.

[​IMG]

In the image above, the mouse is on “jp2code 035” while the pointer is up at “Task 13”.

I went into the Chrome console’s Source tab, went to the Event Listener Breakpoints, and put one on “Mouse > click”, but it didn’t break any execution.

I am not here to get you to solve the issue for me, but I don’t know how to find the code associated with this.

The file that is being called is called TaskListViewer, but it has no controls in the designer and very little code behind. Everything is loaded by the master page and source scripts.

Can anyone offer suggestions on how I could go about locating where the issue is in Javascript? For a Windows Forms application, I would simply look at event handlers for the control.

 

samsung – Android zoom and drag delay

I have a Blackberry Motion and a Samsung Galaxy J7 Pro. When I zoom or drag on the screen of the blackberry, it has a delay to zoom or drag while on the samsung, it zooms and drags exactly as I do with no delays. The Samsung zooming and dragging response is similar to iPhone and is so fast. The problem on the blackberry always exists and it cannot be fixed even with Touchscreen Repair app. What can I do about it?

is it possible to select items in page and order by drag and drop them in another page in a multi pages form

As in https://www.drupal.org/project/webform/issues/3037186

i’m asking the same request here as suggested in the issue

On Drupal8 and Webform, is there a way to have something like that :

  • user chooses X items in a list ;
  • he can order those X items by drag and drop ?

unity – How can I use Drag handlers (IBeginDragHandler, IEndDragHandler, IDragHandler) with a 2D sprite renderer instead of a UI Image?

In my game, I assigned all of the blocks to be 2D sprites so that they could be easily converted into prefabs:
enter image description here

However, when designing the drag and drop scripts, I noticed that all of the drag and drop handlers such as IBeginDragHandler, IEndDragHandler, IDragHandler, etc. weren’t working at all. I later noticed that these were intended to be used by UI Images.

Now I am left wondering what I can do to make these 2D Sprites be usable by these functions for UI Images. Do I have any other options other than to start from scratch by making new UI Images?

Here’s the small amount of code needed to create a reproducible example:

public class DragDrop : MonoBehaviour, IBeginDragHandler, IEndDragHandler, IDragHandler
{

    public void OnBeginDrag(PointerEventData eventData)
    {
        Debug.Log("OnBeginDrag");
    }
    
    public void OnDrag(PointerEventData eventData)
    {
        Debug.Log("OnDrag");
    }

    public void OnEndDrag(PointerEventData eventData)
    {
        Debug.Log("OnEndDrag");
    }
}

dnd 5e – Can the Mage Hand cantrip drag more weight than it can carry?

Neither does the spell description provide any rules that would increase the weight that can be dragged above the weight that can be carried; nor do the rules apply which let characters drag double their carrying capacity. Therefore, the weight detailed in the spell description limits dragging as it does carrying.

The spell description does not talk about dragging

The spell description of mage hand gives multiple examples of what the hand can or cannot do. None of those are related to dragging, except the capability to

manipulate an object

which can be interpreted as including dragging. In the end, there is no specific information about dragging, suggesting that no extra rules (such as increased dragging capacity) apply.

Rules for carrying and dragging apply to monsters and characters with a strength score.

The rules on carrying capacity are found under Using each Ability (PHB p. 175):

Every task that a character or monster might attempt in the game is covered by one of the six abilities.

Neither is the mage hand a monster or character, nor does it have abilities or ability scores. Carrying, specifically, is explained under Strength (PHB p. 176):

Carrying Capacity. Your carrying capacity is your Strength score multiplied by 15. This is the weight (in pounds) that you can carry, which is high enough that most characters don’t usually have to worry about it.

Push, Drag, or Lift. You can push, drag, or lift a weight in pounds up to twice your carrying capacity (or 30 times your Strength score). While pushing or dragging weight in excess of your carrying capacity, your speed drops to 5 feet.

All these explanations consider creatures with a strength score. The mage hand does not have these properties. Specifically, these rules state that a strength score entitles a creature to have a carrying capacity and a dragging capacity. These rules do clearly not entitle the mage hand to anything a priori.

A case could be made, that a carrying capacity implies a dragging capacity. However, RAW, this does, a priori only apply to monsters / characters with a strength score, especially so, since the dragging capacity restates the reliance on a strength score.

In the end, it seems like the mage hand‘s carrying capacity (which is not even specifically declared using that term) is gained another way, i.e. the spell’s description which the rules from PHB p. 176 do not apply to. Therefore, the mage hand does not gain increases dragging capacity and cannot drag more weight than it can carry.

dnd 5e – Can Mage Hand drag more weight than it can carry?

I have been watching/listening to Chance’s D&D Spellbook, which highlights a potential ‘loophole’ in that the spell doesn’t list how much the hang can drag, say if attached via a rope that weighs less than 10lbs.

Normally a spell only does what it says, but carrying and dragging seem closely enough related that there might be some room for interpretation.

usability – Drag and drop lists – multiple items with same priority

Initially, I had the following requirements:

  1. There are 2 lists with items. The user needs to be able to move the items from one list into the other.
  2. Each item needs to have a priority.

I’ve implemented the following solution:

mock

The user can drag and drop the items and I’m also keeping track of their priority.
For example, in List1, Item1 has priority 1 and Item2 has priority 2 and so on.
In List2, there is just Item4 with priority 1.

So this solution covers all the requirements.

The problem is that now there is a new requirement: multiple items can have the same priority.

So I can have Item1 and Item2 with priority 1 and Item3 with priority 2.

Can this current solution be adapted to this new requirement? I did think about it but wasn’t able to find a solution.

Or is there a completely different approach that is more suitable?

Thanks!