/srv/irclogs.ubuntu.com/2010/04/22/#ayatana.txt

=== doctormo__ is now known as doctormo
=== chaotic_ is now known as chaotic
* thorwil hands mpt a bonus point for using car analogy09:54
thorwilmpt: regarding the menu problem being solved for submenus in gtk: afaics gtk does it time-based, wich means there's an annoying delay when browsing through menus. the proper way to do it would be direction based, instead10:04
thorwilhrmpf, design.canonical.com seems to lack links to specific comments10:05
mptthorwil, Windows is time-based, GTK is direction-based.10:07
mptIn Windows if you move diagonally towards the bottom of a submenu you'll get flash-flash-flash of items that aren't the submenu title. In GTK you won't.10:08
thorwilmpt: hmm, then why is there such an annyoing delay before submenus show/hide?10:08
mptthorwil, I reported a bug yesterday about the lack of comment permalinks10:08
mptthorwil, that's an unrelated delay, to avoid submenus flashing open when you're moving past them on the way to lower items.10:09
thorwili really wish i could turn that off10:14
thorwilah, compiz was to blame, in part. the remaining delay is irregular and thus looks like a performance issue :/10:20
thorwilbbl10:20
=== MacSlow is now known as MacSlow|lunch
=== vish is now known as mac_v
=== mac_v is now known as vish
=== MacSlow is now known as MacSlow|capoeira
qenseA user reports in bug 568262 that Transmission and Rhythmbox disappear from Indicator Application after a while. How are we ever going to find out what caused this?17:45
ubot4Launchpad bug 568262 in indicator-application (Ubuntu) "programs disappear from the applet (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/56826217:45
seb128qense, ask for .xsession-errors and .cache logs?18:02
qenseseb128: ah! Log files. Ingenious solution!18:06
qenseSometimes I'm just not that sharp. :)18:10
=== MacSlow|capoeira is now known as MacSlow
Nafaitedg, bratsche: So I think I finally narrowed down a possibility of what is happening using my small example.  In libappindicator, you connect to the add signal for menus to detect when items are added to a menu.  But, for some reason, that signal is (or seems to be) ever emitted when you add those submenus via gtk_ui_manager_add21:59
tedgNafai: Hmm, I wonder if it's similar to the GtkContainer vs. MenuShell bug.22:02
Nafaiwhat's that one?22:02
tedgI think that it depended on how you added the entires they'd get picked up.  Using one interface vs. the other.22:02
tedgOne didn't emit any signals at all.22:03
NafaiI have a minimal example that reproduces it22:03
NafaiPlus added a few debug prints to lib app indicator22:03
tedgNafai: Ah, cool.  Sounds like something that should get assigned to bratsche though -- that's his code :)22:03
Nafaiok, I'll assign it to him, with the details I just found out22:04
Nafaibbiab, short errand22:04
bratscheNafai: Send me the link22:18
Nafaihttps://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/55884122:37
ubot4Launchpad bug 558841 in gnome-bluetooth (Ubuntu) "bluetooth "devices" menu item not working in bluetooth indicator (affects: 3) (heat: 18)" [Medium,In progress]22:37
NafaiThe branch with my minimal example is linked there in the comments, I'm about to finish up a comment explaining what I believe is going on22:38
bratscheOkay cool, thanks.22:40
bratscheNafai: Is minimal_menu_example supposed to do something other than crash?22:48
Nafaiuh, yeah :)22:49
* bratsche installs, maybe that's the issue22:49
Nafaiactually22:49
Nafairun it from the main directory22:49
Nafaisrc/minimal_menu_example22:49
bratscheAh there we go22:49
bratschethanks.22:49
NafaiI think the path to the .ui file was hardcoded :)22:49
bratscheCool it's running now.22:50
bratscheI see:22:50
bratscheMinimal22:50
bratsche-------22:50
bratscheQuit22:50
NafaiRight, if you look at the terminal output, I display the menu structure and the ui xml22:51
* bratsche reads the code to see what it should be doing22:51
bratscheYeah22:51
bratscheThere should be a submenu on it right?22:52
Nafaiyes22:53
Nafaiand the add signal never seems to be signaled from the top-level menu22:53
Nafaier, emitted22:53
bratscheNafai: Nice test program.  This is great. :)22:53
Nafaithanks22:53
NafaiI tried to distill down what gnome-bluetooth was doing22:53
bratscheAh, I think I know exactly what's going on.22:56
bratscheapp-indicator.c:127722:57
bratsche  if (GTK_IS_TEAROFF_MENU_ITEM(widget)) {22:57
bratsche        return;22:57
bratsche  }22:57
bratscheEh, maybe that's not it.22:59
NafaiYeah, I had a debug print before that and I still didn't get the container_iterate called when it was added23:00

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!