Closed Bug 631507 Opened 13 years ago Closed 10 years ago

File upload file picker on addons.mozilla.org/en-US/developer does not appear

Categories

(addons.mozilla.org Graveyard :: Developer Pages, defect, P5)

x86
All
defect

Tracking

(Not tracked)

RESOLVED WONTFIX
4.x (triaged)

People

(Reporter: alice0775, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(4 files)

Attached image screen shot
Build Identifier:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110203 Firefox/4.0b12pre ID:20110203010203

Very similar  Bug 626378.

The file picker appears when I click "Select a File" button.

if I disable Site Style(View > Page Style > No Style),
The file picker appears when I click Browse... button.
Severity: normal → major
See Also: → 626378
Can you be more specific about what the bug is and the steps to reproduce?
OS: Windows 7 → All
(In reply to comment #1)
> Can you be more specific about what the bug is and the steps to reproduce?

[STR]
Click the "Select a File" button

[Actual result]
Nothing happen

[Expected result]
A file picker pops up.
Please try this with a new profile and no add-ons.
(In reply to comment #3)
> Please try this with a new profile and no add-ons.
I reported here new profile and noaddon in about:addons.
Please load "about:support" and paste in the result

  Application Basics

        Name
        Firefox

        Version
        4.0b12pre

        User Agent
        Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110204 Firefox/4.0b12pre

        Profile Directory

          Open Containing Folder

        Enabled Plugins

          about:plugins

        Build Configuration

          about:buildconfig

  Extensions

        Name

        Version

        Enabled

        ID

  Modified Preferences

      Name

      Value

        accessibility.typeaheadfind.flashBar
        0

        browser.places.importBookmarksHTML
        false

        browser.places.importDefaults
        false

        browser.places.leftPaneFolderId
        -1

        browser.places.smartBookmarksVersion
        2

        browser.startup.homepage_override.buildID
        20110204030345

        browser.startup.homepage_override.mstone
        rv:2.0b12pre

        dom.report_all_js_exceptions
        true

        extensions.checkCompatibility
        false

        extensions.checkCompatibility.3.6
        false

        extensions.checkCompatibility.3.6a
        false

        extensions.checkCompatibility.3.6b
        false

        extensions.checkCompatibility.3.6pre
        false

        extensions.checkCompatibility.3.7
        false

        extensions.checkCompatibility.3.7a
        false

        extensions.checkCompatibility.3.7b
        false

        extensions.checkCompatibility.4.0
        false

        extensions.checkCompatibility.4.0b
        false

        extensions.checkCompatibility.4.0pre
        false

        extensions.lastAppVersion
        4.0b12pre

        javascript.options.strict
        true

        network.cookie.prefsMigrated
        true

        places.history.expiration.transient_current_max_pages
        128823

        privacy.sanitize.migrateFx3Prefs
        true

        security.warn_viewing_mixed
        false

  Graphics

        Adapter Description
        ATI Radeon HD 4300/4500 Series

        Vendor ID
        1002

        Device ID
        954f

        Adapter RAM
        512

        Adapter Drivers
        aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64

        Driver Version
        8.812.0.0

        Driver Date
        1-4-2011

        Direct2D Enabled
        true

        DirectWrite Enabled
        true (6.1.7600.20830, font cache n/a)

        WebGL Renderer
        Google Inc. -- ANGLE -- OpenGL ES 2.0 (ANGLE 0.0.0.541)

        GPU Accelerated Windows
        1/1 Direct3D 10
Maybe this is due to WOW64.  Are you able to try it in 32 bit?
Is this a nightly build or built from a custom branch?  I'm curious because latest beta is 10 and I thought nightly would be at 4.0b11pre
(In reply to comment #7)
> Maybe this is due to WOW64.  Are you able to try it in 32 bit?
I am using 32bit version of Minefield.
Do you mean 32bit OS?

(In reply to comment #8)
> Is this a nightly build or built from a custom branch?  I'm curious because
> latest beta is 10 and I thought nightly would be at 4.0b11pre

It is nightly which is downloaded  from http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/
(In reply to comment #9)
> (In reply to comment #7)
> > Maybe this is due to WOW64.  Are you able to try it in 32 bit?
> I am using 32bit version of Minefield.
> Do you mean 32bit OS?

You're running a 32 bit app on a 64 bit OS.  That's an uncommon setup and since no one else can reproduce these bugs, that's my next guess at the problem.  You could try the 64-bit version of minefield, or try your current version with a 32 bit OS.  It sounds like you might have found a bug with the browser.
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #7)
> > > Maybe this is due to WOW64.  Are you able to try it in 32 bit?
> > I am using 32bit version of Minefield.
> > Do you mean 32bit OS?
> 
> You're running a 32 bit app on a 64 bit OS.  That's an uncommon setup and since
> no one else can reproduce these bugs, 

It is a thing heard of for the first time.
Uncommon? 
I dont think so.
See http://forums.mozillazine.org/viewtopic.php?f=23&t=2093681
Almost nightly tester used Windows7 x 64bit + Minefiled 32bit.
Summary: File upload file picker does not apper on Windows7 → File upload file picker does not appear on Windows 7
Attached file reduced html
File upload picker would not pop up on Minefield.

[STEP TO REPRODUCE]
1. Start Minefield with *NEW PROFILE* and *NO ADDON*
2. Open attached reduced html
3. Click a link "Select a File"

[ACTUAL RESULT]
No thing happen.

[EXPECTED RESULT]
File upload picker pops up


Work:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110205 Firefox/4.0b12pre ID:20110205030343


Not work:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110205 Firefox/4.0b12pre ID:20110205030343
Component: Developer Pages → General
Product: addons.mozilla.org → Core
QA Contact: developers → general
Version: unspecified → Trunk
blocking2.0: --- → ?
OS: All → Windows 7
Sorry. correct.

Work:
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15pre) Gecko/20110202 Namoroka/3.6.15pre ID:20110202181307

Not work:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110205
Firefox/4.0b12pre ID:20110205030343
Regression window(cached m-c hourly):
Works:
http://hg.mozilla.org/mozilla-central/rev/52c2f34cd686
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101107 Firefox/4.0b8pre ID:20101107143503
Fails:
http://hg.mozilla.org/mozilla-central/rev/c17742be31fb
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101107 Firefox/4.0b8pre ID:20101107231618
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=52c2f34cd686&tochange=c17742be31fb
It works if I set gfx.direct2d.disabled to true.
Summary: File upload file picker does not appear on Windows 7 → [D2D]File upload file picker does not appear on Windows 7
In localbuild,
build from c17742be31fb : fails
build from 5ea89aae98b5 : fails
build from 30b315c5be6a : works
build from 9b79a3d0c554 : works
build from 52c2f34cd686 : works

Regressed by:
5ea89aae98b5	Masayuki Nakano — Bug 548964 [DW] bottom of spellchecker underline isn't painted in <input> element with some fonts r=jfkthame, a=joe
Blocks: 548964
Keywords: regression
WORKAROUND, put the followings in userContent.css.

.invisible-upload:hover input { 
  font-size: inherit !important;
}
Summary: [D2D]File upload file picker does not appear on Windows 7 → [D2D]File upload file picker on addons.mozilla.org/en-US/developer does not appear on Windows 7
(In reply to comment #16)
> In localbuild,
> build from c17742be31fb : fails
> build from 5ea89aae98b5 : fails
> build from 30b315c5be6a : works
> build from 9b79a3d0c554 : works
> build from 52c2f34cd686 : works
> 
> Regressed by:
> 5ea89aae98b5    Masayuki Nakano — Bug 548964 [DW] bottom of spellchecker
> underline isn't painted in <input> element with some fonts r=jfkthame, a=joe

I disagree, the bug must not cause this bug. Bug 548964 did just correct the computing of internalLeading value. I think that the patch may have changed only the condition for reproducing this bug on DW environment.

We should log what DOM events are handled by the input element...

And looks like the CSS is very hacky, why don't we use js?
(In reply to comment #18)
>I disagree, the bug must not cause this bug. Bug 548964 did just correct the
>computing of internalLeading value. I think that the patch may have changed
>only the condition for reproducing this bug on DW environment.

I agree with you.
This problem is completely the site issue.

> And looks like the CSS is very hacky, why don't we use js?

I do not know, this site is hosted by addons.mozilla.org.
Assignee: nobody → english-us
No longer blocks: 548964
Component: General → English US
Product: Core → Tech Evangelism
QA Contact: general → english-us
Summary: [D2D]File upload file picker on addons.mozilla.org/en-US/developer does not appear on Windows 7 → File upload file picker on addons.mozilla.org/en-US/developer does not appear on Windows 7
Version: Trunk → unspecified
OS: Windows 7 → All
Summary: File upload file picker on addons.mozilla.org/en-US/developer does not appear on Windows 7 → File upload file picker on addons.mozilla.org/en-US/developer does not appear
Taking a total guess at the right component, but this should certainly be in the AMO product.
Assignee: english-us → nobody
Component: English US → Developer Pages
Product: Tech Evangelism → addons.mozilla.org
QA Contact: english-us → developers
The mousedown, mouseup and click events targeted <a> element when DW is enabled. But otherwise, they targeted the <input>. So, it seems that the hit test failed but I'm not sure the reason.
Attached file different gap sample
Left side is Minefield(H.A on), right side is Namoroka.

different gap, why?
I confirmed that the extra gap is introduced by cset 5ea89aae98b5.

I think that the input element was not able to catch a mouse event because there is this gap.
On my environment (I can reproduce this bug), the internalLeading is computed as 1px with DW, but 0px with GDI.
blocking2.0: ? → -
Assignee: nobody → thepotch
Severity: major → normal
Priority: -- → P3
Target Milestone: --- → 5.12.10
Target Milestone: 5.12.10 → Q1 2011
Can someone summarize what AMO can do to fix this bug?
Target Milestone: Q1 2011 → 4.x (triaged)
Comment 17 has a rule you could add.

But in general, it sounds like your CSS is assuming things about font metrics that are just not true.  The usual solution is to use less CSS.  I know that sounds flippant, but that's the best I can do without trying to understand your stylesheets in detail...
This still happens with clean profile(Of course, no addon, disabled all plugins) on 
http://hg.mozilla.org/mozilla-central/rev/1881f9b5f8b5
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0a1) Gecko/20110819 Firefox/9.0a1 ID:20110819030749

On Linux, it works.
Almost 2 year. Nothing improved.

The AMO site is still BROKEN COMPLETELY.
Severity: normal → trivial
Priority: P3 → P5
Severity
    This field describes the impact of a bug.
    blocker 	Blocks development and/or testing work
    critical 	crashes, loss of data, severe memory leak
    major 	major loss of function
    normal 	regular issue, some loss of functionality under specific circumstances
    minor 	minor loss of function, or other problem where easy workaround is present
    trivial 	cosmetic problem like misspelled words or misaligned text
    enhancement 	Request for enhancement

I think this is not trivial, because this bug is loss of functionality.
Severity: trivial → normal
FYI,
The patch in Bug 345195 Comment 68 seems to fix this problem.
Assignee: thepotch → nobody
Thanks for filing this.  Due to resource constraints we are closing bugs which we won't realistically be able to fix.  If you have a patch that applies to this bug please reopen.

For more info see http://micropipes.com/blog/2014/09/24/the-great-add-on-bug-triage/
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: