Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

Change the PointsLayer ActionEvent trigger to be fired only when user presses AND releases pointer on a point #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
pointslayer.addActionListener(new ActionListener() {

            public void actionPerformed(ActionEvent evt) {
                //e.g. dialog
            }
});

What is the expected output? What do you see instead?
IMO it's a much better user experience if actionPerformed() is only executed if 
the user presses and releases the pointer on a point.
Right it's enough to only click on the point to open the method. This leads to 
a lot of false dialog showing, for example if users start clicking on a point 
but then dragging the pointer to move around in the map.

What version of the product are you using? On what operating system?
latest cn1, w7

Please provide any additional information below.
I think the user experience will be improved when fixing this..

Original issue reported on code.google.com by tron.cos...@gmail.com on 29 Jun 2012 at 7:02

GoogleCodeExporter commented 9 years ago
Assigning to Chen.

Original comment by shai.almog on 30 Jun 2012 at 8:45

GoogleCodeExporter commented 9 years ago
fixed, will be available in the next update

Original comment by cf27...@gmail.com on 1 Jul 2012 at 11:27