View Issue Details

IDProjectCategoryView StatusLast Update
0004655ardourbugspublic2015-09-18 15:14
Reportercolinf Assigned Topaul  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Target Version3.0-beta3 
Summary0004655: [PATCH] Generic scrollable plugin UI windows are too narrow
DescriptionThe 'generic' scrollable plugin window that is shown via 'Edit with basic controls...' is too narrow to show all the controls of plugins with toggle switches or meters without horizontal scrolling.
Additional InformationAttached the trivial patch to remove the horizontal scroll bar of generic scrollable plugin UIs, so that they rather automatically size themselves as wide as they need to be to fit all controls.
TagsNo tags attached.

Activities

2012-01-24 22:26

 

generic-plugin-ui-no-hscroll.patch (922 bytes)   
Index: gtk2_ardour/plugin_ui.cc
===================================================================
--- gtk2_ardour/plugin_ui.cc	(revision 11340)
+++ gtk2_ardour/plugin_ui.cc	(working copy)
@@ -156,11 +156,6 @@
 
 	if (scrollable) {
 		if (h > 600) h = 600;
-		if (w > 600) w = 600;
-
-		if (w < 0) {
-			w = 450;
-		}
 	}
 
 	set_default_size (w, h);
Index: gtk2_ardour/generic_pluginui.cc
===================================================================
--- gtk2_ardour/generic_pluginui.cc	(revision 11340)
+++ gtk2_ardour/generic_pluginui.cc	(working copy)
@@ -113,7 +113,7 @@
 	main_contents.pack_start (*constraint_hbox, false, false);
 
 	if (is_scrollable ) {
-		scroller.set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
+		scroller.set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC);
 		scroller.set_name ("PluginEditor");
 		scroller_view.set_name("PluginEditor");
 		scroller_view.add (hpacker);

paul

2012-01-31 02:00

administrator   ~0012717

accidentally committed near 11398 or so. thanks as usual!

colinf

2012-01-31 16:42

updater   ~0012725

Are you sure you committed this? I can't see it in svn yet.

colinf

2015-09-18 15:14

updater   ~0017256

Closing old issues reported by me: these have long since been fixed.

Issue History

Date Modified Username Field Change
2012-01-24 22:26 colinf New Issue
2012-01-24 22:26 colinf File Added: generic-plugin-ui-no-hscroll.patch
2012-01-26 08:53 cth103 cost => 0.00
2012-01-26 08:53 cth103 Target Version => 3.0-beta3
2012-01-31 02:00 paul Note Added: 0012717
2012-01-31 02:00 paul Status new => resolved
2012-01-31 02:00 paul Resolution open => fixed
2012-01-31 02:00 paul Assigned To => paul
2012-01-31 16:42 colinf Note Added: 0012725
2015-09-18 15:14 colinf Note Added: 0017256
2015-09-18 15:14 colinf Status resolved => closed