Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20988

When compatibilty version is set to 3.0.0, the compiler does not generate warnings for styles that are not applicable to the current theme

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile attache mxml with -compatability-version=3.0.0

      Actual Results:
      NO warnings

      Expected Results:
      Same warnings as with theme halo

      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(337): Warning: The style 'emphasizedSkin' was not declared by type 'mx.controls.Button' with theme(s) '[halo]'.
      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(559): Warning: The style 'busyCursorBackground' was not declared by type 'mx.managers.CursorManager' with theme(s) '[halo]'.
      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(1617): Warning: The style 'paddingTop' was not declared by type 'mx.controls.ToolTip' with theme(s) '[halo]'.
      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(1609): Warning: The style 'borderColor' is only supported by the theme(s) 'halo, spark'.
      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(1612): Warning: The style 'cornerRadius' is only supported by the theme(s) 'halo, spark'.
      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(1618): Warning: The style 'shadowColor' was not declared by type 'mx.controls.ToolTip' with theme(s) '[halo]'.
      C:/depot/flex/sdk/frameworks/libs/framework.swc$defaults.css(1614): Warning: The style 'paddingBottom' was not declared by type 'mx.controls.ToolTip' with theme(s) '[halo]'.

      Workaround (if any):
      set theme to halo.

      using -theme=${flexlib}/themes/Halo/halo.swc

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: