Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-738

Dragging widget over iframe cause mouse event to hang

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3.0, 0.4.0, 0.5.0, 0.6.0, 0.7.0
    • Fix Version/s: None
    • Component/s: User Interface
    • Labels:
      None

      Description

      Both Webkit and Firefox based browser are honoring mouse events inside iframe. However, if a widget is in a dragging event, and mouse cursor pass through another iframe. Mouse event get captured by the background iframe and cause the dragging widget to stall. One trick was to overlay an invisible DIV with higher zIndex to prevent the background iframe from capturing mouse dragging event of the transitioning widget. This was implemented several years back for firefox only, but it looks like the same trick needs to apply to all modern day browser. This JIRA is to remove the firefox specific check and always overlay the invisible iframe when mouse is dragging over another iframe.

        Activity

        Hide
        eyang Eric Yang added a comment -

        I just committed this.

        Show
        eyang Eric Yang added a comment - I just committed this.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1662973 from Eric Yang in branch 'chukwa/trunk'
        [ https://svn.apache.org/r1662973 ]

        CHUKWA-738. Updated dragging event handling over iframe. (Eric Yang)

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1662973 from Eric Yang in branch 'chukwa/trunk' [ https://svn.apache.org/r1662973 ] CHUKWA-738 . Updated dragging event handling over iframe. (Eric Yang)
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Chukwa-trunk #524 (See https://builds.apache.org/job/Chukwa-trunk/524/)
        CHUKWA-738. Updated dragging event handling over iframe. (Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1662973)

        • /chukwa/trunk/CHANGES.txt
        • /chukwa/trunk/src/main/web/hicc/js/workspace/workspace.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Chukwa-trunk #524 (See https://builds.apache.org/job/Chukwa-trunk/524/ ) CHUKWA-738 . Updated dragging event handling over iframe. (Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1662973 ) /chukwa/trunk/CHANGES.txt /chukwa/trunk/src/main/web/hicc/js/workspace/workspace.js
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Chukwa-trunk #527 (See https://builds.apache.org/job/Chukwa-trunk/527/)
        CHUKWA-738. Updated dragging event handling over iframe. (Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1662973)

        • /chukwa/trunk/CHANGES.txt
        • /chukwa/trunk/src/main/web/hicc/js/workspace/workspace.js
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Chukwa-trunk #527 (See https://builds.apache.org/job/Chukwa-trunk/527/ ) CHUKWA-738 . Updated dragging event handling over iframe. (Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1662973 ) /chukwa/trunk/CHANGES.txt /chukwa/trunk/src/main/web/hicc/js/workspace/workspace.js

          People

          • Assignee:
            eyang Eric Yang
            Reporter:
            eyang Eric Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development