Skip to main content

Wrong selection in Menu list on touch screen devices

4 replies [Last post]
ghady_rayess
Offline
Joined: 2009-01-09
Points: 0

Tapping the blank area in the bottom of the menu list will always select the first command.

check the below link:
http://www.foo-cup.com/lwuit/menu.jpeg

<br />
Form f = new Form("Title");<br />
        f.addCommand(new Command("Third command",3));<br />
        f.addCommand(new Command("Second command",2));<br />
        f.addCommand(new Command("First command",1));<br />
        f.addCommandListener(new ActionListener() {<br />
            public void actionPerformed(ActionEvent evt) {<br />
                Dialog.show("Dialog", evt.getCommand().getCommandName() + " was clicked", "Close", null);<br />
            }<br />
        });<br />
        f.show();<br />

Message was edited by: ghady_rayess

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
shankar_vn
Offline
Joined: 2009-11-03
Points: 0

Narrowing down the problem, it was the List selection issue we noticed earlier.

Probable fix: List shouldn't fire any event for clicking on it's empty space.

ghady_rayess
Offline
Joined: 2009-01-09
Points: 0

Thank you shankar,

Do u know if they have it in the issue tracker?
It's a bit urgent from my side.

Thanx

shankar_vn
Offline
Joined: 2009-11-03
Points: 0

I don't think there is any issue reported on this.
Pls log a ticket.

ghady_rayess
Offline
Joined: 2009-01-09
Points: 0

added a ticket in the issue tracker...