If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
New Contributor
gonzdevour
Posts: 8
Registered: ‎08-15-2012
My Device: Playbook
My Carrier: China Network Systems

TEXT object cause black screen after OS 2.1.0.1032

TEXT object cause black screen after OS 2.1.0.1032.

I am sure the same app works well with text object before updating OS yesterday.

 

My Playbook got a black screen if an app has text object on current layout,

when I remove all text object, anything works.

 

Will there be a next OS update to repair this problem soon?

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 614
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: TEXT object cause black screen after OS 2.1.0.1032

Hello,

 

Do you have any sample code, or anything you could share so I can try and reproduce this?

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
New Contributor
gonzdevour
Posts: 8
Registered: ‎08-15-2012
My Device: Playbook
My Carrier: China Network Systems

Re: TEXT object cause black screen after OS 2.1.0.1032

OK, I'll make a zip file.

Is a zip file enough?

Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 614
Registered: ‎10-01-2009
My Device: Z10
My Carrier: Bell

Re: TEXT object cause black screen after OS 2.1.0.1032

Yes that should be fine.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
New Contributor
gonzdevour
Posts: 8
Registered: ‎08-15-2012
My Device: Playbook
My Carrier: China Network Systems

Re: TEXT object cause black screen after OS 2.1.0.1032

After a whole day debugging, I still can't explain what happened now.

 

I made a simple file to test if text object only cause the bug,

this .bar looks ok.(window scale ratio is 480x640)

http://i1220.photobucket.com/albums/dd443/gonzdevour/20121010_013953.jpg

 

So I changed my original app's window scale ratio from 320x480 to 480x640, text object works without blank screen.

(before this, I have to remove all text objects to made other things work.)

 

But I still want my app's window scale ratio is 320x480, 

so I tried to change the window size to 640x960 (2x). Text objects work with a 1/2 performance.

 

Then I tried to force the layout grow its size in game per 3 seconds,

like what I made in the zips below for download,

when the size get to 2x (means the screen performance come back to what I original want it be),

it crashes.

 

I prepared 2 zips for test.

 

This one is the crash one.(start the game and wait the layout become it's double size.)

https://dl.dropbox.com/u/49730415/BrickBreaker.zip

 

This one is the same file without text objects. works very well.

https://dl.dropbox.com/u/49730415/BrickBreakerWithoutTEXT.zip

 

By the way. You can start the game and wait to the music finish and start loop.

It will cause the sound volume of playbook forced to be max. That's the second bug in zip.

 

And some special sound like the ball hits the brick, audio display twice while I just play once.

(Music or longer sound like TryAgian seems normal.) It's the third bug in zip.

 

However,so far I can make my game mute, but can't easily make my game without text object,

so I hope the text object problem can be fixed soon.

 

I am sure that the text object is normal before last OS update, 

Please use plain text.
New Contributor
gonzdevour
Posts: 8
Registered: ‎08-15-2012
My Device: Playbook
My Carrier: China Network Systems

Re: TEXT object cause black screen after OS 2.1.0.1032

Though official docs of BB said that playbook support webgl, 
after testing for several days, I am sure now if you turn webgl on,
you can't use any text object without crashing on BB app.

Please use plain text.