Skip to main content

WM 6.1 issues: SIP button and word suggestion

6 replies [Last post]
konstantin_p
Offline
Joined: 2010-04-21
Points: 0

Hi everybody. I'm trying phoneME on the Symbol MC75 and MC35 devices with Windows Mobile 6.1.

First of all, many thanks to phoneME developers - you're doing a great job! Making a mature well-standardized and open-sourced imlpementation in today's babel of mobile java worth a lot!

The two problems i've faced:

1) when dragging a pointer from any place on the frame to SIP-button (assuming it enabled in phoneME config) - the window disappears, while the cvm is shown in the list of processes but not in the list of tasks, so it is not possible to turn cvm off.
No window events notified to windowListener. So that's something really weird.

2) if the word suggestion enabled in WM input settings: once you pick a suggested word (of N symbols) - the first letter of chosen word is inserted N times into text field.

Please could you suggest any solution or workaround to these? Or maybe these are known bugs? (though I failed to find relevant issues using issue tracker)

This is reproducible using WM6.1 emulator and Symbol devices.
PhoneME version: "phoneME Advanced - Personal Profile b161" from here: http://www.cs.kuleuven.be/~davy/phoneme/index.php?q=node/10.

Thanks in advance

The following is a code of a class to demonstrate the issues:

import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

/**
* Created 21.04.2010
*
* @author konstantin_p
*/
public class SIPIssueTest extends Frame {
public SIPIssueTest() {
super();
// prepare the frame
setTitle("SIP Issue Test");
setUndecorated(true);
setLayout(new BorderLayout(10,10));

final Panel northPanel = new Panel();
add(northPanel, BorderLayout.NORTH);

// add close button
final Button closeButton = new Button("Close");
closeButton.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent actionEvent) {
dispose();
System.exit(0);
}
});
northPanel.add(closeButton);

// add text field
final TextField field = new TextField();
field.setColumns(20);
northPanel.add(field);

// listen for window events - to see that they're not happening
addWindowListener(new WindowAdapter() {
public void windowActivated(WindowEvent windowEvent) {
System.out.println("activated : "+ windowEvent);
}
public void windowClosed(WindowEvent windowEvent) {
System.out.println("closed : "+ windowEvent);
}
public void windowClosing(WindowEvent windowEvent) {
System.out.println("closing : "+ windowEvent);
windowEvent.getWindow().toFront(); // don't minimize window
}
public void windowDeactivated(WindowEvent windowEvent) {
System.out.println("deactivated : "+ windowEvent);
}
public void windowDeiconified(WindowEvent windowEvent) {
System.out.println("deiconified : "+ windowEvent);
}
public void windowGainedFocus(WindowEvent windowEvent) {
System.out.println("gainedFocus : "+ windowEvent);
}
public void windowIconified(WindowEvent windowEvent) {
System.out.println("inconified : "+ windowEvent);
}
public void windowLostFocus(WindowEvent windowEvent) {
System.out.println("lostFocus : "+ windowEvent);
}
public void windowOpened(WindowEvent windowEvent) {
System.out.println("opened : "+ windowEvent);
}
});

// make the frame full-screen
pack();
setSize(Toolkit.getDefaultToolkit().getScreenSize());
}

public static void main(String[] args) {
new SIPIssueTest().setVisible(true);
}
}

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
davyp
Offline
Joined: 2007-01-03
Points: 0

About issue 1:
Dragging the pointer this way appears to be causing a native exception 0xc0000005, or a
STATUS_ACCESS_VIOLATION. I have had these before and they are a mess to debug.

About issue 2:
I have noticed this before too. I guess something is going wrong with dispatching window
messages to the AWT widgets, but have not looked into it.

Davy

konstantin_p
Offline
Joined: 2010-04-21
Points: 0

Hi Davy, thanks for the information

Would you suggest asking someone who's authorized to add the issues to the issue-tracker? Or maybe it worth to duplicate the post to "PhoneME Developer" branch?

Also could you please clarify on the status of the development:
whether I can have any hope that some PhoneME developer is dedicated to this issues, or should I only consider fixing them on my own?

Thank you,
Konstantin

davyp
Offline
Joined: 2007-01-03
Points: 0

Hi Konstantin,

I don't know if mentioning the issue will have any effect, because I am not sure if there
are still Sun/Oracle engineers actively involved in the development of the phoneME
project. I have been following up the weekly development builds, and quite often over
the last couple of months only the development build number increased in one of the
configuration files (but no code changes). Maybe somebody from the phoneME
project maintainers can comment on future plans for the phoneME projects.

Regarding the Personal Profile build: I know there are single developers, companies
and international research projects using my builds for Windows Mobile (although they
are not perfect), but I don't think there is anybody else publicly involved in the WinCE
ports of the VMs. In the past I have submitted patches for inclusion in the repository,
because I hoped it would simplify my work keeping my fixes in sync with the latest
code changes. There were a few reviews on my patches, but even now Personal
Profile for Windows Mobile does not build out of the box with the current code in svn.
Right now, I have scripts to automate most of the things I used to do manually..

About your issues: I am doing this port in my spare time in the evenings so I can only
promise to list your issues on my own 'tracker' and look into them if time permits. I
hope you understand.

Davy

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hi Konstantin,
>
> I don't know if mentioning the issue will have any effect, because I am not sure if there
> are still Sun/Oracle engineers actively involved in the development of the phoneME
> project. I have been following up the weekly development builds, and quite often over
> the last couple of months only the development build number increased in one of the
> configuration files (but no code changes). Maybe somebody from the phoneME
> project maintainers can comment on future plans for the phoneME projects.
>

We're still taking any and all contributions of code for phoneME. So,
if you have a fix you'd like to see migrated back to the trunk, let me know.

(Davy, for the bigger patches, I need to ramp that back up and take your
larger changes separately. Let's start a new forum thread to handle
that. I should have more time now to help you get your submitted
patches and get the PP WM build going again).

Thanks,
HInkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

davyp
Offline
Joined: 2007-01-03
Points: 0

Hinkmond: OK, if I have some spare time I will go through my patches again, and will look
which ones are safe to commit without breaking other platform builds. I will contact you in
private to send the diffs.

Davy

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Hinkmond: OK, if I have some spare time I will go through my patches again, and will look
> which ones are safe to commit without breaking other platform builds. I will contact you in
> private to send the diffs

Thanks, Davy! (It's better now that the phoneME Advanced forum bridge
is working too) ;-)

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net