Join Our 3 MILLION+ Members Today! Register Here | Login
Go Back   BlackBerry Forums at CrackBerry.com > BlackBerry Professionals > Theme Developers

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
    Thread Author   #1  
Old 08-16-2010, 02:05 PM
CrackBerry Genius
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 1,500
Likes Received: 0
Thanked 4 Times in 2 Posts
Default Banner Text Missing After Changing Layer Opacity - Why?

I've chased this tail for a while and haven't found a solution, thought I'd toss it out here and see if anyone has a suggestion how to resolve this.

I'm using the following code to change the opacity of a layer so that it has a fade affect (in and out). I'm using the following code:


<animate xlink:href="#Layer_1" id="_anim_d6" attributeName="opacity"
from="1" to="0" dur="1s"
fill="freeze"
begin="Off.focusin" />


<animate xlink:href="#Layer_1" id="_anim_d7" attributeName="opacity"
from="0" to="1" dur="1s"
fill="freeze"
begin="On.focusin" />


The fade works fine, but I find that when I return the opacity back to normal state I will occasionally find that the banner text is no longer displayed. As I'm not touching the banner at all with the code I have no idea why this is affecting the banner text. This DOES NOT occur each time (which is part of why this has been such a challenge for me to chase down). I have found that if I touch one of the icons in the banner (such as Profiles) this seems to trigger the condition - but can't understand why. If I then touch on the various areas in the banner the text is displayed, or if I open the Application List and return to the homescreen the text is displayed fine again.

Anyone have any suggestions how to resolve this? Or at least how to force the banner text back to "on"?
__________________
- RIP Storm, Now Rockin' with DroidX and haven't looked back - [My Themes]
Reply With Quote Tip this Post
  #2  
Old 08-16-2010, 02:51 PM
CrackBerry Addict
Device(s): 9810 Torch 2
Carrier: AT&T/Cingular
 
Join Date: Nov 2008
Posts: 591
Likes Received: 0
Thanked 24 Times in 17 Posts
Default

In Theme Builder, I believe there is an option "display home screen over banner" (or something similarly phrased).
If that box is checked, you may actually be covering the banner with your opaque home screen.
__________________
Karen
Karen's BlackBerry Themes
Quality themes for the 9800, 9700, 9630, 8900, 9000

I'm going to start tweeting when a new theme is available: Follow Me on Twitter
Reply With Quote Tip this Post
    Thread Author   #3  
Old 08-16-2010, 03:24 PM
CrackBerry Genius
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 1,500
Likes Received: 0
Thanked 4 Times in 2 Posts
Default

Thanks for the response, but I don't have that option selected in Theme Builder. However, just to be clear, this doesn't happen all the time. Everything will display fine on the homescreen, just an occasional incorrect rendering of the screen when the opacity changes back to "normal" state.
__________________
- RIP Storm, Now Rockin' with DroidX and haven't looked back - [My Themes]
Reply With Quote Tip this Post
  #4  
Old 08-16-2010, 03:37 PM
CrackBerry Addict
Device(s): 9810 Torch 2
Carrier: AT&T/Cingular
 
Join Date: Nov 2008
Posts: 591
Likes Received: 0
Thanked 24 Times in 17 Posts
Default

Strange.

Sorry - you were clear on the fact that it doesn't happen all the time. I'm not very familiar with building the storm, so I wondered if the touch screen aspect might impact the behavior such that it would sometimes appear.

Does the inconsistency occur both in portrait and landscape modes?
__________________
Karen
Karen's BlackBerry Themes
Quality themes for the 9800, 9700, 9630, 8900, 9000

I'm going to start tweeting when a new theme is available: Follow Me on Twitter
Reply With Quote Tip this Post
    Thread Author   #5  
Old 08-16-2010, 05:20 PM
CrackBerry Genius
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 1,500
Likes Received: 0
Thanked 4 Times in 2 Posts
Default

Quote:
Originally Posted by VeryBold View Post
Strange.

Sorry - you were clear on the fact that it doesn't happen all the time. I'm not very familiar with building the storm, so I wondered if the touch screen aspect might impact the behavior such that it would sometimes appear.

