Keep Dialogs which report process around.
Since 5.8-245-g3e43585fa, a response hides the dialog Window in ArdourDialog::on_response (to prevent dialogs windows staying around unresponsively while Ardour does background work). This logic does not apply to Dialog Windows which implement ProgressReporter or support dialog responses other than OK, Close.
This commit is contained in:
parent
b6c222555f
commit
39c2b544f0
@ -64,6 +64,10 @@ class ExportDialog : public ArdourDialog, public PBD::ScopedConnectionList
|
||||
|
||||
protected:
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
typedef boost::shared_ptr<ARDOUR::ExportHandler> HandlerPtr;
|
||||
typedef boost::shared_ptr<ARDOUR::ExportProfileManager> ManagerPtr;
|
||||
|
||||
|
@ -189,6 +189,10 @@ public:
|
||||
ExportReport (const std::string & title, const ARDOUR::AnalysisResults & ar);
|
||||
int run ();
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
void init (const ARDOUR::AnalysisResults &, bool);
|
||||
void draw_waveform (Cairo::RefPtr<Cairo::ImageSurface>& wave,
|
||||
|
@ -51,6 +51,10 @@ class ExportVideoDialog : public ArdourDialog , public PBD::ScopedConnectionList
|
||||
XMLNode& get_state ();
|
||||
void set_state (const XMLNode &);
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
TimeSelection export_range;
|
||||
|
||||
|
@ -37,6 +37,10 @@ public:
|
||||
double target_rms () const;
|
||||
int run ();
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
void update_progress_gui (float);
|
||||
void button_clicked (int);
|
||||
|
@ -45,6 +45,10 @@ public:
|
||||
void set_encode_option (ARDOUR::Session::ArchiveEncode);
|
||||
void set_only_used_sources (bool);
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
Gtk::FileChooserButton target_folder_selector;
|
||||
Gtk::Entry name_entry;
|
||||
|
@ -49,6 +49,10 @@ public:
|
||||
ARDOUR::framecnt_t minimum_length () const;
|
||||
ARDOUR::framecnt_t fade_length () const;
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
void create_waves ();
|
||||
void canvas_allocation (Gtk::Allocation &);
|
||||
|
@ -74,6 +74,10 @@ class TimeFXDialog : public ArdourDialog, public ProgressReporter
|
||||
|
||||
void start_updates ();
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
ARDOUR::framecnt_t original_length;
|
||||
Gtk::Adjustment pitch_octave_adjustment;
|
||||
|
@ -50,6 +50,10 @@ class TranscodeVideoDialog : public ArdourDialog , public PBD::ScopedConnectionL
|
||||
VtlTranscodeOption import_option ();
|
||||
bool detect_ltc () { return ltc_detect.get_active (); }
|
||||
|
||||
void on_response (int response_id) {
|
||||
Gtk::Dialog::on_response (response_id);
|
||||
}
|
||||
|
||||
private:
|
||||
void on_show ();
|
||||
void open_browse_dialog ();
|
||||
|
Loading…
Reference in New Issue
Block a user