/srv/irclogs.ubuntu.com/2014/06/25/#ubuntu-desktop.txt

RAOFrobert_ancell: XMir?02:34
robert_ancellRAOF how goes the rootless XMir?02:47
RAOFIt remains on the back burner until I give you various GTK bits.02:48
robert_ancellRAOF, anything Xorg side that needs fixing or is it mostly in Mir?02:48
robert_ancelland Unity 802:49
RAOFBut the X server itself is mostly working.02:51
RAOFThe awkwardness will come, as always, when window management is expected to work :)02:51
RAOFdesrt: Thank you again for complaining about the awkwardness of eventloop integration. This will make XMir & plymouth much more pleasant :)02:51
RAOFThe Xorg side needs a little clean up, but not much. It's mostly in Mir (and then Unity 8)02:52
RAOFOh. We _will_ need an X11 window manager to proxy stuff to Mir, if you felt like doing that bit :)02:52
robert_ancellRAOF, sure, why not02:55
robert_ancellwhat's the plan there?02:55
RAOFA loadable module in the Mir tree that uses http://cgit.freedesktop.org/xorg/lib/libxcwm/ (or something like it).02:56
robert_ancellRAOF, will XMir be built into Mir?02:59
RAOFNo.02:59
robert_ancellWhy would the X window manager be in Mir then?03:00
RAOFBecause nothing outside Mir knows about window management?03:00
robert_ancellUnity?03:00
RAOFThe idea is to make XMir windows look like Mir surfaces as far as the shell is concerned.03:00
RAOFAh, _that's_ the question.03:00
RAOFRight, it could be in Unity, but X11 integration is something that lots of shells are going to care about, so it's ideally in Mir itself.03:01
robert_ancellSo it will be a core feature of Mir, i.e. "Mir supports clients using the Mir or X11 protocols"03:02
RAOF*: With external tools03:02
RAOFBut, yeah.03:02
robert_ancellAnd will the X server launching be done my Mir too?03:02
robert_ancellby Mir03:02
RAOFThe idea discussed with tedg was to have ubuntu-app-launch spawn an XMir server, have XMir connect to Mir and request a wm from Mir.03:03
desrtRAOF: :)03:03
* RAOF wanted to do X server launching by Mir, but this also works.03:03
robert_ancellHow does ubuntu-app-launch know it needs one? I assumed we'd have some sort of default DISPLAY socket that would spawn off a new server on each connect03:04
RAOFWe assume that anything in /usr/share/applications needs an X server, and anything click-packaged can opt-in for an X server.03:04
robert_ancellThat's fairly bold03:05
RAOFYeah, my plan was to do a socket-activated thing but tedg doesn't like that (for application-confinement reasons)03:05
RAOFYou're welcome to argue with tedg about this :)03:07
desrt*cough* dbus03:08
robert_ancellRAOF, is XWayland/GNOME using libxcwm?03:09
RAOFNot AFAIK.03:09
robert_ancellwhat are they doing?03:10
RAOFRaw xcb, I think.03:10
pittiGood morning04:23
=== alan_g is now known as alan_g|afk
=== alan_g|afk is now known as alan_g
larsudesrt: ya, I saw the bug...08:02
larsumorning everyone!08:02
seb128good morning desktopers!08:02
seb128hey larsu08:02
larsuseb128: hello again :)08:02
seb128;-)08:03
Laneyhey hey08:03
larsumorning Laney!08:03
didrockshey larsu!08:03
didrocksand Laney and seb128 ;)08:03
larsumorning^2 didrocks!08:03
Laneywhat's with all this squaring08:04
larsuLaney: already said good morning to the Frenchmen08:04
seb128hey Laney, how are you?08:04
seb128lut didrocks ;-)08:05
Laneypretty alright!08:05
* didrocks wonders why so much failure in so little changes… ;)08:07
seb128good that you have tests to tell you!08:07
Laney"it's only a littttle syntax error"08:07
seb128it's a compiler bug!08:07
Laney"come on, can't you put that semicolon in by yourself?"08:07
Laneygrr compilers08:07
seb128;-)08:08
didrockshéhé08:08
didrocksactually, it's my super tearDown check08:08
didrockswhere I can say if I expect to have warnings or errors08:08
didrocksand it yells otherwise (on test by test basis)08:08
didrocksthat way, I ensure I have no unexpected warnings or errors spawn08:09
didrocksarf, found it…08:13
* didrocks hates that python doesn't define if (something), forcing that thing to be True or False08:13
didrockslike in any sane language… like… I don't know… Dart :p08:13
didrocksthat would avoid:08:13
didrocksif is_completion_mode:08:13
didrocksinstead of:08:13
didrocksif is_completion_mode():08:13
larsudidrocks: I don't understand. What's is_completion_mode?08:15
larsupython has coercion to booleans, no?08:16
didrockslarsu: yeah, which is the issue. It's testing that is_completion_mode is defined (and a function in that case)08:17
didrocksso "if is_completion_mode" is always True08:17
larsuah, that's what you mean08:17
didrocksand don't run the function to test if I'm in completion mode ;)08:17
larsuthat's a bit annoying indeed08:17
didrocksyeah, small typo to find…08:18
larsuyou're always in completion mode!08:18
didrocksyep08:18
didrocksin Dart, it would tell you "hum… this isn't a boolean…"08:18
larsubut then you need to explicitely test for other stuff as well, like empty lists08:18
larsubut actually, I think I prefer that08:18
didrocksyeah, there is an f.EmptyList() method on the List class08:19
didrocksfor that08:19
didrocksok .empty() rather08:19
* didrocks opens API doc08:19
didrockshttps://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart-core.List#id_isEmpty08:20
Laneyaren't you supposed to catch exceptions instead of checking for all the things in python?08:20
LaneyEAFP or something08:20
* larsu doesn't know08:21
didrocksLaney: hum, not sure it's related to that… Here I use that function to avoid the env variable tested in one place instead of everywhere08:21
didrockson using expections… there are 2 schools of thoughts AFAIK08:21
LaneyI mean for things like checking for empty lists08:22
Laneyhttps://docs.python.org/2/glossary.html#term-eafp08:22
didrocksah, yeah, a lot of people do that to avoid eventual races08:23
larsuLaney: I just used that as an example for the type coercion08:25
Laneyah08:26
didrocksLaney: Dart doesn't have threads, so it's not a real issue for that one. Only isolates (which have separated memory)08:28
LaneyIt's partly (or maybe mainly in the absence of threads) about code clarity as well as avoiding races08:30
* didrocks doesn't find it clarify the code :)08:32
seb128it's also more efficient for the normal case, since you don't run a check when not needed08:32
xnoxanybody wants to port gnome-media-player to xine-lib-1.2 ?10:21
xnoxalso what is gnome-media-player10:21
seb128I doubt we want to do that10:22
seb128some universe package10:22
Laneynever heard of it10:22
seb128which didn't see an update since natty10:22
Laneygo ask the uploader10:22
seb128same version since maverick in fact10:22
ogra_wasnt that a gnome2 thing anyway ?10:23
ogra_why is it stil areound10:23
ogra_*around10:23
seb128it was never a GNOME thing10:23
xnoxdunno, but gnome-media-player is the last dep on xinelib1 which FTBFS against libav10 which holds up the world in proposed migration10:23
seb128drop it from the I archive I say10:24
ogra_++10:24
seb128it still use gconf10:24
* xnox fudges in building against xin-lib-1.2 and sees what happes.10:24
Laneydemote it to proposed, mail uploader, wait x days, remove10:24
seb128it hasn't been maintained for years10:24
xnoxmeh, uploaded.10:24
Laneyit builds?10:24
seb128Laney, you can email xnox now :p10:24
LaneyT I L !10:25
seb128https://launchpad.net/gnome-media-player10:25
seb128the trunk is https://code.launchpad.net/~lamothe-deactivatedaccount-deactivatedaccount/gnome-media-player/0.2-new10:25
seb128see the username10:25
xnoxwell off to file a remove request for xine-lib10:25
seb128no commit since 201110:25
xnoxyeah.10:25
Laneyit does seem crufty10:25
xnoxseb128: i'll talk to lamont about it.10:25
Laneyla..mont?10:26
seb128lol10:26
xnoxlol =))))10:26
=== MacSlow is now known as MacSlow|lunch
=== alan_g is now known as alan_g|lunch
=== MacSlow|lunch is now known as MacSlow
=== alan_g|lunch is now known as alan_g
Estilandahola13:30
=== mterry_ is now known as mterry
=== olli_ is now known as olli
=== m_conley_away is now known as m_conley
Laneyaah14:17
Laneyreboot dialog just stole focus and the active button was 'reboot now'14:17
Laneyhope that's an xmonad problem ;-)14:17
didrocksok, going for a late run14:24
gatoxseb128, hi, do you know who i can talk to about the  component from QtSystemInfo in the phone?? as far as i can see, that is working on my desktop, but being completely ignored in the phone (detecting plug, unplug, etc)14:33
gatoxseb128, the BatteryInfo component14:33
=== shiznix_ is now known as shiznix
seb128gatox, weird, that was working before14:38
seb128it maybe got buggy with 5.3?14:38
seb128I would usually recommend Mirv but he's on holiday14:38
seb128you can try checking with pmcgowan or bzoltan14:39
gatoxseb128, :S no idea.... any app that is using it to check that it isn't really my code? because i always get the same values... and not signals14:39
gatoxseb128, and it's working on the desktop14:39
gatoxseb128, ack, thanks14:39
seb128gatox, I would just run the example through qmlscene14:39
seb128I can try that in a bit here if you want14:39
seb128otherwise maybe just use the battery backend we have in settings14:39
seb128you can probably add another function there if you need to wrap another upower dbus call14:40
gatoxseb128, i'll check in settings... the code from the examples was the one that was failing in the phone for me..... if you can check, i really appreaciate it14:41
pmcgowanseb128, you think that was working before? I know a lot of the API never did, I assumed we needed work in qtubuntu14:43
gatoxseb128, ok.... at least i see it working in system settings.... so i will check that14:44
seb128pmcgowan, well, qtsystems was working in saucy, we used it a first for the battery info in system settings14:57
seb128gatox, it's working on the phone for me14:59
seb128gatox, I installed qtsystems5-examples and ran14:59
seb128$ qmlscene /usr/lib/arm-linux-gnueabihf/qt5/examples/sysinfo/qml-battery/qml-battery.qml --desktop_file_hint=/usr/share/applications/ubuntu-system-settings.desktop14:59
seb128that gives a screen saying the device is charging with the % etc14:59
gatoxseb128, weird..... anyway.... system settings is using the same and it's working for me in the phone.... so i'll take a look there, the weird thing is that what i have  was working on my desktp but not in my phone14:59
seb128(running that with the phablet user, "su - phablet"15:00
gatoxseb128, could it be a confinent issue?? i was testing this in another app i just created15:01
seb128could be I guess15:01
seb128gatox, btw settings don't use those bindings anymore, see plugins/battery/battery.cpp15:01
seb128we use libupower-glib in a cpp backend15:01
seb128qtsystems was a bit too limited for what we had to do15:02
gatoxseb128, it's using it to detect the chargingstate which is what i want15:02
seb128right, that should be working15:03
pmcgowangatox, yes another app would be confined and unable to work15:10
gatoxpmcgowan, yap... that was the problem15:16
seb128gatox, btw, I would appreciate a review for https://code.launchpad.net/~seb128/ubuntu-system-settings/update-uis-tweaks/+merge/224463 if you can look at it, it should be an easy one15:19
gatoxseb128, ack! looking15:20
gatoxseb128, done... i left a couple of inline comments15:25
seb128gatox, thanks15:26
seb128gatox, seems like that didn't work? you need to hit the submit button from the top comment to have the "commit"15:30
gatoxseb128, ah i forgot save comments15:30
gatoxseb128, there15:30
=== gatox is now known as gatox_lunch
seb128gatox_lunch, k, replied if you want to have another look15:50
didrocksthe video quality of Google I/O Live is amazing16:12
didrocksand the menu layering on top of the video16:13
seb128shame they can't make nice stuff for stuff public use like hangout...16:13
didrocksyeah, well it's not the same constraints "just" to broadcast one stream16:14
seb128right16:15
seb128on that note, time for some exercice16:16
seb128be back in ~1h16:16
didrocksenjoy seb128 :)16:16
seb128thanks ;-)16:16
seb128same for you16:16
seb128enjoy the google show ;-)16:16
didrocksthanks ;)16:17
didrockspolymer is going to contain every android UI toolkit content16:28
didrocksremember a thread? ;)16:28
=== gatox_lunch is now known as gatox
didrocksdbarth: as this touches what your team is working on ^16:30
gatoxseb128, which question do you have?16:31
gatoxseb128, i think it would be best to change: updateManager.model.length > 1 to root.updatesAvailable > 116:32
didrocksah… and they have snap decisions ;)16:34
didrocks(in L)16:34
didrocksah, and tabs like our webapps story in their app switcher :)16:41
didrocksnice to see we are not at odds with some of our design patterns16:42
=== alan_g is now known as alan_g|EOD
=== dpm is now known as dpm-afk
seb128gatox, oh, ok, makes sense17:46
gatoxseb128, let me know when you push and i'll approve it17:47
seb128k17:47
seb128gatox, done18:06
gatoxseb128, approved18:07
=== dpm-afk is now known as dpm
seb128gatox, thanks18:10
=== dpm is now known as dpm-afk
robert_ancellbregma, I can haz log out of Unity 8? \o/20:51
=== m_conley is now known as m_conley_away

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