Does the inconsistency occur both in portrait and landscape modes?
The layout in landscape mode doesn't include the fade in/out, so no impact there. However when the rendering does go wrong if I turn to landscape mode and back to portrait the rendering is corrected. I can get this same issue to occur in the simulator as well as on the device. It is indeed strange and thinking it's a bug in the OS, but now looking for ideas on what a work around might be
__________________
- RIP Storm, Now Rockin' with DroidX and haven't looked back - [My Themes]
Reply With Quote Tip this Post
  #6  
Old 08-17-2010, 09:57 AM
CrackBerry Addict
Device(s): 9810 Torch 2
Carrier: AT&T/Cingular
 
Join Date: Nov 2008
Posts: 591
Likes Received: 0
Thanked 24 Times in 17 Posts
Default

Hmm. I agree - it does sound like a bug. Sorry I don't have any suggestions. I hope someone else has ideas on a work-around. Good luck!
__________________
Karen
Karen's BlackBerry Themes
Quality themes for the 9800, 9700, 9630, 8900, 9000

I'm going to start tweeting when a new theme is available: Follow Me on Twitter
Reply With Quote Tip this Post
    Thread Author   #7  
Old 08-18-2010, 09:29 AM
CrackBerry Genius
Device(s): 9550 (Storm2)
Carrier: Verizon
 
Join Date: Feb 2009
Posts: 1,500
Likes Received: 0
Thanked 4 Times in 2 Posts
Default

I've created a very simple example, refer to the SVG attachment.

There are 6 icons (in one layer) and two buttons (in another layer). Red hides the icons, yellow shows the icons. The screen should show the red and yellow boxes and the icons should either appear or not depending on the button selected (picture 1). Icons will fade out and in.

The banner text should always be displayed (I'm not touching the banner at all). What I have found is just the fade / display all works fine. It's when you select something in the banner (e.g manage connections or profiles) that when you then go to unhide the icons the banner text is missing (this does not happen each time, it occurs sporadically which really has me confused as to the cause. What I have found to be more a trigger is to hide the icons (yellow box), click on profile or manage connections, then unhide (red box) the icons, the banner text/info then disappears (but again, not always repeatable).

The attached pictures show how the screen looks with the icons displayed and also then shows an example of where the banner text (and also the red and yellow boxes) are suddenly missing from the screen.

Picture 1: Initial display
Picture 2: Icons hidden
Picture 3: Review "Manage Connections" - no change made, just escape
Picture 4: Screen now shows the banner text missing
Picture 5: Touched on clock and that text is displayed

Pictures are from simulator, but also get same results on device.

I can return the screen back to the correct state by putting into landscape mode or displaying the application list.

Any ideas or suggestions as to how to resolve this would be appreciated.

Here is link to the svg file (I renamed it to txt, change back to svg).
Attached Images
File Type: jpg dispatch1024001024_26622-01.jpg (42.0 KB, 4 views)
File Type: jpg dispatch1024001024_26622-02.jpg (38.6 KB, 4 views)
File Type: jpg dispatch1024001024_26622-03.jpg (47.4 KB, 5 views)
File Type: jpg dispatch1024001024_26622-04.jpg (37.2 KB, 3 views)
File Type: jpg dispatch1024001024_26622-05.jpg (39.8 KB, 3 views)
__________________
- RIP Storm, Now Rockin' with DroidX and haven't looked back - [My Themes]

Last edited by Bob61; 08-18-2010 at 12:15 PM.
Reply With Quote Tip this Post
  #8  
Old 08-22-2010, 03:00 AM
CrackBerry User
Carrier: Vodafone
 
Join Date: Jun 2009
Posts: 53
Likes Received: 0
Thanked 0 Times in 0 Posts
Default

sorry but the link not work.
__________________
PulcinellaStyle Gallery
Reply With Quote Tip this Post
Reply
BlackBerry Forums at CrackBerry.com > > BlackBerry Professionals > Theme Developers   Banner Text Missing After Changing Layer Opacity - Why?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes