/srv/irclogs.ubuntu.com/2017/02/28/#ubuntu-app-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
zsombi_daker: it has been agreed that we won't provide more features to UITK 1.3, as it has been kept open for too long, and we need to move forward. That move is getting everything we can upstreamed, and move towards QQC2. Mixed checkbox status feature is there in QQC2, and it would be a new feature into UITK 1.3 which woudl require major refactoring of the component, which we don't want07:28
mptkalikiana_, oh dear, I’d forgotten about that :-)08:12
=== JanC is now known as Guest13435
=== JanC_ is now known as JanC
=== JamesTait is now known as Guest52630
=== Guest52630 is now known as JamesTait
=== JamesTait is now known as Guest48538
=== Guest48538 is now known as JamesTait
tsdgeoseasy one! https://code.launchpad.net/~aacid/ubuntu-ui-toolkit/anchors_cant_be_null/+merge/31845010:09
tsdgeoskalikiana_: zsombi_: ↑10:10
zsombi_tsdgeos: checking10:10
zsombi_tsdgeos: are there many things you guy sstill use from ListItems?10:11
tsdgeosno clue10:12
tsdgeosi guess yes10:12
tsdgeos$ wcgrep Ubuntu.Components.ListItems | wc -l10:12
tsdgeos2510:12
tsdgeosnot sure if all those imports are *really* needed10:12
zsombi_anyway... it'll stay in UITK1.3 as deprecated, just wanted to know how much effort would be to drop it...10:13
zsombi_tsdgeos: let's wait CI to finish it and then it can get into staging10:13
=== zsombi_ is now known as zsombi
tsdgeoszsombi: we can always copy the stuff over :D10:15
zsombiLOL10:15
tsdgeosi know we use ThinDivider "a lot"10:15
tsdgeosnot sure about the other stuff10:15
tsdgeoszsombi: PageStack.push creates the pushed component synchronously?10:30
zsombitsdgeos: yes10:30
tsdgeosk, tx10:32
tsdgeoszsombi: how scared should i be about http://paste.ubuntu.com/24083574/ ?10:46
dakerzsombi: i see, i wasn't going to implement that, i was just wanted to add support for the label10:49
zsombitsdgeos: I don't think you should be scared :)10:51
zsombidaker: label support is fine :)10:51
kalikiana_Hmm looking at that "new PropertyChange", it seems legit10:52
kalikiana_Once created, nothing keeps track of it10:52
tsdgeoskalikiana_: i guess my question is more, is this something that happens once or is it something that happens "a lot"10:53
kalikiana_tsdgeos: A dozen times at startup perhaps10:57
kalikiana_Something like that10:57
tsdgeosyou sure?10:57
tsdgeoswouldn't i get one per each pagestack thing?10:57
kalikiana_Okay, correction, two dozen10:58
kalikiana_Checked with the gallery10:58
kalikiana_No page open10:58
tsdgeoshow do you build the uitk with debug?10:59
tsdgeosqmake CONFIG+=debug10:59
tsdgeosdoesn't seem to be working10:59
tsdgeosand it works now10:59
tsdgeos\o/10:59
tsdgeosjust had to say here it didn't wokr11:00
kalikiana_tsdgeos: I just did it snappy style, using qDebug, and looked at the bindings created11:01
tsdgeosok11:01
kalikiana_zsombi: Would qDeleteAll be deleting the PropertyChange objects? The comment says "restore" which isn't really clear to me11:06
zsombikalikiana_: qDeleteAll applied delete on any container, so yes, it will11:07
zsombiand PropertyChange does the restore11:07
zsombiso yes :)11:07
kalikiana_zsombi: So restore here means if the bindings are deleting, the old values would be used?11:08
kalikiana_I think the wording just might be confusing me11:08
zsombikalikiana_: yep... pretty ambiguous :D11:08
tsdgeoszsombi: kalikiana_: qDeleteAll is on m_propertyBackup, those PropertyChange are not stored there11:08
tsdgeoskalikiana_: i just add that qDebug you mentioned, and i get them all the time i add a page, so basically "very important memory leak"11:09
zsombitsdgeos: where was this code?11:09
tsdgeoszsombi: which code?11:09
zsombithe one leaking11:09
zsombitsdgeos: in teh UCStyleHints?11:10
tsdgeosucstylehints.cpp:25111:10
tsdgeosyes11:10
* zsombi was wondering as we have two places with PropertyChanges11:10
kalikiana_tsdgeos: That's what I'm trying to verify (if they are in the list). Different variables with the name "change" are used it seems11:10
zsombilet me get an eye on it as well11:10
kalikiana_And the later one isn't added to the list11:10
tsdgeosyeah the second one is not on the list11:10
tsdgeosshould it be, no idea :D11:11
kalikiana_I think it should11:11
kalikiana_tsdgeos: Although I might wonder, if they aren't added, shouldn't there be visual artifacts11:11
kalikiana_But it could be something very subtle as well, if it's overriden anyway11:11
kalikiana_You wouldn't see it unless you're actually changing the style/theme11:12
zsombihmm...11:14
tsdgeoskalikiana_: my understanding is that they're "lost in space"11:15
tsdgeossince i delete the page they applied to11:16
tsdgeosso they don't cause errors11:16
tsdgeosbut they cause memory to grow11:16
tsdgeosbus, bbl11:16
kalikiana_tsdgeos: If the page is deleted, sure. What I meant is, it could also be relevant to changing styles, but it's far less common11:20
kalikiana_But I think we agree we'll want to add it to the list11:21
tsdgeoskalikiana_: zsombi: adding the "m_propertyBackup << change;" to the second branch fixes the leak, no idea if it's the correct thing to do though, want a MR?11:51
zsombitsdgeos: drop one, I'll check it!!12:29
kalikiana_+112:36
dakerzsombi: when you say move towards QQC2, what do you mean by that ?12:53
dakerrewrite the sdk with QQC2 as a base ?12:54
zsombidaker: I mean we are planning to get QQC2 controls based UITK2.0 so we provide a QQC2 style module where we put all Ubuntu specific things12:54
dakeri see12:54
tsdgeoskalikiana_: zsombi: https://code.launchpad.net/~aacid/ubuntu-ui-toolkit/fix_ucstylehints_leak/+merge/31847813:36
zsombitsdgeos: taking it13:36
zsombitsdgeos: dohh :D13:42
zsombijust checked the context the change wasn;t pushed into the container... o m f g...13:44
zsombiwhat a horrible mistake...13:45
zsombitsdgeos: thanks for fixing that!!!!13:45
Mirvtsdgeos: fixing bits on top of Qt 5.6.2 seems better but still not there - https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2519/+packages (amd64, i386, armhf just symbol changes). qml-test:item-grabber failing on (32-bit) powerpc and s390x. staring at http://code.qt.io/cgit/qt/qtdeclarative.git/log/?h=5.6 (5.6.2 tag on the next page), can you think of anything besides the three already13:47
Mirvadded to try?13:47
Mirvwe now have the data point that 5.7.1 worked on all archs, which is nice13:49
tsdgeosMirv: i take 5.6.1 worked?13:50
Mirvyes, and 5.6.2 without those patches13:51
tsdgeosMirv: which patches?13:51
Mirvtsdgeos: those in the silo, to fix V4 address bit use13:51
Mirvactually, scratch that. I now remember and see that Debian decided to make the failures non-fatal13:53
tsdgeosi don't see why itemgrabber would fail13:53
tsdgeoscan you point me at the patches exactly?13:53
tsdgeosi can't seem to get them from https://bileto.ubuntu.com/#/ticket/251913:53
Mirvtsdgeos: so actually I think this is not a regression13:53
Mirvjust me enabling more tests than Debian now13:54
Mirvtsdgeos: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2519/+sourcepub/7517250/+listing-archive-extra but those are not related, sorry13:54
Mirvbut as usual it's good to open one's mouth and one sees more than before13:54
tsdgeosok :)13:54
tsdgeosno worries13:55
Mirvso yes this is definitely better that it was on top of 5.6.113:55
=== tedg_ is now known as tedg
kalikiana_zsombi: That was what we were discussing earlier. The re-use of variables makes it less obvious. Although I don't have a specific idea on how to improve it atm.14:58
kalikiana_But for now it's good we found the leak.14:59
zsombikalikiana_: the biiiiig mistake was that in the loop the change wasn't pushed into the container, whereas in the previous one it was...14:59
kalikiana_zsombi: Yes. And if you just casually go through the code, you will see "aha, it's in there" because the variable has the same name.15:00
kalikiana_daker: Regarding the checkbox. I don't think we want to have any new API here, specifically the checkedState. We don't implement tri-state and if you need that, I'd like you to consider QQC2 for that instead.16:07
dakerkalikiana_: sure, i'll revert that, first i'll fix the label positionning, then we can discuss how to implement that using QQC216:09
kalikiana_Oaky16:15
kalikiana_daker: I commented on the MR https://code.launchpad.net/~daker/ubuntu-ui-toolkit/fix.1333228/+merge/31831116:37
dakerkalikiana_: yes, i still didn't finish work on that one, when using \n lineCount is always 1 and the label doesn't wrap correctly16:40
kalikiana_No rush. I just find it useful to document the current state in case others are looking at the branch and wondering if you're waiting for review.16:41
kalikiana_You might want to mark it as "Work in progress" if you didn't want any review16:42
dakerkalikiana_: thanks16:44
dakerkalikiana_: what branch should i use to propose a QQC2 checkbox style module ?18:43
kalikiana_daker: https://github.com/CanonicalLtd/uitk2/tree/dev18:44
dakerkalikiana_: ok18:45

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