/srv/irclogs.ubuntu.com/2017/01/20/#ubuntu-app-devel.txt

=== chihchun_afk is now known as chihchun
zsombikalikiana: we have a small problem with the theming in MainWindow09:21
zsombithe theming extension is made for QQUickItem, and that doesn't really work now on the window09:21
matv2I already asked over at #ubuntu-touch but this probably the better group09:26
matv2I did an update to an app of mine in the store yesterday which got aproved okay  but isnt getting published09:26
matv2am I missing something or is this a click store issue09:27
popeymatv2: or here :)09:34
matv2oh hi popey09:35
matv2stUd09:35
matv2is the appname :)09:35
matv2matv1 is my devname09:35
popeylooking...09:36
=== faenil is now known as faenil_
popeymatv2: click the publish button at the bottom of https://myapps.developer.ubuntu.com/dev/click-apps/4735/rev/9/09:36
matv2popey argh09:40
matv2sorry09:40
popeynp09:41
popeyit's a silly place to have a button IMO09:41
* popey pokes pindonga :)09:41
popeyyou're not the first and won't be the last not to find a button at the bottom of the page.09:41
matv2on the other hand, I apparently had no trouble finding that button the previous 8 times as this is the 9th update :) So its really me going senile. No way around it :(09:45
kalikianazsombi: Hmmmmm so QQuickWindow can't be themed, as it's a QObject... but we don't actually need to load a theme, right? All we need is to propagate the value09:49
zsombikalikiana: it can be themed, but I need to do more modifications on the UCThemingExtension and UCTheme so it works with other than QQuickItem09:50
zsombiyes, all we need to propagate the theme changes to the children09:50
zsombithat's what UCThemingExtension also does09:50
kalikianazsombi: I might have to check the code again.. I'm not sure why it would matter if it's an Item or an Object09:53
zsombikalikiana: it uses some Item specific things, but I am in the middle to adjust the things09:54
zsombiit is the UCTheme which does watch some itemXXXChanged things09:55
kalikianazsombi: Ah, I see now. We never expected to deal with objects there. I ran into that assumption even with a simple unit test earlier this week, where getting an *item* by object name used QQuickItem for no reason and didn't work for a window for that reason09:57
zsombi+!09:57
zsombiso a Window needs special treatment...09:58
kalikianaYes and no... the logic of children and properties doesn't even need an Item09:58
kalikianaBut we assume that's what we always get09:59
kalikianaThe code just has some prejudice09:59
kalikianaartmello: I don't know if you've seen yet, but your MR now gets CI results https://code.launchpad.net/~artmello/ubuntu-ui-toolkit/ubuntu-ui-toolkit-clipboard-dbus/+merge/314072 Although it looks like a flaky one anyway so you can probably ignore that and focus to the ones you're adding10:58
artmellokalikiana: yep, I saw that, thx. We got new design spec for the clipboard ui so I put the tests on hold until I finish implementing that. Hopefully I am back to finishing the tests today10:59
kalikianaartmello: Oh, okay. So just FYI if you get them ready in the next couple of days we might be having a landing including your code11:00
artmellokalikiana: cool, I think it will be done by that11:01
=== faenil_ is now known as faenil
=== faenil is now known as faenil_
=== _salem is now known as salem_
=== faenil_ is now known as faenil
dakerDoes "Ubuntu.Components.TextArea" support support "append", i only see "insert" with position15:00
daker?15:00
kalikianadaker: I'm afraid not. It's basically a matter of convenience: TextArea mirrors the most important API from TextEdit (QtQuick)15:06
kalikianaYou can use insert, effectively appending it, or of course you can just .text += as well15:07
kalikianaIf you were to propose a small MR adding "append" I'd say that's welcome - I don't know that it's absolutely necessary, personally, but it makes sense to add it for completeness15:08
dakerkalikiana: TextEdit does have "append", for now i am doing textArea.text = textArea.displayText + str15:09
kalikianadaker: Right, hence my saying 'most important API'. It's a manual cherry-picking processes where someone finds a method worth having and we add it.15:24
dakerkalikiana: ya i'll do it15:25
kalikianaCool15:29
kalikianaLet me know when you, and I'll be happy to review it15:29
dakerkalikiana: is this correct https://code.launchpad.net/~daker/ubuntu-ui-toolkit/fix.1658121/ ?15:56
=== chihchun is now known as chihchun_afk
kalikianadaker: I see some unrelated changes in there15:59
kalikianaThe last bit looks fine, though, if you could fix that15:59
dakerkalikiana: ya not sure how do you branch guys, i just pulled trunk, made the change, commited and proposed the MR against staging16:01
kalikianadaker: You need to have a branch based on staging, not trunk16:01
kalikianaProbably need to rebase it16:01
dakerkalikiana: ah ok tha's why, how can i rebase ?16:02
kalikianaOnly landings go to trunk16:02
kalikianadaker: It might be easiest to just bzr branch lp:ubuntu-ui-toolkit/staging, and copy the changed TextArea.qml there, since you don't have any other changes16:03
kalikianaAnd make a new MR16:03
dakerkalikiana: ok16:04
dakerkalikiana: https://code.launchpad.net/~daker/ubuntu-ui-toolkit/fix.1658121/+merge/31524116:13
kalikianahapproved!16:30
dakerkalikiana: thanks!16:34
=== faenil is now known as faenil_
=== faenil_ is now known as faenil
=== salem_ is now known as _salem

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