julianwi / javainstaller

an android application to install a full java runtime on a phone.
GNU General Public License v3.0
37 stars 9 forks source link

Bad enum of file paths #4

Closed veganaize closed 10 years ago

veganaize commented 10 years ago

When selecting the "Install" or "Change Path" button for a file, then selecting one of those buttins for another file, the result is that an incorrect path (for another file) is displayed in the edit text box.

julianwi commented 10 years ago

I don't know what you mean. I press "change path" for busybox, then I press "cancel", then I press "change path" for libc and everything is displayed right.

veganaize commented 10 years ago

If i press "uninstall" on gnu libc after clicking a few "change path" buttons, then click "install" (next to libc) - it displays the java.tar.gz path instead of libc's.

julianwi commented 10 years ago

I think the bug only appears if the orientation is in landscape mode, so that not all buttons fit on screen. Can you check if this is true?

veganaize commented 10 years ago

Weird. At first I could not duplicate the bug at all again. My current result is: Uninstall libc, reinstall libc, attempting to install java.tar.gz after that displays busybox in both paths for java.tar.gz

The results seem identical in both orientations. I (think I) can see all buttons in both orientations, including "update" (when selected , of course)

julianwi commented 10 years ago

I mean if all the buttons from terminal emulator to "run jar file" are visible. Not the Buttons in the same row.

veganaize commented 10 years ago

The choices do scroll, though all are not initially visible. I do have the "run jar file" button in this app, but not in a terminal (that I have seen).

julianwi commented 10 years ago

I have no idea where this bug comes from but I made a simple fix. Every item in the ListView gets an ID and when scrolling the IDs are checked.