move field in group - problem on Android

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

move field in group - problem on Android

Post by joel.epsteinBUS31vi » Sun Apr 05, 2015 3:02 am

Hi all -

Got a really odd problem here and would appreciate any advice you might have.

Here's the situation:

I've got a group that consists of an imported image and a text field.
I've positioned the group off screen.
I issue a command to move the group across the screen like such:

Code: Select all

move group "duckgroup" from -250,500 to 1000,500 in 5 seconds
This works just fine on the Mac desktop and iOS devices.

Unfortunately, on Android, I'm seeing some strange behavior:
As the group enters the visible portion of the screen, all of the characters of the field are bunched up together at the left side of the screen. As the group continues to move across the screen, the field lengthens to show the text as intended. Kind of difficult to describe, so I attached a simple stack to demonstrate.

Any ideas why this might be happening and what I can do to fix the problem?

Thanks so much.

Joel
Attachments
moveExample.zip
(27.26 KiB) Downloaded 245 times

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: move field in group - problem on Android

Post by joel.epsteinBUS31vi » Mon Apr 06, 2015 9:52 pm

Here are some things I've tried that haven't solved the problem:
- in the text field's inspector, either locking or unlocking its location
- changing the layer of the group
- putting an object on a higher layer at the left edge of the screen

Bottom line, everything I've tried so far (on Android - both simulator and device) results in the text of the group getting bunched up at the left side of the screen and then slowly unbunching as the group slides to the right.

Any other suggestions?

I'd be ever so grateful.

Thanks so much.

Joel

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: move field in group - problem on Android

Post by Simon » Tue Apr 07, 2015 2:41 am

Hi Joel,
No good news here.
I'm just confirming the problem.

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: move field in group - problem on Android

Post by MaxV » Tue Apr 07, 2015 4:47 pm

If your intention is to create a page change, you should use two different cards and use the visual effect:

Code: Select all

visual effect push left
go to card 2
More information on visual effect in the dictionary.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: move field in group - problem on Android

Post by jacque » Tue Apr 07, 2015 6:42 pm

I tried several things and none worked. It's a bug, I'd report it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: move field in group - problem on Android

Post by joel.epsteinBUS31vi » Tue Apr 07, 2015 6:49 pm

Thanks, all. I appreciate confirmation that I haven't made a stupid mistake.
That's a refreshing change of pace...

Joel

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: move field in group - problem on Android

Post by dave.kilroy » Sun Apr 26, 2015 12:09 pm

Hi Joel - did you make a bug report and if so what's it number so I can sign myself up to it?

For me 'move' on android doesn't work and only snaps to the new location (but text inside fields is fine) - I'm repeatedly calling a handler that increments the loc of a the control I want to use instead

Dave
"...this is not the code you are looking for..."

Post Reply