Background Image Bug Still Unsquashed?!?

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Background Image Bug Still Unsquashed?!?

Post by stephenmcnutt » Wed Feb 15, 2012 3:54 pm

I just upgraded from LiveCode 4.5.3 to 5.0.2. I've had trouble with background images not showing up in Windows standalones for years, but I thought surely this upgrade would put that behind me. No such luck.

Image

Notice the white and yellow striped image missing from the background of the Windows standalone. The image was imported as a control.

Thanks,
Stephen McNutt

P.S. Searching these forums is excruciating due to the skipping-common-terms "feature". Before posting this this I tried to search with background image windows standalone only to have the last three words ignored. Doing an advanced search and putting a + in front of each doesn't help.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Background Image Bug Still Unsquashed?!?

Post by Klaus » Wed Feb 15, 2012 3:57 pm

Hi Steven,

never had any trouble with this over the last years!?

What format is the image when importing?
You are using a grouped image for this, right?


Best

Klaus

stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Re: Background Image Bug Still Unsquashed?!?

Post by stephenmcnutt » Wed Feb 15, 2012 4:56 pm

I guess I lied a little bit. It's not a background image. It's a "Fill", assigned in "Colors and Patterns" of the Inspector for the "Tabs" button, which is on a background group. The referenced image was imported as a control onto a non-displaying card in the same stack, and it's a GIF. It's a tall, narrow image, so the "Fill" only needs to repeat horizontally.

Thanks,
Steve

Here are links to the posts I've made about this problem:
http://forums.runrev.com/phpBB2/viewtop ... f=9&t=5222
http://forums.runrev.com/phpBB2/viewtop ... f=9&t=4318

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Background Image Bug Still Unsquashed?!?

Post by Klaus » Wed Feb 15, 2012 5:20 pm

Hi Steve,

AHA! :D

Well, I hve no idea if there are any bugs related to (image) patterns not showing correctly on Windows,
but I guess there are, so I would try to workaround this by using a grouped image.
Or icons in buttons to repeat the pattern if the image is not big enough.


Best

Klaus

stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Re: Background Image Bug Still Unsquashed?!?

Post by stephenmcnutt » Wed Feb 15, 2012 5:26 pm

I found this post about a similar (if not exactly the same) problem just a few inches down from mine: http://forums.runrev.com/phpBB2/viewtop ... =18&t=8950 (titled "Images not displayed in standalone"). Noelle's solution doesn't work for me because the "Copy Referenced Files" checkbox is already unchecked in my case.

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

Re: Background Image Bug Still Unsquashed?!?

Post by jacque » Wed Feb 15, 2012 5:40 pm

That can happen if the image ID has changed for some reason. Double-check that the ID assigned as a background pattern is really the ID of the image. I just had that happen to me yesterday. If that isn't it, try reimporting your image as JPEG or PNG. Those tend to be more reliable formats.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

stephenmcnutt
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 107
Joined: Fri Nov 10, 2006 8:58 pm
Contact:

Re: Background Image Bug Still Unsquashed?!?

Post by stephenmcnutt » Wed Feb 15, 2012 6:30 pm

I checked the ID with each image I tried, and in each case it was the correct ID as assigned for the background fill of the "Tabs" button.

In addition to the GIF, I tried a PNG (PNG-24) and a JPEG. None displayed as the background pattern in a Windows standalone.

I made a button so that, while in the standalone, I could navigate to my usually non-displaying card on which these images are "imported as controls". All three images, the GIF, PNG and JPEG versions, do appear in the Windows standalone, although, as you can see, it doesn't appear as the background fill for the "Tabs" button.

Image

So it appears images don't work as background fills for Windows standalones, at least for "Tabs" buttons as applied as shown in this screenshot:

Image

Now, Klaus, how do we report this as a bug? Is telling you sufficient? I'm testing this in Windows 7, incidentally. Thank you very much for your help, by the way, Klaus and Jacque.

Thanks,
Steve

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Background Image Bug Still Unsquashed?!?

Post by Klaus » Wed Feb 15, 2012 6:43 pm

Hi Steve,

write a report to: bugs@runrev.com


Best

Klaus

Post Reply