Closed Bug 270856 Opened 20 years ago Closed 2 years ago

window closes when activating Browse button of a file input in a form when onblur=self.close and using native gtk+ filepicker

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: chpe, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 Galeon/1.3.18.99
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041113

If a page closes itself on onblur, and it has a file input field, the window
closes when clicking the Browse... button. 

Reproducible: Always
Steps to Reproduce:
1. Load the testcase http://bugzilla.gnome.org/attachment.cgi?id=33208&action=view
2. Click on the link therein to open the popup
3. Click the Browse button

Actual Results:  
The gtk+ filepicker opens, and the window closes.

Expected Results:  
The filepicker opens and the window stays open too.

This only happens with the native gtk+ file picker; the xul filepicker works as
expected.
More GTK filepicker fun for you, Chris.
Assignee: jag → blizzard
Component: XP Toolkit/Widgets → Widget: Gtk
QA Contact: jrgmorrison → ian
Verified.

This same problem was fixed for Windows in Bug 68454. In that bug, they made a
change to the nsWindow.cpp code for windows to suppress blur events while the
filepicker is showing. 
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: ian → gtk

The bug assignee didn't login in Bugzilla in the last 7 months.
:stransky, could you have a look please?
For more information, please visit auto_nag documentation.

Assignee: blizzard → nobody
Flags: needinfo?(stransky)

AFAIK outdated. Please reopen if you want to work on that.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(stransky)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.