/srv/irclogs.ubuntu.com/2016/03/23/#ubuntu-app-devel.txt

=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
liuxgdoes anyone know how to use the Window API from   QtQuick.Window 2.2. When I use it, I cannot see any window created in the app. thanks08:26
zsombidpm: hello there, I'd like to add a new tutorial page to the d-u-c, can I do it myself?11:09
zsombidpm: do I simply go to d-u-c QML tutorials, and add a new sub-page?11:11
dpmzsombi, sorry, I was on the phone. Exactly, davidcalle can help you with getting set up11:27
zsombidpm: davidcalle: ok, I navigated to the Tutorials page, then created a sub-page... still editing11:28
dpmok, great11:28
zsombidpm: davidcalle: guys, I have a small issue in this page https://developer.ubuntu.com/en/ubuntu-ui-toolkit-palette/12:22
zsombiin the first table, the last column's cell background color should be set to the proper color12:23
zsombiI tried with <td bgcolor="whatevercolorcode"></td> but that doesn't seem to work...12:23
dpmdavidcalle, I think the web guidelines don't support that and a regular html table with the raw html plugin should be used? ^12:24
zsombidpm: davidcalle: basically that's the only issue which is left from me publishing it...12:25
zsombifaenil: I think I made it :)12:30
zsombifaenil: ah, sorry, not you, I meant dpm :)12:32
=== _salem is now known as salem_
zsombidpm: seems davidcalle is not around... interestingly, even if I created the tutorial page as subpage while I was in https://developer.ubuntu.com/en/apps/qml/tutorials, the URL I got is by far from being relative to that location... is that intended?12:36
zsombidpm: ok, managed to get it out, so th epalette tutorial is available for the audience! https://plus.google.com/+ZsomborEgriCanonical/posts/5qQ8uKmh4ah12:48
dpmzsombi, sorry, just got back from lunch. Great to hear you figured it out!12:59
=== chihchun is now known as chihchun_afk
zsombidpm: we still seem to have issues.... we got reported that from the three images in the tutorial, only two can be seen... I've insetred these last two ones as a PNG file, published teh changes, but the tutorial still has the reference to the Googlke docs...13:13
dpmzsombi, I'm on a call, and I believe davidcalle too, but I will look at it in ~45 mins. Did you use the image plugin to upload the images to the site?13:19
zsombiok, sorted out this one as well13:19
dpmzsombi, you're too quick for us! :)13:20
zsombidpm: yes, I did it, and the images were still not updated, despite I published teh changes...13:20
zsombiI did it again... and then they were out...13:20
zsombiweird tool is this CMS...13:20
davidcallezsombi: I'm in a call in 40 min, not right now :) So, there has been an upgrade of everything on the site last night, except the blog engine unfortunately, still stuck in the middle ages, what was the issue exactly? Did the image upload looked like it failed?13:22
davidcallezsombi: oh, it's NOT the blog engine on your page, hmm13:23
zsombidavidcalle: we are good with it seems... you can check the d-u-c QML -> Tutorials -> The Palette link, if everything is fine with it...13:23
davidcallezsombi: what's not fine is the path of the page https://developer.ubuntu.com/en/ubuntu-ui-toolkit-palette/ (should be en/apps/qml/tutorials/)13:25
davidcallezsombi: I'm going to make it a redirect to the right path13:26
zsombidavidcalle: well... it's utmost weird that by creating a sub-page, while I'm in a page, it creates me the sub-page in a totally different place...13:27
davidcallezsombi: yup. I'll see if I can reproduce it.13:29
zsombidpm: and one more post :) https://plus.google.com/+ZsomborEgriCanonical/posts/fiG2NVpA5e813:29
davidcallezsombi: everything looks fine on this page? https://developer.ubuntu.com/en/apps/qml/tutorials/ubuntu-ui-toolkit-palette/13:35
davidcalleAs soon as you type "yes", your former URL will redirect to the correct one.13:36
davidcalle(We should have a "yes" bot that triggers actions)13:37
zsombidavidcalle: "yes" :)13:39
davidcallezsombi :)13:40
mhall119zsombi: nice blog post13:55
timpzsombi: we should spread the link of the palette post also on G+/mailing list/...14:13
timpoh it is on G+ already :)14:15
dpmGood work zsombi!17:10
timpkalikiana, nik90: I commented on https://bugs.launchpad.net/ubuntu-ux/+bug/139348517:25
ubot5Launchpad bug 1393485 in ubuntu-ui-toolkit (Ubuntu) "[SDK] Need a standard way to make an Icon look disabled" [Medium,In progress]17:25
ahayzentimp, is that also the case for header actions now? IIRC we had to make then invisible rather than disabled now17:29
timpahayzen: they should be invisible, correct17:30
timpahayzen: the action has a visible property17:30
ahayzenbefore we did enabled=false17:30
timplet me verify that17:30
ahayzenand after the UITK changes that broke so we had todo visible=false17:30
ahayzenbut then the actions are less discoverable :-/17:30
timpahayzen: right, I think the visible property should be used17:31
ahayzenok :-/17:31
timpahayzen: you have a point. Let's ask some designers17:31
ahayzenmore context aware hidden items :-(17:31
timpahayzen: it might be eod for them already17:32
ahayzenhehe ok :-)17:32
timpahayzen: can you add a comment about it to the bug?17:32
ahayzentimp, ok will do :-)17:32
timpthanks17:33
timpkalikiana: so, icons in a button in a listitem?17:37
timpkalikiana: so we need to decide in which of the three the opacity is changed?17:37
kalikianatimp: As the bug itself says17:37
timpI guess at least the button would be 'greyed out', so that would put it in the button17:37
timpor in the listitem17:37
kalikianatimp: "use an Icon inside a ListItem.Empty or any other AbstractButton derived class, and disable the item"17:38
timpok17:38
timpso then the abstractbutton derived class should take care of it17:39
kalikianatimp: another question: why do you need to make the icon button translucent if the icon is already translucent? wouldn't it look the same?17:39
timpkalikiana: a button can have an icon and text17:39
timpkalikiana: if the text stays the same, and the icon becomes semi-transparent, it looks wrong to me17:40
kalikianatimp: so in other words we have the same problem with Label17:40
kalikianatimp: note that Label should rely on the palette, not opacity17:40
timpkalikiana: right. And I just checked the icon buttons in the header, they rely on the palette, and the palette sets the colors for disabled to 0.3 opacity17:41
ahayzentimp, commented on that bug :-)17:41
timpkalikiana: so in the header it is already fixed with the new palette17:41
kalikianatimp: and having the Icon change opacity would be what you want17:41
timpkalikiana: setting the icon opacity to 0.3 as well when disabled will give icons in the header an opacity of 0.09, so I have to override the icon opacity there17:42
timpkalikiana: the header foreground color gets 0.3 opacity when disabled. And the icon too. Those values are multiplied17:42
kalikianatimp: So the icon also uses the palette color? Presumably that will break with a custom color then.17:43
kalikianacolor: UbuntuColors.green -> fail17:43
timpkalikiana: no, the icon button in the header uses palette color17:43
kalikianatimp: Yes or no?17:44
timpkalikiana: the icon does not use the palette color. But in the header button we use an icon and set its color to the palette color17:44
kalikianatimp: so yes17:44
timpkalikiana: no, the icon doesn't use the palette17:44
kalikianatimp: it does in this case :-)17:44
kalikianaplease don't give ambiguous answers17:44
kalikianatimp: so that means it will break if a custom color is used in a naive way17:45
timpkalikiana: the Icon component does not use the palette17:45
timpkalikiana: the header does use the palette17:45
kalikianatimp: which is exactly my point17:45
kalikianatimp: the Icon is assigned a color from the palette and the icon button relies on that, which will break with a custom color17:45
timpkalikiana: in the header you have an ActionBar, which takes a list of Actions as input. Actions don't have a color17:46
kalikianatimp: unless you use a delegate17:47
kalikianawhich can have a color17:47
timpyes17:47
timpif you explicity set a delegate that uses color: red, then it will be red.17:47
timpand if the color does not check for "enabled", then it won't change its looks when it is disabled17:48
timps/color/delegate17:48
kalikianatimp: so if Button for example did change opacity, the result is wrong depending on whether you use the palette17:49
kalikianasame if Icon handled opacity17:49
timpif the button takes colors from the palette it should not set the opacity, because the palette colors incorporate opacities already17:50
kalikianaI think either we need a smarter solution or leave it up to developers completely17:50
kalikianatimp: if Button is changing opacity automatically it cannot know what kind of color is being used17:51
timpkalikiana: true. What's your point17:52
timpif button uses the current palette correctly, the result will be wrong if it also sets the opacity17:52
kalikianatimp: My point is, regardless of anything else, the original idea of doing it in Icon, and doing it in other components, cannot work17:52
timpkalikiana: so, we keep it as it is and only deal with it in the palette17:53
timpI think the bug was reported with the old palette17:53
kalikianatimp: Right. The best answer might be to use the appropriate palette value depending on the state. Which we don't have a complete solution for yet.17:54
kalikiana(Complete as in, no one-line expression)17:54
timpright17:54
timpzsombi will fix it ;)17:54
kalikianaShould we nickname him snappy from now on? ;-)17:55
timpkalikiana: so I will mark this bug as fixed: https://bugs.launchpad.net/ubuntu-ux/+bug/139348518:58
ubot5Launchpad bug 1393485 in ubuntu-ui-toolkit (Ubuntu) "[SDK] Need a standard way to make an Icon look disabled" [Medium,In progress]18:58
timpbecause the new palette solves it18:58
=== chihchun_afk is now known as chihchun
timpkalikiana: I rejected https://code.launchpad.net/~tpeeters/ubuntu-ui-toolkit/icon-disabled/+merge/28930819:00
timpahayzen: for your issue with visible vs enabled, we'll need to discuss with the designers. But I think that won't be a bug in UITK since you can choose to use either visible or enabled.19:01
=== daker_ is now known as daker
=== tedg_ is now known as tedg
kazordhi everyone19:58
kazordfound my misstake alone xD19:59
lasse_Im trying to install ubuntu-sdk and get ready to learn a bit about creating scopes. But when I execute apt install unity-js-scopes-dev in the terminal it can't localize the package. Does anyone know what to do?20:20
=== salem_ is now known as _salem
davidcallelasse, hi, which version of Ubuntu are you using?21:28

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