Bug 711477

Summary: GtkFileChooserDialog hangs when attempting to save with no selection
Product: Red Hat Enterprise Linux 5 Reporter: Ray K. <work-related_>
Component: gtk+Assignee: Matthias Clasen <mclasen>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: work-related_
Target Milestone: rcFlags: pm-rhel: needinfo? (work-related_)
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-02 13:20:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ray K. 2011-06-07 15:22:34 UTC
Description of problem:
 GtkFileChooserDialog will lock up if an attempt is made to save with an empty filename.

Version-Release number of selected component (if applicable):
 Confirmed to occur in at least gtk2-2.10.4-21.el5_5.6. Believed to have been present in at least one earlier release.

How reproducible:
 Invariably.

Steps to Reproduce:
1. Open gedit (or any other GTK+ application built with a recent RHEL5 gtk+).
2. Select File -> Save As.
3. Delete the default filename from the chooser, leaving the field empty.
4. Click the Save button.

Actual results:
 The application locks up.

Expected results:
 A nonfatal user error is reported.

Additional info:
 Appears to be due to an infinite loop in gtk_file_chooser_default_should_respond(), in gtkfilechooserdefault.c. (The upstream implementation looks good, although I haven't tested it.)

Comment 1 RHEL Program Management 2014-03-07 13:46:29 UTC
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.

Comment 2 RHEL Program Management 2014-06-02 13:20:56 UTC
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).