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

* smithj grumbles in the direction of qt/kde07:45
smithjagateau!07:56
smithjprobably a stupid question, but where can i find documentation on PyKDE4.kdeui.KStatusNotifierItem ?07:57
smithjnevermind, finally found it08:05
agateausmithj: sorry, was only half awake... luckily you found it yourself :)08:34
smithjagateau: heh, np. i'm only half awake too, but on the other side (23:37 here)08:37
agateau:)08:37
=== MacSlow is now known as MacSlow|lunch
=== MacSlow|lunch is now known as MacSlow
smithjagateau: you still around?14:12
agateausmithj: yes14:12
smithjyou're the kde status notifier expert? 14:13
agateauI know it quite well,14:13
agateaubut the real expert is Marco Martin I would say14:13
NafaiGood morning guys14:14
smithji'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/KMenu14:14
NafaiI'm going to be in and out today, since my wife is off for the holiday.14:15
NafaiI'll be back in a couple of hours14:15
seb128hey Nafai14:15
NafaiHey seb12814:15
smithjNafai: pft. prez day is a fake holiday :-P14:15
agateausmithj: weird, do you use QWidgetActions in your menu?14:15
Nafaismithj: True, but it is one of the few days my wife gets off of school:)14:15
smithjagateau: no14:17
agateausmithj: can you post screenshots somewhere?14:17
smithjhttp://www.freethemallocs.com/qmenu.png14:23
smithjhttp://www.freethemallocs.com/kmenu.png14:23
smithjagateau: ^^14:23
smithji'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 herring14:26
agateauit's probably linked, yes14:26
agateauDBusMenuExporter is the class which sends the QMenu to DBus14:27
agateauFor some reason it was asked an id for each it couldn't find an action14:27
agateauso returned no title or icon or anything14:27
agateausmithj: What you can try to do is to test how the menu is exported with d-feet14:29
agateaustart d-feet, look for the object implementing org.freedesktop.StatusNotifierItem,14:30
agateaumm no14:30
agateaulook for the object implementing org.ayatana.dbusmenu14:30
agateauand call the GetChildren method14:31
agateauuse these parameters: 0, ""14:31
agateauThis should give you a good view of how the menu is exported14:31
agateaueventually post the results here14:32
smithjagateau: ok. thanks. might take me a bit, i've never used d-feet before14:32
smithjbut i'll be sure to let you know14:32
agateausmithj: it's quite easy, it's all point and click :)14:32
smithjpoint and click debugger? on linux? treason!14:33
smithj:-P14:33
agateau:)14:33
smithjdon't seem to have org.ayatana.dbusmenu... have a bunch of org.ayatana.indicator*, but no .dbusmenu14:42
agateaummm14:42
agateaube sure to check the right dbus service14:42
agateauin the list on the left, there should be a new service just for the StatusNotifierItem14:43
agateauthe easiest way to find them is to enter the name of the binary in the filter line edit14:43
agateauon the top14:43
smithji've got an org.freedesktop.StatusNotifierItem-<pid>-114:46
smithjand something internal to hplip, but thats it for my process14:46
agateauthe org.freedesktop.StatusNotifierItem thing is the one you want14:46
agateauif you click on it,14:47
agateauthe tree on the right should have a /MenuBar object14:47
agateauwhich implements org.ayatana.dbusmenu14:47
smithjohhh14:47
smithjyeah14:47
smithjok, sorry, i must be blind14:47
agateauno pb, it's easy to be confused between service names and interface names14:48
smithj-ubuntu[(1, {u'enabled': 0, u'label': u''}), (2, {u'type': u'separator'}), (3, {u'icon-name': u'application-exit', u'label': u'_Quit'})]14:51
agateauWhat is strange is there should be two entries (beside the separator and the quit entry), right?14:52
smithjjust one14:52
smithjbut yeah, that one is missing14:52
agateauHow is the "HPLIP Status Service" created?14:52
agateauCan you pastebin the relevant code?14:53
smithjthe "HPLIP Status Service" entry is not intended to be present in the kmenu version14:54
smithjthe origional code had it as a dummy menu entry which did nothing14:54
agateauok14:54
smithjthe entry i *do* want is this single line:14:55
smithj423         self.menu.addAction(self.__tr("HP Device Manager..."), self.toolboxTriggered)14:55
smithjwhere self.menu is either an instantiated QMenu() or KMenu()14:55
agateauMaybe I am missing a item creation here14:56
agateaucan you try creating the action with action = self.menu.addAction(self.__tr("HP Device Manager..."))14:56
agateauthen connect it to self.toolboxTriggered14:56
smithjok14:56
agateauI am curious whether it would make a difference14:56
smithjagateau: no discernable difference14:59
agateau:/14:59
agateauI'd need to try it on my machine then15:00
agateauCan you upload your code?15:00
smithji 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 is15:01
smithjsurw15:01
smithjsure*15:01
smithjhmm, i think i might have found it15:11
smithjnope, false optimism15:14
agateau:/15:15
smithjWHOOOOOOooooooooooooooo!15:45
smithjagateau: as suspected, i was being a raging idiot. the error message about dbusmenuexporter is ignorable15:46
smithji got it to work, and the message is still displayed. so... *shrug*15:46
agateausmithj: great!15:46
smithjthanks for the help15:47
agateaucan you share what was wrong? might help me to assist other devs?15:47
smithjmy self.tray_icon.setContextMenu(self.menu) call wasn't actually being called in the case of kmenu15:49
smithjtotally my fault15:49
smithjbut i saw that big red dbus "error" and went down the road of "what is the library complaining?"15:50
agateausmithj: :)15:51
agateausmithj: the message could be more explicit I guess15:51
smithji'm still not sure what that error means... i get it even now15:51
smithjwhen my menu is working15:51
agateausmithj: I am quite confident it's safe to ignore15:53
agateausmithj: my guess is it's a transitional state where all data is not available yet15:53
agateausmithj: a bit ugly, but it probably has to be fixed in the library itself15:53
smithjyeah, i'm not worried about it15:54
NafaiI'm back16:43
smithjwelcome back :)16:46
NafaiYou working all day on contract stuff?16:48
smithjday? what is this "day"? i haven't gone to sleep yet!16:49
smithjbut once i wake up i will, yes :)16:49
Nafaiheh16:50
smithji'm a little behind, this'll be a great chance to catch up16:50
smithjand on that note, /me goes afk to sleep16:54
NafaiHey jono17:01
jonohey Nafai!17:02
jonoso how is progress?17:02
NafaiNot bad, just getting  going for the day :)17:02
jpetersenHey jono17:03
jonohey jpetersen :)17:04
jonojpetersen, how is progress with your work?17:04
jpeterseni am just working on a patch for libgnomekbd required to complete the keyboard indicator in gnome-settings-daemon17:05
jonojcastro, great, do you expect your assignments to be completed today?17:06
jcastrojono, I am off today. :D17:07
jonojcastro, oops17:07
jcastrojono, after getting your last mail I recommend skipping ekiga17:07
jonojpetersen, do you epxect your assignments to be completed today?17:07
jonojcastro, ahhh I pinged to check17:07
* jcastro goes to fix hplip's linkage17:08
jonojcastro, I thought Ekiga would make sense, given our previous discussions17:08
jcastrojono, iirc we want to use morphing windows instead don't we?17:08
jonojcastro, I thought that was in addition to the app indicator?17:08
jonomaybe I got the wrong end of the stick :)17:08
jcastroor maybe I did17:09
jpetersenIBus 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
jcastrompt?17:09
jonojcastro, ok, lets unblock this and ask smithj to do bacula instead17:09
* jcastro nods17:09
jonojpetersen, ok, great, so you are waiting of tedg to fix those bugs to move on17:10
jonotedg, can you check into these as soon as you are back?17:10
jpetersenjono, yes17:11
jonojpetersen, smithj, Nafai - ok, I will mail you each your next set of assignments17:11
Nafaithanks jono17:11
jpetersenjono, ok :)17:11
jonoif you can all have the existing ones completed as much as possible today, that will be great17:12
NafaiI still need to get bratsche's changes built so I can test gnome-bluetooth17:12
mptjcastro, yes?17:12
jcastrompt, we wanted to skip ekiga for app indicators and ask them if they wanted to do morphing windows right?17:13
mptjcastro, yes, iirc I suggested you bring bratsche and the Ekiga people together17:13
jonook, thanks mpt17:13
mptsince bratsche has code17:13
bratscheWhat do you need code from me for?17:15
Nafaibratsche: are your changes you made on Friday in the PPA?17:15
bratscheWhich changes?17:15
Nafaithe ones so updates to menus were received17:16
bratscheI'm not sure.17:17
bratscheBut I saw that seb128 backported my submenu parsing stuff into Lucid.17:17
NafaiYeah17:18
jonosmithj, ignore my previous email to you17:18
NafaiI need to test my code against your latest17:18
bratschejcastro, mpt: I need to do something related to Ekiga?17:18
jcastrobratsche, not yet17:18
bratscheAwesome.17:18
bratsche:)17:18
* jpetersen will be be back in some hours, dinner17:19
bratscheI've got gtk+ and Plymouth work to do this week still17:19
bratscheLater jpetersen!17:19
jcastrobratsche, 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:19
bratschejcastro: What aspect of "morphing windows" does Ekiga need?  The morphing dialog box, or something more complex?17:20
jcastrobratsche, 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
jcastrobratsche, I don't know anything about morphing windows so excuse my ignorance!17:21
bratschempt probably knows what the solution is.17:21
bratscheIf 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
seb128jcastro, what is wrong with just opening a dialog?17:22
seb128the way empathy is doing it17:22
mptA morphing confirmation alert would be ok but not fantastic17:22
bratscheseb128: 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
mptFantastic would be morphing the call window itself17:23
bratscheAh, okay.  So that's doable but it's going to take some more time that I won't have this week.17:23
bratscheBut depending on when the cut-off date is for something like that, I may be able to find time for it.17:23
seb128why should be spend time on ekiga when we don't ship it in the default installation?17:24
seb128shouldn't we rather work on the software we ship first?17:24
seb128that's not like we were lacking tasks on those17:24
bratscheThat's a very good point. :)17:24
seb128jcastro missed that17:25
bratsche<seb128> why should be spend time on ekiga when we don't ship it in the default installation?17:25
bratsche shouldn't we rather work on the software we ship first?17:25
bratsche that's not like we were lacking tasks on those17:25
bratschejcastro, ^17:26
jcastroseb128, right, we're not spending time on it17:26
jcastroit was just on the list17:26
seb128jcastro, is that contractor list or bratsche's list?17:27
jcastrocontractor list17:27
seb128ok17:27
seb128because it started to look like bratsche was going to do it17:27
seb128bratsche, you need to learn to say "no" to some people ;-)17:27
Nafaijcastro, bratsche says no :)17:28
NafaiThere, did it for him17:28
bratscheseb128: 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:28
bratscheIt's something that I'm going to do at some point anyway.17:29
mptWe don't ship bacula in the default installation either :-)17:29
jcastrompt, we're getting to the list of apps now that are in main but not on the CD.17:30
bratschewtf is bacula?17:30
jcastroafter we do these we hit up universe17:30
bratscheOh, the vampire-themed backup utility or something weird like that.17:30
mptbratsche, one of the other programs having its notification area item retired17:31
bratscheNice.17:31
bratscheI'm going to go get some lunch, I'll be back in a bit.17:32
jcastroNafai, fyi for bacula upstream showed interest in just dropping the icon, so this "porting" should just be dropping support for it17:35
Nafaijcastro: So I won't have to support both GtkStatusIcon and App Indicators, just app indicators?17:35
jcastroNafai, I think just dropping the feature17:42
jcastroNafai, lemme dig through my mails and I'll forward you the relevant discussion with the bacula guy17:42
Nafaithanks17:43
NafaiOkay, 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 phone18:16
qensebtw, iirc FileZilla just added a tray icon to its upcoming release.18:41
Nafaiqense: enjoyed your blog entry!18:43
qenseNafai: thank you, I'm glad you liked it.18:43
NafaiI really should start blogging again18:43
Nafaiit's been way too long18:43
qenseIf you'd like to do so, then you surely should!18:45
jonoqense, awesome blog entry btw :)19:11
jonoqense, are you working on another app?19:11
qensejono: thank you!19:11
qensejono: yes, I'm debugging an implementation for Banshee atm19:12
jonoqense, awesome!19:12
qenseI hope to be able to submit a patch this evening.19:12
vishqense: if a user removes the indicator applet , the old notification area icon reappears, right?20:04
qensevish: yes, it should20:04
vishqense: yeah , well another user doesnt get it back.. i'll ask them to file a bug20:05
qenseyes, that's a bug20:05
vishqense: hehe , we are going to see a lot of complains about the volume applet ;)  20:06
qenseyes indeed20:06
vishwe can use mpt as a human shield ;p20:07
mptComplaints? Why?20:07
vishmpt: many people dont seem to like the volume slider horizontal ;) 20:07
mptoh20:08
qenseyesterday 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:09
* vish not sure why people are furious about this change , seems sane to moi.. several are complaining though20:10
qenseyes20:11
qenseeveryone: <jono> #ubuntu-app-devel for opp dev discussion and application development20:16
=== chaotic_ is now known as chaotic
gregknicholsonIs it by design that scrolling *up* on the volume slider *reduces* the volume? Cos that seems very backwards.23:48
gregknicholsonI know leftward usually = top, but not here. Also, the Sound Preferences dialogue has it the other way: up=loud.23:49

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