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
srikanth4b9
Posts: 9
Registered: ‎11-04-2011
My Device: Developer
My Carrier: Vodafone
Accepted Solution

Playbook popup are coming behind the screen

[ Edited ]

Popup In playbookHi,

 

I m developing playbook application using web works. The problem i m facing here "drop list popups" are showing behind the screen in the actual device..

 

 

I didn't see the problem in playbook simulator...

 

Here the snap shot:smileytongue:laybook popup issue

Please use plain text.
New Developer
shivam284
Posts: 108
Registered: ‎01-23-2012
My Device: torch,bold,curve,strom
My Carrier: Blackberry

Re: Playbook popup are coming behind the screen

I am not sure about this but use z -index in css part.

 

May be this will help you!

Thanks & Regards,
Kumar Shivam
Please use plain text.
New Contributor
srikanth4b9
Posts: 9
Registered: ‎11-04-2011
My Device: Developer
My Carrier: Vodafone

Re: Playbook popup are coming behind the screen

In The simulator always working fine (coming popup is correctly)..... Sometimes only  in the playbook device i m getting this problem...

 

Please use plain text.
Developer
Levion
Posts: 137
Registered: ‎12-22-2010
My Device: Curve 8520
My Carrier: Software Developer

Re: Playbook popup are coming behind the screen

Hi, did you try to disable your splashscreen on startup? If this isn't depended on splashscreen, you should make a comment to GitHub.

 

best regards

Please use plain text.
Developer
billbsb
Posts: 144
Registered: ‎03-25-2011
My Device: Playbook, Z10 L.E.
My Carrier: Vodafone NL

Re: Playbook popup are coming behind the screen

Hum ... interesting case.

Could you provide some source code that replicates this problem?

Maybe it's just something that you are doing wrong but it's also a potential bug.

 

With the code, the community can help you better.

 

Cheers.

Cheers!
Please use plain text.
New Contributor
srikanth4b9
Posts: 9
Registered: ‎11-04-2011
My Device: Developer
My Carrier: Vodafone

Re: Playbook popup are coming behind the screen

Thanks Levion .....

 

 

After i disabled the spalsh screen, this popup is working properly....

 

So in this case how to set the splash screen...????

Please use plain text.
Developer
Levion
Posts: 137
Registered: ‎12-22-2010
My Device: Curve 8520
My Carrier: Software Developer

Re: Playbook popup are coming behind the screen

If you folllow the issue comments in github, there is somebody solved this by removing onFirstLaunch="true". I didn't test it.

Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Playbook popup are coming behind the screen

Removing 'on FirstLaunch=true' fixes the problem of popup behind screen which also mimicks the app 'freezing'

 

 the following script and alert now works properly.

 

<script type="text/javascript">
 
$('a[target="_blank"]').live( 'click', function()

{

  if ( window.blackberry )

  {

   alert( 'Opening SiteManager control center' );

   var args = new blackberry.invoke.BrowserArguments( $(this).attr( 'href' ));

   blackberry.invoke.invoke(blackberry.invoke.APP_BROWSER, args);

   return false;

  }

  return true;


})
</script>

Please use plain text.
New Contributor
srikanth4b9
Posts: 9
Registered: ‎11-04-2011
My Device: Developer
My Carrier: Vodafone

Re: Playbook popup are coming behind the screen

I didn't get  what you posted the code..Can u please Explain Clearly....

 

Problem Solved:

Removing onFirstLaunch flag in config.xml, the popups (freezing & going in background) issue in Playbook is resolved...While launching the application splash screen is showing only of 2 secs and immediately diplaying the white blank screen...How to place my own image in place of displaying white screen ....

Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Playbook popup are coming behind the screen

this code is specific to my app.

it alerts the app user that they are leaving the app and going to an 'external site'.

previously the popup was loading behind the screen content and giving the impression that the app was frozen or unresponsive. removing 'OnFirstLaunch' in .xml solved the popup going behind'

Please use plain text.