[07:45] * smithj grumbles in the direction of qt/kde [07:56] agateau! [07:57] probably a stupid question, but where can i find documentation on PyKDE4.kdeui.KStatusNotifierItem ? [08:05] nevermind, finally found it [08:34] smithj: sorry, was only half awake... luckily you found it yourself :) [08:37] agateau: heh, np. i'm only half awake too, but on the other side (23:37 here) [08:37] :) === MacSlow is now known as MacSlow|lunch === MacSlow|lunch is now known as MacSlow [14:12] agateau: you still around? [14:12] smithj: yes [14:13] you're the kde status notifier expert? [14:13] I know it quite well, [14:13] but the real expert is Marco Martin I would say [14:14] Good morning guys [14:14] i'm having trouble understanding why my menu shows up one way when displayed natively (QMenu and QSystemTrayIcon) but doesn't register the same menu entries when displayed through KStatusNotifierItem/KMenu [14:15] I'm going to be in and out today, since my wife is off for the holiday. [14:15] I'll be back in a couple of hours [14:15] hey Nafai [14:15] Hey seb128 [14:15] Nafai: pft. prez day is a fake holiday :-P [14:15] smithj: weird, do you use QWidgetActions in your menu? [14:15] smithj: True, but it is one of the few days my wife gets off of school:) [14:17] agateau: no [14:17] smithj: can you post screenshots somewhere? [14:23] http://www.freethemallocs.com/qmenu.png [14:23] http://www.freethemallocs.com/kmenu.png [14:23] agateau: ^^ [14:26] i'm assuming it has to do with that "Condition failed" message, but I can't figure out what causes it. or it could be a red herring [14:26] it's probably linked, yes [14:27] DBusMenuExporter is the class which sends the QMenu to DBus [14:27] For some reason it was asked an id for each it couldn't find an action [14:27] so returned no title or icon or anything [14:29] smithj: What you can try to do is to test how the menu is exported with d-feet [14:30] start d-feet, look for the object implementing org.freedesktop.StatusNotifierItem, [14:30] mm no [14:30] look for the object implementing org.ayatana.dbusmenu [14:31] and call the GetChildren method [14:31] use these parameters: 0, "" [14:31] This should give you a good view of how the menu is exported [14:32] eventually post the results here [14:32] agateau: ok. thanks. might take me a bit, i've never used d-feet before [14:32] but i'll be sure to let you know [14:32] smithj: it's quite easy, it's all point and click :) [14:33] point and click debugger? on linux? treason! [14:33] :-P [14:33] :) [14:42] don't seem to have org.ayatana.dbusmenu... have a bunch of org.ayatana.indicator*, but no .dbusmenu [14:42] mmm [14:42] be sure to check the right dbus service [14:43] in the list on the left, there should be a new service just for the StatusNotifierItem [14:43] the easiest way to find them is to enter the name of the binary in the filter line edit [14:43] on the top [14:46] i've got an org.freedesktop.StatusNotifierItem--1 [14:46] and something internal to hplip, but thats it for my process [14:46] the org.freedesktop.StatusNotifierItem thing is the one you want [14:47] if you click on it, [14:47] the tree on the right should have a /MenuBar object [14:47] which implements org.ayatana.dbusmenu [14:47] ohhh [14:47] yeah [14:47] ok, sorry, i must be blind [14:48] no pb, it's easy to be confused between service names and interface names [14:51] [(1, {u'enabled': 0, u'label': u''}), (2, {u'type': u'separator'}), (3, {u'icon-name': u'application-exit', u'label': u'_Quit'})] [14:52] What is strange is there should be two entries (beside the separator and the quit entry), right? [14:52] just one [14:52] but yeah, that one is missing [14:52] How is the "HPLIP Status Service" created? [14:53] Can you pastebin the relevant code? [14:54] the "HPLIP Status Service" entry is not intended to be present in the kmenu version [14:54] the origional code had it as a dummy menu entry which did nothing [14:54] ok [14:55] the entry i *do* want is this single line: [14:55] 423 self.menu.addAction(self.__tr("HP Device Manager..."), self.toolboxTriggered) [14:55] where self.menu is either an instantiated QMenu() or KMenu() [14:56] Maybe I am missing a item creation here [14:56] can you try creating the action with action = self.menu.addAction(self.__tr("HP Device Manager...")) [14:56] then connect it to self.toolboxTriggered [14:56] ok [14:56] I am curious whether it would make a difference [14:59] agateau: no discernable difference [14:59] :/ [15:00] I'd need to try it on my machine then [15:00] Can you upload your code? [15:01] i feel certain i'm doing something obviously wrong and it isn't the library's fault at all, i just can't find what it is [15:01] surw [15:01] sure* [15:11] hmm, i think i might have found it [15:14] nope, false optimism [15:15] :/ [15:45] WHOOOOOOooooooooooooooo! [15:46] agateau: as suspected, i was being a raging idiot. the error message about dbusmenuexporter is ignorable [15:46] i got it to work, and the message is still displayed. so... *shrug* [15:46] smithj: great! [15:47] thanks for the help [15:47] can you share what was wrong? might help me to assist other devs? [15:49] my self.tray_icon.setContextMenu(self.menu) call wasn't actually being called in the case of kmenu [15:49] totally my fault [15:50] but i saw that big red dbus "error" and went down the road of "what is the library complaining?" [15:51] smithj: :) [15:51] smithj: the message could be more explicit I guess [15:51] i'm still not sure what that error means... i get it even now [15:51] when my menu is working [15:53] smithj: I am quite confident it's safe to ignore [15:53] smithj: my guess is it's a transitional state where all data is not available yet [15:53] smithj: a bit ugly, but it probably has to be fixed in the library itself [15:54] yeah, i'm not worried about it [16:43] I'm back [16:46] welcome back :) [16:48] You working all day on contract stuff? [16:49] day? what is this "day"? i haven't gone to sleep yet! [16:49] but once i wake up i will, yes :) [16:50] heh [16:50] i'm a little behind, this'll be a great chance to catch up [16:54] and on that note, /me goes afk to sleep [17:01] Hey jono [17:02] hey Nafai! [17:02] so how is progress? [17:02] Not bad, just getting going for the day :) [17:03] Hey jono [17:04] hey jpetersen :) [17:04] jpetersen, how is progress with your work? [17:05] i am just working on a patch for libgnomekbd required to complete the keyboard indicator in gnome-settings-daemon [17:06] jcastro, great, do you expect your assignments to be completed today? [17:07] jono, I am off today. :D [17:07] jcastro, oops [17:07] jono, after getting your last mail I recommend skipping ekiga [17:07] jpetersen, do you epxect your assignments to be completed today? [17:07] jcastro, ahhh I pinged to check [17:08] * jcastro goes to fix hplip's linkage [17:08] jcastro, I thought Ekiga would make sense, given our previous discussions [17:08] jono, iirc we want to use morphing windows instead don't we? [17:08] jcastro, I thought that was in addition to the app indicator? [17:08] maybe I got the wrong end of the stick :) [17:09] or maybe I did [17:09] IBus and gnome-power-manager are done, there will be still some fine tuning of gnome-settings-daemon required which depends on some missing features in libappindicator (I already filed bugs) [17:09] mpt? [17:09] jcastro, ok, lets unblock this and ask smithj to do bacula instead [17:09] * jcastro nods [17:10] jpetersen, ok, great, so you are waiting of tedg to fix those bugs to move on [17:10] tedg, can you check into these as soon as you are back? [17:11] jono, yes [17:11] jpetersen, smithj, Nafai - ok, I will mail you each your next set of assignments [17:11] thanks jono [17:11] jono, ok :) [17:12] if you can all have the existing ones completed as much as possible today, that will be great [17:12] I still need to get bratsche's changes built so I can test gnome-bluetooth [17:12] jcastro, yes? [17:13] mpt, we wanted to skip ekiga for app indicators and ask them if they wanted to do morphing windows right? [17:13] jcastro, yes, iirc I suggested you bring bratsche and the Ekiga people together [17:13] ok, thanks mpt [17:13] since bratsche has code [17:15] What do you need code from me for? [17:15] bratsche: are your changes you made on Friday in the PPA? [17:15] Which changes? [17:16] the ones so updates to menus were received [17:17] I'm not sure. [17:17] But I saw that seb128 backported my submenu parsing stuff into Lucid. [17:18] Yeah [17:18] smithj, ignore my previous email to you [17:18] I need to test my code against your latest [17:18] jcastro, mpt: I need to do something related to Ekiga? [17:18] bratsche, not yet [17:18] Awesome. [17:18] :) [17:19] * jpetersen will be be back in some hours, dinner [17:19] I've got gtk+ and Plymouth work to do this week still [17:19] Later jpetersen! [17:19] bratsche, yeah when I brought it up at the sprint I was made aware of your lack of time so ekiga's going to have to be a future thing. [17:20] jcastro: What aspect of "morphing windows" does Ekiga need? The morphing dialog box, or something more complex? [17:21] bratsche, whichever one covers the "someone is calling me and I need to answer the call quickly so I need something in my face" use case. [17:21] bratsche, I don't know anything about morphing windows so excuse my ignorance! [17:21] mpt probably knows what the solution is. [17:22] If it involves using the morphing dialog box, I already have that code sitting around in a branch somewhere and it just needs someone to integrate it into Ekiga. [17:22] jcastro, what is wrong with just opening a dialog? [17:22] the way empathy is doing it [17:22] A morphing confirmation alert would be ok but not fantastic [17:23] seb128: The idea of the morphing dialog is that if it suddenly pops open, you don't accidentally click on a button you didn't mean to. [17:23] Fantastic would be morphing the call window itself [17:23] Ah, okay. So that's doable but it's going to take some more time that I won't have this week. [17:23] But depending on when the cut-off date is for something like that, I may be able to find time for it. [17:24] why should be spend time on ekiga when we don't ship it in the default installation? [17:24] shouldn't we rather work on the software we ship first? [17:24] that's not like we were lacking tasks on those [17:24] That's a very good point. :) [17:25] jcastro missed that [17:25] why should be spend time on ekiga when we don't ship it in the default installation? [17:25] shouldn't we rather work on the software we ship first? [17:25] that's not like we were lacking tasks on those [17:26] jcastro, ^ [17:26] seb128, right, we're not spending time on it [17:26] it was just on the list [17:27] jcastro, is that contractor list or bratsche's list? [17:27] contractor list [17:27] ok [17:27] because it started to look like bratsche was going to do it [17:27] bratsche, you need to learn to say "no" to some people ;-) [17:28] jcastro, bratsche says no :) [17:28] There, did it for him [17:28] seb128: Well, in Portland people were asking about morphing windows stuff and as it turns out I had already started working a new widget but I didn't finish it yet. [17:29] It's something that I'm going to do at some point anyway. [17:29] We don't ship bacula in the default installation either :-) [17:30] mpt, we're getting to the list of apps now that are in main but not on the CD. [17:30] wtf is bacula? [17:30] after we do these we hit up universe [17:30] Oh, the vampire-themed backup utility or something weird like that. [17:31] bratsche, one of the other programs having its notification area item retired [17:31] Nice. [17:32] I'm going to go get some lunch, I'll be back in a bit. [17:35] Nafai, fyi for bacula upstream showed interest in just dropping the icon, so this "porting" should just be dropping support for it [17:35] jcastro: So I won't have to support both GtkStatusIcon and App Indicators, just app indicators? [17:42] Nafai, I think just dropping the feature [17:42] Nafai, lemme dig through my mails and I'll forward you the relevant discussion with the bacula guy [17:43] thanks [18:16] Okay, I Just Skype installed, so next time I need to do a call with someone, I can do Skype, Google Talk with Empathy, or my cell phone [18:41] btw, iirc FileZilla just added a tray icon to its upcoming release. [18:43] qense: enjoyed your blog entry! [18:43] Nafai: thank you, I'm glad you liked it. [18:43] I really should start blogging again [18:43] it's been way too long [18:45] If you'd like to do so, then you surely should! [19:11] qense, awesome blog entry btw :) [19:11] qense, are you working on another app? [19:11] jono: thank you! [19:12] jono: yes, I'm debugging an implementation for Banshee atm [19:12] qense, awesome! [19:12] I hope to be able to submit a patch this evening. [20:04] qense: if a user removes the indicator applet , the old notification area icon reappears, right? [20:04] vish: yes, it should [20:05] qense: yeah , well another user doesnt get it back.. i'll ask them to file a bug [20:05] yes, that's a bug [20:06] qense: hehe , we are going to see a lot of complains about the volume applet ;) [20:06] yes indeed [20:07] we can use mpt as a human shield ;p [20:07] Complaints? Why? [20:07] mpt: many people dont seem to like the volume slider horizontal ;) [20:08] oh [20:09] yesterday there was a guy in this channel who was a bit irritated by the new systray, he thought I was making a joke when I said we wanted to port all applications, including the volume monitor thing. [20:10] * vish not sure why people are furious about this change , seems sane to moi.. several are complaining though [20:11] yes [20:16] everyone: #ubuntu-app-devel for opp dev discussion and application development === chaotic_ is now known as chaotic [23:48] Is it by design that scrolling *up* on the volume slider *reduces* the volume? Cos that seems very backwards. [23:49] I know leftward usually = top, but not here. Also, the Sound Preferences dialogue has it the other way: up=loud.