dimanche 13 avril 2014

problèmes de clavier - BlackBerry 8900 - en mode écran tactile avec deux pushScreen() - Stack Overflow


This issue appears on BB 9800 when the device/emulator is in full touch mode (closed slider). I don't know if the issue appears on other TS devices (I have only this device).


I have the MainScreen (MS) object (where almost entire application is working here), and some "dialogs" (D1, D2) for displaying some details, which both extend FullScreen, and I display them with UiApplication.getUiApplication().pushScreen(this), and I close them with UiApplication.getUiApplication().popScreen(this); D1 - some details D2 - an EditField for adding some comments


If I push only one "dialog" MS -> D1 or MS -> D2 all things are ok. if I push 2 "dialogs" MS -> D1-> D2, if I press on virtual keyboard, there are some visual mess (like no painting areas), only the first pressed key is taken from VirtualKeyboard (into edit); if I dissmiss this D2 (with popScreen()), the D1 has visual issues (again, like no painting areas)...


D1:


public class DialogBase extends FullScreen
{
public DialogBase()
{
super(new VerticalFieldManager(), Field.NON_FOCUSABLE);

. . .
}

. . .

public void open()
{
UiApplication.getUiApplication().pushScreen(this);
}

public void closeAndExit()
{
UiApplication.getUiApplication().popScreen(this);
}
}

D2 is very similar to D1 (the same constructor + open + close)


Do you have an ideea?


Thank you,


Tibi.



This issue appears on BB 9800 when the device/emulator is in full touch mode (closed slider). I don't know if the issue appears on other TS devices (I have only this device).


I have the MainScreen (MS) object (where almost entire application is working here), and some "dialogs" (D1, D2) for displaying some details, which both extend FullScreen, and I display them with UiApplication.getUiApplication().pushScreen(this), and I close them with UiApplication.getUiApplication().popScreen(this); D1 - some details D2 - an EditField for adding some comments


If I push only one "dialog" MS -> D1 or MS -> D2 all things are ok. if I push 2 "dialogs" MS -> D1-> D2, if I press on virtual keyboard, there are some visual mess (like no painting areas), only the first pressed key is taken from VirtualKeyboard (into edit); if I dissmiss this D2 (with popScreen()), the D1 has visual issues (again, like no painting areas)...


D1:


public class DialogBase extends FullScreen
{
public DialogBase()
{
super(new VerticalFieldManager(), Field.NON_FOCUSABLE);

. . .
}

. . .

public void open()
{
UiApplication.getUiApplication().pushScreen(this);
}

public void closeAndExit()
{
UiApplication.getUiApplication().popScreen(this);
}
}

D2 is very similar to D1 (the same constructor + open + close)


Do you have an ideea?


Thank you,


Tibi.


0 commentaires:

Enregistrer un commentaire