Announcement

Collapse
No announcement yet.

BUG: ComboBox Object

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BUG: ComboBox Object

    Create new AMS project. Place this code on page event "On Show":

    Code:
    -- new combo properties
    tNEWCOMBO = {};
    tNEWCOMBO.ComboStyle = DROPDOWN_LIST;
    tNEWCOMBO.Sort = false;
    tNEWCOMBO.LinesToDisplay = 7;
    tNEWCOMBO.FontName = "Segoe UI";
    tNEWCOMBO.FontSize = 9;
    tNEWCOMBO.FontStrikeout = false;
    tNEWCOMBO.FontUnderline = false;
    tNEWCOMBO.FontAntiAlias = false;
    tNEWCOMBO.FontItalic = false;
    tNEWCOMBO.FontWeight = FW_NORMAL;
    tNEWCOMBO.FontScript = DEFAULT_CHARSET;
    tNEWCOMBO.BackgroundColor = 16777215;
    tNEWCOMBO.TextColor = 0;
    tNEWCOMBO.ReadOrder = READ_STANDARD; -- or false
    tNEWCOMBO.Enabled = true;
    tNEWCOMBO.Visible = true;
    tNEWCOMBO.X = 10;
    tNEWCOMBO.Y = 10;
    tNEWCOMBO.Width = 100;
    tNEWCOMBO.ResizeLeft = false;
    tNEWCOMBO.ResizeRight = false;
    tNEWCOMBO.ResizeTop = false;
    tNEWCOMBO.ResizeBottom = false;
    tNEWCOMBO.TooltipText = "";
    tNEWCOMBO.ObjectName = "NewCombo";
    -- creating new combo object
    Page.CreateObject(OBJECT_COMBOBOX, tNEWCOMBO.ObjectName, tNEWCOMBO);
    -- redraw area
    Page.Redraw();
    Then launch Windows Task Manager and look at excessive workload of your processor cores. One of of them will be at 100% limit of its capabilities.

    This situation does not depend of User Privilege Level.

    OS: Windows 7 x64
    AMS ver. 8.0.7.0

  • #2
    Click image for larger version

Name:	SCRN-2014-05-24-01.png
Views:	1
Size:	143.9 KB
ID:	284196

    Please post your exported project. If this is indeed the only thing you are doing, then I cannot replicate the issue at all.

    Ulrich

    Comment


    • #3
      I can confirm this bug, code is pasted in on show of a fresh empty project, I run it
      and it fully consumes one of my cores.



      Windows 7 Professional, x64 on a Dual-core i7 (Haswell) with hyperthreading enabled (thus 4 virtual cores).
      Bas Groothedde
      Imagine Programming :: Blog

      AMS8 Plugins
      IMXLH Compiler

      Comment


      • #4
        Thanks for the confirmation - I logged this to be looked into.

        Ulrich

        Comment


        • #5
          Bas, just to make sure - did you use AutoPlay Media Studio 8.0.7 as well, or did you get the problem with the current version? I could replicate this with the outdated version, but not with the 8.2.

          Ulrich

          Comment


          • #6
            Ah that must be the problem, the issue arises with version 8.0.2.0 for me. It is probably fixed in 8.2 then! My bad!
            Bas Groothedde
            Imagine Programming :: Blog

            AMS8 Plugins
            IMXLH Compiler

            Comment


            • #7
              fwiw: no issues at my end with AMS v8.1.0.0 either

              Comment

              Working...
              X