Bug 1174 - GUI designer allows unusable file chooser action values
Summary: GUI designer allows unusable file chooser action values
Status: NEW
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: GTK# Designer ()
Version: 2.8 beta 3
Hardware: PC Linux
: Lowest normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-10-01 06:17 UTC by IBBoard
Modified: 2012-04-26 20:46 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 1174 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description IBBoard 2011-10-01 06:17:15 UTC
If you add a GTK# FileChooserButton then there is an Action property that can be set to "Save". If you pick that then no warning is given, but the widget won't keep new file names, only existing file names.

From a bit of digging around, it seems that the stetic file drops the "Save" value (meaning it reverts to "Open" mode) and if you set it manually in code then you get a warning from GTK saying "gtk_file_chooser_button_set_property: Choosers of type `GtkFileChooserButton' do not support `GTK_FILE_CHOOSER_ACTION_SAVE'.". Based on https://bugzilla.gnome.org/show_bug.cgi?id=157384 it looks like it no longer works and so we probably shouldn't be given the option (unless it is kept only for projects that target sufficiently early versions of GTK).