Software Archive
Read-only legacy content
17061 Discussions

Bug in AppDesigner

Christian_S_5
Beginner
670 Views

Hello,

 

I just began working with the Intel XDK and either I've found a bug or I'm simply handling it wrong: If I add a Page (not a Sub Page) and then add a header to this new page, the header, which I added to the new page, is the header of the first page, but the new page has no header.

For example:

I tried this tutorial and everything works fine - apart from the fact, that the mainpage has the caption "products" and the products-page has no header.

 

I'm using the Intel XDK 1816 on Windows 7 Enterprise x64 with installed SP1. Can anyone approve this problem or does know how to avoid it?

 

Best regards,

Christian

0 Kudos
1 Solution
Anusha_M_Intel1
Employee
670 Views

Hi Christian,

Thank You for pointing out this issue. Yes, this is a bug in app designer and we are working on getting it fixed as soon as possible. You can directly edit the html code as a temporary workaround. 

This is the code that gets auto-generated in index.html:

        <div id="content" class="uwrap">
            <div class="upage vertical-col left panel" id="mainpage" data-header="af-header-1" data-footer="none"></div>
            <div class="upage vertical-col panel" id="uib_page_1" data-header="none" data-footer="none"></div>
        </div>

You can see that af-header-1 (my header for the second page) is actually assigned to mainpage. And my second page has no header (data-header="none").

You can change the html code to this:

       

 <div id="content" class="uwrap">
            <div class="upage vertical-col left panel" id="mainpage" data-header="af-header-0" data-footer="none"></div>
            <div class="upage vertical-col panel" id="uib_page_1" data-header="af-header-1" data-footer="none"></div>
        </div>

 

View solution in original post

0 Kudos
3 Replies
Anusha_M_Intel1
Employee
671 Views

Hi Christian,

Thank You for pointing out this issue. Yes, this is a bug in app designer and we are working on getting it fixed as soon as possible. You can directly edit the html code as a temporary workaround. 

This is the code that gets auto-generated in index.html:

        <div id="content" class="uwrap">
            <div class="upage vertical-col left panel" id="mainpage" data-header="af-header-1" data-footer="none"></div>
            <div class="upage vertical-col panel" id="uib_page_1" data-header="none" data-footer="none"></div>
        </div>

You can see that af-header-1 (my header for the second page) is actually assigned to mainpage. And my second page has no header (data-header="none").

You can change the html code to this:

       

 <div id="content" class="uwrap">
            <div class="upage vertical-col left panel" id="mainpage" data-header="af-header-0" data-footer="none"></div>
            <div class="upage vertical-col panel" id="uib_page_1" data-header="af-header-1" data-footer="none"></div>
        </div>

 

0 Kudos
Christian_S_5
Beginner
670 Views
Hey, thanks for approving the bug and suggesting a fix for this by hand. I'm looking forward to the upcoming version of the program.
0 Kudos
Anusha_M_Intel1
Employee
670 Views

Hi Christian,

I just wanted to update you that the latest 1826 release has fixed this problem.

0 Kudos
Reply