03-12-2009 12:16 PM
I have a custom Screen which extends PopupScreen. I am pushing the screen as a non-modal Global screen from a UiApplication. The effect is a Screen which takes up only a portion of the device display and allows the background Screen(s) to be visible.
On this screen, however, I have an ObjectListField which I am dynamically setting based on what the user inputs into an EditField on this custom screen. As the user types, various size Object are added to the ListField, causing the screen to expand or contract. When the screen becomes smaller, however, often the background aread outside of the PopupScreen contains leftover artificats of the original size of the screen. The screen itself is correct but the area outside of the dimensions of where the screen now exists after being resized now contains generally what appears to the be borders of the screen before it was resized.
I have tried invalidating the screen when I know this resize is going to occur as well as things like updateDisplay(). While sometimes these attempts seem to help, enevitable it still happens. Any suggestions as to what I can do to ensure the area outside of a PopupScreen is always refreshed properly?
03-12-2009 01:30 PM - edited 03-12-2009 01:31 PM
Thanks for the reply.. Really a large variety. We are using all 4.5+ devices, including OS 4.5 Curves, Pearls, 8800s with varying revisions of OS 4.5 and we also see this (though not nearly as often?) on 4.6 devices such as the Bold. However, I will say some of the devices almost never experience this problem it seems, but we haven't been able to link it to any one particular device/OS version/theme...
03-17-2009 03:12 PM
What is the full BlackBerry handheld software version are you testing on? You can find this under Options, About on the BlackBerry Smartphone.
What is in the background when this occurs? Is it another screen of your application or a different application altogether? Can you post a code snippet showing how you refresh the screen that triggers this?