Uploaded image for project: 'Catroid'
  1. Catroid
  2. CATROID-1417

[HIGH-PRIORITY] Visual placement interface is skipped for landscape projects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Merged
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Actual Behavior:
      No visual placement interface
    • Expected Behavior:
      Visual placement
    • Affected App Version:
    • Flagged:
      Impediment

      Description

      Note: More than 50% of projects uploaded are landscape projects, so this bug concerns a lot of users.

      How to reproduce:

      • Create a new project in landscape mode (see screenshot-1)
      • Add a new object with the "Place visually" switch turned on in the object creation interface (see screenshot-2)
      • Observe that the placement interface incorrectly is skipped and the object created without a "Place at x __ y __" brick in it.
      • In the scripts of the object, add a "Place at x __ y __" brick. Then tap on one of the parameters.
      • Observe that you get the option to place the object visually (see screenshot-3).
      • Tap on the "place visually" option.
      • Observe that the placement interface incorrectly is skipped and the object created without a "Place at x __ y __" brick in it.

      When you do the same in portrait mode, the visual placement works fine (see screenshot-4).

      Note that the visual placement for landscape projects worked fine in the previous release version 1.0.2

      Browserstack shows the following error message:

      05-06 13:57:14.273 E/VisualPlacementActivity( 4444): VisualPlacementActivity does not support recovery from process recreation, finishing activity.
      05-06 13:57:14.273 E/VisualPlacementActivity( 4444): VisualPlacementActivity does not support recovery from process recreation, finishing activity.
      05-06 13:57:14.273 E/VisualPlacementActivity( 4444): VisualPlacementActivity does not support recovery from process recreation, finishing activity.
      05-06 13:57:14.273 E/VisualPlacementActivity( 4444): VisualPlacementActivity does not support recovery from process recreation, finishing activity.
      

      Also note that the next time after an unsuccessful landscape visual placement, when trying to visually place an object before executing the stage once, the visual placement interface will be incorrectly distorted (vertically compressed) and without the controls (see screenshot-5). However, once the stage was executed at least once, the visual placement looks normal again. This distortion only appears when the visual placement in a landscape project was attempted immediately beforehand, without executing the stage of the portrait program even once.

      Thanks to our user MrFrosty for reporting this bug!

      Edit: Workaround: activate the automatic rotation mode of your phone (it does not matter that the pocket code interface is not rotated), and before using the "place visually" interface, rotate your phone into landscape mode.

        Attachments

        1. screenshot-1.png
          screenshot-1.png
          84 kB
        2. screenshot-2.png
          screenshot-2.png
          72 kB
        3. screenshot-3.png
          screenshot-3.png
          71 kB
        4. screenshot-4.png
          screenshot-4.png
          83 kB
        5. screenshot-5.png
          screenshot-5.png
          140 kB

          Activity

            People

            Assignee:
            WolfgangSlany Wolfgang Slany
            Reporter:
            WolfgangSlany Wolfgang Slany
            Developer:
            Dorian Percic Dorian Percic
            Code Reviewer:
            Oskar Walcher Oskar Walcher
            Code Merger:
            Wolfgang Slany Wolfgang Slany
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: