Issue 20: resizeable device doesn't resize
Status:  Fixed
Owner: ----
Closed:  Jan 2010
Reported by amichair, Jan 2, 2010
What steps will reproduce the problem?
1. select the resizeable device from the device list.
2. open a midlet.
3. change the emulator size (either with mouse or using the Resize button.

What is the expected output? What do you see instead?
The display area should be resized appropriately.
Instead, the window area is resized, but the midlet's display area remains
the same, i.e. the midel display takes up only the same small portion of
the window and the rest is just blank white space. Also, the sizeChanged
event is fired with the previous dimensions, not the new ones.

What version of the product are you using? On what operating system?
2.0.3 on Linux (Sun JVM 1.6.0_16).

Please provide any additional information below.


Jan 2, 2010
#1 amichair
clarification: the problem occurs in non-fullscreen mode. If setFullScreenMode(true)
is used, the resizing works properly.
Jan 3, 2010
#2 amichair
The patch fixes this issue. It's not perfect, but works well (and certainly better
than before, where it didn't work at all).
fix_resize.diff
5.3 KB   View   Download
Jan 3, 2010
#3 amichair
An improved patch, excluding small unrelated change, and fixing the initial display
size (before resizing, using previously saved settings).
fix_resize.diff
5.4 KB   View   Download
Jan 6, 2010
Project Member #4 bar...@gmail.com
Fixed in trunk (future version 3.0)
Status: Fixed
Labels: Milestone-3.0