[00:00] indicators are special stand-alone processes [00:00] what apps do, is talk to those processes [00:00] if the app wants to just make a generic icon, like a old-style notification icon, then it has to talk to indicator-application [00:01] if the app is a music player, then it has to go through indicator-sound, which present information in a different way [00:01] and same for messaging apps [00:02] there's nothing to prevent an app from creating both a notification icon and an indicator-application icon [00:02] in fact pidgin does this, if you tell it to [00:03] so the way that indicators used to work is that the panel plugin loads the .so file, and the .so file goes and asks for the indicator service on dbus, then dbus will run the backend process (which is just a normal executable) [00:03] ok [00:03] tha makes sense to me [00:03] that is changed in trusty - now the panel/desktop environment is responsible for launching the backend. it won't happen automatically [00:04] there are two problems with this [00:04] and this is the tedg things ? [00:04] one is that stuff like lightdm-gtk-greeter doesn't even know it has to do this [00:04] the other is related to dbus activation [00:04] previously, dbus would run the backed when something asked for the service [00:05] so as soon as the backend started up, something was instantly ready to use the provided dbus service [00:05] then the backend would quit when there were no more watchers of the service [00:06] under the new model there is no guarantee that there will be something waiting to use the dbus service when the backend starts, so the backends often just instaquit [00:06] ok - that's logical [00:06] right [00:06] yes, this is the tedg thing [00:07] ok - so I wonder with clementine, I tell it to use desktop notification - I assume then I would just get left with the one in ind-panle [00:07] "desktop notification" means the notification area [00:07] apprently not [00:08] it might also mean notifications as in the pop up bubbles [00:08] yea [00:08] those have nothing at all to do with either the notification area or indicators, it's just a naming collision [00:08] ok - bit more with it now [00:08] thanks ali1234 [00:08] yep - got that collision [00:09] good job I've not been called the tech lead I guess LOL [00:10] my 'biggest' problem is I know what you are all talking in general terms, but it doesn't actually mean much specifically [00:11] the whole indicator thing is pretty confusing really - there are many parts to it, plus it uses dbus heavily [00:11] though in truth the biggest problem is most people just test it and carry on without telling us :) [00:12] but the worst thing is since this is a race condition, it doesn't affect everyone [00:12] it just depends how quickly your computer boots up [00:12] yep - I can understand that [00:12] not 'so' fast here [00:12] there's about 20 different bugs about it on LP and nobody knows which are duplicates or what [00:12] just faster than the last one :) [00:13] becuse there was a bug on saucy that had a similar effect (missing indicators) but it got fixed [00:13] ali1234: LOL - there are about 100k bugs like that :) [00:13] this one is particularly bad because it seems like me and tedg are the only two people who actually understand it :) [00:13] :) [00:14] so there's a lot of people complaining about this, but spread over many bugs [00:14] all I can say is I'm glad you're about :) [00:14] anyway, i sent a patch to fix this, but tedg is still reworking the whole codebase, so it's all still up in the air [00:14] ali1234: yea - I see that, understand that from a user position- but most either come into here from a different desktop or from windows [00:15] until he finishes with that we can't do much [00:15] and those last lot just assume a reinstall fixes it [00:15] haha yeah [00:15] yep [00:15] that never works on linux, ever [00:15] we're in the position of really being bottom heavy here [00:15] bottom heavy? [00:15] ali1234: agreed with that ;) [00:16] yep - lots of people at the bottom pushing up - but not so many at the top that can take the lid of the kettle to let the pressure out [00:16] well, if you ask me, the problem is that debian packaging is too damn hard [00:17] * elfy is a physical engineeer - work with wire and stuff - will wire you a jumbo jet [00:17] i've tried to learn it countless times, i don't think i will ever understand it [00:17] ali1234: it's all dutch to me :) [00:17] but, as a user, apt-get is the best [00:18] it's a tricky one [00:18] I never created games with commodores and the like [00:18] had kids [00:18] apt-get is best [00:18] but [00:18] I'd love it with the rpm delta thing [00:18] which I got used to between unity in 11.04(ish) and coming to xubuntu [00:19] that was just great thing [00:19] from a "making packages" PoV, gentoo ebuilds are the easiest to create i think [00:19] I know there is an apt one - but it never really worked for me [00:19] but emerge just sucks for the users [00:20] * elfy has no idea - I want a system I can install, link music to, reboot - job done [00:20] ah...linux from scratch. [00:20] though I have done it - just really, no thanks :) [00:21] * elfy prefers building planes from that ... [00:21] ali1234: thanks for all that - sorted it out a bit for me :) [00:23] the current question really is - how to get people that have some interest involved in the sponsor queue [00:23] which 'could' be a managiing situation rather than a coding one - in which case I'd be interested [00:24] /no idea though if it is or isn't [00:24] if i were the boss of xubuntu i'd just say "screw it, xubuntu is now a ppa, we ignore ubuntu release schedule" [00:25] and just put out ISOs with whatever we feel like [10:10] So, deluge indicator works fine in Ubuntu (so I'm shown and told), but looks like http://i.imgur.com/UqdLbnJ.png in Xubuntu (Predating saucy, saucy, and trusty+gtk3)... [10:12] http://i.imgur.com/jOuuf2h.png is what it should look like. [10:25] Unit193, heh. [10:26] Finally went to deluge about it, and he shows me it working in Ubuntu. Sooo, no idea. [10:32] Unit193: looks like it falls back to notification icon [10:32] did you apply the workaround? [10:32] Workaround? And no, that's an indicator, trayicon works fine. [10:33] https://wiki.ubuntu.com/Xubuntu/Roadmap/Specifications/Trusty/Gtk3Indicators [10:33] "Indicators may fail to load" [10:35] No, haven't needed to as they've been working fine... notification icon == tray icon? [10:35] yes [10:36] indicators are special [10:36] Then indicators are working fine, I know the difference. :P (Also, it'd work much better if it were falling back, and the problem happens here on saucy.) [10:36] I would like to test it myself... but something broke wrapper-2.0 (xfce4-indicator-plugin) over night [10:37] maybe caused by the final move to gnome 3.10 [10:38] My indicator-application is the one from saucy though, in the trusty vm. [10:38] or by one of my debug additions [11:04] brainwash: But you'll be able to take a look later on perhaps? [11:19] Unit193: yes, the menu looks different in unity and xubuntu [14:01] hi [16:02] Unit193: the tray menu and indicator both load exactly the same glade file [16:06] but the strings are different and some icons are hidden too in unity/gnome [16:09] never the less, it is the same menu object, from the same glade file [16:10] yes, you said that already :) [16:11] did the strings got translated? [16:20] no [16:20] i think i see the problem [16:20] however i don't understand why it works in unity [16:21] this could be a bug in the panel plugin [16:22] very likely, the normal try icon menu looks ok [16:22] tray [16:23] right, fixed it [16:24] yet another bug which you were able to fix :) [16:25] are you really sure this works in unity? [16:25] i don't see how that is even possible [16:27] it looked ok in unity and gnome [16:38] just tried the trusty daily build. why is iBus used for keyboard layouts instead of xkb? [16:54] afternoon all [19:13] brainwash: Unit193: finally tested in unity. same bug, as i expected [19:13] so this really is a bug in deluge [19:16] http://imagebin.org/287402 [19:18] the reason this happens is because of the lines in the glade file like this: [19:18] gtk-media-pause [19:18] That is on the "Pause All" button [19:18] /menu item [19:18] when that property is set, the label gets changed to "Pause" [19:19] the fix is simply to remove all those "stock" properties [19:20] i suppose it might be consideed a bug in indicator-application or somewhere else in that stack [19:24] sudo sed '/name="stock"/d' tray_menu.glade -i fixed it, weird. [19:26] i don't understand the purpose of those lines in the glade, nor do i understand how deluge is setting the custom icons on the upload/download limit menus [19:42] Perhaps glade/torrent_menu.glade:215 and systemtray.py:146? [19:49] no [19:50] it's just 146 [19:51] Bah, copied the wrong one, meant the GtkImage id in tray_menu, but I don't know glade. [19:52] But OK, anywho it's a deluge bug. [20:03] still could be indicators [20:10] here's a test case demonstrating the bug: http://paste.ubuntu.com/6776134/ [20:14] i'm beginning to think that it's a bug indicators really [20:14] i mean it seems reasonable to expect the same glade to look the same in both places [20:14] And the glade has been the same for "years" [20:14] of course [20:21] hmm there's a changelog item "Fix custom labels on stock items." [20:21] bug 520048 [20:21] bug 520048 in indicator-application (Ubuntu) "Custom labels in GtkActionEntries aren't resepected by Application Indicators C-bindings" [Low,Fix released] https://launchpad.net/bugs/520048 [20:24] the file that patch applies to doesn't even exist any more [20:24] i'd say this is a regression [20:38] ok, reproduced it with no glade weirdness [20:44] bug 1270486 [20:44] bug 1270486 in indicator-application (Ubuntu) "indicator-application doesn't use the menu item's label if it has a stock icon" [Undecided,New] https://launchpad.net/bugs/1270486 [20:45] Wow, thanks very much! [20:46] how does unity work around this bug? [20:46] it doesn't [20:46] deluge is broken there too [20:46] don't even try to tell me it isn't [20:46] i just spent two hours installing and upgrading VMs to test it [20:46] the menu looked ok [20:47] no play button and correct label "resume all" [20:47] for example [20:48] i usually try as a different user. removing my config from the equation [20:48] here is the screenshot linked before in this channel [20:48] http://i.imgur.com/jOuuf2h.png [20:48] it looks like this in unity/gnome [20:48] maybe, it might be an old version [20:48] it's broken in trusty and saucy [20:48] trusty [20:48] i would also try something without forced 3d [20:49] brainwash: try the testcase if you don't believe me... [20:49] ok, but let me try it [20:49] sorry.. wrong channel.. though, it happens to read so relevantly ;) [20:51] brainwash, ali1234: That was precise. [20:51] the screenshot? yeah, this bug has been fixed before... [21:01] so testcase indicators shows "hello" [21:01] indicator [21:02] ali1234: unity [21:02] ಠ_ಠ [21:03] so something wrong with xfce4-indicator-plugin? [21:06] no [21:06] when you see "hello" you don't see the pause icon right? [21:06] right [21:07] thus, you haven't really broken the testcase [21:07] te idea is to see the pause icon and have the label read "hello" at the same time [21:07] i'm not sure why the icon isn't there [21:07] now I get it [21:08] we want both.. icon and correct label :) [21:11] yeah [21:11] so you need gnome-icon-theme-full installed to have that icon installed [21:11] if not installed, gtk will ignore it -> so appindicator bug won't be triggered [21:11] this is useful tho, i'll do another test case i suppose, with something installed by default [21:13] gnome-icon-theme-full is installed [21:14] even selected [21:14] but still no icon [21:16] I get the icon, but not the text "hello", I do not have -full but have humanity and gnome-icon-theme. [21:18] Unit193: can you build your xfdesktop package with this patch applied? https://bugzilla.xfce.org/show_bug.cgi?id=10605 [21:18] bugzilla.xfce.org bug 10605 in General "Desktop icons/labels are not properly themed after login" [Normal,New] [21:19] we need to test it, elfy is affected too [21:20] It's by eric, does it really need any testing? ;) [21:21] Sure, should apply. [21:21] thanks [21:23] i am looking for an icon where this works out the box... [21:28] hmm [21:28] so this really does bevahe differently on trusty [21:28] but the glade testcase is still broken [21:30] brainwash try this: https://bugs.launchpad.net/ubuntu/+source/indicator-application/+bug/1270486/+attachment/3951740/+files/testcase2.py [21:30] Ubuntu bug 1270486 in indicator-application (Ubuntu) "indicator-application doesn't use the menu item's label if it has a stock icon" [Undecided,Confirmed] [21:32] it might be a gtk2/3 thing [21:34] testcase 2: pause icon + "pause" label [21:34] right, as expected [21:51] Dang, uploaded to wrong ppa. >_< === gry is now known as Guest38163 [22:18] So how do you even see if it's gone? It didn't happen every time, and restarting xfdesktop won't help as it "fixed" the problem before. :P [22:20] eric said he knew what was causing it [22:21] brainwash: update. [22:30] Unit193: thank you :) [22:30] it usually happens after you log in [22:31] Yeah, had it on this desktop, restarted lightdm resterday (or, restarted dbus which crashed lightdm but left X hanging.) [22:31] before updating I'll try to delay xfsettingsd to force this bug [22:31] so I'll have a 100% testcase for the patch [22:34] Wow, xmir actually works on the one desktop now, quite amazing. (After a slight xorg crash and fall back to lightdm) [22:41] it might work almost perfectly, but without a hardware cursor and dedicated support by the mir guys I feel like we are going nowhere [22:42] (This should have gone to -offtopic, whoops) No, I mean it was real bad before, http://unit193.net/mir/DSCF3866.AVI [22:43] xmir talk is always welcome :D [22:43] (I don't like -devel, so tend to migrate to -offtopic a lot) [22:49] Hah, xonotic took it down. :P [22:55] brainwash: Patch didn't work for me. [23:05] same here [23:06] Can poke eric here, in #xfce-dev or bug. :P [23:24] eric_the_idiot: the patch does not fix the xfdesktop issue (10605) [23:25] xfsettingsd is like the first thing to start on session login [23:26] or isn't it? [23:30] xfce4-panel simply refreshes its appearance after xfsettingsd is finally up and running [23:30] xfdesktop does not [23:31] added a 5sec delay [23:33] yes, normally things do refresh when the settings daemon starts/stops, which is odd [23:33] maybe it is something different about the way it is initiallly launched [23:35] now I got it, so xfdesktop does actually wait for xfwm4 and now additionally for xfsettingsd (patch) [23:35] hi brainwash [23:35] but there is a 5sec timeout [23:36] then xfdesktop will start [23:36] despite the status of xfwm4/xfsettingd [23:37] hey damiank [23:37] yeah, and it always times out [23:37] i have a lot of spare time this weekend, so i'm downloading today daily to test [23:38] ali1234: so we got two issues here.. the 5sec timeout and the missing theme refresh [23:39] i think what might be happening is that xfdesktop is waiting for xfwm, but xfwm is waiting for xfdesktop [23:39] woot [23:39] :D [23:40] this would be a good candidate for some syslog debugging, to log all the times that everything gets started [23:40] i just so happen to have a shim that will do this without patching everything [23:40] http://paste.ubuntu.com/6777124/ [23:41] rename xfdesktop to xfdesktop.real [23:41] copy the built shim to where xfdesktop was [23:41] ah nice [23:41] do the same for xfwm and xfsettingsd [23:41] it automatically knows what to run [23:41] ok [23:41] and it will log everything [23:43] I'll test it tomorrow [23:43] here's the bug report + upstream report in case you want to add some findings [23:44] bug 1270261 [23:44] bug 1270261 in xfdesktop4 (Ubuntu) "Desktop items have background" [Undecided,Confirmed] https://launchpad.net/bugs/1270261 [23:44] good night