FLUID-678: Drop warning appears when it shouldn't (drop marker is not a valid drop target)

Metadata

Source
FLUID-678
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Michelle D'Souza
Reporter
Anastasia Cheetham
Created
2008-05-30T08:46:58.000-0400
Updated
2008-08-13T15:22:00.000-0400
Versions
  1. 0.1
  2. 0.3
  3. 0.4beta1
  4. 0.4
Fixed Versions
  1. 0.5
Component
  1. Layout Reorderer

Description

Allison reported:
"If you drag the portlet in the upper-right hand side to the upper left, trying to put it above the locked portlet, you (properly) get a warning message. However, when you then immediately drag it over the upper right portlet without letting go of your mouse in between (so that it moves to the top right position) you still see the message"

Comments

  • Michelle D'Souza commented 2008-05-30T11:06:32.000-0400

    In the current implementation, drop markers are not drop targets. In order to fix this bug we would need to make drop markers a special type of drop target . Essentially, we would need to hide the drop warning when the drop marker got an 'over' event. This is very prone to speed of dragging issues that are very difficult, if not impossible, to work around. (See FLUID-407 for a discussion on events arriving in the wrong order.)

  • Justin Obara commented 2008-08-13T15:22:00.000-0400

    Verifed fix using:

    FF2, FF3, Opera 9.5, Safari 3 (Mac OS 10.5)
    FF2, FF3, IE6, IE7, Opera 9.5 (Win XP)
    FF3, IE7 (Win Vista)