PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-37346

Cannot resize portlet after clicking inside the portlet in Freeform layout

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Epic/Theme:
    • Story Points:
      2
    • Fix Priority:
      4
    • Similar Issues:
      Show 4 results 

      Description

      Steps to reproduce:

      1) Change a page layout to freeform
      2) Add a portlet to the page

      due to LPS-37344
      3) on the portlet right click > inspect element
      4) find the portlet-boundary container and change the "top" position of the portlet to 150px. This moves the portlet below the top banner thereby making it accessible.

      5) resize the portlet (able to do so)
      6) click anywhere inside the portlet
      7) resize the portlet again (unable to do so)

      Actual result:
      the mouse will show the resize indicator but instead of resizing, the portlet contents are highlighted

      Expected result:
      the portlet will resize

      I see the correct behavior when I set a break point at _onPortletMouseDown in layout_freeform.js, this fixes the issue when we click inside the portlet but not when we drag. Perhaps there is a race condition?

      last known working commit: 8861be4
      first known bad commit: 59f8410

        Issue Links

          Activity

          Hide
          Kenneth Chang (Inactive) added a comment -

          I'm able to reproduce the issue simply by clicking anywhere in the portlet, it doesn't have to be moved.

          Show
          Kenneth Chang (Inactive) added a comment - I'm able to reproduce the issue simply by clicking anywhere in the portlet, it doesn't have to be moved.
          Hide
          Shitian "Shelton" Zhang added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6fbc567faee807fca1ba392c41c1446537cfdf1a.

          When resize the portlet again, the mouse will show the resize indicator but instead of resizing, the portlet contents are highlighted.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0496050aa8002e8b83bc3a0724ea08f4fa9e650a.

          The portlet will resize successfully after clicking inside the portlet.

          Show
          Shitian "Shelton" Zhang added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6fbc567faee807fca1ba392c41c1446537cfdf1a. When resize the portlet again, the mouse will show the resize indicator but instead of resizing, the portlet contents are highlighted. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 0496050aa8002e8b83bc3a0724ea08f4fa9e650a. The portlet will resize successfully after clicking inside the portlet.
          Hide
          Shitian "Shelton" Zhang added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: fac003b1783ea6d68df0edeb3498c78465ad45cb.

          The portlet will resize successfully after clicking inside the portlet.

          Show
          Shitian "Shelton" Zhang added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: fac003b1783ea6d68df0edeb3498c78465ad45cb. The portlet will resize successfully after clicking inside the portlet.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 33 weeks, 6 days ago

                Development

                  Structure Helper Panel