Screen Flash and Visual Effect

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Screen Flash and Visual Effect

Post by [-hh] » Thu Oct 23, 2014 11:09 am

No. Tested on Yosemite with LC 6.6.3 to 7.0-rc3:
If I use my stack from above with your first script (see below) then I don't have any flashing here.

Code: Select all

on mouseUp
  -- lock messages --> 'smoothes' the effect?
  lock screen for visual effect # <-- obligatory, not 'optional'
  set the vis of image 1 to not the vis of image 1
  unlock screen with dissolve 
  -- unlock messages
end mouseUp
shiftLock happens

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Screen Flash and Visual Effect

Post by FourthWorld » Thu Oct 23, 2014 2:28 pm

I see many references to v6.6.x here, but unless I missed it none for v6.7. This newer version has had most aspects of how it interacts with OS X updated to use the Cocoa APIs. You may find that the issue has already been addressed in that version, and if not and you submit a but report you may well see it fixed before it gets released.

v6.7 is such a joy to use on Mac systems that you're really missing out if you're using anything earlier. Even just the modern window behaviors and appearances are quite nice, along with many other improvements.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

Re: Screen Flash and Visual Effect

Post by newtronsols » Thu Oct 23, 2014 3:49 pm

Perhaps forum users need to build a function matrix for LC versions/OS and tick in a box if they know it works. Then when you need a certain range of functions/features for an app you can look for a match in the matrix. So you know if it will work before even trying.

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Screen Flash and Visual Effect

Post by [-hh] » Thu Oct 23, 2014 3:58 pm

@Fourthworld
How should we describe a range of version numbers starting with 6.6.3 and ending with 7.0-rc3, other than I did with "6.6.3 to 7.0-rc3" above?
shiftLock happens

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9823
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Screen Flash and Visual Effect

Post by FourthWorld » Thu Oct 23, 2014 4:21 pm

[-hh] wrote:@Fourthworld
How should we describe a range of version numbers starting with 6.6.3 and ending with 7.0-rc3, other than I did with "6.6.3 to 7.0-rc3" above?
Thanks. That's why I wrote "unless I missed it" - I read more than two dozen posts here this morning, and in all that while I had done a page search for "7" I hadn't noticed that this thread had continued onto a second page. Klaus has noted this is a bad habit of mine, and I fully agree; I'll try to make more time to carefully read every post in each thread I reply to, but in practice this may not always happen, so please accept my apologies in advance, as I'm sure it'll happen again.

I might have missed this as well, but if there a bug report link here? If not it would be very helpful if anyone who has a recipe filed one against at least v6.7 so we can better ensure it gets fixed before release.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: Screen Flash and Visual Effect

Post by RogGuay » Fri Oct 24, 2014 10:50 pm

Hi Richard,

I posted my problem prior to the release of several newer versions including 6.7. In short, I am experiencing occasional screen flashing in all the new versions of LC in Yosemite. Furthermore, 6.7 is extremely slow in redrawing graphics i.e. changing the points of a line graphic in a mouseMove handler, to the point of being unacceptable. To tell the truth, I am overwhelmed with all these new releases and have not seriously tested 7.0. Nor have I zeroed in on the screen flashing problem, and wonder why I seem to be the only one experiencing it?

Thanks and cheers,
Roger
FourthWorld wrote:I see many references to v6.6.x here, but unless I missed it none for v6.7. This newer version has had most aspects of how it interacts with OS X updated to use the Cocoa APIs. You may find that the issue has already been addressed in that version, and if not and you submit a but report you may well see it fixed before it gets released.

v6.7 is such a joy to use on Mac systems that you're really missing out if you're using anything earlier. Even just the modern window behaviors and appearances are quite nice, along with many other improvements.

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: Screen Flash and Visual Effect - Solved?

Post by RogGuay » Tue Oct 28, 2014 2:52 am

Even though I still get the occasional screen flash, It seems to be less frequent if I "reduce transparency" (Yosemite System Preferences->Accessibility-> Display) and go to a Solid Color instead of a Desktop Picture. This with both LiveCode 6.6.5 and 6.7. I ask again, does anyone have any idea why I seem to be the only one with this problem?

Cheers,
Roger

Ken3D
Posts: 16
Joined: Sun Mar 02, 2014 12:54 am

Re: Screen Flash and Visual Effect

Post by Ken3D » Wed Nov 12, 2014 3:55 am

I'm still getting flashing in Yosemite using 6.7.1 (rc 1) when doing show/hide with visual effects on images and groups. I thought that changing the stack background color to a dark grey (to match the general color of the elements I'm swapping) but to no avail - still flashes white.

By the way - this flashing is not happening consistently. I've tried to track down when it does and doesn't happen but not luck so far nailing down a pattern.

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: Screen Flash and Visual Effect

Post by RogGuay » Wed Nov 12, 2014 6:19 am

Exactly my experience as well. I thought that I had partially solved it by turning off transparency in Yosemite, but not so. It is very annoying!

Roger

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Screen Flash and Visual Effect

Post by jacque » Wed Nov 12, 2014 5:22 pm

Are the images embedded or referenced?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: Screen Flash and Visual Effect

Post by RogGuay » Thu Nov 13, 2014 6:12 am

Hi Jacque,

In my case they're imbedded.

Thanks,
Roger

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Screen Flash and Visual Effect

Post by jacque » Thu Nov 13, 2014 8:38 pm

RogGuay wrote: In my case they're imbedded.
Okay, that blows my conjecture. I'd report this as a bug.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: Screen Flash and Visual Effect

Post by Klaus » Thu Nov 13, 2014 8:46 pm

Just made a test with a referenced image and this script:

Code: Select all

on mouseUp
  lock screen for visual effect # <-- obligatory, not 'optional'
  set the vis of image 1 to not the vis of image 1
  unlock screen with dissolve 
end mouseUp
No problems or any flicker on OS X 10.10 and LC 6.7.1 rc2!

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: Screen Flash and Visual Effect

Post by RogGuay » Fri Nov 14, 2014 7:01 pm

Thanks Klaus and Jacque,

I'll download 6.7.1 and if I continue to get the flash, I'll make a test stack and bug report it.

RogGuay
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Fri Apr 28, 2006 12:10 am
Location: Seattle

Re: Screen Flash and Visual Effect

Post by RogGuay » Sun Nov 16, 2014 3:45 am

Here is a link to my sample stack that results in screen flashing on my Mac running Yosemite, if anyone is interested:

https://www.dropbox.com/s/48f5ietxwrm68 ... ecode?dl=0

Thanks,
Roger

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”