Page 1 of 1

Strange behaviour of Header Bar Widget

Posted: Fri Jun 03, 2016 12:16 am
by simon.schvartzman
Is it me or the Header Bar has a strange behaviour?
Using the attached code, follow the following steps:

1 - start on Card 1
2 - Click the "Go to Card 2" button (or press the Star Widget).
3 - Click on the "+" Icon to go to Card 3
4 - Click Back to return to Card 2
5 - Clicking Back should take you to Card 1 but surprisingly it takes you back to Card 3 !!!

NOTES:
1 - If before clicking "Back" on step 5, you click on any place of the card outside the Header Bar then everything works fine.
2 - The clock widget is there because otherwise the header bar doesn't show up on my iOS Simulator.
3 - The issue happens exactly the same on the Mac.

Any hints?

Many thanks

Re: Strange behaviour of Header Bar Widget

Posted: Fri Jun 03, 2016 11:10 am
by Klaus
Hi Simon,

hm, tested and confirmed, looks like a bug to me.

Very strange, and sometimnes it works as it should without clicking outside of the header bar!?
Please consider to create a report here: http://quality.runrev.com Thanks!

Best

Klaus

Re: Strange behaviour of Header Bar Widget

Posted: Fri Jun 03, 2016 11:16 am
by simon.schvartzman
Hi Klaus, glad to know it was not me doing something wrong.

regarding
Very strange, and sometimnes it works as it should without clicking outside of the header bar!?
yes, I have seen it too but what I'm sure of is the fact that clicking outside fixes the issue. Should help to track the bug.

I will report as suggested

Best

Re: Strange behaviour of Header Bar Widget

Posted: Fri Jun 03, 2016 12:03 pm
by bn
Hi Simon and Klaus,

that is a strange bug. It happens for me when I click "back" on card 3 and do not move the mouse and then click on card 2 "back" I go to card 3. At that point tActionName on card 2 contains "add".

If however coming back from card 3 by clicking "back" and I am on card 2 and move the mouse even one pixel then clicking "back" on card 2 gets me to card 1.

The workaround it to set the card script of card 2 to

Code: Select all

on openCard
   click at -1,-1
end openCard
after this workaround I can no longer trigger the bug, it always works as advertised.

If you do file a bugreport you might want to add this observation.

kind regards
Bernd