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

funkyHatI suppose I should ask at a more sensible time of day ⡈)01:36
=== chaotic_ is now known as chaotic
=== chaotic_ is now known as chaotic
tgpraveen12n14:16
tedgbratsche: Do you have any thoughts on bug 553918 ?  It seems like we're grabbing keyboard focus, but Esc isn't giving it up.15:14
ubot4Launchpad bug 553918 in indicator-session (Ubuntu) (and 1 other project) "Keyboard shortcut usage blocks keyboard and other menus (affects: 1)" [Low,Confirmed] https://launchpad.net/bugs/55391815:14
* bratsche clicks15:14
tedgWhat's weird to me is that hitting escape is odd on my session, but it's really bad in the guest session.15:16
bratscheWeird.15:18
tedgbratsche: I wonder if it's something with the panel window not having focus.  Like the menu closing is trying to give it to the panel, but that's not really possible?15:20
bratschetedg: The fact that he says you have to click twice to open the menu makes me think there is still a popup window somewhere on the screen, like an empty menu or something.15:21
bratscheOr maybe I'm misunderstanding what his comment says.15:22
bratsche(comment #1, that is)15:22
tedgbratsche: Hmm, yeah.  I got it in a state once where it would highlight the "Applications" menu when I moused over it.  That's why I was figuring it was something with teh panel window.15:23
bratschetedg: That's also related to some fuckedupedness of compiz, because I've seen stuff like that happen as well.15:23
tedgbratsche: I thought that too, but my guest session defaults to metacity.15:24
bratscheFor some reason compiz seems to occasionally go into focus-follows-mouse mode for me.15:24
* tedg likes focus-follows-mouse :)15:24
bratscheI'd like it better if it only happened when I explicitly enabled it. :)15:25
tedgHmm, the same thing doesn't happen with Alt+F1 for the applications menu.15:25
bratscheOh wait.15:26
bratscheI'm reproducing this here without doing C-s15:26
bratscheOh wait, nevermind.15:27
bratscheI think that was just update-manager slowing down my system.15:27
tedgbratsche: Okay, in the panel they subclass the menu bar.15:32
tedgHere's the code that I think might be interesting but I don't understand :)15:32
tedg437     menu_shell = GTK_MENU_SHELL (menubar);15:32
tedg438     if (!menu_shell->active) {15:32
tedg439         gtk_grab_add (GTK_WIDGET (menu_shell));15:32
tedg440         menu_shell->have_grab = TRUE;15:32
tedg441         menu_shell->active = TRUE;15:32
tedg442     }15:32
tedg443     gtk_menu_shell_select_item (menu_shell,15:32
tedg444                     gtk_menu_get_attach_widget (menu));15:32
tedgThat's when popping up a menu.15:33
bratscheBut we're using a menubar as well aren't we?  Inside indicator-applet15:33
bratscheOr is that code from the subclass of menubar?15:33
tedgbratsche: That code is from the subclass.15:34
bratscheted: Okay, so that code is actually just copied from _gtk_menu_shell_activate().  I think we're already doing the same thing.15:42
tedgbratsche: Why did they copy it then?  Seems like they could have just called gtk_menu_shell_activate() ?15:49
bratscheIt's _gtk_menu_shell_activate(), not gtk_menu_shell_activate().15:50
bratscheIt's not exported from libgtk15:50
tedgYeah, I'm just assuming (still downloading gtk) that gtk* calls _gtk*15:50
tedgSo it seems that they're avoiding something.15:51
bratscheDoes Tomboy do this as well?15:51
tedgAnd, I don't think we're calling _activate, we're just calling _select_item... could that be the issue?15:52
tedgPerhaps we need both?15:52
bratscheYeah, we need to activate it I think.15:52
tedgTomboy is a StatusItem so it's all that XEmbed love -- it's a bit different.15:55
tedgbratsche: So I should activate the item, and then select it?15:56
tedgbratsche: The docs don't seem really clear.15:57
bratscheYeah15:57
bratscheTry doing the same thing..15:57
bratscheif (!shell->active) { gtk-grab_add (shell); shell->have_grab = TRUE; shell->active = TRUE; }15:57
bratscheMaybe I should try to find out why activate isn't public.15:58
tedgI tried just calling the activate function -- no luck.16:04
tedgbratsche: That totally fixes it...16:16
bratscheNice!16:16
bratscheLet's get that merged in :)16:17
tedgbratsche: Do you want to look at why, or should I just use that?16:17
bratschetedg: No, I think I kind of already get it.  But I should try to look into making this public API.16:18
NafaiHi guys16:44
bratschehey16:45
NafaiIs there anything I can do to help debug the keyboard issues?16:45
bratscheIt's fixed.16:45
bratscheWell, it will be once it's merged and released.16:45
Nafaioh sweet :)16:46
NafaiI have never known how to use the keyboard with the indicators I admit :)16:46
bratscheWell, the hotkey support is very new so you couldn't have done it until like yesterday. :)16:47
Nafai:)16:48
Nafaihmm, looks like I need to reboot into a new kernel, brb16:49
NafaiSo what are the hotkeys?16:55
jcastrobratsche: yeah what are the hotkeys!18:02
NafaiI figured out two of them18:02
NafaiSuper-s for the session and me menus and Super-m for the messaging menu18:03
jcastrosuper-m does some negative compiz effect for me18:03
* jcastro will need to update18:03
vishtedg: hi... you on lucid right? and have inkscape installed? 19:02
vishdo you have scrollbars when you open a image?19:02
vishseems i lost them in the last couple of days :(19:02
tedgvish: Just like opening an SVG file?19:02
vishtedg: yeah19:02
tedgvish: Yeah, are you sure you just didn't turn them off?19:04
tedgvish: They're in View19:04
vishtedg: oh , sry , i seem to have turned it off :s  19:05
vishi was trying a lot of stuff with the super+s being locked19:05
vishtedg: thanks :)19:05
tedgvish: No problem.  I like easy bugs :)19:06
=== godbyk is now known as godbyk-away
=== kklimonda is now known as kklimonda|G1
magciusanybody around? For some reason, notify-osd isn't allowing me to click under21:36
tedgmagcius: Yeah, it's an annoying bug :)  It should be updated soon.21:47
magciustedg: do you know what causes it?21:47
tedgmagcius: Only high level.  It was with gtk 2.20 and notify-osd setting input masks differently or something like that.  If you downgrade your GTK it also goes away.21:48
magciustedg: ah21:48
magciustedg: also, when I'm running uncomposited, the window doesn't hide, just the space around it goes black21:49
=== DBO_ is now known as DBO

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