Closed
Bug 699716
Opened 13 years ago
Closed 13 years ago
Incorrect screenshot shown when starting up after clearing app data
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 verified, fennec11+)
VERIFIED
FIXED
People
(Reporter: lmandel, Assigned: blassey)
References
Details
(Keywords: privacy)
Attachments
(1 file)
1.76 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
When starting up Fennec after clearing the application data the previous screenshot is shown. After Fennec loads the page refreshes to the about:home page.
Steps to reproduce:
1. Launch Fennec.
2. Open a page, like mozilla.org
3. Exit Fennec.
4. Open Menu->Settings->Applications->Manage applications->Nightly and click Force stop.
5. Launch Fennec and confirm that the screenshot is of mozilla.org and that after the browser finishes loading mozilla.org loads.
6. Exit Fennec.
7. Open Menu->Settings->Applications->Manage applications->Nightly and click Force stop and then click Clear data.
8. Launch Fennec. The mozilla.org screenshot is shown. When the browser finishes loading about:home loads.
Expected result:
After clearing the data for the application the screenshot should be of about:home instead of the last page that I visited.
Actual result:
The screenshot of the last visited page remains and provides a confusing experience as the screenshot and page loaded do not match.
Comment 1•13 years ago
|
||
This is because lastScreen.png is sitting in the root of /sdcard outside of the users data. Should lastScreen.png be copied to the active user profile?
OS: Mac OS X → Android
Hardware: x86 → ARM
Updated•13 years ago
|
Assignee: nobody → doug.turner
Priority: -- → P2
Assignee | ||
Comment 2•13 years ago
|
||
Assignee: doug.turner → blassey.bugs
Attachment #572710 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #572710 -
Flags: review?(mark.finkle) → review+
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 5•13 years ago
|
||
Using the cache dir might not be a good idea. I actually tried such approach long time ago when was working on this stuff, and found that in some conditions the cache gets cleared so often, that our screenshot is not available on the next run. I actually spent quite some time trying to understand why this might happen (Doug even got angry about the delay :)). It happened not every time, but on the most runs. Might depend on a specific device. I tried this on Nexus One, which didn't have too much storage space - that was probably the reason for the frequent cache cleanup.
So, in short: we need to test this thoroughly on the low-end devices, especially those with small storage.
Assignee | ||
Comment 6•13 years ago
|
||
If we're in a situation where the OS is throwing out caches to free up disk space, then we should probably live without the cached screen shot.
Comment 7•13 years ago
|
||
(In reply to Brad Lassey [:blassey] from comment #6)
> If we're in a situation where the OS is throwing out caches to free up disk
> space, then we should probably live without the cached screen shot.
Agree. But if the image is stored on a SD card, it's much less probable to get into this situation, and much easier to fix for the user.
Now the screenshot feature is already affected: seems like such cleanup is the cause of the bug 701686.
Assignee | ||
Updated•13 years ago
|
tracking-fennec: --- → 11+
Assignee | ||
Updated•13 years ago
|
status-firefox11:
--- → fixed
Comment 8•13 years ago
|
||
Verified fixed on:
Nightly 13.0a1 (2012-02-21)
Beta 11.0 (20120221151724)
Device: Samsung Galaxy SII (Android 2.3.4)
Status: RESOLVED → VERIFIED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•