Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26150

Windows: Scale Transform Events( source.id) is still `overlay`

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 7.3.0
    • Fix Version/s: Release 7.3.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      SDK 7.3.0.v20180618182516

    • Story Points:
      13
    • Sprint:
      2018 Sprint 14 SDK

      Description

      Hello !
      We was able to test the `source.id` of the events TIMOB-26072 with SDK 7.3.0.v20180618182516 as according to this https://github.com/appcelerator/titanium_mobile_windows/pull/1249 it had been solved. For the most part, the problem seemed resolved till I tried on our Application.

      We created another minimal, complete, and verifiable sample that demonstrates the issue. Please find it attached.

      In such App, you will see that if you click on the blue section a little bit below the Alloy controller, the source.id is still `overlay`. Simply removing `slidingView.addSomething(controllerview);` from index.js "solves" the issue but, of course, no controller gets added.

       
      var doLog = true;
      var slidingView; 
       
      var ApplicationView = require('Windows.UI.ViewManagement.ApplicationView');
      ApplicationView.GetForCurrentView().TryEnterFullScreenMode();
      var Window = require('Windows.UI.Xaml.Window');
      var ScaleTransform = require('Windows.UI.Xaml.Media.ScaleTransform');
      var DisplayInformation = require('Windows.Graphics.Display.DisplayInformation');
      var Frame = require('Windows.UI.Xaml.Controls.Frame');
      var Page = require('Windows.UI.Xaml.Controls.Page');
      var Double = require('System.Double');
      var HorizontalAlignment = require('Windows.UI.Xaml.HorizontalAlignment');
       
      var slidingView = Alloy.createWidget('com.propelics.slidingView');
      $.window.add(slidingView.getView());
      $.window.open();
       
      console.log("Windows Open");
       
      var resolutionScale = DisplayInformation.GetForCurrentView().ResolutionScale;
      var baseScale = 50;
      var currentScale = 100;//Double.cast(resolutionScale);
      var transform = new ScaleTransform();
      transform.ScaleX = baseScale / currentScale;
      transform.ScaleY = baseScale / currentScale;
       
      var rootFrame = Frame.cast(Window.Current.Content);
      var page = Page.cast(rootFrame.Content);
      page.Height = 1200;
      page.Width = 1920;
      var content = page.Content; // Canvas
      content.RenderTransform = transform;
      var controllerview = Alloy.createController('controllerview');
      slidingView.addSomething(controllerview);
      slidingView.animate();
      

      Test SDK : 7.3.0.v20180618182516

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                aislam Aminul Islam
                Reviewer:
                Aminul Islam
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6414
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code