erotix / phone2chrome

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

Repeating previously opened links on other devices. #15

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Repeating previously opened links on other devices.

What steps will reproduce the problem?
1. Send at least 2 different links from your phone to chrome.
2. Open these links by pressing the "Phone 2 Google Chrome" Chrome extension 
button on a computer.
3. Go to another computer with your Dropbox and Phone 2 Google Chrome 
applications and accounts set up.
4. On this second device, click the "Phone 2 Google Chrome" Chrome extension 
button.

What is the expected output? What do you see instead?
Nothing should happen as there haven't been any links sent from the phone that 
haven't already been viewed elsewhere but the browser on the second computer 
loads links that you already loaded and seen/viewed on the first computer.

What version of the product are you using? On what operating system?
Depends as there are a few: 
| ASUS Transformer Prime ICS 4.0.3 (Stock) | 
| Samsung Galaxy Nexus ICS 4.0.4 (Stock) | 
| HTC Incredible ICS 4.0.3 (CustomROM; CyanogenMod) | 
| Dell Laptop Windows 7 Ultimate SP1 64bit | 
| Dell Desktop Windows 7 Professional SP1 32bit | 
| Acer NetTop Windows XP |Home SP3 32bit | 
| ASUS Netbook Windows 7 Starter SP1 32bit | 
| Custom Build Intel-based i3 Sandy Bridge Dual-Boot with Ubuntu 12.04 Desktop 
Edition 64bit & Windows 7 Home Preumium SP1 64bit |

Please provide any additional information below.
I use my laptop and desktop every other day so it only ends up being few 
repeated links but I rarely use my netbook and my nettop and when I do, I have 
had up to 50 "new" links waiting for me. I say "new" as I've opened them 
already on another device. I then have to go in and delete the pages file, 
resend the link and then it finally opens. At that point, I could have just 
emailed myself the link or manually typed it in.
Here are a few summarized ways I think could be used to resolve this issue 
listed from imperfect first to ideal last:
-Delete or empty the pages file on a timed cycle. (Every 24 hours that the 
pages file doesn't get modified, the pages file gets reset and flushed out)
-Copy all the data in the pages file to an archive file so that the button 
doesn't repeat links on other devices but still allows the user to search/view 
their history.
-Add a variable called "read" to the pages file for each URL/link entry. When 
it's value is set to 0, the "Phone 2 Google Chrome" Chrome extension button 
knows that specific link has not yet been read and should be opened. Upon 
opening, the value is changed from a 0 to a 1. If the extension check a link 
and the read value is set to 1 then the link has been already viewed/opened and 
the extension ignores and skips it.

Great app though, I cann't live without it.

Original issue reported on code.google.com by chevelle...@gmail.com on 4 Jun 2012 at 12:26