Take the 2-minute tour ×
User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

I am trying to show to user if "File cannot be dropped to the desired location" on my UI.

enter image description here

Refer to the image attached above, user can drag and drop a file to the rectangular areas defined but not all files can be dropped to any of these rectangle. If user tries to drop a file to a rectangle where it cannot be dropped, I want to show visually to the user that this file cannot be dropped here. For this I am currently showing a red error icon along with file icon while it is being dragged but I want to have a better indication for this. I could not find any content on this on Apple UI Guidelines. Please guide me what other could be options to show if file cannot be dragged to a location.

share|improve this question
    
Also, if it is possible to drag multiple files at once, this may need extra attention. –  Simon Richter Jul 21 at 16:53
    
why can't you have one big box and automatically determine what to do with it dependant on the file type (or whatever parameter you are using) –  edthethird Jul 21 at 17:34
    
Why are you removing useful elements of your posts? Visuals and explanatory text only enhance the question. Removing them will cause confusion in future answers, as well as with existing ones. –  JonW Oct 2 at 10:26
    
@Princess Content posted to StackExchange is done so via the cc by-sa 3.0 license (see footer of this, and all SE pages) and grants others a non-revokable right to use it. You are free to request content that is personal, confidential or illegal be taken down, (no guarantee it will be) but I do not see any inappropriate content in these images. Removing them reduce the quality of the question so they should not be taken out. You're free to contact Stack Exchange directly if you disagree with this position. –  JonW Oct 2 at 14:22

7 Answers 7

Why don't you try something like this.

enter image description here

Once the user clicks on the item to drag just highlight the valid and invalid sections like above. I would suggest you do it as soon as user clicks (before starting to drag), this will actually a pre cursor for the user, where to drop the item.

In the approach mentioned by you, the user will actually drop the item and go back and drop the item and go back and so on...That would be frustrating for the user.

Hope its helpful. Cheers!

share|improve this answer
    
I like it, but the ant border around the x area draws attention to it and makes it more area-like than the acceptable areas are. If anything, I'd give only the acceptable areas extra borders, or none at all (or all, but that seems quite visually heavy). –  fzwo Jul 22 at 7:52

One idea: when the dragging starts, gray out the box and then if the user does drag over that region, make sure the mouse cursor indicates (red circle with a cross?) that region can't be dropped on.

And extending that idea further: when the dragging starts use a red or gray to indicate it can't be dropped on, but also maybe use a green or some other inviting color to the regions that CAN be dropped to.

share|improve this answer
2  
Yes, that was more or less the answer I was looking for: i.e. when you have valid and invalid drop regions, you should not leave it to the user to 'test' each region to see whether it can be dropped on, but be proactive in identifying for the user those ones which can be dropped on. It doesn't have to be a bright colour - just enough to distinguish the valid ones. There may be no need to separately identify the invalid ones - it might be visually better to leave those unchanged so that all the emphasis and transitions are about the valid ones rather than valid and invalid. –  Roger Attrill Jul 21 at 8:38
    
The example picture has 3 white input areas on a white background. I tmay be useful to use a grey background for the white input areas. That way, when one of them doesn't accept a drag input, it can fade into the background. With the current background, graying out an input form makes it stick out more. –  MSalters Jul 21 at 11:48
    
At least on Windows it is a well-stabilished convention to have a forbidden sign as the mouse cursor for "you can not drop that here" –  sergiol Jul 21 at 13:49
    
Just like fields that can't be filled in a form are insensitive, you should use a look that confers the "insensitive" property to your UI elements. If in your particular context there is a style that means insensitive (e.g. flat and gray as opposed to white with a colourful border), use it. –  Sidnioulz Jul 21 at 15:30
    
(example with GTK+ apps: kionez.org/unico-withoutpatch.png) –  Sidnioulz Jul 21 at 15:32

The "OS X Human Interface Guidelines" on drag-and-drop can be found here: https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/TechnologyGuidelines/TechnologyGuidelines.html#//apple_ref/doc/uid/TP30000355-SW9

The guidelines go into quite a lot of details, but you will want to highlight areas that the file can be dragged into, and not highlight areas that the file cannot be dragged into. You should only highlight the area where the pointer is.

When the area cannot accept the file, you should show a "zoomback", where the file is zoomed back to the source location.

share|improve this answer
    
+1 for following your environment's UI guidelines! There's also the GNOME HIG on Linux. –  Sidnioulz Jul 21 at 15:33

When you can, be redundant in your feedback. In this case you have 2 significant elements, the dropped item and the drop receiver, and both of those can provide feedback, get lighted up or tuned down.

If drop isn't available make both the cursor indicate that and the (would be) drop receiver indicate that. The cursor can indicate that by become a circle with a diagonal slash and the drop region indicate that by fading out, becoming less saturated.

Not sure what the platform you're talking about but every platform has it's own conventions about how to communicate this situation.

share|improve this answer

I would recommend using positive UI feedback to tell the user where dropping is allowed. For any specific selection, there are usually one or two regions which are valid drop targets. Highlight those and allow other areas to fade into the background.

Here's an example from Atlassian Jira: Transitioning an Issue Dragging and Dropping an Issue to a Column with Multiple Statuses

As soon as the user begins dragging the selected items,

  • Active drop targets are clearly marked with a border, a color, and an action/state.
  • Inactive or disallowed drop targets are not marked at all - they just appear as part of the background.
share|improve this answer

how about a border around the box with diagonal stripes. diagonal stripes, similar to construction tape will suggest to the user that this area is not usable at the moment. something like this

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

1  
You need to leave a lot more detail in your answers. Just one-liners such as this with no reasoning or explaination as to why you're suggesting it doesn't really make for a useful answer. It just comes across as a subjective opinion. Can you expand on this - state why you're suggesting this, whether it is a common and understood UX pattern, whether some studies or research have been done that support this idea... that sort of thing. –  JonW Jul 21 at 7:52

The Unavailable mouse pointer is always an option that's understood my millions of Windows users:

enter image description here

share|improve this answer
    
how can a touch interface user tell what is happening with no mouse pointer? –  pathfinder Oct 4 at 13:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.