cgeo/c-geo-opensource — Issue #1159: QR code scanner only excepts one input type
Author: campbeb
Created: 2012-02-22 10:59:52+00:00
State: open

The QR code scanner only works with strings that start with `http://coord.info/`.
It does not work if you scan a QR code that is just a GC code or a TB code.

The error presented if I scan just a geocode is "Didn't find any geocode in the scan result." At the very least, the error message should be changed to explain that only scanning `http://coord.info/` links will work.

I think the best behavior would be to show what was scanned along with the error message. I found a cache today that had a QR code so I scanned it (thinking it would load information about the cache). I just kept getting error messages from c:geo. I finally used my phone's barcode scanner and determined the QR code was just for `http://www.geocaching.com`

I don't want to turn c:geo into a full QR code scanner, but it needs to be clearer what the program is doing and why it might not be working (after all, you usually have no idea what a QR code says when you are scanning it).