/srv/irclogs.ubuntu.com/2015/09/11/#ubuntu-app-devel.txt

brianMchello00:10
brianMcls00:11
=== chihchun_afk is now known as chihchun
=== chriadam is now known as chriadam|away
NymeriaFrHello08:47
NymeriaFrSomone already had a problem with translation ?08:48
kivihi all08:58
JamesTaitGood morning all; happy Friday, and happy No News is Good News Day! 😃09:12
=== JMulholland_ is now known as JMulholland
=== javiercrowsoft1 is now known as javiercrowsoft
jdstrandmzanetti: hey, asking you cause you always seem to have the answer :) feel free to disregard/point me somewhere else if you don't know otoh (ie, don't waste time on this)13:59
jdstrandmzanetti: I have two apps that don't handle screen rotation well (blabble and a chess program I am writing)14:00
* ogra_ notes down "zanetti always has the answer" ...14:00
jdstrandmzanetti: it is fine in portrait, but landscape isn't14:00
jdstrandmzanetti: 'automaticOrientation: false' in MainView doesn't seem to inhibit the rotation. only if I use the indicator to pin it14:01
ogra_jdstrand, i think thats handled by u-a-l, so needs to be in the .desktop file14:01
jdstrandmzanetti: is there something else in MainView I should be using or do I have to add logic to deal with the rotation (and if that is the case, is there a guide?)14:02
jdstrandoh14:02
jdstrandhttps://wiki.ubuntu.com/Unity8/FullShellRotation14:03
jdstrandX-Ubuntu-Supported-Orientations=portrait14:03
jdstrandmzanetti: nm, but thanks anyway :)14:03
jdstrandogra_: thank you :)14:03
mzanettijdstrand, hey, sorry, having a day off and am mostly afk today14:04
jdstrandmzanetti: no worries at all-- sorry to disturb you :)14:04
mzanettino prob. always happy to help14:04
jdstrandthanks :)14:04
mzanettijdstrand, so, nothing to do in the code (except maybe adjust the layout of your buttons if width > height or similar)14:05
mzanettijdstrand, so far everything is handled by the .desktop file. but I'm arguing for an api that lets us change the setting at runtime for the future14:06
jdstrandack14:08
ogra_mzanetti, it is also currently horridly broken14:08
mzanettiogra_, what?14:08
ogra_well, locking the screen forces to portrait ... unlocking usually gets you a mashed up image of the app then and such stuff14:09
ogra_forcing something vs using the physical orientation doesnt really work well ... (i know that will be fixed once scopes and greeter support it)14:10
jdstrandyay it worked :)14:16
jdstrandhuh, nearly half of the downloads by country are from the UK. guess it is a good thing I added the UK dictionary :)14:21
* jdstrand goes back to something productive14:21
ogra_jdstrand, thats all popey's scripts :P14:22
jdstrandhaha14:22
jdstrandfyi, I'm happy to add other wordlists if people want to submit them14:23
jdstrandI managed to cobble together a massive spanish one...14:24
jdstrandok, really getting back to something productive14:24
t1mpzsombi, kalikiana: when should Header.exposed be updated? 1) when the animation to show/hide the header is finished 2) when the animation starts 3) when flicking such that releasing would cause the header to be shown/hidden ?15:58
=== balloons_ is now known as balloons
zsombit1mp: what if you would have enum there, and cover all?16:01
zsombit1mp: or have a status property and exposed bool16:02
zsombit1mp: in which case the exposed should be set 1)16:03
kalikianazsombi: t1mp why not have a .moving property? in conjuction with .visible that should be self-evident16:06
kalikianaaside from that I would probably expect that .exposed is visible && !moving16:07
t1mpkalikiana: I have visible, exposed, and moving16:24
t1mpkalikiana: basically I don't touch visible so it is always true. It is the property inherited from QQuickItem and it is FINAL so I cannot replace it16:25
kalikianat1mp: doesn't visible become false when it's hidden?16:25
t1mpkalikiana: moving is obvious, that one is true iff the user is flicking the flickable, or the header is animating to fully exposed/hidden position16:26
t1mpkalikiana: I could make it false when it is completely hidden.16:26
t1mpkalikiana: how is that related to when the value of exposed is changed?16:26
kalikianat1mp: because to me !visible && !moving is the same as !exposed16:27
kalikianaor just !visible effectively16:27
kalikianat1mp: I don't really see what case there is that's not explained by those two properties16:28
t1mpkalikiana: right. when !moving, the values of visible and exposed are clear16:28
t1mpkalikiana: ah16:28
t1mpkalikiana: the developer can do exposed = false in order to hide the header16:28
t1mpkalikiana: doing that will animate the header out of the view16:28
t1mpkalikiana: when you set visible to false, it would just disappear16:28
t1mpI cannot use 'visible' for opening/closing the header because it basically sets the opacity, doesn't animate the y-value as I want to16:29
kalikianat1mp: even if you have a behavior on it?16:29
kalikianahmm yeah probably same thing16:30
kalikianat1mp: so if exposed is set by the developer it would have to be updated right away when the animation starts - that is what has to happen if the developer sets it, anything else would be inconsistent16:31
t1mpright. So then the value is updated when the animation starts16:33
t1mpexposed can also change because the user flicks the flickable. I can update 'exposed' then when the user releases and the animation starts16:33
t1mpso basically the same. I update the value when the (internal) show()/hide() functions are called.16:33
kalikianayeah16:34
kalikianathat would make sense to me16:34
balloonssverzegnassi, I'm rebuilding all the old mp's now. Jenkins is passing things16:40
t1mpkalikiana: cool, thanks. I'll do it like that :)16:46
t1mpkalikiana: actually I implemented updating exposed when the animation is done, but it is easier to update it when the animation starts16:47
nemomcphail: another month, another ping ☺16:59
kalikianat1mp: I thought that's what we agree should happen anyway? if you manually set exposed = true that is necessarily before anything moves, which is why I argued in favor of that17:14
kalikianaergo exposed updates at the start of the animation for consitancy17:14
sverzegnassiballoons: great! thank you!17:34
t1mpkalikiana: right. That's what we agreed on now, but that's not what I have implemented yet18:05
t1mpfirst I implemented the more complicated way of doing it ;)18:05
kalikianaah I see now18:06
mcphailnemo: how's it going?20:52
popeyevening mcphail20:52
mcphailpopey: good evening20:52
mcphailnemo: you around on Monday evening? We can have another look at this20:53
=== Inglebard1 is now known as Inglebard
nik90zsombi: hey, is it possible to access Alarms enum variables like status, daysOfWeek etc from C++ ?22:42
nik90zsombi: and https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1486008/comments/13 :)22:44
ubot5Ubuntu bug 1486008 in ubuntu-ui-toolkit (Ubuntu) "[sdk] leading actions width is too small making it very difficult to press" [Medium,Confirmed]22:44
nik90thnx Elleo22:44
Elleonik90: yeah, I've just been sorting out the last podbird tweaks and found that super annoying with the new listitems, so thought I'd better figure out what was going on :)22:45
Elleonik90: I might temporarily ship a patched ListItemStyle.qml with podbird so we don't have to wait for OTA-7 for it to get fixed22:46
nik90Elleo: Ah ok .. a temp style file for now should do the trick.22:47
Elleoyeah, I've got a hacky fix at the moment that'll work, but I might wait to see how zsombi fixes it properly and include that instead22:47

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