Closed Bug 604946 Opened 14 years ago Closed 14 years ago

form assistant leaves ghost tab images over content

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(fennec2.0b2+)

VERIFIED FIXED
Tracking Status
fennec 2.0b2+ ---

People

(Reporter: tchung, Assigned: mbrubeck)

References

Details

Attachments

(4 files, 5 obsolete files)

When tapping on the content textboxes with tabs open, i can sometimes get ghost images of the tabs to appear

* See screenshot.  Could not reproduce on the Nexus One

Repro:
1) install nightly android build: Mozilla/5.0 (Android; Linux armv71; rv:2.0b8pre) Gecko/20101016 Firefox/4.0b8pre Fennec/4.0b2pre	
2) open a few tabs on the sidebar
3) launch a website that has a textbox, that would require tapping to open in a virtual keyboard
4) click on a search box within the content page
5) Verify ghosted images of tab thumbnails appear in the screen

Expected:
- no ghosted tab thumbnails on the content pages

Actual:
- ghosted tab thumbnails
Another screenshot example, this one on cnn.com search box.
tracking-fennec: --- → ?
tracking-fennec: ? → 2.0b2+
Summary: [VKB] leaves ghost tab images on HTC Incredible → form assistant leaves ghost tab images over content
Assignee: nobody → mbrubeck
Only the fourth and later tabs show up as ghosts - it looks like they are being pushed into a new column by the keyboard resize, and for some reason when formhelper is activated, that new column ends up overlapping the content.
Attached patch New tab theme (obsolete) — Splinter Review
For some reason, setting "opacity: 0.5" on the documenttab element made it fail to go away when scrolled offscreen.  (Looks like a CSS or gfx bug.)  Moving the opacity from the documenttab to the thumbnail fixes this bug.

In order to distinguish between the foreground and background tabs, we then need to apply more of the new theme.  This patch:

* Applies the new theme background and button images from bug 575403.
* Changes some CSS selectors for performance reasons.
* Shrinks Sean's background gradients to 1px wide and uses repeat-x.
* Moves the close button over the left border of the tab, as shown in http://www.flickr.com/photos/madhava_work/4993009505/sizes/o/in/set-72157624962763028/

For this to look right, it should be used with Vivien's sidebar gradient patch from bug 575403.
Attachment #484030 - Flags: review?(mark.finkle)
Attached image screenshot with new theme patch (obsolete) —
This also has attachment 484018 [details] [diff] [review] applied (sidebar and urlbar gradients).
Attached image screenshot v2 (obsolete) —
Attachment #484034 - Attachment is obsolete: true
Attachment #484038 - Attachment is patch: false
Attachment #484038 - Attachment mime type: text/plain → image/png
Attached patch patch v2 (obsolete) — Splinter Review
Fix bugs pointed out by Sean:

* Overlay reload image on top of thumbnail, not underneath.
* Extend the tab padding to show the bevel at the bottom of the gradient.

There should also be a drop-shadow, but we are not doing that for now because of performance problems.
Attachment #484030 - Attachment is obsolete: true
Attachment #484040 - Flags: review?(mark.finkle)
Attachment #484030 - Flags: review?(mark.finkle)
Attached patch patch v3 (obsolete) — Splinter Review
Fake a shadow using a thin gray border, as suggested by mart3ll on IRC.
Attachment #484040 - Attachment is obsolete: true
Attachment #484045 - Flags: review?(mark.finkle)
Attachment #484040 - Flags: review?(mark.finkle)
Depends on: 575403
Attached patch patch v4Splinter Review
New red close buttons from Sean.  These replace the existing close image rather than adding new images.  Renamed the close button images to end in -hdpi to match the new convention.
Attachment #484045 - Attachment is obsolete: true
Attachment #484066 - Flags: review?(mark.finkle)
Attachment #484045 - Flags: review?(mark.finkle)
Attached image screenshot v4
Attachment #484038 - Attachment is obsolete: true
Comment on attachment 484066 [details] [diff] [review]
patch v4


> #tool-star {
>-  list-style-image: url("chrome://browser/skin/images/bookmark-default-64.png");
>+  list-style-image: url("chrome://browser/skin/images/bookmark-default-63.png");

Mistake?

The new close PNGs seem large (KB). We should look at shrinking our PNGs in general
Attachment #484066 - Flags: review?(mark.finkle) → review+
(In reply to comment #11)
> Mistake?

Yes.

> The new close PNGs seem large (KB). We should look at shrinking our PNGs in
> general

I'll pngcrush the images and fix the -63 before pushing this patch.
http://hg.mozilla.org/mobile-browser/rev/03a6e97b5b21
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified:
Mozilla/5.0 (Maemo;Linux armv71; rv:2.0b8pre) Gecko/20101019 Firefox/4.0b8pre Fennec/4.0b2pre
Mozilla/5.0 (Android; Linux armv71; rv2.0b8pre) Gecko/20101019 Firefox/4.0b8pre Fennec/4.0b2pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: