Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1764

QtSafelayoutTool jams with really big states definition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • QSR 2.0
    • Tooling
    • None

    Description

      Create the QML source with the SafeObjectsFileGenerator.qml in tests/manual/capacitytests (see the attached QML file).
      Select QML -> Safe Image states B and visible property. That causes the qtsafelayout to jam to the file generator.

      	states: [
      			State { name: "1"; PropertyChanges {target: myimage0; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage1; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage2; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage3; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage4; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage5; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage6; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage7; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage8; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage9; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage10; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage11; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage12; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage13; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage14; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage15; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage16; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage17; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage18; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage19; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage20; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage21; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage22; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage23; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage24; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage25; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage26; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage27; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage28; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage29; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage30; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage31; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage32; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage33; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage34; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage35; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage36; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage37; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage38; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage39; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage40; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage41; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage42; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage43; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage44; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage45; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage46; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage47; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage48; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage49; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage50; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage51; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage52; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage53; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage54; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage55; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage56; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage57; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage58; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage59; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage60; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage61; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage62; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage63; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage64; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage65; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage66; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage67; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage68; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage69; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage70; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage71; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage72; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage73; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage74; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage75; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage76; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage77; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage78; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage79; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage80; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage81; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage82; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage83; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage84; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage85; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage86; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage87; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage88; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage89; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage90; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage91; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage92; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage93; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage94; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage95; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage96; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage97; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage98; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage99; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage100; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage101; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage102; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage103; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage104; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage105; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage106; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage107; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage108; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage109; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage110; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage111; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage112; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage113; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage114; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage115; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage116; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage117; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage118; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage119; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage120; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage121; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage122; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage123; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage124; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage125; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage126; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}},
      			State { name: "1"; PropertyChanges {target: myimage127; x: 1905; y: 0; opacity: 1.0; width: 15; height: 20; visible: true}}
      
      

      TestRail: Results

        Attachments

          1. HomeForm.ui.qml
            136 kB
            Teemu Holappa

          Activity

            People

              teemu.holappa Teemu Holappa
              teemu.holappa Teemu Holappa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                TestRail: Runs

                  TestRail: Cases