/srv/irclogs.ubuntu.com/2015/10/09/#ubuntu-unity.txt

tsdgeosbzoltan_: back sorry i had to leave early yesterday, had to accomodate for me forgetting my bag and come back after 15min of walking on the rain :D07:22
bzoltan_tsdgeos: :) No worries07:37
bzoltan_tsdgeos: we had talked about the topic with other folks.07:38
bzoltan_tsdgeos:  we can recap if you wish.07:38
tsdgeosbzoltan_: that'd be great :)07:39
tsdgeosSaviq: merged already?08:17
bzoltan_tsdgeos:  do you want a hangout or mumble?08:19
tsdgeosbzoltan_: no strong preference08:19
bzoltan_tsdgeos: https://plus.google.com/hangouts/_/calendar/em9sdGFuLmJhbG9naEBjYW5vbmljYWwuY29t.g04rj4pc565qsh6humb980bt1k?authuser=008:20
tsdgeospstolowski: so https://code.launchpad.net/~stolowski/unity8/pkg-version-into-varlib/+merge/272398 means you stop doing a dpkg -l on runtime on the plugin?08:59
pstolowskitsdgeos, yes09:02
=== vrruiz_ is now known as rvr
mzanettigreyback_, you don't happen to know of a way where I can figure the connected screens in qml?10:07
greyback_mzanetti: the multimonitor branch has a qml Screens plugin, which returns a model of the screens10:08
mzanettigreyback_, qtmir?10:08
greyback_yeah10:08
mzanettiah... I was reading through the unity8 multimonitor branch10:09
mzanettithanks10:09
mzanettiperfect, just what I was looking for10:10
greyback_cool10:11
Saviqtsdgeos, "merged already"?10:39
tsdgeosSaviq: nothing :D ignore me10:39
Saviqack10:39
=== pete-woods1 is now known as pete-woods
=== marcust__ is now known as marcustomlinson_
=== marcustomlinson_ is now known as marcustomlinson
pstolowskimzanetti, hey, i'm going to land my unity8 change in silo 3513:07
mzanettiSaviq, you ok with that? ^13:07
mzanettipstolowski, saviq is currently landing the things for us, please sync with him on conflicts13:08
mzanettipstolowski, apart from that, I'm fine with landing it13:08
Saviqpstolowski, you rebuilt today? there was a unity8 landing overnight13:08
pstolowskiSaviq, yes, I rebuilt ~2hrs ago13:09
Saviqpstolowski, ok go for it then, leave a note to QA that they're packaging changes alone13:09
Saviqso they don't spend a lifetime testing it13:09
pstolowskiSaviq, it's packaging change for unity8 only, in the plugin there is actual code change for this fix13:10
Saviqpstolowski, sure, I mean so they don't spend a lifetime testing the shell13:10
pstolowskiSaviq, ah, ok, yeah13:11
Saviqltinkl, dropped bug #1504538 on you since you're the last that touched the screen grabber :)13:17
ubot5`bug 1504538 in unity8 (Ubuntu) "Screenshots are not orientated properly" [High,Triaged] https://launchpad.net/bugs/150453813:17
tsdgeosltinkl: reportingPage vs reporting_page ?¿13:17
ltinkltsdgeos, ye, working on it :)13:17
tsdgeosk13:18
ltinklSaviq, hmm, unlikely I broke something there... but let's see13:19
Saviqltinkl, oh no, I'm not saying you broke it13:20
Saviqltinkl, just you touched it last, so might as well fix the bug :)13:20
ltinklSaviq, haha, fair enough :)13:20
Saviqltinkl, not critical of course13:20
Saviqltinkl, on that note, we should have a test for the fix you made last night13:20
ltinklSaviq, which one? the plaintext?13:21
Saviqfeed some \n\n into a notification and check that lineCount ends up expected13:21
Saviqyup13:21
ltinklSaviq, ok13:21
Saviqltinkl, but that, too, is medium prio13:21
Saviqwill add a bug so we don't forget13:21
ltinklSaviq, thx13:23
Saviqmzanetti, noticed we're not rotating in windowed mode, that on purpose?13:24
Saviqor just Not Yet There™?13:24
mzanettiSaviq, not really on purpose, no. more like not implemented yet13:24
Saviqack13:24
Saviqltinkl, bug #150454913:26
ubot5`bug 1504549 in unity8 (Ubuntu) "No unit test for multiline notifications" [Medium,Triaged] https://launchpad.net/bugs/150454913:26
ltinklSaviq, ack13:26
dandradermzanetti, what's the URL to that silos page?13:37
Saviqdandrader, https://requests.ci-train.ubuntu.com/13:38
dandraderSaviq, thanks13:39
mzanettidandrader, hey, about this one: https://code.launchpad.net/~dandrader/unity8/noStretchOnResize/+merge/27160413:39
mzanettidandrader, just to make sure we're not both waiting on each other...13:39
mzanettiso far my assumption is you'll fix the out-of-sync resizing13:40
mzanettibut we're not going for any outline or something that would require design interaction13:40
mzanettidoes that match with your state on it?13:40
dandradermzanetti, I've a big update in the works in https://code.launchpad.net/~dandrader/unity8/noStretchOnResize-WIP13:41
dandradermzanetti, gonna push to that MP once it's ready (almost there)13:41
dandradermzanetti, a much larger change though13:41
dandradermzanetti, yes, no outline13:42
mzanettiack13:44
=== marcusto_ is now known as marcustomlinson
Saviqltinkl, mzanetti, https://code.launchpad.net/~lukas-kde/unity8/platformPlugin/+merge/273974/comments/69148014:04
mzanettiSaviq, don't think so... in pocketPC mode you still don't want to shut down the phone14:05
ltinklSaviq, ye a good question :) I tend to think a phone is still a phone, with just some external devices connected14:05
mzanettiwell, I guess design could convince me otherwise...14:05
=== davidcalle_ is now known as davidcalle
mzanettiwe've discussed this for a while this morning and came to this conclusion14:06
mzanettiSaviq, as indicated by the bug kgunn reported, he seems to expect this particular thing to still behave like a phone too14:06
mzanettiunless design comes up with some more complete story around it, IMO this is the best we can do14:07
mzanettis/unless/until/14:07
Saviqok14:07
Saviqltinkl, you mention some supported values (like computer, laptop etc.) in the doc14:07
Saviqltinkl, but then use only one of them (and two others) in the code14:08
Saviqthat on purpose?14:08
kgunnmzanetti: i honestly didn't think about it until i just read saviq's comment14:08
ltinklSaviq, yup, our devices don't get detected, so the property is empty; unlike regular laptops/PCs14:08
kgunnand i do think we'll likely need to change policies there somehow14:08
kgunne.g. mouse movement should also wakeup screen14:09
Saviqoh yeah, that's for sure14:09
mzanettikgunn, definitely... silo0 actually did that14:09
ltinklkgunn, the phone screen?14:09
Saviqltinkl, both screens14:09
Saviqltinkl, and phone screen if there's no external one, I'd say so14:09
ltinklSaviq, why the phone? there's just the notice14:09
ltinklSaviq, ah right, in case of no monitor attached14:10
Saviqor maybe suspending the phone should disconnect the mouse so they can both go to sleep14:10
kgunnwell, there is a potential of a configuration w/o a screen too14:10
kgunns/screen/external monitor14:10
ltinklye14:10
* Saviq wonders if BT connection can be established when phone deep-sleep14:10
mzanettiyes14:11
ltinklwell I still do think that for this very case of power button, it should dim the screen on the phone and bring up the power dialog on a PC14:11
Saviqthen kbd/mouse input should wake yeah14:11
Saviqltinkl, eek, so unexpected14:11
Saviqltinkl, you need to do one, or the other :)14:11
Saviqnot both14:11
mzanettiSaviq, in deep-sleep, it wakes up like twice a minute for a few secs and works through things14:11
Saviqmzanetti, ack14:11
mzanettithere's a chance the mouse gave up in the meantime... but normally it would work14:11
Saviqand if it doesn't straight away you'd just press the power button on the phone14:12
ltinklSaviq, why unexpected? people are used to their phone power button to handle the screen, not to shutdown; why change it depending on whether we get a mouse connected?14:12
Saviqand if connected to power, it would work because it won't deep sleep14:12
Saviqltinkl, if it blanks the phone screen (I'm not saying it shouldn't), it shouldn't show the dialog14:13
Saviqltinkl, because then you press the phone power button to see the clock (when we have the phone working as a phone still despite an external screen)14:14
Saviqand the dialog comes up14:14
ltinklSaviq, well wait... it doesn't show the dialog :)14:14
Saviqor something14:14
mzanettiyeah, I'm with ltinkl here... even if I dock my phone to a pc, I still expect the power button to act phone-ish, not like the Power button on my laptop14:14
Saviqltinkl, owait, I misunderstood14:14
ltinklseems so :)14:14
Saviqltinkl, I read "show the dialog on the PC"14:14
Saviqas "show the dialog on the external screen"14:14
ltinklin "PC mode"14:14
ltinkllike a true PC, desktop mode14:14
Saviqltinkl, you mean, *on a PC* ;)14:15
Saviqnot in PC mode14:15
Saviqltinkl, mzanetti, should it also dim the external screen do you think?14:15
mzanettiright now I'd say yes14:15
ltinklcan't do14:15
ltinklcan we?14:15
mzanettibut again, I'd allow design to convince me otherwise if they come up with a complete story14:15
Saviqsure we can14:15
Saviqltinkl, just disable the output14:16
Saviqltinkl, screen suspends14:16
ltinklhow do we dim the external monitor?14:16
ltinklah ok14:16
Saviqwhat your laptop does today14:16
SaviqI think we actually do that with the phone already14:16
Saviqlemme connect it to my monitor14:16
* mzanetti waits for the crash :D14:16
ltinklwell I was thinking "dim == change the brightness" which we can't do obviously14:16
ltinkl(for an external monitor)14:17
mzanettithere are some that allow that too14:17
greyback_mir doesn't have any knobs for that (yet?)14:18
mzanettisounds like we found some new trello cards14:18
mzanettihandling display/kbd brightness buttons14:18
ltinklSaviq, from my MP: "To get access to platform properties like form factor to be able to distinguish whether we run on a PC or on a phone/tablet."14:19
ltinklSaviq, "on _a_ PC"14:19
ltinkl:)14:19
greyback_as it's relevant, mir is gaining api to allow shell send hint to clients of the form factor the shell has decided14:19
Saviqltinkl, I think morphis might be interested in the chassis bit (re: bluetooth device class)14:21
morphisSaviq: for sure14:22
Saviqok no, we just go *black*14:22
mzanettiheh :D14:22
ltinklmorphis, hi, what do you need it for exactly?14:22
Saviqmorphis, https://code.launchpad.net/~lukas-kde/unity8/platformPlugin/+merge/27397414:22
Saviqhttp://www.freedesktop.org/wiki/Software/systemd/hostnamed/14:23
morphisltinkl: setting the bluetooth device class14:23
ltinklmorphis, setting? isn't that what the device already provide?14:23
morphisltinkl: it isn't set in hardware14:23
ltinklmorphis, ah14:23
morphisyou have to configure that once you startup the bluetooth stack14:23
ltinklmorphis, is it bluez5 btw?14:24
morphisyes14:24
ltinklmorphis, http://api.kde.org/frameworks-api/frameworks5-apidocs/bluez-qt/html/index.html14:24
ltinklmorphis, there you go14:24
morphishostnamed is one of the things we're using14:24
Saviqltinkl, I think you're missing the point14:24
ltinklSaviq, ye maybe :)14:25
morphisltinkl: I don't need anything to access bluez5 :)14:25
Saviqltinkl, morphis maintains the BT stack for us :)14:25
ltinklah yes, that was the missing point :)14:25
morphis:)14:25
Saviqltinkl, he needs somewhere to read the hardware form factor14:25
Saviqltinkl, to set the device class appropriately14:25
morphisSaviq: the approach from https://code.launchpad.net/~lukas-kde/unity8/platformPlugin/+merge/273974 will only work for devices which provide the DMI interface14:26
Saviqseems like hostnamed could be it (we'd have to see where it gets the value)14:26
Saviqmorphis, oh ok, so that wraps DMI14:26
morphisso not on our Touch devices14:26
morphisyes14:26
Saviqok so as you were ;D14:26
morphisbluez4 did access DMI directly and now we're using hostnamed for that14:26
morphisSaviq: yeah :)14:26
ltinklthen I'd say have a look at hostnamed code; the docu says: "will be determined automatically from DMI/SMBIOS/ACPI firmware information"14:26
Saviqand we need a fallback for that on android14:27
morphisltinkl: exactly that is what it does14:27
morphisSaviq: so right now it looks like this:14:27
morphis1. If hostnamed is present and has the chassis property set, we will take that14:27
morphis2. If /etc/ubuntu-touch-session.d/android.conf has the FORM_FACTOR variable set, we will use that14:27
mzanettiSaviq, summarized my thoughts https://code.launchpad.net/~lukas-kde/unity8/platformPlugin/+merge/273974/comments/69148914:28
Saviqmzanetti, already replied14:29
morphismzanetti: +114:29
morphisltinkl: you might want to use the FORM_FACTOR variable as fallback too if you need more information on non-pc platforms14:30
ltinklmorphis, does it use the same values?14:31
ltinklmorphis, as hostnamed14:31
morphisltinkl: right now it only uses smartphone and tablet14:31
morphisbut I would vote for using the same values there14:31
morphiseverything else doesn't make sense14:31
morphisltinkl: but respect that this variable isn't there yet14:32
morphisI will introduce it soon for all devices (mako, flo, krillin, arale)14:32
ltinklmorphis, hmm, what I'd like to see is hostnamed uses a config file, and we fill it with our own default values for the known products14:32
Saviqmorphis, we only really need to know if we're on a pc now14:32
Saviqltinkl, yeah, if only hostnamed accepted that upstream ;)14:32
ltinklmorphis, then you wouldn't need a separate config file14:32
morphisltinkl: we could try to extend systemd, yes :)14:32
ltinklSaviq, I think it would, those properties are read/write14:33
morphisthey are rw?14:33
ltinklyes14:33
morphiswhy that?14:33
Saviqltinkl, we need to think about replacing that whole file with something smarter (see ubuntu-phone ML re: bluetooth device class)14:33
ltinklman hostnamectl14:33
Saviqltinkl, when we get there, that will definitely be one option14:33
morphisltinkl: I see14:34
morphisltinkl, Saviq: we could also go the way that we setup an upstart job on touch which calls hostnamectl set-chassis <value from FORM_FACTOR>14:34
ltinklyup, that would be nice14:34
ltinkl(if we can't go with a config file)14:35
morphisltinkl: still have to extend systemd to acccept "smartphone"14:35
ltinklI don't see why not, the other systemd services have them too14:35
ltinklmorphis, there is a value for that already, "handset"14:35
Saviqmorphis, yeah, it feels like hostnamed would be "downstream" for our whole solution for the android.conf replacement14:36
Saviqmorphis, especially as we have more values than fit there14:36
Saviqbut sounds like bug #1427106 could be fixed with hostnamed14:37
ubot5`bug 1427106 in ubuntu-system-settings (Ubuntu) "[System Settings] There should be a way to set a custom device name" [Low,Confirmed] https://launchpad.net/bugs/142710614:37
morphisltinkl: hm14:37
ltinklSaviq, so for that bug, there is a way14:37
ltinklSaviq, at the same service, there is PrettyHostname field that can be set14:38
morphisltinkl: that is doable if we take "handset" for our phones14:38
ltinklSaviq, which is basically your custom device name14:38
morphisltinkl, Saviq: https://github.com/systemd/systemd/blob/master/src/hostname/hostnamed.c#L10114:38
ltinklmorphis, haa nice, so /etc/machine-info it is :)14:39
morphisltinkl: so we have that config file already14:39
ltinkleven better14:39
morphisltinkl: only the question if our hostnamed in the overlay-ppa already supports it :)14:39
ltinklmorphis, heh, easy to try out :)14:40
ltinklmorphis, this is krillin as of now: http://paste.ubuntu.com/12724041/14:41
ltinklmorphis, let me try to create that config file there14:41
morphisworks14:41
ltinklok :)14:41
ltinklmorphis, you mean with your custom config?14:42
morphisso now the questions is where does /etc/machine-info come from14:42
morphisltinkl: just added CHASSIS="handset" to /etc/machine-info and restarted hostnamed14:42
morphisthen it turned up in hostnamectl14:42
ltinklnowhere currently, I guess we need to ship it with the device images14:42
morphisnot sure if we are not doing that already14:43
ltinklno idea14:43
morphisotherwise we can easily do that14:43
morphisltinkl, Saviq: I will take care to sort that14:44
ltinklmorphis, great, thx14:44
morphisbut good that we've found this14:45
morphisthen we don't need this FORM_FACTOR one anymore14:45
ltinklheh, it now supports "watch" as well as the form factor :D14:45
* ltinkl missing "brain_implant"14:45
morphis:D14:46
Saviqmorphis, ltinkl, I'd say it gets generated with defaults by hostnamed14:52
morphispossible14:53
ltinklSaviq, generated? I don't have it14:53
morphisbut I doubt that on the phone if the file isn't mounted as read-write14:53
Saviqltinkl, on phone I do14:53
ltinklah14:53
morphison mako it exists14:53
Saviqbut indeed on laptop I don't14:53
ltinklso which package does it come from?14:54
ltinklif any14:54
Saviqooh that's where PRETTY_HOSTNAME is stored14:54
Saviqltinkl, must come from device tarball14:54
ltinklok, so we can also ship the form factor thingy14:54
morphisright14:54
ltinklon PC it's probably only detected at runtime14:55
ltinklsince a PC has a BIOS14:55
tsdgeosmzanetti: https://code.launchpad.net/~aacid/unity8/use_sdk12/+merge/273182/comments/69150214:57
mzanettitsdgeos, mhm, fair enough14:58
mzanettitsdgeos, but hmm... if we're going to move to 1.3 for ota8, we probably should get those fixed asap15:11
tsdgeosone is merged into staging already15:12
tsdgeosthe other one let me check15:12
* tsdgeos opens15:12
tsdgeoshttps://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/abstractbutton_longpress/+merge/272926 hasn't landed yet15:14
tsdgeosor it has15:15
tsdgeosit has15:15
tsdgeoslet me retriiger CI then15:15
tsdgeosdone15:18
=== dandrader is now known as dandrader|afk
TJ-is anyone actively investigating bug 987060 ?16:13
ubot5`bug 987060 in Unity HUD "massive memory leak in unity-panel-service and hud-service when invoking the hud on Firefox profiles with large amounts of bookmarks LTS 12.04 14.04" [Critical,Confirmed] https://launchpad.net/bugs/98706016:13
=== alan_g is now known as alan_g|EOW
=== lborda is now known as lborda-sprint
=== dandrader|afk is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== Guest87130 is now known as balloons

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