View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003134 | ardour | bugs | public | 2010-05-14 11:14 | 2021-05-08 15:15 |
| Reporter | danboid | Assigned To | cth103 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0-beta1 | ||||
| Summary | 0003134: MIDI controllers menu disappears | ||||
| Description | * Create a MIDI track * Click on Automation icon- note that first time you do this you can access items in 'Controllers' menu * Click off menu * Click automation icon again - Controllers menu label is still visible but sub-menus are gone. Present in r7101 | ||||
| Tags | No tags attached. | ||||
|
2010-05-16 15:31
|
test.cc.txt (922 bytes)
#include <iostream>
#include <gtkmm/main.h>
#include <gtkmm/button.h>
#include <gtkmm/window.h>
#include <gtkmm/menu.h>
using namespace std;
using namespace Gtk;
using namespace Gtk::Menu_Helpers;
Menu* sub_menu = 0;
Menu* menu = 0;
void make_submenu ()
{
sub_menu = new Menu;
sub_menu->items().push_back (MenuElem ("Fred"));
}
void make_menu ()
{
delete menu;
menu = new Menu;
menu->items().push_back (MenuElem ("Jim", *sub_menu));
}
void foo ()
{
make_menu ();
menu->popup (1, gtk_get_current_event_time ());
}
int main (int argc, char* argv[])
{
Main kit (argc, argv);
Window w;
make_submenu ();
Button* b = new Button ("Foo");
b->signal_clicked().connect (sigc::ptr_fun (foo));
w.add (*b);
w.show_all ();
Main::run (w);
return 0;
} |
|
|
Looks a little like a GTK bug, to me. The attached test-case exhibits the same problem. |
|
|
Fixed / worked-around in SVN. Thanks for the report! |
|
|
Issue has been closed automatically, by Trigger Close Plugin. Feel free to re-open with additional information if you think the issue is not resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-05-14 11:14 | danboid | New Issue | |
| 2010-05-16 00:01 | cth103 | Status | new => confirmed |
| 2010-05-16 00:01 | cth103 | cost | => 0.00 |
| 2010-05-16 00:01 | cth103 | Target Version | => 3.0-beta1 |
| 2010-05-16 15:31 | cth103 | File Added: test.cc.txt | |
| 2010-05-16 15:31 | cth103 | Note Added: 0007909 | |
| 2010-05-16 18:03 | cth103 | Note Added: 0007911 | |
| 2010-05-16 18:03 | cth103 | Status | confirmed => resolved |
| 2010-05-16 18:03 | cth103 | Resolution | open => fixed |
| 2010-05-16 18:03 | cth103 | Assigned To | => cth103 |
| 2020-04-19 20:14 | system | Note Added: 0022060 | |
| 2020-04-19 20:14 | system | Status | resolved => closed |
| 2021-05-08 15:15 | x42 | Relationship added | related to 0008695 |