[ardour-dev] Re: [PATCH]bring mouseclicked audioregions gtk-window to top

Paul Davis paul at linuxaudiosystems.com
Fri Dec 31 19:31:42 PST 2004


>to: let it's name be seen if regions overlap.
>
>>>>>>>
>--- ardour_neu/ardour6/gtk_ardour/editor.cc     2004-12-22 16:46:04.000000000 
>+0100
>+++ ardour/gtk_ardour/editor.cc 2004-12-28 19:59:12.000000000 +0100
>@@ -3540,7 +3540,8 @@
>                set_selected_track_from_click (add, false, no_track_remove);
>
>        } else {
>-
>+               gtk_canvas_item_raise_to_top (clicked_regionview->get_canvas_g
>roup());
>+               gtk_canvas_item_raise_to_top (clicked_regionview->get_time_axi
>s_view().canvas_display);
>                if (clicked_regionview->get_selected()) {
>                        /* no commit necessary: we are the one selected. */
>                        return;
><<<<<<

i like the goal of this, but the result is not so good. i think that
visual layering should probably reflect audible layering. moving a
region(view) to the top of the visual stack when it is not moved in
the audible stack seems like a bad idea to me.

--p



More information about the Ardour-Dev mailing list