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
Strange behaviour of Header Bar Widget
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
Strange behaviour of Header Bar Widget
- Attachments
-
- StrangeHeaderBarBehavior.livecode.zip
- (2.42 KiB) Downloaded 215 times
Re: Strange behaviour of Header Bar Widget
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
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
-
- Posts: 665
- Joined: Tue Jul 29, 2014 12:52 am
Re: Strange behaviour of Header Bar Widget
Hi Klaus, glad to know it was not me doing something wrong.
regarding
I will report as suggested
Best
regarding
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.Very strange, and sometimnes it works as it should without clicking outside of the header bar!?
I will report as suggested
Best
Simon
________________________________________
To ";" or not to ";" that is the question
________________________________________
To ";" or not to ";" that is the question
Re: Strange behaviour of Header Bar Widget
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
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
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
If you do file a bugreport you might want to add this observation.
kind regards
Bernd