/srv/irclogs.ubuntu.com/2016/04/21/#ubuntu-app-devel.txt

liuxgdoes anyone know how to capture a screenshot from M10 device?01:31
ogra_Press both volume keys01:38
liuxgogra_, thanks. how about  phablet-screenshot, it is not working.01:43
=== chihchun_afk is now known as chihchun
=== shuduo-afk is now known as shuduo
=== alecu_ is now known as alecu
=== athairus is now known as afkthairus
=== chihchun is now known as chihchun_afk
t1mpmardy: I read the code you attached to https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/157252508:52
ubot5`Launchpad bug 1572525 in ubuntu-ui-toolkit (Ubuntu) "[regression] Double header height is set as flickable topMargin" [High,In progress]08:52
t1mpmardy: the solution can work (I haven't tested it yet). But it still leaves the question what we want the behavior to be08:52
t1mpand in the case of your app, perhaps we should lock the header. Did you manage to talk to a designer about it?08:53
t1mpmardy: I have seen some designs for animations when switching between "sections" in the header. They do something similar, so I'll talk to the designers to clear up how that would work together with the header08:54
=== chihchun_afk is now known as chihchun
mardyt1mp: hi! Sorry, didn't hear the pings09:27
mardyt1mp: the thing I disagree about, is the order of how to proceed: first, I think we should try to fix the bugs we have, without changing behaviour; then *if* we have a solid reason to change behaviour, we do that09:38
t1mpmardy: we considered the old behavior to be a bug, because it ignores the existing topMargin09:38
mardyt1mp: yes, because you developed this component so you know about its drawbacks; but I would argue that other developers won't notice it (and so far, they didn't)09:39
mardyt1mp: noone uses that topMargin property :-)09:40
t1mpnobody could because it was broken09:40
mardyt1mp: true, but nobody reported it...09:41
t1mpmardy: for Ubuntu.Components 2.0 we are considering the Header not to touch the margins at all, so then the app developer would always have to add topMargin: header.height explicitly in the code09:41
t1mpjust fyi :)09:41
t1mpthe disadvantage, of course, is that maybe this will have to be done for each Flickable.09:41
t1mpmardy: if nobody reports it does that mean we should leave it "broken"?09:42
mardyt1mp: why not add a property to the header? ("bindToFlickable: true" or something like that)09:43
mardyt1mp: I think so... it's documented to be like this, and if you don't like the word "broken" you can say that it's a current limitation :-)09:44
t1mpadding properties to components is possible, but we like to keep the API basic, so as few properties as needed, because adding that property means extra maintenance (of the property and two different behaviors), and less clean API09:47
t1mpand UITK 1.3 is still considered under development, so if we have behavior that we think is a "current limitation" ;) then we can fix it09:47
t1mpzsombi: stop me if you think I am speaking nonsense :)09:49
mardyt1mp: well, AFAICR noone told me that 1.3 is under development09:53
mardyt1mp: here it's listed as current: https://developer.ubuntu.com/api/apps/qml/09:54
t1mpmardy: well the PageHeader was introduced quite recently, see https://developer.ubuntu.com/en/blog/2016/02/01/ui-toolkit-ota9/ and https://developer.ubuntu.com/en/blog/2016/02/24/pageheader-tutorial/10:00
t1mplet me see if I can find the blog post about the UITK versions10:01
t1mpthe API docs don't always show the correct information w.r.t. stable/in-development versions as far as I know10:01
davidcallet1mp: this should be fixed afaik10:07
davidcallet1mp: if you see a mistake there, please keep me updated :)10:08
t1mpdavidcalle: ah, right. :)10:09
t1mpmaybe what we need is to add a description of our policy, to make clear what is stable and what is under development10:09
=== marcusto_ is now known as marcustomlinson
davidcallet1mp: indeed. In any case, if there is a change needed, we have a way to quickly change what's tagged as current and development.10:14
* davidcalle -> lunch10:15
kalikianamardy: Current means that it's in stable images. That doesn't contradict the API changing. And UITK isn't the only one affected.10:19
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== pat_ is now known as pmcgowan
JeanLuc__hi, has anyone any idea why my gtk-app does not have a shadow around the window when running in 16.04? Just received this bug report and have no idea why this is happening: https://github.com/jangernert/FeedReader/issues/8514:17
=== afkthairus is now known as athairus
=== ahayzen_ is now known as ahayzen
=== oSoMoN is now known as oSoMoN|afk
=== ahayzen_ is now known as ahayzen
=== javiercrowsoft1 is now known as javiercrowsoft
=== javiercrowsoft1 is now known as javiercrowsoft
=== daker_ is now known as daker
=== dpm is now known as dpm-afk
=== oSoMoN|afk is now known as oSoMoN
=== chihchun is now known as chihchun_afk
OrphisHey, anyone here? I'm from Spotify, just upgraded to 16.04 and the sound on my HTPC is all broken with kernel 4.4. Using 4.2 from wily is alright. I'm worried that users might have similar issues when using a similar setup22:02
OrphisSo, is anyone aware of sound issues on 16.04 with hda-intel audio and various popular apps like Spotify, Chrome or Kodi?22:03
JanCOrphis: this channel is for Ubuntu (Touch) app development22:28
JanCmaybe search on launchpad to see if there are any bugs about that22:28
OrphisThis channel is read by actual Ubuntu engineers and in the past, it's the only way I could reach them!22:29
popeyOrphis: hello22:29
Orphispopey: Hello!22:29
popeyOrphis: interesting. I use spotify with 16.04 on intel with 4.422:29
JanCand there should be developers/engineers in more appropriate channels too  :)22:29
popeythe only reason engineers aren't about is because it's release day and ~midnight in europe22:30
OrphisJanC: Well the "customer" support in #ubuntu is full of random people having issues, some a bit more knowledgeable but it's rare to have a proper fix22:30
popeyOrphis: how is it broken?22:30
popeyother audio apps work but spotify doesn't?22:31
Orphispopey: I cannot get any sound at all through Pulseaudio using hda-intel and hdmi output. Default configuration. It used to work with 4.2 and doesn't with 4.422:31
OrphisI confirm the same packages work when I use older kernel22:31
OrphisKodi doesn't work either22:31
popeyah, I'm not doing hdmi audio here22:31
OrphisI can fiddle in vlc and get audio if I point to alsa and not pulse22:31
OrphisChrome doesn't work22:32
JanCOrphis: there is also -devel and -desktop and -kernel etc.  :)22:32
JanCis pulseaudio running?22:32
OrphisI'm worried that users complain that Spotify is failing22:32
OrphisYes, it is22:32
popeyok, can you file a bug - "ubuntu-bug linux" and ping me the bug number and I'll speak to someone tomorrow22:32
popeyput in the bug which 4.2 kernel and 4.4 kernel you tried22:33
Orphispopey: Great, thanks. I'm available for debugging the issue if needed22:33
popeyoh, and you've been in to the mixer and fiddled?22:33
JanCand I assume you also checked all the volumes22:33
popeylike system settings -> audio and chosen output and made sure you can play a test sound over hdmi?22:34
Orphispopey: Yes, nothing is muted. I can play sounds in the "test sound" panel, but if I start any other app, then it stops working22:35
popeyhow odd22:35
popeyI'm gonna blame intel right off the bat :)22:35
popey(I kid)22:36
OrphisAlso, fun bug, it doesn't play the "front" part of "front left/right" the first time I click on the button22:36
OrphisAs if i takes a second to initialize / log the sound22:36
popeyOrphis: https://bugzilla.redhat.com/show_bug.cgi?id=131343422:36
ubot5`bugzilla.redhat.com bug 1313434 in kernel "No audio with kernel 4.4" [High,New]22:36
popeyworth a look22:36
JanCdid they change how ALSA represents the audio device?22:38
JanCIIRC there were some changes with how it represents surround that can confuse PulseAudio?22:39
OrphisInteresting. Looking into that br22:39
JanCremember reading something about that on the PA mailing list some time ago22:39
Orphispopey: So I should recompile my kernel with the option enabled?22:40
OrphisThat's going to be a fun one22:41
popeyI don't know22:42
popeyfirst I've heard of it is you saying it and a quick google22:42
OrphisBut it could definitely be related22:42
Orphispopey: So the option seems to have been compiled in22:49
popeyOrphis: ok, sorry, I don't know more. I'd file a bug.22:52
Orphispopey: It's quite late over here, I'll do that tomorrow22:54
popeyOrphis: kk23:08
OrphisSure!23:09

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