/srv/irclogs.ubuntu.com/2015/06/27/#ubuntu-app-devel.txt

Elleonik90: those symbolic icons look neat: http://mikeasoft.com/~mike/symbolic-notification.png in the end I had to go with the non-filled one and make it white as the notification area seems to be really strict over how it displays symbolic icons and displays all colours as white00:48
nik90Elleo: ah ok. Why does it appear mirrored?00:55
nik90Elleo: can you take a screenshot of it in the messaging indicator00:56
nik90although that looks good as well00:56
Elleonik90: I flipped it horizontally as I thought it looked odd with the parrot looking out of the message instead of into the message00:56
nik90ah yes true .. on looking closer I realized that00:57
Elleohttp://mikeasoft.com/~mike/notification-area.png00:58
Elleoit looks pretty cute when the icon wobbles if you click on the notification00:59
nik90sweet00:59
akiva-thinkpadnvm; figured it out04:15
akiva-thinkpadpopey: is ubuntuone closed source, and is it still a thing?04:20
akiva-thinkpadi thought they opensauced it04:20
* akiva-thinkpad should know better to wade into kubuntu drama on the /r/linux subreddit04:21
akiva-thinkpadnvm04:25
akiva-thinkpadhes just wrong04:25
comuttIs anyone here?11:32
SturmFlutcomutt: Yeah, but I don't know that much about app development12:07
comuttI've pulled the bzr branch: ubuntu:php5; After that bzr saied "Most recent Ubuntu version: 5.6.4+dfsg-4ubuntu6", "Packaging branch version: 5.5.0+dfsg-6ubuntu1", "Packaging branch status: OUT-OF-DATE". The latest revision 113 is outdated (year 2013). The procedure is described at http://packaging.ubuntu.com/html/udd-getting-the-source.html, but only tarballs are published to Launchpad, not bzr changes.12:47
comuttQuestion: Has bzr repository been no longer updated, or hidden, or moved to somewhere?12:48
popeycomutt: what's the issue?14:00
melespopey the latest version of your youtube app it is not useable without logging in14:43
popeyoh?14:50
popeyworks here14:51
ahayzenpopey, sverzegnassi, when i download a document and then select open.. is there any design reason why when it opens the docviewer it doesn't open the document? instead it shows the list of docs and an import notification at the bottom (which is far to short to click on) .. I feel personally if I've said to open the document view content-hub in docview it should open it straight away?15:00
sverzegnassiahayzen: o/ at the time we decided to emulate the gallery-app behaviour, which does not open the imported image. I've personally explained this decision saying that docviewer can get an import request for two reasons: 1) a document has been saved from an external app (e.g. a text editor - see EdIt features), 2) the user wants to open a document15:06
sverzegnassisince we can not get the reason why a document has been imported, we decided for using the same behaviour of gallery-app15:07
ahayzensverzegnassi, ok :-) .. well if that behaviour cannot be changed, could the timeout of the import notfication be increased? as i only just had enough time to notice it and partially read it before it disappeared15:07
popey+115:08
popeyI agree the notification could be a little longer duration15:08
sverzegnassiahayzen: Sure! I've heard many people complaining about the notification, so we need a change... popey, should we ask an opinion to James at the next meeting?15:09
ahayzenprobably just double whatever the value of the timeout is currently would be about right15:10
popey+115:10
popeypersonally I'd look at how long our system notifcations are on screen and aim for somewhere just under / close to that.15:11
popeybrb15:11
ahayzenyeah :-)15:11
sverzegnassiat the moment the duration of the animation is 500ms... it's too short indeed15:11
ahayzenhah yeah that needs to be at least a few seconds15:11
sverzegnassii was joking, it's 2secs15:12
ahayzen~5s would probably be what i would expect15:12
sverzegnassi+115:12
sverzegnassii was thinking at the same number15:12
ahayzensverzegnassi, do you want a bug report to track this?15:12
melespopey I just get the login mask from google. I guess you have a google account set up under system settings -> accounts ?!15:13
sverzegnassiahayzen, may be useful for tracking the bugfixes and the changelog... however i'm going to fix it right now15:13
ahayzensverzegnassi, hmm up to you, i can report one if you want? or you can just fix it :-)15:14
ahayzennik90, your issue with the listitems 1) select all 2) deselect one 3) select all ...works for me with my music-app prototype, so maybe something on your branch?15:15
sverzegnassiahayzen, haha... at the moment we can officially track the bug, but I'd wait the next meeting on Thursday for listening what the UX team think about this, because we could seriously consider to open the document automatically15:19
ahayzensverzegnassi, ok i'll report one so we can track discussions and ping you the link15:19
sverzegnassiin the while, I'll push a branch with the fix for the duration, it is just 2 lines...15:19
sverzegnassiahayzen ok, thanks15:19
ahayzensverzegnassi, bug 146942215:23
ubot5bug 1469422 in Ubuntu Document Viewer App "Opening a file from content-hub should open the file or the notfication timeout should be increased" [Undecided,New] https://launchpad.net/bugs/146942215:23
ahayzennik90, you have alarmListView.selectedItems.count === alarmListView.count and i have listview.getSelectedIndices().length === listview.model.count ...  IIRC this was because you cannot access the selectedIndices list externally so I made a method in my MultiSelectListView to expose it15:25
ahayzennik90, ^^ is probably why its not working :-)15:25
sverzegnassiahayzen: ok, i will mark ubuntu-ux as affected15:28
ahayzensverzegnassi, thanks :-)15:29
ahayzensverzegnassi, otherwise the app is looking really good :-) the only other thing i noticed was that when zooming a pdf it seemed to wait for the whole page to be rendered instead of what was just visible on the screen, i see some zoom related branches so is this known/WIP ?15:30
sverzegnassiAt the moment it renders the whole page, with some (ugly) timers that ensure that the current visible page will be the first page to be rendered. The zoom branches are currently a WIP, and will only fix the position of the Flickable's ContentItem while zooming. That should makes things a bit faster, since it will ensure that no other page will become visible while rendering15:33
ahayzenok thanks :-)15:33
sverzegnassiTBH the branch is almost ready, but sometimes it doesn't work properly for some reason...15:34
ahayzenawesome \o/ and probably magic! hehe :-)15:35
sverzegnassitracking a difference of 80-100px in a number that counts 10000px during a zoom is almost a tragedy... haha15:36
ahayzenhah i bet15:37
nik90ahayzen: I was able to access alarmListView.ViewItems.SelectedIndices.length outside the listview .. I did not see an error there. But I will try your way to see if that fixes the issue.15:40
ahayzennik90, you code has  alarmListView.selectedItems.count not  alarmListView.ViewItems.SelectedIndices.length though .. and yeah i had some funkiness15:40
nik90ahayzen: the bug was found by mivilogo when looking through the podbird dev branch. I'm checking atm what I did there15:41
ahayzenah i was looking at clock15:41
nik90https://bazaar.launchpad.net/~nik90/podbird/dev-multidelete-podcast/view/head:/app/ui/PodcastsTab.qml#L10415:42
nik90there in my pageheadstate, I access viewLoader.item.ViewItems.SelectedIndices.length15:42
nik90viewloader.item is the loader which loads either the listview or your columnflow15:43
ahayzenwhere is your listview code lol..15:45
* ahayzen is confused by deja-vuish code of podbird 15:45
ahayzenoh below right..15:46
nik90deja-vuish?15:46
ahayzenthe random files hijacked from music ;-)15:46
nik90haha15:47
ahayzenhmm why aren't we using UbuntuListView ...15:47
ahayzenah its add stuff we don't need right15:49
nik90I'm not sure why we went for UbuntuListView over ListView...I guess its just preparing for the future where UbuntuListView will add more features I guess15:52
* nik90 brb15:52
ahayzenhmm actually should we be using that in weather?15:53
ahayzenfor the expanding hour thing15:53
sverzegnassipopey, I had a look at LibreOfficeKit APIs, and seems it's not currently possible to get an ODT page's size/position, but it seems to be possible e.g. with LO Impress15:54
sverzegnassiIt seems that ATM GNOME Documents just converts ODF documents in PDF, then it renders them through Evince. It may be a solution for ODT files, if there won't be a solution in a short time15:55
nik90ahayzen: probably...I started using it where possible in weather during my commits16:11
ahayzennik90, well i mean it says it scrolls to the position of the expanded thing automatically, which is what we want, so if we aren't using it we should be :-)16:12
nik90true16:12
ahayzennik90, did you figure out a way of setting the colour for bg if you drag a trailing action too far?16:57
nik90ahayzen: no I haven't figured that part out :/ .. and zsombi_ is on vacation now..so cant ask him either20:14
ahayzen:-/20:20
ahayzenit should really be reading from the apps background-colour20:20
ahayzenor just be transparent :-P20:20
nik90I agree20:22
nik90its so annoying that it just takes a white color that is such a contrasting color against dark backgrounds20:23
nik90poor music app :P20:23
ahayzen:'(20:23
* nik90 got sucked into the r/linux ... big mistake 21:03
=== javiercrowsoft1 is now known as javiercrowsoft
imnicholMy qml elements seem to overlap the ones that come before them23:19
imnichole.g. in my main qml file I have a button, following by a listview, followed by another button.  When I run qmlscene they all show up at the top of the window with the 2nd button on top23:20
imnicholHow can I get them to appear one after another?23:20
nik90imnichol: you could use a QML Column to arrange them vertically23:21
nik90imnichol: if not, you can define the anchors on each of the item such a way that they don't overlap one other23:21
nik90ahayzen: btw I just tested your https://code.launchpad.net/~ahayzen/music-app/refactor-use-sdk-listitems/+merge/261328 and I can reproduce the multiselect bug I told you about.23:21
nik90ahayzen: if you're online, I can walk you through it23:21
imnicholnik90, thanks for the help, I tried before and failed so I figured I was barking up the wrong tree23:22
nik90imnichol: if you push your code online to launchpad or github, I can help you debug it.23:22
imnicholnik90, http://paste.ubuntu.com/11785697/23:25
imnicholI'm just running it with qmlscene23:27
nik90imnichol: give me a minute to fix it23:28
imnicholHah.  If you're going to fix it you can have as much time as you want23:28
nik90imnichol: http://paste.ubuntu.com/11785712/23:31
imnicholnik90, so I need to have a Page element in there?23:31
nik90imnichol: actually not sure..it comes as part of the default ubuntu app template..23:32
nik90imnichol: let me try removing it and checking23:32
imnicholFYI I'm not using qtcreator23:33
nik90imnichol: it works even without the Page{} element23:33
nik90imnichol: I would highly recommend Qtcreator since it helps with indentation, autocompletion and also running it on the phone. Very useful!23:34
nik90that said, I notice that you use Text{}...I would recommend using Label{} instead23:34
imnicholnik90, Problem is that I don't have a phone, and I haven't been able to get the emulator to to work23:34
nik90since it takes into account the screen resolution and will appear correctly on all devices23:34
imnicholPlus, to be honest, I didn't really feel like developer.ubuntu.com was really geared towards me23:35
nik90imnichol: ah oke..its a really pity that newcomers are unable to get the emulator up and running23:35
imnicholSo I've been focusing on learning QML first, and then figured I'd work on learning how to use the Ubuntu specific stuff once I actually needed to23:35
nik90imnichol: If you describe in a bit more detail what exactly you weren't comfortable with in developer.ubuntu.com, I can help get it across to the right people23:35
nik90there are a lot of tutorials to help you get started23:36
nik90that said, if you want to learn basic qml, then there are lot of tutorials in the web for that23:36
imnicholI wasn't able to locate a straight up simple "here's how to do layout"23:36
imnicholI usually try to mock up the UI first, so that's an important step for me23:37
nik90ah yes..that's because developer.ubuntu.com is more targetted at getting started with developing ubuntu app,. while the layout stuff is basic qml knowledge which is best learnt through tutorials in the web23:37
imnicholYeah23:38
imnicholIt's not really a fatal flaw or anything, but I get discouraged easily if I have to go hunting for information since the time that I have for doing QML stuff is limited23:39
imnicholMore of a personal flow23:39
nik90imnichol: the best way I learnt was to look at other people code and if I did not understand something I would refer to the online documentation at http://doc.qt.io/qt-5/qml-qtquick-listview.html for instance23:41
nik90the official qt docs are as simple and descriptive as it gets23:41
imnicholI see I forgot to thank you, so thank you nik90 for the assistance.  I really appreciate it23:41
nik90yw :)23:41

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