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

robert_ancellRAOF, Given we know the dimensions of the output, we want to know our logical position within that box. Where we are on screen is actually up to the shell, a client just wants its windows to be logically layed out inside that bo00:01
robert_ancellx00:01
robert_ancellIn a multi-window app, the windows are not relative to eachother, but we probably want to place them in a particular space00:02
RAOFWhat do you mean by a particular space?00:04
RAOFOh, by “surface relative” I *don't* mean “moves with the parent surface” (except for special types, like popovers).00:05
robert_ancellI mean I have two windows in my app (both toplevel) which are rectangles in some particular space (i.e. the monitor size). They should be placed so they relate to eachother in some way (one on the left, one on the right perhaps)00:06
robert_ancellIt would be arbitrary to say place window B relative to A00:06
robert_ancellThey are really placed more based on the monitor than each other00:06
robert_ancellDecorations of course make this a bit impossible00:07
RAOFBut people are going to be able to move those windows freely around?00:09
robert_ancellyeah, the shell can do what it likes00:09
robert_ancellIt feels like relative positioning where the windows aren't linked in movement (i.e. useful for things like tooltips) doesn't give us any advantages00:10
RAOFWell, I can easily give you an abstract coordinate space to work in, as long as you don't mind that it doesn't map to an output.00:12
robert_ancellRAOF, that seems appropriate to me00:12
RAOFBut this also seems like an API that's there because that's how it's currently done; will an app ever care that the window is 10 units to the right rather than 20 units to the right?00:13
RAOFie: Would it perhaps make more sense for the API to allow the application to say “put this window to the right of that one”00:13
robert_ancellBut do we have a good definition of what "to the right of" means? Won't that be shell dependent00:14
RAOFYes.00:14
RAOFBut that's the case with a coordinate space, too.00:14
RAOFAnd, in your example, the user can move the windows around themselves, so it's clearly not critical that the A be to the left of B.00:15
RAOFAnd if the API has _explicit_ semantics, rather than the implicit semantics of a coordinate space, shells have a better chance of doing the right thing.00:16
RAOFeg: I'm a tiling shell; I care not at all for your pesky coordinates! But “please put A left of B” still makes sense in the tiled world.00:17
robert_ancellI'd like to see the list of logical positioning00:17
robert_ancellRAOF, ok, but subwindows (i.e. tooltip/menus) they do use a co-ordinate space relative to their parent window?00:18
RAOFRight.00:18
robert_ancellso when can I have that :)00:19
RAOFAfter you get eventloopyness :)00:19
RAOFThat bit shouldn't be terribly hard to do.00:19
RAOFAlthough it means fiddling with IPC, which I find endlessly awkward.00:20
robert_ancellRAOF, and grabs - are they just "this child surface receives all events for its relatives"?00:20
RAOFOf course, that's the Mir bit that you can get; Unity8 will get support for that on its own timeline.00:21
RAOFUrgh, grabs.00:21
robert_ancellyes00:21
RAOFYeah, need to work out exactly what we mean by them.00:21
robert_ancellClient level grabs seem fairly sound to me, I can't think of another method to do them00:21
robert_ancellObviously anything higher than that is not allowed00:22
robert_ancellYou could almost implement client level grabs entirely in libmirclient I guess00:22
RAOFYes.00:22
RAOFIs that what we want, though?00:22
RAOFThat means we'll have different behaviour for eg: menus to what we currently have.00:23
RAOFActually, you could implement client-level grabs in the toolkit.00:24
robert_ancellBut is that just a hangover of the "X way to doing things"? As I can see all we want for menus is to get the motion events and click events inside the menu surface, and just handle clicks outside them (to dismiss them). Any other clients surface that gets an event should give some sort of focus out event which is sufficient to dismiss the menus00:25
RAOFThat does mean that you need to click on the owner's surface in order to dismiss menus without doing something else.00:27
RAOFI'm not sure to what extent that's a problem.00:27
RAOFWhat I was thinking of doing is handling the dismissal for you - when clicking outside a surface of type popover (or whatever) we kill the popover.00:28
RAOF(And don't otherwise deliver the event)00:28
robert_ancellI was also wondering if that's sufficient (I think it might be)00:28
robert_ancellfood for thought. Speaking of food... bye!00:34
RAOFLunch!00:34
didrocksmvo: hey! tell me when you get some time to have a look at this "done" callback which is called06:48
mvodidrocks: now?06:49
didrocksmvo: sure!, so git clone git@github.com:didrocks/ubuntu-developer-tools-center.git06:50
didrocksthen, the easiest is to create a virtualenv I guess (as per README.md):06:50
didrocks$ virtualenv --python=python3 env06:50
didrocks$ env/bin/pip install -r requirements.txt06:50
didrocks$ source env/bin/activate06:50
didrocksand finally, to get a test which pass, but with all debug infos:06:50
mvodidrocks: hm, ubuntu-.*-center is taken ;) and is has to be centre and its a bad omen :P06:50
* mvo hugs didrocks - just kidding of course06:51
didrocksnosetests -c log-confs/debug_test.cfg tests/small/test_requirements_handler.py:TestRequirementsHandler.test_error_in_dpkg06:51
didrocksmvo: ahah, really true! Totally forgot about that discussion06:51
* didrocks hugs mvo back06:51
didrockstell me if you see the test_error_in_dpkg test running (and passing) with all debug logs printed06:52
mvodidrocks: its building06:58
mvodidrocks: ok, tests is there now and runs and passes, what should be different :) ?07:00
didrocksmvo: so, you should have as debug message:07:01
didrocks2014-06-12 09:01:05,002 [udtc.network.requirements_handler] DEBUG: ['testpackage'] install update: 0.007:01
didrocks2014-06-12 09:01:05,114 [udtc.network.requirements_handler] DEBUG: Install for ['testpackage'] ended.07:01
didrocksI wouldn't expect the last one (the install ended)07:01
didrockslook at udtc/network/requirements_handler.py07:01
didrocks                logger.debug("Install for {} ended.".format(self._bucket['bucket']))07:02
didrocksline 16107:02
didrocksin finish_update()07:02
didrocksfrom         class _InstallProgress(apt.progress.base.InstallProgress):07:02
didrockswhich is the install progress handler I installed on commit()07:02
=== Saviq is now known as Saviq|QtCS
mvodidrocks: ok, give me a sec to read over the test etc07:07
mvodidrocks: sorry, took a while to read through this stuff (and I was distracted for a sec)07:28
mvodidrocks: so, why should finish_update() not be called? its done, even thought there is a error07:28
mvodidrocks: don't get me wrong, I'm asking so that I can improve the docstrings :)07:29
mvodidrocks: not to blame you that you use it wrong :)07:29
* mvo creates a feature/didrocks branch07:29
didrocks:)07:30
didrocksmvo: yeah, and you told error() were for errors outside of dpkg, right?07:30
mvo(and I should add that the name "finish_update" really sucks07:30
mvodidrocks: yeah, error() is called for error message that dpkg --status-fd generates07:30
didrocks(sounds like a method naming chosen by a French :p)07:30
mvodidrocks: its terrible, sometimes I whish I could have a timemachine07:31
mvoto talk to my former self about certain decisions :/07:31
didrockshum, so the only way is the exception that is raised… which is fine I guess, but the docstring should mention finish_update is always called unless error() is called, and that error is only for errors in…07:31
didrocksmvo: but that would create some time corruption!07:32
didrocksdon't do it, please ;)07:32
didrocksat most, leave a paper on your former desk :p07:32
mvodidrocks: hm, finish_update should be always called, is that different from what you see?07:33
didrockshum, let me try to see if I can raise an error()07:34
mvodidrocks: how does http://paste.ubuntu.com/7632429/ look?07:38
didrocksmvo: sounds good!07:38
mvodidrocks: I will look into the other issues you raised too (i.e. returning boolean states for the mark_install and friends) and provide a installprogress that logs or some file etc but one step at a time :)07:38
didrocksI can't reproduce the error though07:38
mvodidrocks: so keep the feedback coming07:38
didrocksmvo: will do! thanks for fixing those :)07:39
mvodidrocks: you can't reproduce that finish_updates() is not always called?07:39
didrocksno, I thought I would raise an error first for my current test case07:39
didrockslike testpackage and testpackage207:39
didrockstrying to install them together07:39
didrockswith testpackage2 breaks (I tried conflicts as well) testpackage07:39
mvodidrocks: it seems like the (few) people using python-apt are so used to its warts that they don't see those (obvious) problems, so your feedback is very valuable07:40
mvodidrocks: best is to have a breaking maintainer script07:40
mvodidrocks: i.e. postinst with exit 107:40
mvodidrocks: to trigger the error() method07:40
didrocksmvo: will create a package like that in a sec07:40
didrocksmvo: on the other one, shouldn't I get any feedback when I try to ask for something I can't?07:41
didrockslike this testpackage and testpackage207:41
didrocksit's installing happily testpackage2, unmarking testpackage for install07:41
didrocksbefore commit()07:41
mvodidrocks: the resolver will not allow it07:41
mvodidrocks: yeah, it will "fix" it for you unless you use "auto_fix=False" in mark_install()07:42
mvodidrocks: in which case iirc commit() will raise a exception if you try to commit a broken cache (might be worth double checking though and is probably a good test-case for python-apt itself)07:42
didrocksah ok, it's not on of my use case I guess (handling that manually), but as I was trying to get some more testing… :)07:42
didrockslet me check with auto_fix=False07:42
didrocksjust to see :)07:42
didrocksmvo: yeah, so it sent error()07:43
didrocksas I tried to commit a broken cache()07:44
didrocks(so not only broken maintainer script)07:44
didrocksno exception though07:44
didrocksah, sorry, one exception as well07:44
didrocksso:07:44
didrocks1. calling error()07:44
didrocks2. raising SystemError07:45
mvook07:50
Laneyhey hey08:05
seb128good morning desktopers08:05
seb128hey Laney!08:05
seb128how are you?08:05
LaneyI got told off in #ubuntu-ci-eng overnight!08:06
Laneyother than that good ;-)08:06
seb128lol08:06
seb128what did you do this time?08:06
Laneyit's quite fine today 22°08:06
seb128same here, nice to be back to less hot weather08:06
Laney"broke the rules by doing an upload without using ci train in the first  place.08:06
Laney"08:06
seb128lol08:06
seb128tell them than french train are not working this week (which is true, they are unhappy about changes being discussed)08:07
Laneygrrrr08:07
seb128what source did you upload?08:07
LaneyI think it was dbus-test-runner like months ago08:07
LaneyI even did a merge proposal ...08:07
seb128oh08:08
* Laney grump08:08
seb128right, they landed that this night08:08
seb128ignore them, they like to complain08:08
didrockshey seb128, Laney!08:14
seb128lut didrocks, wie gehts?08:14
didrocksseb128: don't start speaking about french train…08:14
* didrocks will have to suffer from this in few hours :)08:14
didrocksotherwise, good!08:14
seb128heh08:14
seb128did you go for morning exercice today?08:15
didrocksnot yet, was planning to go in 15 minutes08:15
Laneyhey didrocks08:15
didrocksfinishing up as many tests as possible before :)08:15
Laneyhow's being an apt client treating you?08:15
didrocksfor testing, I'm getting a lot of questions ;)08:17
didrocksbut nicely, mvo is fixing up the documentation on my feedbacks :)08:17
didrocksso I should be done in a couple of hours to finish those tests (already at 70%)08:17
mvoLaney: I'm looking at the aptdaemon adt issue right now08:18
Laneymvo: awesome, thanks!08:18
Laneydid you fix the apt issue too? ;-)08:19
mvoLaney: almost!08:19
didrocksLaney: apart from being grumpy to be layed off the train, everything's good? :)08:19
mvoLaney: for some reason my adt-run behaves differently from the jenkins one for the apt tests, but I'm close08:20
Laneymvo: I meant bug #132883808:21
ubot5bug 1328838 in apt (Ubuntu) "Can't x-build ubuntu-system-settings with 1.0.4ubuntu1: /usr/lib/arm-linux-gnueabihf/libapt-pkg.so: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)@GLIBCXX_3.4.20'" [Undecided,New] https://launchpad.net/bugs/132883808:21
Laneyare you running adt in the proper VM-y way?08:21
Laneyor is it lxc?08:22
LaneyI forgot what the proper way is currently. :(08:22
mvoLaney: I guess not, schroot or lxc08:22
seb128mvo, Laney: slangasek reverted to gcc-4.8 default because of an ABI change in c++ in 4.9 it seems ... maybe that's what hit libapt there?08:22
seb128gcc-defaults (1.128ubuntu4) utopic; urgency=medium08:23
seb128  * Revert default to 4.8, due to as-yet-undiagnosed C++ ABI breakage08:23
seb128    (LP: #1329089).08:23
ubot5Launchpad bug 1329089 in location-service (Ubuntu) "g++-4.9 binary incompatibilties with libraries built with g++-4.8" [Critical,New] https://launchpad.net/bugs/132908908:23
seb128just mentioning it in case08:23
Laneyoh, could be08:23
mvoyeah, that sounds more like it08:23
Laneycan you do a uss cross-build to see?08:23
Laneythat apt went to release so it should happen there too08:23
Laneynow08:23
* seb128 tries08:24
seb128Laney, do I need to do anything to update my chroot or just run the sbuild command and see if that success?08:27
Laneyit updates itself before building, so you should be fine08:27
seb128k, seems it's doing that08:28
Laneyyou can do sbuild-update -udcar <chroot> every now and again to update in the base chroot which means it has to do less each time08:28
seb128it's upgrading gcc and installing 4.908:28
seb128ok, thanks08:28
didrocksactually, I was really pessimistic telling a couple of hours. All tested now :)08:29
didrocks(creating the framework is always soooo long compared to add tests once it's done)08:30
seb128;-)08:31
didrocksand https://travis-ci.org/didrocks/ubuntu-developer-tools-center/builds/27384556 \o/08:38
didrocksI should try to disable fsync() for dpkg, I guess it's what are making the tests long…08:38
didrockshum, --force-unsafe-io08:39
didrockshttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613428 -> seems raphaël doesn't really agree to use that though08:41
ubot5Debian bug 613428 in dpkg "dpkg --force-unsafe-io still calls fsync()" [Normal,Open]08:41
Laneyseb128: Still breaks here08:49
ochosiarr, tiheum just left. anyhow, hi everyone! wanted to ask whether there were plans for moving to the new icon theme in 14.1008:49
Laneyhmm I didn't get apt 3 yet though08:49
seb128Laney, where does it stop? it's 45% built here08:49
Laneysame08:49
seb128ochosi, wait for tiheum to be back08:49
seb128we don't know08:49
seb128ochosi, ^08:49
seb128lol08:49
seb128or not08:49
ochosioh crap :)08:50
* seb128 is afaik for a bit08:50
* ochosi has the feeling he's being ducked08:50
ochositiheum: hi there! quickly wanted to ask whether there were any plans yet for the new icon theme in 14.10 (we talked about it during the 14.04 cycle, i'd be interested to add support for xubuntu to it)08:51
ochosi:/08:51
Laneyhaha08:51
ochosisomeone has an unstable connection there08:51
didrocksok, the win is 9s with eatmydata, let's keep it08:52
Laneymvo: waah, indeed it does build again with apt ubuntu309:00
Laneywhich used 4.8 ...09:00
mvoLaney: cool09:00
Laneyuncool!09:01
mvohm? at least we know the issue now09:01
mvono?09:01
Laneywell we know it's not apt's fault09:01
Laneystill don't like toolchain bugs :)09:01
mvowe know its a subtle abi break in 4.8 vs 4.909:01
mvoand we even have a bugnumber09:03
* Laney throws this hot potato to doko09:03
chrisccoulsonmvo, my ears prick up at "4.8", "4.9" and "subtle abi break"09:15
chrisccoulsonwhat's this? :)09:15
mvochrisccoulson: https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/132908909:17
ubot5Ubuntu bug 1329089 in location-service (Ubuntu) "g++-4.9 binary incompatibilties with libraries built with g++-4.8" [Critical,Confirmed]09:17
chrisccoulsonmvo, ah, interesting. I wonder if it contributes to bug 1328697?09:18
ubot5bug 1328697 in Oxide "utopic build crashes at startup" [High,Triaged] https://launchpad.net/bugs/132869709:18
=== vrruiz_ is now known as rvr
mvodidrocks: https://github.com/mvo5/python-apt/compare/feature;didrocks?expand=109:48
mvodidrocks: more after lunch09:49
seb128Laney, I've a silo with u-s-s, https://launchpad.net/~ci-train-ppa-service/+archive/landing-001/10:38
seb128Laney, do you want me to include lp:~laney/ubuntu-system-settings/timedate-tests-wait in it?10:38
Laneymight be a good idea10:38
Laneylet's wait for CI10:38
seb128k10:38
seb128the silo is a bit stucked atm anyway, so no hurry10:39
seb128need to wait mterry10:39
seb128he added depends on libunity-mir10:39
seb128which is not available on all archs and restricted our set10:39
Laneywhat's that for?10:40
seb128Laney, http://irclogs.ubuntu.com/2014/05/13/%23ubuntu-touch.html#t18:4810:42
seb128is the reply I got back then when I asked10:42
LaneyI see10:42
seb128Laney, u-s-s crossbuild worked for me btw, though dpkg-shlibdeps displayed some weird unresolved symbol errors for c++ atexit symbols10:57
Laneyyeah don't know what that is10:57
Laneydid you try with proposed?10:57
Laneyapt only migrated 33 minutes ago10:57
seb128no10:57
Laneyyou might have had the old one then10:57
LaneyI think I got confused by the versions and thought it had gone in earlier10:58
seb128well, it migrated now?10:58
Laneystill, this new one works10:58
seb128great10:58
* Laney looks at colord/gtk transition11:03
=== MacSlow is now known as MacSlow|lunch
darkxsthey seb128, Laney11:22
Laneylarsu: it failed again :(11:23
Laneycolorchooser11:23
Laneyhey darkxst11:24
Laneywhat up homie11:24
larsuLaney: impossible!11:24
darkxsthave had a pretty bad cold this week, so not a whole lot really11:24
* larsu wonders why it works for him11:24
darkxstam liking the cool weather though!11:25
Laneyhah11:26
LaneyI bet it's still warmer than here11:26
Laneylarsu: http://paste.ubuntu.com/7633244/11:27
Laney1014911:27
Laneysorry for the huge log11:27
darkxstseb128, Larsu so CSD's etc are fixed in the gtk+ 3.12 upload? i.e. ok to upload things that use GtkHeaderBar once gtk propagates?11:27
darkxstLaney, aren't you guys having a heat wave? we have winter so a somewhat mild 10-15C most days11:28
Laneyit's about what you'd expect for june11:28
Laney20-ish11:28
larsudarkxst: there are no fixes for header bars on windows in those patches11:29
larsuand there won't be11:29
darkxstlarsu, so what is happening with headerbars then?11:30
darkxstapart from the usual Ubuntu GNOME wants them, and Ubuntu doesnt....11:30
larsuwe're keeping the old apps afaik11:31
larsuand make header bars work on compiz if people want to use an app without a title bar11:31
Laneyyou can do patches to make them conditional11:31
LaneyTrevinho is fixing compiz to at least make them work properly11:31
Laneyso for non-Ubuntu-default apps you can update them I think11:32
LaneyI'd wait until this compiz work goes in though11:32
darkxstLaney, I don't think its possible to patch the apps, that properly use the GtkHeaderBar API11:32
darkxstin that case gtk needs to be patched11:33
seb128hey, csd apps are not ok, no11:34
seb128compiz/unity still don't handle them11:34
larsudarkxst: I looked into that and came the conclusion that it's not feasible without a big amount of work11:34
seb128even when they do, we need to see how much UI regression it creates11:34
seb128well, that's only about things used by default on Ubuntu desktop, universe apps ... it's up to app writers to let their users down, we can't fix the universe11:35
* larsu remembers that quote. "We can't fix the universe"11:36
ochosidarn, what good are MOTUs if they can't ^ ?11:36
darkxstquite a few of our core apps are in main, since you guys stole them ;)11:37
Laneysure you can patch things to not set a headerbar11:37
seb128"stole" them11:37
seb128it's rather that GNOME took over things just because they happen to be hosted on their infrastructure11:37
ochosican't headerbars be shown conditionally, depending on the environment/desktop?11:38
seb128but let's not start arguing over that, it's not going to be constructive11:38
seb128ochosi, they can, it's "just" extra code for upstreams11:38
seb128but they need to get used that they don't get and UI working on GNOME and other desktops for free11:38
ochosisounds like a snippet that should be provided upstream, i guess that's always going to be the same code, no?11:38
seb128they have to do work to support the different envs11:38
seb128which most don't like, because it used to not be this way11:39
Laneyno, it's modifying part of your UI11:39
Laneyyou have to put the stuff in the header somewhere else instead11:39
Laneywhich is going to be different per app11:39
ochosisimple: toolbar11:39
seb128iit would be weird to have a toolbar with a cog icon only in it11:39
ochosii actually patched our theme in xubuntu (as a test) and when you hide the "close" button (we had the double-window-border issue) it looks just like a toolbar11:40
darkxstseb128, I was being somewhat sarcastic with that comment, but it is a real problem!11:40
ochosiright, that would be weird, but often headerbars have >1 item11:40
seb128darkxst, I know it is :/11:40
larsulet's please not talk about this again11:40
larsuchanging application's UI under their feet is not a good idea11:40
seb128so yeah, we are making unity handle those11:40
larsuif they want to support different desktops, it's pretty easy to do so11:40
seb128then we need to sort out the core apps issue11:40
larsu*how* it is done depends on the app11:40
seb128the default is "do not update, we need to sort them on the case by case"11:41
seb128the solutions can be11:41
larsulike seb128 said, it's not just a matter of converting a headerbar to a toolbar11:41
seb128- changing the app/patching it11:41
seb128- using a different one for Ubuntu11:41
seb128- doing a fork of the current version to use in Ubuntu11:41
seb128- other ideas?11:41
darkxstseb128, headerbar dropping window controls and traditional titlebar (for unity etc)11:42
=== ara is now known as Guest77001
seb128dropping control is not enough11:42
seb128you end up with having the app title in the wm decoration and then under it in a weird bar11:42
Laneyaaaaaaaaaanyway!11:43
seb128do we have a list of the apps that people want to update and are blocked on that?11:44
seb128gedit is likely on that list11:44
seb128nautilus11:44
seb128we should have a blueprint with the list, so we can take notes for each case11:45
darkxstseb128, nearly all the 3.12 apps are using headbars11:45
seb128I tried eog this week and it didn't seem to have those11:46
darkxstterminal is the only one I can think of that isnt, but that is blocked by other stuff11:46
darkxstright, eog might not, sushi doesnt but thats not in main11:46
seb128well, so11:47
seb128step 1 is to land the unity support11:47
seb128then we can start testing and see how things look11:47
darkxstand step 2, UG runs of time again!11:48
seb128better suggestion?11:49
seb128"let's update, screw Ubuntu Desktop users, and see what we can do to sort it out" is not a better option11:49
ochosii know flavors maybe aren't as important as unity, but it'd also screw over xfce-based flavors11:50
seb128right11:51
darkxstseb128, no that is not an option, and you know good well, we (well mostly I) have spent a good deal of time, making things compatible11:51
seb128likely some other less-used desktops as well11:51
Laneyit's not just you11:52
Laneylarsu did some patches last cycle11:52
seb128Trevinho is adding support to unity11:52
seb128so we are working on it11:52
darkxstLaney, I meant from the ubuntu GNOME side11:53
seb128but yes, it's likely to take some time and put Ubuntu GNOME in a difficult position again11:53
seb128the easiest way to avoid that is to just fork the apps that you really want to update11:53
seb128the forks could be on our side11:53
Laneyurgh11:53
seb128but just have a source for the old version and one for the new one11:53
darkxstseb128, it totally makes no sense for us to for upstream code11:53
darkxst^fork11:54
seb128well, we have choise between, screw users, fork, patch, find other apps to use11:54
Laneydecide we like headerbars11:54
seb128that's the "screw users" option11:56
seb128they are never going to be consistent with things using wm decorations11:56
seb128nor they fit our design11:57
darkxstyes I get that but there needs to be a solution11:58
seb128well, I listed the options I see11:59
seb128neither are great11:59
* larsu votes for "screw users"11:59
seb128not sure how much patching having different UIs required11:59
larsuseb128: a lot. If we want the newest apps in the gnome flavor, we should think about forking12:00
larsubut that's probably a lot of work as well12:00
LaneyI don't know how fair it is to call it screwing users12:02
Laneyit's not like we have a massive amount of consistency currently12:02
=== alan_g is now known as alan_g|lunch
darkxstright there are already apps in main using psuedo-headerbars like nautilus12:02
Laneyanyway I think patching to work without headerbars is most desirable and forking would be very sad12:03
Laneythey're like opposite ends of the spectrum to me12:03
larsudarkxst: nautilus uses a pseudo-headerbar? How so?12:03
larsuLaney: also the most work12:04
larsuLaney: I agree though, that would be the best outcome12:04
darkxstlarsu, like the top toolbar minus window controls etc12:04
seb128Laney, we are mostly consistent on things like menus and windows behaviours12:04
larsudarkxst: but it has a titlebar and a proper window menu12:05
larsubut yeah, this is where the line between headerbars and toolbars gets blurry12:05
Laneylike did we screw users by including the webbrowser-app?12:06
LaneyI think it's not very good to use that kind of term12:06
Laneybut yeah, first we need to get the support in compiz12:07
seb128Laney, yeah, I don't think the new webbrowser-app fits well on desktop atm12:08
seb128sorry for the wording :/12:08
seb128would "user experience regression" be betteR?12:08
larsufirefox -> webbrowser app is quite a UX regression12:09
seb128webbrowser-app is a user experience regression yes, and I'm not happy about it either12:09
LaneyI'd rather you avoid trying to label it at all :)12:11
LaneyYou present a list of options and each has different positives and negatives12:11
Laneyeventually we take a decision12:11
seb128that's fair enough12:11
LaneyIt's clear that the csd fix is a prerequisite to anything which involves using that stuff though12:12
Laneynow, /me moves on to fixing stuff :P12:13
Laneythere's a weird problem with dbus-activation of whoopsie-preferences in u-s-s12:13
darkxstLaney, I have hit a couple of wierd dbus-activation bugs since mid-way through trusy12:14
darkxsttrusty12:14
LaneyI blame Qt or my own shitty code :)12:14
Laneywhat problems?12:14
Laneyactually it's evan's code, not mine ;)12:15
darkxstno Qt, just stuff not activating12:15
darkxstsomewhat randomly at that12:15
Laneyit activates if I poke the interface with gdbus12:15
Laneyso I blame our code12:15
darkxstbut it always works when you call it with gdbus12:15
Laneyha12:16
darkxstLaney, I orginally thought it might have been related to changes in glib, but couldnt track anything down12:20
darkxstwell not anything useful12:20
Laneymmm12:20
Laneythis is totally not random12:20
darkxstLaney, I don't have a solid test case though12:21
=== MacSlow|lunch is now known as MacSlow
Laneygtk went in12:32
seb128\o/12:32
seb128thanks mvo!12:32
seb128Laney, thanks for looking at it and pinging people about the issues as well ;-)12:32
Laneyand doing the colord transition!12:33
Laney:P12:33
Laneyit was a good team effort12:33
seb128heh12:34
mvoseb128: your welcome, sorry for causing the blockage in the first place12:34
seb128no worry ;-)12:34
Laneylarsu and seb128 and mvo and ricotz12:36
Laneygooooo team12:36
seb128indeed! ;-)12:36
larsua "gooooo team" is a team made of goo?12:38
Laneyfunny, I did just see this video from chrisccoulson ...12:38
* larsu tries to figure out Laney's build failure now12:38
chrisccoulsonhah12:39
* seb128 notices that chrisccoulson is there when people talk about funny videos12:40
seb128chrisccoulson, hey ;-)12:40
chrisccoulsonhi seb128 :)12:40
larsuLaney: did you build gtk from my branch or did you copy the patches over?13:07
* larsu is wondering whether you forgot to copy a11y-test-update-color-chooser-output.patch13:07
=== alan_g|lunch is now known as alan_g
seb128mterry, hey13:18
seb128mterry, how busy are you with the split greeter crazyness?13:19
mterryseb128, a little busy, what you got?13:19
seb128mterry, the wizard is creating issues, see my comments on the merge request13:19
seb128mterry, basically we need to make either the wizard or the unity-mir code optional and turn it off on archs where unity-mir doesn't exists13:20
mterryseb128, ah right, I saw that comment13:20
mterryseb128, yeah OK.  I can look into making unity-mir optional13:20
seb128mterry, do you think you can work on that or do you need help doing it?13:20
seb128bregma, hey, do you need help testing the unity update for utopic? I see it's in a silo for some days13:30
bregmaseb128, no, we've been using it to test running AP tests against silos so we can get back to the level of automated tech we used in 201313:31
bregmawe're done with that for now, I'll be marking it as tested soon13:31
seb128bregma, great, thanks13:32
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
Laneylarsu: I merged the branch13:56
Laneylook at the log, you can see the patch being applied at the top13:57
Laneylarsu: http://paste.ubuntu.com/7633244/ line 204513:58
Laneyyou should set up sbuild so you can reproduce ;-)13:59
larsuLaney: ah, right. Fun.14:00
=== kenvandine_ is now known as kenvandine
seb128bregma, not sure if something changed, or if it was random behaviour and I'm lucky today, but unity8-desktop-mir keeps working after suspend/resume cycles now (using the platform-api ppa that is about to land)15:02
bregmagoody, because taht was causing me inconvenience15:03
seb128is it working for you as well?15:03
bregmaseb128, I'll be testing it in a few minutes, I'm bottlenecked on test machines at the moment15:07
seb128k15:07
bregmaseb128, Unity8 now wakes up properly when I close my laptop lid and re-open, except I seem to lose the keyboard input after that15:14
bregmamouse and touch seem to work, though15:15
seb128same here15:15
bregmaI'll test on my other machine15:15
seb128I didn't test keyboard at first15:15
seb128I was happy being able to scroll on the dash with the touch screen ;-)15:16
bregmathere's a brief time when it wakes up after sleeping where the keyboard send input to the terminal, then a flash on the screen and the input stops15:17
bregmayou need to be quick to see it15:17
=== gatox is now known as gatox_lunch
bregmahmm, my other machine does not seem to want to run Unity 8 after I install the PPA, investigating....15:19
bregmaI see "Ubuntu Platform API: Selected module is invalid -- Aborting" in the log, I'll try again....15:22
seb128bregma, do you have qtubuntu-desktop installed/uptodate?15:22
bregmaall I did was a dist-upgrade with the PPA in the sources15:23
seb128bregma, dpkg -l | grep ubuntu-application-api2-desktop15:23
bregmayes, everything seems to be installed from the PPA15:24
seb128k, I was getting that error before upgrading qtubuntu-desktop and getting ubuntu-application-api2-desktop15:25
seb128you probably have another issue15:25
bregmaah, yes, I had a custom upstart script for the session (to handle changing the scaling factor)15:26
bregmaI moved it out of the way, Unity 8 starts fine15:26
bregmaif by fine you mean teeny-weeny 300 DPI display15:27
bregma...aaaand yes, I get the same lost keyboard when I close and open the laptop lid15:28
Trevinhoseb128, larsu, Laney: as I said (to larsu) the only concern I've with headerbars in unity (excluding the design point of view, which is is pointless now), is that if the LIMs are enabled, then you'll  miss the application menu. But the good Larsu told me that the idea is to move out things from menubar and showing a menu-button, instead... And this would do15:33
Trevinhothe work.15:33
seb128Trevinho, oh, I overlooked that issue :/15:33
Laneymmm15:34
Trevinhoseb128: for 14.04 there won't the the problem, since not exporting the hint will make us free to use the title-bar anyway with no troubles... But for U is different15:35
=== Saviq|QtCS is now known as Saviq
seb128Trevinho, indeed15:37
seb128Trevinho, the LTS also doesn't have apps using CSD15:38
Trevinhoseb128: yes, not the main one,... but you know people will install from universe or with time passing, from ppa...15:38
Laneywhere does shell put it?15:38
seb128Trevinho, right, well that's the issue of those app writers and their users then15:39
Laneyat the top always isn't it15:39
TrevinhoLaney: by shell you mean unity? Becase if you use local menus, they will go into the app decoration itself...15:57
LaneyTrevinho: I meant gnome-shell15:59
TrevinhoLaney: ah, ok... that was my 1st guess, but then you mentioned "top", and you know... :)16:00
Laney:P16:00
=== bschaefer_ is now known as bschaefer
nessitahello everyone! question, I'm running trusty will all updates installed, and the X is crashing a lot to me (not sure whether is X, unity or something else)16:06
nessitaI thought nouveau drivers were the issue, so I installed nvidias, but I still get often X freezes and crashes16:06
seb128nessita, hey!16:06
nessitaany recommended procedure to debug?16:07
seb128what happens exactly?16:07
nessitaseb128, the X session freezes, but audio keeps going if I was listening to music, for example16:07
nessitaI can not change to a text console16:07
nessitaafter 2 minutes, I get the lightdm screen again16:08
seb128no apport report?16:08
nessitawhen I re-login, I get the crash report window, I enter the root password and click on 'Yes' (willing to help)16:08
seb128could you send your Xorg.0.log(.old) after getting the issue?16:08
nessitaseb128, but I never get a LP page opened16:08
nessitaso I'm not sure which bug is this (if there is any)16:08
seb128right, reports are sent to errors.ubuntu.com on stable release16:08
seb128you can go to system-settings -> privacy, there is a link to your reports16:09
nessitaah!16:09
nessitachecking16:09
seb128or you could look manually to the crash report16:09
nessitaso I can not see my report, apparently, link is https://errors.ubuntu.com/oops/ad871aca-f245-11e3-9ffa-fa163e339c8116:10
nessitabut I get "Sorry, you are not a member of a group that is allowed to see the data from error reports. Please fill out this form to request access."16:10
=== gatox_lunch is now known as gatox
nessitathe othe report I have is https://errors.ubuntu.com/oops/33c9fac2-f1a0-11e3-88c1-fa163e707a7216:11
nessitaseb128, this is my /var/log/Xorg.0.log.old https://pastebin.canonical.com/111604/ (I just rebooted from a crash that never recover by itself)16:13
nessitaI don't see any obvious error in there, though16:13
nessitaseb128, can you see my reports?16:13
seb128yes16:15
seb128one is a systemd-logind/cgmanager one16:15
seb128the other one an Xorg one16:15
nessitaso today I had a crash this morning, re-login, installed nvidia drivers and rebooted. Then I had another crash I just rebooted from, but I got no apport crash prompt16:16
nessitaI had to hard-reboot16:16
seb128do you have any recent crash in /var/crash?16:16
nessitanot even alt+sysrq was responding and CPU usage was super high16:16
nessitachecking16:16
seb128seems like a kernel issue to me16:16
seb128it's weird in those cases that vt switch doesn't work16:17
seb128or sysrq16:17
nessitaseb128, crashes from today are _lib_systemd_systemd-logind.0.crash and _lib_systemd_systemd-logind.0.upload only16:17
seb128nessita, your report matches https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/132267916:20
ubot5Ubuntu bug 1309025 in systemd (Ubuntu) "duplicate for #1322679 systemd-logind assert failure: cgmanager-client.c:6322: Assertion failed in cgmanager_list_children_sync: proxy != NULL" [Medium,Confirmed]16:20
seb128nessita, some comment mentioning removing cgroup-lite or lxc to resolve the issue16:21
seb128stgraber is assigned to the bug16:21
seb128the assert are not the same on both bugs, not sure if they got wrongly duplicated or not16:21
nessitahum, my daily work depends on LXC16:21
seb128stgraber, ^ do you know if that's a correct duplicate?16:21
seb128nessita, that report might be another issue than your xorg one though16:22
nessitaright, I was about to ask16:22
seb128the Xorg one seems to be in libexa.so but doesn't have debug infos16:23
larsuTrevinho, seb128: the application menu is merged with the menu bar when shelshowsappmenu is false16:23
seb128do you still have the report in /var/crash?16:23
nessitaseb128, I haven't removed anything from there16:23
nessitaalso, grepping on older logs in /var/log, I see things like16:23
nessita/var/log/kern.log.1:3710:Jun  7 22:25:03 dali kernel: [38658.518253] compiz[9565]: segfault at 81dcec90 ip 00007f41ae7c6e56 sp 00007fff8b995d20 error 6 in libdrm_nouveau.so.2.0.0[7f41ae7c5000+5000]16:23
seb128larsu, that's a bit orthogonal to LIM relying on compiz decorations?16:23
seb128nessita, seems like that's yet another issue, in nouveau this time16:24
nessitaseb128, right, but I switched to nvidia this morning and had a crash as well (of course I can not confirm is the same issue)16:24
larsuseb128: well, if LIM is enabled and we don't have compiz decorations (because of csd), then the app will get a traditional menu bar16:24
larsuwhich has the app menu merged with the win menu16:24
seb128larsu, is it?16:25
seb128or are we going to "eat" the menu16:25
larsuif we unset the xsettings, it is16:25
seb128but not have it render anywhere, because that particular window has no decoration16:25
larsuafaik16:25
stgraberseb128: it's probably the same issue, yes. We're yet to actually understand what the issue is though...16:25
seb128stgraber, ok, thanks, I just wanted to make sure the duplicate status is correct16:25
larsuseb128: no. GtkApplicationWindow inserts a menu into the window when ShellShowsMenubar is false16:25
seb128larsu, but are those settings by-app?16:26
larsuah wait16:26
larsuright.16:26
larsuthey aren't16:26
larsuso we'll eat the menus in that case :)16:26
seb128right16:26
* larsu <-- a bit slow today apparently16:26
seb128blame the heat!16:27
larsuthis is a weird edge case, because most applications using a header bar won't have a window menu16:27
larsubut might have an app menu, which can be displayed in the header bar, but again only when the xsetting is false16:27
larsuI hate LIM16:28
nessitaseb128, I think the crash from this morning is related to nouveau indeed, my first freeze today matches this from the kernel log:16:29
Laneylike add it to or create a gear menu in there?16:29
nessitaJun 12 11:34:26 dali kernel: [ 8609.142610] nouveau E[  PGRAPH][0000:01:00.0] DATA_ERROR INVALID_VALUE16:29
nessitaJun 12 11:34:26 dali kernel: [ 8609.142618] nouveau E[  PGRAPH][0000:01:00.0]  DATA_ERROR16:29
nessitaJun 12 11:34:26 dali kernel: [ 8609.142626] nouveau E[  PGRAPH][0000:01:00.0] ch 2 [0x001fb14000 Xorg[1559]] subc 2 class 0x502d mthd 0x0604 data 0x0010460016:29
nessitaJun 12 12:04:49 dali kernel: [10431.572929] nouveau E[Xorg[1559]] failed to idle channel 0xcccc0000 [Xorg[1559]]16:29
nessitastgraber, anything I can help regarding debugging? I'm hving crashes once a day approx (not completely sure is that exact issue though)16:39
nessitaseb128, anything you need from my /var/crash?16:39
seb128nessita, clean it and ping me again next time you have a lock/issue/report, so we have a clean state to work on16:39
seb128nessita, the current situation is a bit of a mix and not easy to debug16:40
nessitaseb128, ack!16:40
nessitaseb128, confirm you want me to run sudo rm /var/crash/* ?16:40
seb128nessita, yes16:41
seb128Laney, your cinnamon upload is blocked in proposed because it wants cogl15 and we are on cogl20, could you have a look to it?16:41
Laneyseb128: my upload?!?!?!?!?!">£K$?£K4w/r.s/fs16:42
Laneyis it blocking $stuff?16:42
seb128Laney, http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#cinnamon16:42
Laneywasn't that blocked manually?16:43
seb128Laney, https://launchpad.net/ubuntu/+source/cinnamon/1.7.4-2ubuntu6 has your name on it!16:43
Laneydid it get fixed?16:43
seb128Laney, I removed the tag, it didn't seem to make sense16:43
seb128since that package is neither in trusty nor utopic16:43
seb128but the bug mentioned is an nvidia one, I don't have hardware to try16:43
LaneyI'm not sure it's a great idea16:45
Laneythis has rcbugs in Debian and isn't in testing16:45
LaneyI think we want someone to merge 2.x16:45
seb128right, that sounds like a better idea indeed16:48
LaneyI know people do want this in, but what it misses is someone looking after it16:48
Laneythat's how it ended up out of the release16:48
Laneyif we get that, great16:49
Laneyhopefully it's syncable so that might just be a matter of watching bugs16:49
seb128right, I noticed it because it's showing on the update-excuses list16:58
seb128and it seemed desktopish16:58
seb128+1 if we can sync from Debian16:58
seb128it would make some happy users, without extra work from our side16:58
=== alan_g is now known as alan_g|EOD
Laneyokay, climbing time, see you!17:07
seb128Laney, have fun!17:08
=== ayan_ is now known as ayan
=== ayan is now known as Guest78419
=== m_conley_away is now known as m_conley
=== m_conley is now known as m_conley_away
robert_ancellRAOF, Was there a reason why XI2 wasn't a new extension? Seems kind of odd to completely replace all the requests of XI1 but still live in the same extension23:31
RAOFrobert_ancell: Versioning makes it reasonable.23:43
RAOFrobert_ancell: There's no reason a client should do both XI v1 and XI v2 at the same time, so...23:43
RAOF(Except, you know, toolkits)23:44
robert_ancellRAOF, obviously it works fine, but it means that you drag around the legacy of XI1 forever for no benefit23:44
robert_ancellPerhaps it was easier to implement in xorg that way since both extensions would use the same code23:45
RAOFXI1 was going to hang around forever anyway.23:45
robert_ancellreally?23:45
RAOFI think there have been 2 extensions removed in the history of the X server?23:46
robert_ancell_I think I saw more than that, perhaps they weren't in xfree86/sorg23:47
=== robert_ancell_ is now known as robert_ancell

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