/srv/irclogs.ubuntu.com/2014/04/30/#xubuntu-devel.txt

sidi-valenciamay i suggest the codebase should be made tougher rather than the duplication removed? :)00:00
bluesabrethat's the plan00:03
bluesabrepart of it is the different menu implementations00:03
bluesabrewhich is why alacarte does not work with xfce any more00:03
bluesabremenulibre adapts to the different oddities00:04
bluesabrefor example: lxde-settings = "DesktopSettings", gnome-settings = "Preferences", xfce-settings = "Settings"00:06
bluesabreit seems each gnome-based thing (gnome, unity, cinnamon, possibly pantheon) use "Preferences" in this case00:06
bluesabreor how "Utility" is always "Accessories"00:08
bluesabresilly to have a specification that everybody follows differently00:08
bluesabreI'm fairly confident that I have the fix now knome00:26
knomejust a moment, just a moment00:28
knomeso you want me to take the menu files in the bug00:28
knomeand edit them accordingly00:28
bluesabresent you an email00:32
knomeheh, ta00:32
bluesabrewith the details00:32
bluesabrebut yeah, try that too (first)00:32
* knome meh's at some code00:34
knomegive me a few mins more.00:34
bluesabretake your time00:34
* bluesabre found a bug before it was reported00:35
bluesabre:D00:35
* amigamagic finally created its first xfce theme graybird based00:38
ochosihehe, congrats on that, bluesabre 00:58
ochosiand night everyone00:58
amigamagicochosi, night00:59
amigamagictomorrow I will post a screenshot of my modded greybird theme00:59
knomebluesabre, actually, i think i need to look at the bug tomorrow. sorry01:03
knome4am...01:03
knomebluesabre, besides, how am i supposed to try to reproduce?01:03
knomei couldn't do that the first time either ;)01:03
bluesabreoh01:04
bluesabrenot sure01:04
bluesabreyou pulled it off somehow01:04
bluesabre:)01:04
knomehah01:04
knomedid you notice that bug was not mine?01:04
bluesabreyes01:04
bluesabrebut I think it is related01:04
bluesabresince the file you sent me has the same issue01:05
knomeaha01:05
bluesabrein a way, that bug is the explanation of the bug you reported ;)01:05
knomeaha, so a dupe? :P01:05
knomebut yeah, the hard part is that i *really* don't know how to reproduce...01:06
knomeand thus, in a way, no way to verify the bug is gone...01:07
knomeit probably has something to do with me trying to get a launcher show in "other" under settings manager and not somewhere else01:08
deddokatanaOK01:18
deddokatanaus there a dev in?01:18
sidi-valenciaHello?01:18
deddokatanawhere can i file a beta test report for xubuntu desktop utopic01:19
knomeyou can't.01:19
* sidi-valencia was gonna ping knome 01:19
knomesidi-valencia, for what?01:19
deddokatana:D ive successfully debootstraped it from the ubuntu repo01:19
sidi-valencia^01:19
deddokatanajust a webcam issue, (i think something was forgotten from the xubuntu-desktop metapackage)01:20
knomededdokatana, be helpful and run tests later in the cycle when we ask you to01:20
Logan_Unit193: would you consider forwarding that to the Debian maintainer?01:21
deddokatanai would, but the proper package is unknown, but i suggest uvccapture01:23
deddokatanamaybe is should be in the reccomended for cheese01:23
deddokatanaknome, my twitter is @deddokatana, please contact me to book a vnc / shh / script test session01:24
deddokatanai look forward to learning a few tricks01:25
knomededdokatana, just join the ~xubuntu-testers launchpad team and you'll get the calls for testing to your inbox01:26
Logan_Unit193: also, looks like we can sync irker now :)01:41
Unit193Yep, sure can.01:41
Unit193(To the second.)01:41
Unit193Logan_: I'll, uh, try and think about forwarding the darkice update back.  Just contacted the alpine guy.01:48
Logan_ok01:51
deddokatanawhere would i file an underpowered usb hub to? possible kernel module bug. there was only one device plugged into the hub.01:56
knomedon't file any bugs against utopic01:56
deddokatanacause right now it appears to be a duplicate of trusty?01:57
knomeappears or not, it's not trusty01:58
deddokatanathat just boosted my bragging rights amongst my freinds..01:59
deddokatanaok, im going to see if anyone needs help in community support02:00
pleia2ok, updated http://xubuntu.org/press/02:18
knomegoodie02:19
deddokatanabuttery smooth but one mainline kernel may be responsible for 2 of my nuked hard disk.. that or stirring up shit about banks.02:21
deddokatanaok heading to off topic02:21
Unit193Logan_: Woah, the alpine maintainer was amazingly receptive.06:17
jhenkegood morning06:18
Unit193Howdy.06:18
ochosimorning06:23
elfymorning ochosi 06:23
elfyochosi: was reading scrollback in -offtopic - you said to someone - only install xfpm from the PPA - when I tried to do that it wouldn't let me - had to upgrade lightlocker as well06:24
elfyis that something that shouldn't have happened?06:24
elfymight be why it didn't work for me :)06:26
elfys/install/upgrade06:26
ochosiwell, at least it was unncessary06:30
ochosiwhy could you not only upgrade xfpm?06:30
ochosiafter adding the PPA, run "sudo apt-get update && sudo aÃpt-get install xfce4-power-manager"06:31
elfywell I didn't install - I upgraded ... 06:31
ochosiyeah06:31
elfyI'll have another go later with installing it 06:31
ochosibut the install command upgrades too06:31
ochosiif there's a newer version06:31
elfyyea 06:31
elfyhowever, if it does work with that xpfm - then there's something dodgy going on with that lightlocker I guess :p06:32
elfyshall report back this afternoon 06:32
ochosiwell the hidden cursor issue is likely unrelated to light-locker06:32
ochosiso forget about that package for now06:32
elfyI don't get hidden cursor 06:41
elfyor did once 06:41
ochosinever got that one myself06:42
elfyby once I actually mean 1 time06:42
Unit193Oh, so the terrible oh-no,-screen-won't-come-back-from-suspend seems to only be on lid close, I use the other suspend and it's always fine.06:43
Unit193Oh duh, nevermind. >_<06:43
elfylol - catch up :p06:43
ochosiUnit193: any idea where the package glade-xfce went?06:45
Unit193(No, I forgot I didn't count, I use systemd)06:45
ochosiused to be around in raring, but not anymore06:45
Unit193!info libxfcegui4-406:46
ubottulibxfcegui4-4 (source: libxfcegui4): Basic GUI C functions for Xfce4. In component universe, is optional. Version 4.10.0-2 (trusty), package size 225 kB, installed size 1147 kB06:47
Unit193drop glade-xfce package, now provided by libxfce4ui.06:47
ochosiright, i read that06:48
ochosibut somehow glade-gtk2 still complains about not finding the catalog06:48
ochosiso maybe something is messed up there06:48
Unit193Whoops, missed one important one:   * debian/libxfcegui4-4.install:06:49
Unit193    - stop installing glade files since they are gone.06:49
ochosimeh06:50
ochosithey're still useful though06:50
ochosijust installed the raring package for testing purposes, but now glade-gtk2 segfaults \o/06:50
Unit193Checking logs.06:53
Unit193ochosi: How badly do you need them and for what?06:56
ochosifor being able to modify xfce dialogs with glade06:57
ochosithose that use xfcetitleddialog06:57
Unit193ochosi: You can try out the glade-xfce package I have here, but not sure if it'll work.09:25
ochosii'm already on the road to finishing the dialog in mousepad09:28
ochosiit's tedious, but at least mousepad doesn't randomely crash ;)09:28
ochosii'll happily try it when i've finished this here though09:28
Unit193Cool, grab the deb from ppa:unit193/staging.09:45
bluesabreI usually just edit the glade to make it GtkDialog09:46
bluesabredo what I need to do, then change it back09:47
knomewent ahead and added the community council checkup to the team calendar09:55
knomeand the next meeting09:55
ochosibluesabre: works fine with gtk3, but with gtk2 i just get segfaults09:58
bluesabreprobably something not linked correctly09:59
bluesabreI think libxfce4-ui is now libxfce4-ui-109:59
bluesabreright?09:59
bluesabrelibxfce4ui is now libxfce4ui-109:59
bluesabre(just a guess, probably wrong)10:00
Unit1931 is gtk2, 2 is gtk3.10:04
ochosiyeah10:05
ochosibut that's only the problem of using xfcetitleddialog10:05
ochosii meant: glade-gtk2 just crashes when i create an empty file and try to add a gtkdialog as topÃlevel widget10:05
bluesabreah10:06
bluesabreyeah, that version of glade is crashy as hell10:06
bluesabre(as are most versions)10:06
ochosiwell, the gtk3 version is *much* better ;)10:06
ochosianyway, meanwhile finished revamping the whole xfpm dialog10:07
ochosiso...10:07
bluesabreyay!10:07
bluesabreonce knome reports back about that bug being fixed, I can probably do a menulibre release10:08
ochosicool10:08
bluesabreand minor releases on the other projects are coming up too10:09
bluesabrethen I'd like to experiment some more with the display settings and try to get a fancy dialog working10:09
ochosisounds cool10:09
ochosionly thing is that i've only ever seen a fancy dialog in python so far10:10
ochosior in c, but >2000 lines heavy10:10
Unit193Meh, too many deps for glade-gtk2 or I'd try it.10:12
knomebbl13:10
elfy!team 15:12
ubottubluesabre, elfy, GridCube, jjfrv8, knome, lderan, micahg, mr_pouit, Noskcaj, ochosi, pleia2, skellat, slickymaster, Unit19315:12
elfyplease check http://pad.ubuntu.com/5opi9dQG5e 15:12
elfythat is how I'm planning to call for testing this cycle - dates are there - leaves all the milestone dates free15:13
elfyleaves us a big gap at the end that we can call for specific things as required15:13
elfyI'll leave the pad now - please use that for comments if any - I'll be sorting this all out early next week. 15:14
elfythanks :)15:14
elfyat that point I will be building the new testsuites and won't be wanting to fiddle again15:15
knomeelfy, that looks good to me18:42
elfyknome: yep - did me 19:31
ali1234elfy: do you still have that VM where you installed ubuntu-desktop^ over xubuntu?19:55
elfyali1234: not any more - but I'm happy enough to set one up and keep it hanging about19:55
ali1234my multimedia keys stopped working after i did that19:55
elfyoh - I'm not sure I'd be any help with that - no media keys 19:56
ali1234bug 131478219:58
ubottubug 1314782 in xfce4-volumed (Ubuntu) "multimedia keys don't work when xfce4-volumed is run in daemon mode" [Undecided,New] https://launchpad.net/bugs/131478219:58
elfyonly media keys I've got are vol+/- and mute19:59
ali1234that will do19:59
elfyk - I'll set up the xubuntu one now 19:59
ali1234installing ubuntu-sdk seems to have a lot of really nasty side-effects for us20:00
ali1234also, has anyone tested if those lock screen bypass bugs affect us?20:01
elfyno idea - which bug #'s20:01
ali1234just checking20:01
ali1234bug 130857220:01
ubottubug 1308572 in unity (Ubuntu) "Ubuntu 14.04: security problem in the lock screen" [Critical,Fix released] https://launchpad.net/bugs/130857220:01
ali1234that one probably doesn't but there was a new one that involves indicators20:02
elfynot seen any references to that one20:02
elfyali1234: so what do you want me to do exactly here - install xubuntu then ubuntu-sdk?20:02
ali1234bug 131388520:03
ubottubug 1313885 in Unity "lock screen bypass" [Critical,In progress] https://launchpad.net/bugs/131388520:03
elfynot seen that either20:03
ali1234elfy: install ubuntu-desktop^ then reboot and test multimedia keys. then if they still work, install ubuntu-sdk and test again20:04
elfyok20:04
ali1234if they still work after that then i'm stumped20:04
elfyok20:04
elfyand the vol key doesn't work in vm anyway ... 20:05
ali1234hmm20:06
ali1234oh well :/20:06
brainwashdid the sdk install any gtk modules?20:07
brainwashbug 1239014 seems to be similar20:08
ubottubug 1239014 in xfce4-settings (Ubuntu) "xfsettingsd unable to daemonize properly when overlay scrollbars are activated" [Undecided,Confirmed] https://launchpad.net/bugs/123901420:08
brainwashand our lock screen is not affected by those bugs, because it's running in a different vt20:09
ali1234still? i thought that changed? (i don't ever lock my computer)20:11
brainwashchanged?20:11
brainwashah, it's planned to be changed 20:11
elfyali1234: seems that multimedia keys are not passed to vbox guest20:15
sidi-valenciacan you check if gnome-settings-daemon is running?20:15
sidi-valenciaor gnome-*-daemon for the matter20:15
ali1234maybe try while holding the right ctrl (or whatever the passthrough key is)20:16
elfyali1234: tried that :(20:16
ali1234http://paste.ubuntu.com/7368694/20:16
ali1234ps waxf | grep gnome ^20:17
ali1234sidi-valencia: i don't understand why daemon mode makes a difference... really odd20:22
sidi-valenciaali1234, will check the code in a minute20:24
brainwashother Xfce components do the same (time out)20:24
ali1234ah... i see20:24
brainwashappfinder, xfsettingd20:24
ali1234in daemon mode, it never "starts up"?20:24
ali1234cos it hangs somewhere in the init, any idea why/where?20:25
brainwashso far it has been caused by the overlay scrollbar gtk module20:25
ali1234yeah, i remember that bug from last year20:26
ali1234but did we ever figure out why or fix it?20:26
brainwashappfinder's daemonize routine has been rewritten upstream to use gdbus instead20:26
ali1234i will test the workaround from your bug20:26
brainwashthis fixed the problem20:26
sidi-valencialookup main.c if curious20:26
sidi-valenciait forks20:26
sidi-valenciacleans up its std*20:26
sidi-valencianothing special at all20:26
sidi-valenciaso there might be something going on when it forks, maybe another daemon has a time window to steal the keys?20:27
ali1234brainwash: setting the env var doesn't help. also i don't have overlay scrollbars anywhere. no doubt it is something similar though20:27
ali1234i'll try stracing it i guess20:27
brainwashmaybe strace it20:27
sidi-valenciayou could maybe write some sort of test with a delayed SIGALRM and only fork when you receive that, see if you can use the keys before the fork20:27
sidi-valenciabut im just going to call your system broken and say you should use one volume daemon at a time ;)20:27
brainwashxD20:28
ali1234i am though20:28
ali1234i killed all others20:28
sidi-valenciaps aux | grep gnome20:28
sidi-valenciaps aux | grep pulse20:28
sidi-valenciaps aux | grep -v sidi20:28
sidi-valencia:D20:28
ali1234yes, i run pulseaudio20:28
ali1234nothing else shows up on that search20:28
sidi-valencia(it has nothing to do with pulse obviously ;) )20:28
sidi-valenciahm interesting20:29
ali1234"volume" only shows things related to gvfs, ie disk volumes20:29
ali1234i guess i could start removing ubuntu packages until it works again... not sure that's the reason it is broken though20:30
ali1234right, with strace, the forked child just hangs20:31
ali1234attached gdb... it's still inside keybinder_init20:32
sidi-valenciaali1234, can you open main.c and comment out the setsid part?20:32
sidi-valenciaoh20:33
sidi-valenciahm20:33
ali1234it is trying to get a lock on something inside glib20:33
ali1234http://paste.ubuntu.com/7368788/20:34
sidi-valenciabad news20:34
sidi-valenciathis is not code from me20:34
ali1234well yeah20:34
ali1234this is an ubuntu bug20:35
sidi-valenciacan you build it with another lib?20:35
sidi-valenciaor a compiled version?20:35
ali1234what do you mean?20:35
sidi-valenciaits probably a file being locked by a faulty package20:35
sidi-valenciacompiled version -> debugging version20:35
sidi-valenciasorry me speak bad english20:36
sidi-valencia:D20:36
ali1234you mean, build with debug symbols?20:36
sidi-valenciakeybinder is built with glic i think20:36
sidi-valenciaunless its a glib thing20:37
sidi-valenciatrying to figure this out now20:37
sidi-valenciawaaaha. the amount of dependencies this package pulls in20:38
sidi-valenciaali1234, im surprised you *only* have xvd not working20:41
ali1234oh plenty of other stuff was broken too20:41
sidi-valenciastuff hanging?20:41
sidi-valenciacrashing?20:41
ali1234yes, or crashing with security exceptions20:41
sidi-valenciaand what did you install that could've changed your glib?20:41
ali1234ubuntu-desktop^ and ubuntu-sdk20:42
ali1234but nothing could have changed glib20:42
sidi-valenciawhat is this ^?20:42
ali1234it means a package group, not a package called ubuntu-desktop20:43
ali1234it's about 400mb of packages20:43
ali1234sdk is about another 200mb20:43
sidi-valenciaok20:45
sidi-valencianothing replaces the glib, 100% sure?20:45
ali1234of course20:45
brainwashgot a list of files which were installed?20:49
sidi-valenciathe kernel?20:49
sidi-valenciapthreads?20:49
sidi-valenciawhat hangs is a call to pthread_rwlock_rdlock20:49
ali1234this isn't arch, we don't screw around with different kernels and pthreads implementations :)20:49
ali1234there is only one of each for all ubuntu20:50
sidi-valenciaohohohoh20:50
sidi-valenciathough note that it could be a change to cairo, pango, atk....20:50
ali1234maybe20:50
sidi-valenciaany lib launched by xvd, that has been modified by your packages, could cause this if this lib uses glib20:50
sidi-valenciaor pthread20:50
ali1234i can't figure out how we are building it without gstreamer support20:50
ali1234yes, but the point is that no low level libraries can have been modified, because there is only ever one version of each in ubuntu20:51
sidi-valenciaand excuse-me but here on arch there are only 2 kernel, a single pthread implementation and no weird patches coming out of nowhere ;)20:51
ali1234we have multiple kernels - they are in different packages, so one can never replace another20:52
ali1234same for everything else really20:52
sidi-valenciaanyway if you tell me theres only one pango, cairo, etc then i've got no reason to not believe you :)20:52
sidi-valenciait would be weird anyway20:52
ali1234let me find the package log...20:52
sidi-valenciayet those packages you pulled apparently cause one of these libs to be affected20:52
sidi-valenciacould we trace what is called in keybinder depending on whether xvd is daemonized?20:53
ali1234if i can figure out how to rebuild it20:53
sidi-valencia(also pls try to run it daemonize with setsid() commented out in main.c, i'm a bit curious about this)20:53
sidi-valenciado you use systemd?20:53
ali1234no20:53
ali1234http://paste.ubuntu.com/7368880/ <- line 88 is the last time it worked for sure20:55
ali1234note the long lines20:55
sidi-valenciayou installed ubuntu-desktop and got some systemd and wayland stuff pulled in?? :D20:58
ali1234i already had wayland stuff installed20:58
* sidi-valencia was trolling but it failed20:59
ali1234i like systemd20:59
sidi-valenciaok so im reading up about setsid stuff, maybe maybe changing the process group and session of the process causes the glib to be unhappy? (/me doesnt know what to explore)21:00
sidi-valenciame too!21:00
ali1234yeah, that is a distinct possibility21:00
ali1234would also explain the permissions stuff21:00
sidi-valenciacan you comment out the setsid bit?21:00
ali1234if i can figure out how to rebuild this thing21:00
ali1234it keeps complaining about missing libraries21:00
sidi-valenciawell ali1234 i dont really remember why i put that but now that there's cgroups and everything in Linux setsid might have changed meaning a bit..21:01
ali1234gstreamer stuff that i don't have21:01
sidi-valenciaoh21:01
sidi-valenciasend me messages pls21:01
sidi-valenciai need to update the build chain21:01
sidi-valenciait just builds too easily on my system21:01
ali1234i don't think it is a problem per se21:01
sidi-valencia(also pls tell me which ubuntu patches you have if any)21:01
ali1234the ubuntu package obviously uses some configure options to disable that stuff21:01
ali1234there's no distro patches in ubuntu afaik21:01
ali1234the thing is though... why does it only break with ubuntu stuff installed? they must be applying more security restrictions in some config somewhere...21:02
sidi-valenciai dont think its security-related21:03
ali1234commenting setsid didn't help21:04
sidi-valenciaoki21:05
sidi-valenciacan you also try with freopen, chdir and fork?21:05
sidi-valencia(with fork also comment setsid or it might be unhappy)21:05
ali1234the version in ubuntu is a little different21:07
sidi-valenciacan you pls show me what they changed?21:07
ali1234http://paste.ubuntu.com/7368945/21:07
ali1234i assume it is just an old version21:07
ali1234well, i'll figure this out the hard way i guess21:10
ali1234let me find my syslog debugging patches...21:10
ali1234i notice that in newer versions, gtk_init has been moved to after the fork21:12
sidi-valenciareally?21:12
ali1234yeah, compare the paste with HEAD21:12
ali1234HAH that fixes it21:13
ali1234i wonder why we have this old version anyway?21:13
ali1234the version in ubuntu is marked as 0.2.021:15
ali1234xfce git seems to be on 0.1.1321:16
ali1234i don't understand :(21:16
sidi-valenciaoh you guys probably got a version bump from mr_pouit's patch21:21
sidi-valenciais it the -pulse version? it would explain the different version number21:22
ali1234yes21:22
sidi-valenciathen i guess its normal21:22
ali1234where does that come from?21:22
sidi-valenciaso the problem was gtk_init before fork?21:22
ali1234yeah21:22
ali1234"a" problem, anyway21:22
ali1234but it still doesn't exlain why it worked before, and then stopped21:22
ali1234but certainly a bug that needs fixing21:22
sidi-valenciait doesnt explain anything21:23
sidi-valenciaat all21:23
ali1234i know, but meh21:23
sidi-valenciait shouldnt make a difference21:23
ali1234https://launchpad.net/xfce4-volumed-pulse <- so this is in fact a fork21:23
knomesidi-valencia, nice to see you back and working on things!21:24
sidi-valenciaknome, not really21:24
sidi-valenciaplease21:24
sidi-valenciadont say that21:24
sidi-valencia:D21:25
sidi-valenciait pressures me21:25
sidi-valencia:D21:25
knomesidi-valencia, yess...21:25
sidi-valenciaali1234, kind of21:25
sidi-valenciaxfce4-volumed is old crappy unmaintained software21:25
* knome wants to make sidi empathise21:25
knomewell at least you're around, and talking21:26
sidi-valenciahaha21:27
sidi-valencia:)21:27
ali1234there's no "kind of" - it says it's a fork right on the LP page :)21:27
sidi-valenciaali1234, i dont know what to say. this story is very very weird21:27
knomethe first step to contributions ;)21:27
sidi-valenciaknome, im writing SandboxUtils and im appreciative of any sanity tests on the build process21:27
* knome knows a bit too little about that21:28
sidi-valenciaits just some random app21:28
sidi-valenciabuild it and type commands in the README21:28
sidi-valenciait does *nothing* anyway21:28
sidi-valenciait doesnt even sandbox anything21:28
knomelol21:28
knomei guess i can look at that later21:28
ali1234brainwash: would you like to check if xfsettingsd also forks after gtk_init()?21:30
ali1234so... daemon mode got moved to after gtk_init to support using gtk to parse command line21:32
sidi-valenciabbl21:33
ali1234although i don't see why tbh21:33
ali1234it's only using glib21:33
ali1234hmm21:34
ali1234why does it even use fork() to go daemon?21:37
ali1234"It seems that gtk_init connect to dbus session. Currently, it is called before fork, i.e. parent process. Parent process quit after the checking gui enable. So dbus session become disconnected."21:39
ali1234i bet this is the problem21:39
sidi-valenciaali1234, anyway command line will be exactly the same before and after the fork??21:40
sidi-valenciai use fork because i want to detach from the terminal21:41
sidi-valenciaand you shouldnt setsid without fork in case you're already detached21:41
sidi-valenciacant setsid if youre a process group leader21:41
sidi-valenciawhatever that means21:41
sidi-valenciaposix obscurities21:41
sidi-valenciaanyways, you have to fork+setsid because, erm, that's life :D21:41
ali1234hmm, as i suspected, xfsettingsd also calls gtk_init (and also opens a dbus connection) before forking21:42
ali1234i will look at what gnome-settings-daemon does i guess21:43
ali1234gnome-settings-daemon doesn't fork, anywhere21:48
ali1234or if it does, it uses some glib function to do it21:49
brainwashali1234: http://git.xfce.org/xfce/xfce4-appfinder/commit/?id=4a065a10945c72c985e254ff1ef13df188f3e11e21:50
ali1234daemon mode was removed from gnome-settings-daemon because "it confuses dbus"21:51
sidi-valenciagoogle "fork before gtk_init"?21:51
ali1234brainwash: what is that?21:52
ali1234okay, i think i understand what is happening21:54
ali1234normally gtk_init() does not connect to dbus21:54
ali1234however, overlay scrollbar is implemented as a preload library21:54
ali1234*it* almost certainly connects to dbus21:54
ali1234so if enabled, gtk_init() now will connect to dbus earlier than normal21:55
ali1234then when you fork, dbus gets "confused" and bad things happen21:55
ali1234it might not be overlay scrollbar, itmight be some other ubuntu hack21:55
ali1234like appmenus for example21:55
ali1234yes21:56
ali1234it is UBUNTU_MENUPROXY21:56
ali1234unsetting it, and then running the volumed fixes the problem21:57
ali1234so this is in fact the same old xfsettingsd bug, with a slightly different way to get to the same problem21:57
brainwashaha21:58
ali1234so now we can fix both these problems properly :)21:58
brainwashthe linked commit fixed the problem for the appfinder21:58
ali1234that probably causes the child process to open a new dbus connection rather than reusing the gtk one21:58
ali1234so fix was a side effect21:59
brainwashyes, it's a side effect21:59
ali1234so fixing bug 1307657 would fix this22:02
ubottubug 1307657 in xfce4-indicator-plugin (Ubuntu) "UBUNTU_MENUPROXY should not be set in Xfce" [Undecided,Confirmed] https://launchpad.net/bugs/130765722:02
sidi-valenciaso the fix is sudo aptitude purge ubuntu*?22:07
sidi-valencia:D22:07
ali1234i can almost guarantee that xvd is hanging on a dbus call to get the keyboard layout from x server22:07
ali1234and yes22:07
ali1234(but we already knew that, just didn't know why)22:07
ali1234so i think we should go through and fix all the gtk_init() before fork() in all xfce software22:08
ali1234but i'm not sure of the best way to do it22:09
sidi-valencianow i still have a question22:11
sidi-valenciawhy on earth do i use gtk_init??22:11
ali1234well -pulse uses it to parse command line22:11
sidi-valenciait was here before22:11
sidi-valenciai dont remember why i use it22:11
sidi-valenciai think its just out of convenience22:11
ali1234yeah but after the fork() which is fine22:11
sidi-valenciawhy did they move it?22:12
sidi-valenciawhat was the rationale?22:12
ali1234so that gtk_init(argv, argc); would work22:12
sidi-valenciaand how is vanilla XFCE?22:12
ali1234i can show you the commit22:12
sidi-valenciabut fork does not clear argc/argv, does it??22:12
ali1234no, but they added a --no-daemon command line22:12
ali1234not much point parsing that after you alread went daemon22:12
ali1234http://bazaar.launchpad.net/~mrpouit/xfce4-volumed-pulse/master/revision/53#src/main.c22:13
ali1234mr_pouit: you broke it again :)22:13
ali1234there are ways to parse the command line without calling gtk_init though22:14
ali1234we should probably do that22:14
sidi-valenciaoh22:14
ali1234wait22:14
sidi-valenciareally22:14
ali1234actually22:14
ali1234i think it's already doing that with glib22:14
ali1234so i dunno why gtk_init() got moved22:14
sidi-valenciabut thats not a reason. i have a --no-daemon option they can just change the name of my app instead22:15
ali1234maybe so that gtk gets gtk specific command lines earlier22:15
sidi-valenciaof my app's command line22:15
ali1234yeah, i think you;re right22:15
ali1234i don't know what's going on here22:15
ali1234maybe it was just a silly mistake; it happens22:15
sidi-valenciait is just a silly mistake22:15
sidi-valenciain fact the original change22:16
sidi-valenciadid not anticipate at all the changes made to gtk_init by Canonical22:16
sidi-valenciabut i think now that there is a reason why it happens more often with the ubuntu codebase than other distros ;P22:16
ali1234absolutely, it's because of the weird gtk plugins they made that aren't thread safe22:17
ali1234or rather, fork() safe22:17
sidi-valenciabecause when you do undocumented hack-ish changes here and there only testing with your own packages, but having dependencies based on other hackers then at some point some of them play poorly. I must say kudos to you ali1234 because i would never have identified the origin of this bug as quickly (in fact im a bit jealous ;) )22:17
sidi-valenciai know xfce4-volumed is terribly dirty software... yet it somehow gets used22:17
ali1234we have this problem a lot22:18
sidi-valenciai think we should make sure to identify exactly whats wrong with it and ruin the life of the original author (aka me) until he pushes the *proper* fix rather than ubuntu patches22:18
sidi-valenciaim very very grateful to mr_pouit for his pulse patch. but there should be no other ubuntu/xubuntu change to vanilla xfce software than that22:18
ali1234well the xfce4-volumed is fine, it's the -pulse version that is broken :)22:18
sidi-valenciabecause then i get bug reports that i cant make sense of ;)22:18
sidi-valenciayeah but its not the -pulse code that breaks22:18
sidi-valenciaits the *other* changes22:18
ali1234yeah22:19
sidi-valenciawhich dont seem justified, which i dont know about and which could be done more neatly22:19
ali1234still, this is why i reported the bug on lp, not xfce bugs22:19
ali1234i knew all along it was something ubuntu did22:19
sidi-valencia(for instance i could upstream that daemon() syscall if asked why i should do it, and i could also use --no-daemon rather than --no-daemonize or whatever i have)22:19
ali1234because it worked before22:19
sidi-valenciayeah well im only subscribed to LP actually ;p22:19
ali1234i didnt even know there were two versions of this software22:20
sidi-valenciathis app uses launchpad for bug reports, as far as i know22:20
sidi-valenciayeah its about time i merge mr_pouit 's code22:20
ali1234-pulse does, but i reported against the ubuntu package, not the upstream software (which i didn't know existed)22:20
sidi-valenciabut guys please always report on the XFCE bugzilla or devel ML when you patch Xfce22:20
sidi-valenciawhatever it is, unless it's literally just libubuntusomething22:20
sidi-valenciaali1234, i just meant that im subscribed everywhere anyway. im not blaming you at all for reporting the bug haha22:21
ali1234yeah, kudos for actually paying attention to distro bugs. a lot of devs would just say "report it on upstream" (and then close it for being distro specific)22:22
ali1234and especially given you don't even use ubuntu...22:22
sidi-valenciado you have pointers to the ubuntu code that causes DBus calls in gtk init?22:22
sidi-valenciaali1234, you guys write amazing software for me22:23
sidi-valenciaso i want my software to work for you22:23
sidi-valenciai hate canonical but i love xubuntu22:23
ali1234something in here: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/utopic/unity-gtk-module/utopic/view/head:/src/main.c22:24
ali1234is what cuases it22:24
ali1234unity-gtk-module is loaded if UBUNTU_MENUPROXY=1 and then it "hijacks" menus and exports them on dbus22:25
ali1234it's how they implement global menus22:25
sidi-valenciahttps://gitorious.org/gnome-settings-daemon/gnome-settings-daemon/commit/c0400bb599e6a57a46274a4ea3b550365577c93c22:27
sidi-valenciavery interesting22:27
sidi-valenciaso anyone using gtk_init should fork first or expect trouble22:28
bluesabreknome: ping22:28
sidi-valenciai asked on #gtk+ for some wisdom about this22:28
ali1234yeah, there are loads of references to such bugs. basically gtk_init() before fork() is a bad idea, even if it usually works22:28
ali1234okay simply moving the call to gtk_init() fixes it, and no side effects with arguments or anything22:32
sidi-valenciagreat22:34
sidi-valenciapls change the --no-daemonize if need be22:35
sidi-valenciaali1234, thanks again. you did awesome work.22:41
sidi-valenciaHow did you identify the origin of the bug actually?22:41
ali1234what brainwash said made something click22:41
sidi-valenciahmm22:41
sidi-valenciabrainwash, how did you come up with what you said? :D22:41
ali1234actually cos i noticed that the old version has the fork after init22:42
ali1234so i tried swapping them just at random to see what would happen22:42
ali1234we've had this problem before but never really figured out why it happened.. it just happened at random22:44
ali1234and then randomly got fixed22:44
ali1234and i have quite a lot of pointless knowledge about how ubuntu hacks work22:44
ali1234because they tend to break everything22:45
ochosiholy crap, so much backlog...22:47
ali1234tl;dr every xfce app that calls fork() after gtk_init() needs fixing22:48
ali1234this includes xfsettingsd and xfce4-volumed-pulse22:48
ali1234i just put in a MR for the latter22:48
sidi-valenciayeah23:05
sidi-valenciagreat23:05
sidi-valenciagood job23:05
sidi-valenciai'd love so badly to put up a Xubuntu-like team on another distro...23:06
sidi-valenciaif you guys werent losing time over ubuntu upkeep who knows what you'd be up to? :D23:06
bluesabrelosing time over gnome upkeep23:09
bluesabre:)23:09
bluesabreand/or gtk23:09
ali1234http://askubuntu.com/questions/458238/how-to-revert-from-gtk3-to-gtk2-indicators-in-xfce4-panel23:10
ochosihope we'll be able to replace the indicators with xfce panel plugins sometime in the not so far future23:10
ali1234anyone want to add anything to that?23:10
sidi-valenciabluesabre, this is unity upkeep23:13
sidi-valenciagtk upkeep is costly enough but what does unity have to do with us? ;)23:13
sidi-valenciacorrect me if im wrong but Xfce still uses only GTK2 right?23:13
ochosiit does, but gtk3 dropped lots of stuff lately and introduced some new things that will make some of our core apps a bit weird/borked23:14
bluesabreparole is full gtk3, some other components compile as gtk2 or gtk323:14
sidi-valenciaoh i see23:15
ali1234sidi-valencia: do you have indicators in arch?23:16
bluesabrebrainwash: poke23:25
bluesabrehttps://code.launchpad.net/~thad-fisch/lightdm-gtk-greeter/zoomed23:25
bluesabreI'm assuming this also handles the positioning, and is probably tested? :)23:25
bluesabreand do you suspect this is related?23:26
bluesabrehttps://bugs.launchpad.net/lightdm-gtk-greeter/+bug/130015323:26
ubottuLaunchpad bug 1300153 in lightdm-gtk-greeter (Ubuntu) "login Screen is not showing correctly" [Undecided,New]23:26
ochosibluesabre: i haven't gotten around to testing it tbh23:26
ali1234that bug doesn't look related23:26
ali1234or rather, fixing the wallpaper won't fix it23:27
ali1234basically gtk-greeter is not multimonitor aware... at all23:27
bluesabrethat bug is single-display23:27
ali1234ok then in that case it is definitely not related23:27
bluesabrebut I hope to fix the multimonitor stuff with the next release23:27
bluesabre:)23:28
ali1234brainwash' patch just makes it draw the wallpaper spanning monitors rather than once per monitor (even if they overlap)23:28
ali1234as i understand it, anyway23:28
sidi-valenciaali1234, sudo make uninstall works for that guy over ~ askubuntu23:28
ali1234i have not tested it either23:28
sidi-valenciaali1234, libindicator? that stuff from 2010 from Ubuntu?23:28
bluesabreah23:28
ali1234sidi-valencia: oh really? okay then23:28
bluesabrehe had mentioned improper zooming and positioning at one point23:29
bluesabreI also have not tested it23:29
ali1234yes, of the wallpaper23:29
sidi-valenciait'll erase the files regardless of whether they were created by his install though. it just removes files where it would have put them23:29
ali1234yeah, not all software has uninstall though23:29
sidi-valenciawith autotools i think it should be.23:34
bluesabreanybody with an encrypted home and multiple languages want to verify if this is fixed in trusty?23:59
bluesabrehttps://bugs.launchpad.net/lightdm-gtk-greeter/+bug/100270623:59
ubottuLaunchpad bug 1002706 in lightdm-gtk-greeter (Ubuntu) "Language setting ignored" [Undecided,New]23:59

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