Page MenuHome

UI: Improved feedback when dropping is not possible on drag 'n drop
ClosedPublic

Authored by Julian Eisel (Severin) on Feb 8 2021, 2:25 PM.

Details

Summary
  • Allow operators to show a "disabled hint" in red text explaining why dropping at the current location and in current context doesn't work. Should greatly help users to understand what's the problem.
  • Show a "stop" cursor when dropping isn't possible, like it's common on OSes.

As an example, this adds a disabled hint to the object dropping operator.

On macOS:

Part of T85342.

Diff Detail

Repository
rB Blender

Event Timeline

Julian Eisel (Severin) requested review of this revision.Feb 8 2021, 2:25 PM
Julian Eisel (Severin) created this revision.
Julian Eisel (Severin) retitled this revision from UI: Improved feedback when dropping is not possible on drag 'n drop to Proposal: Improved feedback when dropping is not possible on drag 'n drop.Feb 8 2021, 2:40 PM
Julian Eisel (Severin) edited the summary of this revision. (Show Details)

The cursor isn't reset correctly to the edit mode one, please ignore that right now. I just want to quickly propose the design change.

How about Only supported in Object mode.? Since the "dropping" part is implied by the dragging.

I agree with Pablo, I suggested the same thing in chat. Otherwise this looks like a nice improvement.

Yeah, I'm just wondering: Is it clear that the string explains why it is disabled (despite the red), without the "Dropping not possible:"? If it is a bit longer, maybe people will just not bother to read it?
I may be overthinking though.

I think it's clear not only by the color but also the message being shorter can be read faster.

Adding the asset browser tag, as I think it's important for some dragging operations in the asset browser. E.g. dragging assets from an external file onto catalogs should show a message that this isn't possible.

  • Adapt to changes in master
  • Remove unnecessary "Dropping not possible:" prefix

This will need another update once D12948: Drag Drop: allow customizable drawing is in (should happen any minute). Think this should also make it easier for me to fix the stop cursor that is not being reset correctly right now.

  • Proper cursor hanldling & fix double disabled-hint when dragging assets
Julian Eisel (Severin) retitled this revision from Proposal: Improved feedback when dropping is not possible on drag 'n drop to UI: Improved feedback when dropping is not possible on drag 'n drop.Oct 26 2021, 6:02 PM
This revision was not accepted when it landed; it landed in state Needs Review.Oct 26 2021, 6:17 PM
This revision was automatically updated to reflect the committed changes.