View Issue Details

IDProjectCategoryView StatusLast Update
0001887ardourbugspublic2008-11-21 00:04
Reporterjdavisp3 Assigned Topaul  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.0 
Summary0001887: cannot use keyboard to type in paths for open session dialog
DescriptionWhen using the open session dialog (from the Session->Open) menu,
you cannot type in a path to your session file and hit enter to
open the session. Also, typing in a directory and hitting 'enter'
does not change current directory.
Additional InformationThe fix is to set the default response for the dialog.
Attached is a patch for the trunk and 2.0-ongoing.
TagsNo tags attached.

Activities

2007-09-23 21:17

 

ardour.patch (618 bytes)   
Index: gtk2_ardour/ardour_ui.cc
===================================================================
--- gtk2_ardour/ardour_ui.cc	(revision 2475)
+++ gtk2_ardour/ardour_ui.cc	(working copy)
@@ -1001,6 +1001,7 @@
 		open_session_selector = new Gtk::FileChooserDialog (_("open session"), FILE_CHOOSER_ACTION_OPEN);
 		open_session_selector->add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
 		open_session_selector->add_button (Gtk::Stock::OPEN, Gtk::RESPONSE_ACCEPT);
+		open_session_selector->set_default_response(Gtk::RESPONSE_ACCEPT);
 
 		FileFilter session_filter;
 		session_filter.add_pattern ("*.ardour");
ardour.patch (618 bytes)   

2007-09-23 21:18

 

ardour-2.0.patch (618 bytes)   
Index: gtk2_ardour/ardour_ui.cc
===================================================================
--- gtk2_ardour/ardour_ui.cc	(revision 2475)
+++ gtk2_ardour/ardour_ui.cc	(working copy)
@@ -1172,6 +1172,7 @@
 		open_session_selector = new Gtk::FileChooserDialog (_("open session"), FILE_CHOOSER_ACTION_OPEN);
 		open_session_selector->add_button (Gtk::Stock::CANCEL, Gtk::RESPONSE_CANCEL);
 		open_session_selector->add_button (Gtk::Stock::OPEN, Gtk::RESPONSE_ACCEPT);
+		open_session_selector->set_default_response(Gtk::RESPONSE_ACCEPT);
 
 		FileFilter session_filter;
 		session_filter.add_pattern ("*.ardour");
ardour-2.0.patch (618 bytes)   

paul

2007-09-27 16:07

administrator   ~0004422

applied to my code base, and will be the about-to-be-released 2.1 (trunk was patched too). thanks for another useful patch.

Issue History

Date Modified Username Field Change
2007-09-23 21:17 jdavisp3 New Issue
2007-09-23 21:17 jdavisp3 File Added: ardour.patch
2007-09-23 21:18 jdavisp3 File Added: ardour-2.0.patch
2007-09-27 16:07 paul Status new => resolved
2007-09-27 16:07 paul Resolution open => fixed
2007-09-27 16:07 paul Assigned To => paul
2007-09-27 16:07 paul Note Added: 0004422
2008-11-21 00:04 seablade Status resolved => closed