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

iOS: macOS sometimes lies about it's display/image scale/density

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      macOS

      Description

      This shows up intermittently in our test suite:

      ios.macos.Titanium.Blob.image dimensions should be reported in pixels (10.15.7)

      Error Message
      expected 6 to be 11

      Stacktrace

      fail@file:///Users/build/jenkins/workspace/tanium-sdk_titanium_mobile_9_3_X/tmp/mocha/build/iphone/build/Products/Debug-maccatalyst/mocha.app/Contents/Resources/node_modules/should/cjs/should.js:275:23
      value@file:///Users/build/jenkins/workspace/tanium-sdk_titanium_mobile_9_3_X/tmp/mocha/build/iphone/build/Products/Debug-maccatalyst/mocha.app/Contents/Resources/node_modules/should/cjs/should.js:356:23
      postlayout@file:///Users/build/jenkins/workspace/tanium-sdk_titanium_mobile_9_3_X/tmp/mocha/build/iphone/build/Products/Debug-maccatalyst/mocha.app/Contents/Resources/ti.blob.test.js:483:33
      

      Some other tests confirm the issue (i.e. the systemredcolor test should always be 6x6 in 1x, 12x12 in 2x density, but we sometimes see it say it's 12x12@1x - so it's reporting a density of 1x but is actually 2x).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration