Visual effect flickering problem

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Visual effect flickering problem

Post by paulclaude » Tue Mar 24, 2009 12:23 pm

Hi,

I've a stack with a windowshape image.

Every time I apply a visual effect (card transitions, objects transitions), at the end of the visual effect the stack seems to have a little flash from behind.

For example:

Code: Select all

on aboutSplash how
   if how is "on" then
      lock screen
      show group "Startup"
      unlock screen with push down
   else
      lock screen
      hide group "Startup"
      unlock screen with push up
   end if
end aboutSplash
also this simple script gives this flickering effect at the end.

Any suggestion?

Paul

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Post by paulclaude » Wed Apr 01, 2009 2:18 pm

I've found similar problems (probably) in the past, posted in the use-revolution mailing list.

http://lists.runrev.com/pipermail/use-r ... 06511.html
http://lists.runrev.com/pipermail/use-r ... 60299.html

but always unresolved.

Any help?

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Post by Bernard » Fri Apr 03, 2009 10:14 am

Visual effects seem to get broken and re-fixed every few releases:

http://quality.runrev.com/qacenter/show_bug.cgi?id=765
http://quality.runrev.com/qacenter/show_bug.cgi?id=1817
http://quality.runrev.com/qacenter/show_bug.cgi?id=2906
http://quality.runrev.com/qacenter/show_bug.cgi?id=3778
http://quality.runrev.com/qacenter/show_bug.cgi?id=5631
http://quality.runrev.com/qacenter/show_bug.cgi?id=6627
http://quality.runrev.com/qacenter/show_bug.cgi?id=7358

There is a stack attached to that last bug report that shows how buggy they are. It's depressing - used judiciously they provide useful feedback to users (witness the way the iPhone transitions between screens).

Please register with quality.runrev.com. You get votes you can assign to bug issues you want to see fixed, and I have it from Runrev that they really do take bug counts into consideration when prioritizing fixes.

Finally, you might find a workaround in some situations by using this sequence:

show screen with visual effect push down

and just avoid the lock/unlock.

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Post by paulclaude » Thu Apr 09, 2009 2:08 pm

Thank you, Bernard, but the workaround gives me an error:

Message execution error:
Error description: Chunk: error in object expression

and it seems unusable in card transition (I've tried some variation).

Anyway, I will vote for this bug on quality center.

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Post by Bernard » Fri Apr 10, 2009 11:10 am

Hi, I'm terribly sorry, I made a typo in my example. It should have been:

show group with visual effect push down

There are various ways to specify transitions with visual effects. For example, with cards once can say:

go card 2 visual effect push down

I just had a look in the Dictionary, and for some strange reason the above modification to the 'go' command is not mentioned.

I hope that might be of some help.

edljr
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 56
Joined: Sun Oct 26, 2008 6:47 am
Contact:

Flicker Problem

Post by edljr » Mon Apr 13, 2009 5:21 pm

Hi Paul,

I experienced unwanted flickering in a recent application. I had gifs as glow effects that were displayed when the mouse-within condition was true. Adjusting the layers of the image and the gif resolved my problem. I am not sure if this is similar to your issue.

Ed

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Post by paulclaude » Tue Apr 14, 2009 1:05 pm

Hi Bernard,

the

go card 2 visual effect push down

seems to work like

go card 2
visual effect push down

but the problem persists, at least on stacks with a windowshape image, also using your tip.

Ed: no, my problem is a simple card transition problem.

paulclaude
Posts: 121
Joined: Thu Mar 27, 2008 10:19 am

Post by paulclaude » Wed Apr 29, 2009 2:31 pm

Updated news:

the flickering problem seems to appear only if the "shadow" stack property is set to true.

Cheers

Paul

Post Reply