Archive for Uncategorized

Why Android scrolling feels “wrong”


Video link

Android, or at least the UI framework, ignores the first few touch events it gets if it’s doing a bunch of other things, like rendering a webpage. This leads to things like trying to scroll a certain distance, and having the page, or list scroll only a small fraction of that distance, or trying to fling a page or list, and having it move with very little inertia.

Android’s new developer options allow you to see where the hardware thinks your touch is, from the last touch down event to the last touch up event. This is useful for demonstrating this bug.

If you’re at the top of a web page, and you scroll down the web page, and then back up to the top in an upside down V pattern, the tips of the V should be at the same height, since, in order to move the page up and down, your finger should have to begin and end at the same height. It’s a little bit hard to see, but in the video, this is not so. Android has been widely criticized for being laggy, and feeling wrong, (whatever that means) this explains in more concrete terms, one origin of that “wrong” feeling.

Demonstrated on an ASUS TF101 Transformer, running Android 4.0.3, although this has been a problem since the G1, and Android 1.5.

I’ve submitted the bug here, so feel free to star it if you’ve experienced the same issues.

Comments off

Volume down bug in Galaxy Nexus

Dangit, I was really looking forward to this phone too. Apparently, Galaxy Nexus owners in the UK are experiencing an odd, intermittent bug where the phone mutes itself.

In the original post, a commenter linked to a video demonstrating that another phone using the 900mHz 2G network held next to the Galaxy Nexus could trigger the volume down button while it was in Bootloader mode, meaning a software patch wasn’t going to do much.

I’m excited about this phone, but this bug’s going to make me hold off on buying the Galaxy Nexus until I hear that it’s been fixed.

Comments off

Random crashes with the x120e on Ubuntu

So the last hangup I’ve had is random crashes on resume, and sometimes on suspend. Through a whole bunch of googling, I found that people more knowledgable than me pinned it down to the wireless drivers. If you’re experiencing crashes on 11.04, you use lsmod, and see that you’re using the r8192ce driver instead of the r8192ce_pci driver, then you have the same problem I was.

You can probably just go to Administration -> Additional Drivers, and it’ll find the appropriate drivers for you and install them.

Additionally, I blacklisted these drivers:

blacklist rt2800pci
blacklist rt2800lib
blacklist rt2x00usb
blacklist rt2x00pci
blacklist rt2x00lib
blacklist rtl8192ce

and used the aspm=force kernel option.

My laptop’s been running really stably for a few days now, so all this seems to have solved my problems.

Comments off

Twitchy touchpad in Ubuntu on the x120e

So two-finger scrolling on the x120e has been acting unusably twitchy. Fixing this requires some command-line craziness.

1) xinput list
2) Find Synaptics Touchpad in the list of devices, and find the ID. (In this case, 12)
3) xinput set-prop –type=int 12 “Synaptics Finger” 44 49 255

This sets the Finger property. The first number, 44, is the pressure needed to register a touch up event. The second is a touch down event. The last is the pressure needed to count as a press. The defaults, 24 29 255 are way too light, and result in a lot of twitchyness when lifting a finger, so this takes the sensitivity down a notch.

NOTE: These changes won’t persist after you log out, so in order to make them stick, create or modify an .xsessionrc file in your home directory, and add the line from step 3.

Comments off

Related Links

Resource Links