Page 1 of 4

Images going black

Posted: Mon Nov 09, 2020 10:07 am
by richmond62
LC 9.6.1 Community

macOS 11.0.1 Beta

Importing a series of PNG images into the first card of a stack is lovely, importing or copy-pasting the same images into the second card
is not:
-
house1.jpg
-
house2.jpg
-
This is a big pain in the bum as I rely on this sort of thing for online teaching 5-6 year old Bulgarians English.

There is a work-around which involves cloning the first card.

Although, why at this stage of maturity of LiveCode one should have to do this sort of fiddle-faddle escapes me.

Re: Images going black

Posted: Mon Nov 09, 2020 11:55 am
by richmond62
Further to this, if one opens a second stack in the same session all PNG images also import as solid black.

Re: Images going black

Posted: Mon Nov 09, 2020 12:55 pm
by Klaus
Can you please post one of these images here?

Re: Images going black

Posted: Mon Nov 09, 2020 1:11 pm
by richmond62
Prepared with GIMP.

I have not experienced that problem until now: so, probably,
a conflict between macOS 11.0.1 beta and LC 9.6.1.
-
h3.png
h3.png (24.98 KiB) Viewed 7590 times

Re: Images going black

Posted: Mon Nov 09, 2020 1:29 pm
by Klaus
Thank you, no problems on macOS 10.14.6 and LC 9.6.1.

Re: Images going black

Posted: Mon Nov 09, 2020 2:44 pm
by richmond62
I assume this is a problem with macOS 11 Beta; so shall send
feedback to Apple.
-
worm_in_apple.jpeg
worm_in_apple.jpeg (6.62 KiB) Viewed 7575 times

Re: Images going black

Posted: Mon Nov 09, 2020 8:48 pm
by richmond62
Oddly enough this phenomenon crops up in the Macintosh standalone enerated from that stack:
-
stack.jpg
stack
-
standalone.jpg
standalone
-
BUT that is the second card: imagery is preserved on the first card.

I would be grateful if somone could try the standalone out on macOS 10.15 / 10.14:

https://www.dropbox.com/s/za5tl48znjoxx ... X.zip?dl=0

Re: Images going black

Posted: Mon Nov 09, 2020 8:52 pm
by Klaus
Just tested on macOS 10.14.6, two houses on the start screen but black on black on the second card :-/

Re: Images going black

Posted: Mon Nov 09, 2020 9:13 pm
by richmond62
Thanks.

That is very odd as the original stack renders the images on card 2 perfectly alright.

https://www.dropbox.com/s/obp0ubm60nalu ... e.zip?dl=0

Just sent a report on this to Apple via their Feedback Assitant application, although
I hae ma douts qhat they'll dae. :?
-
Screenshot 2020-11-09 at 22.25.03.png

Re: Images going black

Posted: Tue Nov 10, 2020 9:37 am
by richmond62
Screenshot 2020-11-10 at 10.35.35.png
-
The Windows version is "fun" as well.

Re: Images going black

Posted: Tue Nov 10, 2020 5:56 pm
by jacque
The feedback should go to LC's bug database, not Apple. That's more likely where the problem is.

But it would be good to know how you're referencing the second image, as that's where the problem may be. Is is an imported copy? Referenced from disk? Copied from the first card?

Re: Images going black

Posted: Tue Nov 10, 2020 5:58 pm
by richmond62
All images are imported.

Re: Images going black

Posted: Tue Nov 10, 2020 7:27 pm
by richmond62
Under macOS 11.0.1 beta LiveCode 8 doesn't do any better with PNG images than LC 9.6.1:
-
Houses_LC_8.jpg

Re: Images going black

Posted: Tue Nov 10, 2020 7:43 pm
by jacque
richmond62 wrote:
Tue Nov 10, 2020 5:58 pm
All images are imported.
Did you use the Import Control menu item, or paste into the stack? This looks a little like a bad alpha channel. If you use jpg does it work?

Re: Images going black

Posted: Tue Nov 10, 2020 7:58 pm
by richmond62
I used the Import Control menu item.

Hang on a mo' while I see what happens with jpgs . . .
-
Screenshot 2020-11-10 at 20.53.19.png
-
This is a "random" jpg I downloaded from the internet: on initial import it displays correctly.

On quitting LiveCode and reopening the stack it diplays correctly.

A standalone also renders correctly.

I would like to point out that while running macOS 10.15 I had NO problem with png images prepared with GIMP.

Tomorrow I'll see what happens with a random png image from the internet.