Wednesday, 2013-10-02

*** chriadam has joined #nemomobile00:09
*** Hurrian has joined #nemomobile00:28
*** lpotter has quit IRC00:37
*** ericcc has quit IRC00:45
*** phdeswer has quit IRC00:58
*** mschlens has joined #nemomobile01:04
*** aknight has quit IRC01:04
*** aknight has joined #nemomobile01:05
*** louisdk has quit IRC01:07
*** mschlens_ has quit IRC01:07
*** ericcc has joined #nemomobile01:16
*** DrCode has quit IRC01:21
*** DrCode has joined #nemomobile01:23
*** n9mx has joined #nemomobile01:32
*** phdeswer has joined #nemomobile01:33
*** n9mx has left #nemomobile01:41
*** araujo has quit IRC01:43
*** n9mx has joined #nemomobile01:46
*** araujo has joined #nemomobile01:47
*** n9mx has quit IRC01:47
*** cxl000 has joined #nemomobile01:59
*** Morpog_ has joined #nemomobile01:59
*** Morpog_Mobile_ has joined #nemomobile01:59
*** Morpog_Mobile has quit IRC02:00
*** Morpog_N9_______ has quit IRC02:01
*** Morpog_PC has quit IRC02:02
*** n9mx has joined #nemomobile02:20
*** Guest31284 has quit IRC02:31
*** eebrah_ has joined #nemomobile02:33
*** alexxy has joined #nemomobile02:39
*** amizraa has joined #nemomobile02:41
*** jonwil has quit IRC02:43
*** Morpog_ has quit IRC02:53
*** n9mx has left #nemomobile02:54
*** n9mx has joined #nemomobile02:56
*** n9mx has quit IRC02:58
*** n9mx has joined #nemomobile03:04
*** n9mx has left #nemomobile03:05
*** LjL has quit IRC03:09
*** LjL has joined #nemomobile03:15
*** lpotter has joined #nemomobile03:15
*** cxl000 has quit IRC03:15
*** martyone has joined #nemomobile03:59
*** ericcc_ has joined #nemomobile04:08
*** ericcc__ has joined #nemomobile04:08
*** ericcc has quit IRC04:11
*** ericcc_ has quit IRC04:12
*** kostaja has joined #nemomobile04:16
*** Morpog_N9_______ has joined #nemomobile04:18
*** kavuri has joined #nemomobile04:19
*** martyone has quit IRC04:22
*** martyone has joined #nemomobile04:23
*** ericcc__ has quit IRC04:24
*** Jonni has joined #nemomobile04:27
*** araujo has quit IRC04:32
*** araujo has joined #nemomobile04:40
*** WWDrakey has joined #nemomobile05:01
*** furikku has joined #nemomobile05:08
*** xhaakon has joined #nemomobile05:12
*** amizraa has quit IRC05:13
*** Vlad_on_the_road has joined #nemomobile05:30
*** lbt has quit IRC05:31
*** Pat_o has joined #nemomobile05:37
*** asterismo has quit IRC05:43
*** asterismo has joined #nemomobile05:44
*** lbt has joined #nemomobile05:51
*** m4g0g has joined #nemomobile05:52
*** araujo has quit IRC05:58
*** kostaja has quit IRC06:01
*** m4g0g has left #nemomobile06:04
*** lbt has quit IRC06:04
*** Vlad_on_the_road has quit IRC06:13
*** araujo has joined #nemomobile06:13
*** kostaja has joined #nemomobile06:16
*** ZogG_laptop has quit IRC06:17
*** topro has joined #nemomobile06:21
*** jonwil has joined #nemomobile06:27
*** slaine has joined #nemomobile06:32
*** lbt has joined #nemomobile06:48
*** Sfiet_Konstantin has joined #nemomobile06:53
*** m4g0g has joined #nemomobile06:54
*** Pat_o has quit IRC07:01
*** panda84kde has joined #nemomobile07:02
*** Sfiet_Konstantin has quit IRC07:07
sledgesw00t, why would you rather see this in patterns? qt5-qtdeclarative-import-07:07
sledgessensors whats wrong with lipstick pulling it in?07:07
*** m4g0g has left #nemomobile07:07
specialsledges: not the import, the plugin07:08
sledgesyup ok special, same question :D07:09
specialtechnically lipstick is independent of which sensor backend is in use; for nemo it's sensorfw, but there are others07:09
sledgesa lipstickless system might still bw full of apps that need it and forgot the import07:10
specialfor the import, applications shouldn't be forgetting :p07:10
sledgesah, so just to keep lipstick backend independent..07:10
sledgesok will do in no time once get to it :)07:11
sledges(i.e. get out fromm the bed :))07:11
*** fk_lx has joined #nemomobile07:15
*** jmlich has joined #nemomobile07:18
*** Sfiet_Konstantin has joined #nemomobile07:20
*** pvilja1 has joined #nemomobile07:22
*** pvilja has quit IRC07:23
*** Pat_o has joined #nemomobile07:24
* sledges yawns07:25
slainesledges: time for bacon07:25
sledgesthe full English?07:26
slainewhy the hell noy07:26
slainenot even07:26
sledgeswakes up better than coffee07:26
sledgesbut i dont do coffee lol nor breakfast heh..07:27
sledgesfeeling very hungry last days though07:27
sledgesi might be pregnant07:27
sledgesso let's go for italian breakfast this time -coffee07:27
slaine Whats an italian breakfast then ?07:28
sledgescroissant (the most italian word)07:28
sledgeswith cappuccino07:28
sledgeshot chocolate will do07:28
slainemeh, I'll stick with my black coffee and bacon thanks07:29
sledgesfair play07:29
dm8tbrmmmmm bacon07:29
jonwilforget coffee and bacon, Weet-Bix (anyone who isn't Aussie probably won't have heard of it) is all you need for a good breakfast.07:30
sledgesis that you Homer?07:30
sledgeshere called weet-a-bix07:30
slaineand here07:30
*** Pat_o has quit IRC07:30
sledgesgb then :D07:31
slainethats not the way to go sledges07:31
sledgesunless it's south ie07:31
jonwilUK weetabix and Australian Weet-Bix are totally different things07:31
slaineif it's ie then it is the south07:31
sledgeslol rly!?07:31
jonwilThey are similar but they have different tastes07:31
sledgesslaine, i beg your pardon im that case :))07:32
sledgeswas about to say just like vegimite and marmite07:32
* slaine pukes07:32
sledgesslaine, i hope you are pre-breakfast :D07:33
slaineCan't stand marmite, my wife loves it though.07:33
jonwilI dont like either Vegemite or Marmite07:36
jonwilCrumpets (UK invention I believe) do taste good. They are very unhealthy though :P07:37
*** Valshaen has joined #nemomobile07:43
Sfiet_Konstantinmornning guys07:44
*** Pat_o has joined #nemomobile07:44
*** amizraa has joined #nemomobile07:46
Sfiet_Konstantinfaenil: you should ask w00t to create qqc-nemo on nemomobile and start creating pull requests07:47
Sfiet_Konstantinso that we can review your code07:47
*** Pat_o has quit IRC07:49
*** Pat_o has joined #nemomobile08:02
*** Pat_o has quit IRC08:08
zbenjaminfaenil: hey no wonder it didn't work before, the desktop just does not rotate08:21
*** arcean has joined #nemomobile08:22
*** arcean_ has joined #nemomobile08:23
*** arcean has quit IRC08:26
*** Pat_o has joined #nemomobile08:29
*** Sfiet_Konstantin has quit IRC08:34
*** Sfiet_Konstantin has joined #nemomobile08:34
*** Pat_o has quit IRC08:35
*** Sfiet_Konstantin has quit IRC08:38
*** Pat_o has joined #nemomobile08:48
*** lbt has quit IRC08:52
*** Pat_o has quit IRC08:54
faenilmorning :)08:58
faenilzbenjamin, it had to be that :)08:58
zbenjaminfaenil: i already looked but i can not find a cause why the desktop does not rotate, is the desktop window a special window maybe?08:58
zbenjaminOne that does not have rotation handling implemented?08:59
specialit's not even a window08:59
speciallipstick is the compositor in wayland terms; lipstick itself is drawing directly to the framebuffer, and it manages wayland clients and draws them in as well09:00
specialso things like QScreen are completely different inside of lipstick, not even the same platform plugin09:00
specialif you want it to rotate, you'll need to rotate it in the QML, most likely.09:00
faenilspecial, well, qt-components apps rotate09:02
*** giucam has joined #nemomobile09:02
faenilzbenjamin, can you confirm that? ^09:02
specialI seem to remember colorful-home rotating properly on wayland at one point09:03
zbenjaminfaenil: i did not try, things like fingerterm rotate09:03
faenilspecial, :O I don't09:04
specialI played with it and the half-broken nexus7 sensor09:04
specialbut maybe it was still on X at that point09:04
zbenjamini just implemented the forwarding of the rotation events, that can't be ;)09:04
* faenil goes see zbenjamin patch to qt-comps09:05
zbenjaminfaenil: which one is a qtcomponent app09:05
*** qwazix has quit IRC09:05
specialiirc fingerterm uses qt-components for rotation handling.09:05
zbenjaminthen yes i can confirm09:05
zbenjaminif the app sets the rotation mask it rotates09:06
faenilzbenjamin, all apps are qt-components09:06
faenilstart qmlnotes, qmlmaps, qmlgallery09:06
faenilsome of them may have orientation locked09:07
faenilso try more of them09:07
zbenjaminthen yes ;) but they all don't use setOrientationUpdateMask09:07
* special wanders off to bed09:08
zbenjaminspecial: night09:08
faenilspecial, o/09:08
zbenjaminso they won't rotate just with implementing my patch09:08
specialnight, have fun.09:08
faenilzbenjamin, so they rotate or they don't ?09:10
faenilfingerterm doesn't have setORientationUpdateMask either09:10
zbenjaminfaenil: they rotate if you hack them and put setOrientationUpdateMask in main.cpp09:10
faenilso you put that in fingerterm's main.cpp?09:10
faenilok, awesome :)09:10
zbenjaminthats what we wanted right? orientation updates are not delivered by default09:11
faenilzbenjamin, yes just making sure it all behaves as expected ;)09:11
*** qwazix has joined #nemomobile09:11
faenilbreakfast and shower, bbl09:12
zbenjaminfaenil: breakfast? aren't you in italy? ;)09:15
faenilyes :D bit late? :D09:15
zbenjaminSeems we live in the same timezone ;)09:16
* zbenjamin gets some breakfast too 09:16
*** pvilja has joined #nemomobile09:33
*** pvilja1 has quit IRC09:35
*** Pat_o has joined #nemomobile09:37
*** chriadam is now known as chriadam|away09:46
*** DarkSim has joined #nemomobile09:53
*** wmarone has quit IRC09:59
*** wmarone has joined #nemomobile09:59
faenilsledges, thanks for posting man, I'm so lazy :D10:09
sledges:) read your mind :D10:11
locusfwow its been a while since I have been to tmo10:14
*** Venemo_N9 has joined #nemomobile10:20
*** Martix_ has joined #nemomobile10:30
*** lizardo has joined #nemomobile10:42
*** Morpog_Mobile_ has quit IRC10:47
*** Morpog_Mobile has joined #nemomobile10:47
sledgesfaenil, who needs to be poked about opensans entering github/nemo ?10:47
faenilsledges, no idea, usual guys?10:47
faenildo we have powers to create a new repo in nemomobile?10:48
sledgesis licencing there all ok?10:48
faenilahmm...haven't made sure of that, I think that was checked by graphics guys when choosing the font ( cc qwazix Hurrian )10:48
sledgesit says Apache License 2.010:48
*** jreznik has joined #nemomobile10:50
*** chouchoune has quit IRC10:50
Hurrianthe font's Source Sans Pro10:52
faenilHurrian, ? woot? the font is Google OpenSans...that's what was decided...10:53
Hurrianah, so it's back to Open Sans10:53
Hurrianalright, no problems10:53
faenilsledges, seen the new team?10:54
Hurrianit's bound to be user-customizable anyway (larger fonts, different fonts, usability stuffs)10:54
faenilHurrian, ah, ok :/10:54
sledgesfaenil, yes, that'll be a great place to conceive qtquickcontrols-nemo ;)10:55
faenilsledges, who created it?10:56
faenilshouldn't it be qtquickcontrols-nemo?10:56
sledgesthe existing one is from the past10:56
sledgessee dates ;)10:56
sledgesand deprecated now10:56
faenilyes, I know that one is old :)10:57
sledgesunless we think to modify it - you should know the answer :)10:57
sledgesotherwise we stick to nemomobile-packages/qqc one10:57
faenilsledges, I don't know, we won't know before implementing10:57
sledgesso it's good to keep both10:57
sledgeswebhooks are now pointing to the nemomobile-packages one, all cool10:57
faenilall I'm saying is, shouldn't we have a qtquickcontrols-nemo in nemomobile? :D10:58
sledgesyes, that's what I meant 11:55  sledges faenil, yes, that'll be a great place to conceive qtquickcontrols-nemo ;)10:58
sledgesi.e. within that team10:59
faenilsledges, ok, but the guy who created the team can't create the repo as well? :D10:59
sledgesim sure they will asap11:00
sledgesw00t, Stskeeps , Sage ^11:00
sledges^ in pure words: pls create nemomobile/qtquickcontrols-nemo11:00
sledges:) ok im off now11:00
faenilsledges, I'm getting confused, who created the team? was it created now or did I just get the notificatio nnow?11:01
sledgesi didn't receive notifications.. maybe my email filters messed up11:01
sledgesimportant it's moving ahead11:02
sledgeso hai :)11:02
faenilVenemo_N9, o/11:03
*** jonwil has quit IRC11:04
Venemo_N9what's up?11:04
*** jonwil has joined #nemomobile11:05
faenilVenemo_N9, read my tweet yesterday about components?11:05
locusfwhats this new team about?11:10
faenilI guess people with access to glacier ui repos11:10
*** Morpog_N9_______ has quit IRC11:15
*** Morpog_N9_______ has joined #nemomobile11:15
*** Morpog_N9_______ has quit IRC11:16
*** Morpog_N9_______ has joined #nemomobile11:16
*** Morpog_PC has joined #nemomobile11:16
*** chouchoune1 has joined #nemomobile11:17
*** chouchoune1 is now known as chouchoune11:19
*** Morpog_ has joined #nemomobile11:20
*** Morpog_PC has quit IRC11:21
*** IgorSK has joined #nemomobile11:23
*** lbt_away has quit IRC11:33
*** lbt_away has joined #nemomobile11:34
*** lbt_away has quit IRC11:34
*** lbt_away has joined #nemomobile11:34
*** pvilja1 has joined #nemomobile11:35
*** Sfiet_Konstantin has joined #nemomobile11:36
*** pvilja has quit IRC11:38
*** n9mx has joined #nemomobile11:47
*** Sosica has joined #nemomobile11:48
*** Martix_ has quit IRC11:51
*** Sosica has left #nemomobile11:52
*** Sfiet_Konstantin has quit IRC11:58
*** Sfiet_Konstantin has joined #nemomobile11:59
*** Venemo_N9 has quit IRC12:01
*** amizraa has quit IRC12:03
*** martyone has quit IRC12:06
*** kavuri has quit IRC12:15
*** Aranel has quit IRC12:16
Sfiet_Konstantinschool project presentation12:16
Sfiet_Konstantinlet's spread the word about Nemo :D12:16
Sfiet_KonstantinI'm project 123, they are starting with project 112:17
sledgesoh yeah12:17
sledgesshow them the glacier :)12:17
sledgesnot bad, huge uni!12:17
Sfiet_Konstantinbut no, of cause, there are < 123 project :D12:17
Sfiet_Konstantinabout 20 of them12:17
sledgesi thought then maybe there are 3 projects: 1, 12, and 12312:17
Sfiet_KonstantinI will show them some logos12:17
Sfiet_Konstantinand spec about the slide :D12:17
Sfiet_Konstantinthe slider12:17
Sfiet_Konstantinthat's all :D12:17
sledgesno mockups? :P12:17
*** sateesh has joined #nemomobile12:18
*** sateesh has left #nemomobile12:19
Sfiet_Konstantinsledges: well, did not find the mockups nice12:19
Sfiet_Konstantin(they are, but not clear)12:19
Sfiet_Konstantinjust want to show what we are going to do12:19
*** kavuri has joined #nemomobile12:19
Sfiet_Konstantinshowing N95012:19
*** amizraa has joined #nemomobile12:20
sledgesnice nice12:20
*** kavuri_ has joined #nemomobile12:20
sledgestheir mouths will water even more at the end of your project ;)12:20
Sfiet_Konstantinor not12:20
Sfiet_Konstantinthey dont' care about oss projects12:21
Sfiet_Konstantinthey just care about corporate stuff12:21
*** kavuri_ has quit IRC12:21
*** Martix_ has joined #nemomobile12:24
*** phdeswer has quit IRC12:25
sledgesthat's why you should how -awesome- it looks ;)12:28
*** Morpog_Mobile_ has joined #nemomobile12:31
*** Morpog_Mobile has quit IRC12:31
Hurriangotta say, that button active effect looks a lot better IRL than in the mockups12:32
*** lbt_away has quit IRC12:32
*** SfietKonstantin has joined #nemomobile12:33
*** Morpog_N9_______ has quit IRC12:33
*** Morpog_N9_______ has joined #nemomobile12:33
faenilback o/12:33
*** Sfiet_Konstantin has quit IRC12:33
*** lbt_away has joined #nemomobile12:33
SfietKonstantinhello faenil12:34
SfietKonstantinfaenil: some comments about your code: can you reduce dependencies12:34
SfietKonstantinlike push the whole QQCT in a branch12:34
SfietKonstantinand use your master for just the button and examples ?12:34
SfietKonstantinlike all the unmodified QQCT code12:34
SfietKonstantinso that we have a smaller commit and less headache to understand your code ? :)12:35
SfietKonstantinand something we can easily review for inclusion in nemo12:35
faenilunmodified code?12:35
SfietKonstantinI don't know if all the code in your repo is used for just the button12:35
sledgesqqc != qqc-nemo12:35
sledgesdir struture already differs ;)12:35
SfietKonstantin1 sec12:35
* sledges is doing heavy diffing atm :D12:35
SfietKonstantinexample: in src/styles, you have menustyle, focusframestyle, groupboxstyle etc12:36
SfietKonstantinmaybe they shouldn't be included in the 1st commit12:36
faenilSfietKonstantin, they're not styles, they're just wrappers around official styles, so yes they're right in the first commit imho12:37
SfietKonstantinI see12:37
faenildon't know if you've opened those files :P12:37
SfietKonstantinneed to read the whole code :(12:37
sledges`meld` ftw ;)12:37
faenilSfietKonstantin, all the styles are just12:37
faenilimport officialStyles; OfficialStyle{ }12:37
faenilthose are the styles in Nemo12:37
faenilexcept ButtonStyle of course12:37
SfietKonstantinah, what do you think about using JSON files that could be parsed from C++ / JS12:37
SfietKonstantinfaenil: ofc12:38
faenilSfietKonstantin, man, have you read the code? XD12:38
SfietKonstantinfaenil: for themes I meant12:38
SfietKonstantinfaenil: didn't read much12:38
faenilSfietKonstantin, then please read, then comment :D12:38
SfietKonstantinjust opened them this morning, before leaving for school12:38
faenilSfietKonstantin, not using JSON but a very very similar approach12:39
SfietKonstantinlet's read the code more then :)12:39
* sledges hands a large trout to faenil 12:39
* faenil hits SfietKonstantin with sledges' trout12:39
* sledges off for lunch, time to fry a trout :D12:39
faenilsledges, o/ have fun12:39
SfietKonstantinI was thinking about JSON for Themes12:40
faenilSfietKonstantin, READ12:40
SfietKonstantinbut it is included in a Button :(12:40
faenilSfietKonstantin, woot?12:41
SfietKonstantinthat's fun to have {{ for JSON inside QML12:41
SfietKonstantinlet me read more :)12:41
faenilit's not {{, it's ({12:41
SfietKonstantinbut still, fun12:41
faeniland it's not JSON, it's JS object literals12:42
SfietKonstantinclose enough12:42
SfietKonstantinthis code needs more C++ :D12:43
SfietKonstantinlooks interesting12:43
faenilSfietKonstantin, ahaha :) you need more trouts in ya face :D12:44
SfietKonstantinseriously, why not more C++ :(12:44
SfietKonstantinbut na, reading again12:44
SfietKonstantinyou have nice hacks in Button.qml12:44
SfietKonstantinwell done thouhg12:45
faenilSfietKonstantin, you know, each language has its purpose12:46
faenilyou justify the use of c++, and we'll shift ;)12:46
faenilso far, I see none12:46
*** xl_kf has quit IRC12:48
SfietKonstantinfaenil: perfs ?12:48
faenilSfietKonstantin, performance of what12:48
faeniltheme shifting? XD12:48
SfietKonstantinfaenil: a lot of facilities in managing lots of stuff (plugins, infinite themes etc.)12:48
SfietKonstantinfaenil: we will see12:49
faenilSfietKonstantin, plugins?12:49
SfietKonstantinfaenil: what if you need to add more stuff12:49
SfietKonstantinI don't know if it is a need12:49
SfietKonstantinmight be one12:49
*** SfietKonstantin is now known as Sfiet_Konstantin12:50
faenilI agree with the infinite themes, if we need infinite themes xD12:50
faenilSfiet_Konstantin, more stuff like?12:50
Sfiet_Konstantinfaenil: users need themes12:50
Sfiet_Konstantinfaenil: like only time will tell ?12:50
Sfiet_Konstantinwe will see12:50
faenilSfiet_Konstantin, no, make an example that requires c++12:50
faenilso far I could only think about the theme issue, which needs adding the import manually12:50
Sfiet_Konstantinfaenil: I was thinking about windows phone styling12:50
Sfiet_Konstantinsee, user can choose the color they want12:50
faenilSfiet_Konstantin, and you think you need c++ for that?12:51
Sfiet_Konstantinand the whole UI adapts to this color12:51
Sfiet_Konstantinfaenil: at least you might need more than files describing themes12:51
faenilyes, one variable more?12:51
Sfiet_Konstantinfaenil: in an other side, what is the purpose of the hacks class ?12:51
Sfiet_Konstantinfaenil: we will see12:52
Sfiet_Konstantinright now we don't need C++12:52
Sfiet_Konstantinof cause12:52
Sfiet_Konstantinbut I <3 C++ , that's all :D12:52
faenilSfiet_Konstantin, none at the moment, I just wanted to make it easier for people to add utility functions on c++ side, if needed12:52
Sfiet_Konstantinhardcoded path to ControlsStyleConfig12:52
Sfiet_Konstantinthat's why it was not working on my laptop :(12:52
Sfiet_Konstantinwhere do you define u faenil ?12:53
Sfiet_Konstantinor is it defined ?12:53
faenilSfiet_Konstantin, no u at the moment, because we still have to investigate how to tackle that12:54
Sfiet_Konstantinhighdpi stuff ?12:54
faenilthat doesn't work with "width:400"12:54
faenilit only works with pixmaps ..12:54
Sfiet_Konstantinfaenil: :(12:54
Sfiet_Konstantinwe need to see12:54
faenilbut you could ask somebody in #qt12:54
Sfiet_KonstantinIIRC it should work for fonts too12:54
Sfiet_Konstantinneed investigation12:54
faenilI tried few days ago, didn't get a reply12:54
faenilyes for fonts too,12:54
faenilbut not for sizes12:55
Sfiet_KonstantinQt interests ML ?12:55
Sfiet_Konstantinalright, your code looks interesting12:55
Sfiet_Konstantingetting the idea of how you are doing stuff12:55
faenilSfiet_Konstantin, it started from Qt4Tizen, but I changed lots of stuff and made it easier/cleaner, imho12:56
*** DrCode has quit IRC12:57
faenilthe original one few more files more, duplicated was more messy imho12:57
faenilI think the way it's done right now works great for the themes and the WP-like colour switching, seriously12:57
Sfiet_Konstantinis it required to have themes defined in ControlsStyleConfig.qml ?12:58
faenilSfiet_Konstantin, yes, that is the only thing that bothers me, but it could be because I'm js noob12:58
Sfiet_Konstantinfaenil: how do you use it ?12:58
Sfiet_Konstantin(typically, something you initialize as a singleton could be done in C++)12:59
Sfiet_Konstantin(depends on the usage, again)12:59
faenilhow do you use what12:59
faenilControlStyleConfig and NemoControls are singleton, initialized on c++ side12:59
Sfiet_Konstantinfaenil: yeah13:00
Sfiet_Konstantinseen that13:00
Sfiet_Konstantinand you are using them as objects that provides some properties (like width of a component etc.) right ?13:00
faenilTheme object13:00
Sfiet_Konstantinyeah, grepped your code to find that13:01
Sfiet_Konstantinwe could just implement them as QObjects ?13:01
*** DrCode has joined #nemomobile13:01
*** Morpog_N9_______ has quit IRC13:01
Sfiet_Konstantinor you are against that ?13:01
*** Morpog_N9_______ has joined #nemomobile13:01
faenilthey are already QtObjects?13:01
Sfiet_Konstantinthey are QtObjects, but we can use C++ QObject13:01
faenilwhat for13:01
Sfiet_Konstantinsame task, but maybe cleaner code ?13:01
faenilcleaner? :/13:02
Sfiet_Konstantinbut let's don't think about this. What's your issue, and the problem about you being JS noob ?13:02
Sfiet_Konstantinfaenil: cleaner indeed, but let's not bother about this right now13:02
faenilSfiet_Konstantin, just show me how cleaner it would be :) write an example13:02
Sfiet_KonstantinI don't know if I have already this kind of code13:03
Sfiet_Konstantinshould have13:03
*** Morpog_Mobile has joined #nemomobile13:03
*** Morpog_Mobile_ has quit IRC13:03
faenilit's freaking clean and easy to use, dynamic etc at the moment, that's my honest opinion :)13:03
faenilbut I'm all ears ;)13:04
Sfiet_Konstantinfaenil: it is rather clean, but for something that will be expanded, I'm a bit afraid13:04
Sfiet_Konstantinand the QML bindings is a bit heavy artillery13:04
Sfiet_Konstantin(and initializing QML objects from C++ etc.)13:04
*** Aranel has joined #nemomobile13:05
faenilheavy artillery because it works great? :D13:05
Sfiet_Konstantinfaenil: because clearly, you need to evaluate a JS object for each property13:05
Sfiet_Konstantinbetter use C++, that when you call a property, it calls directly the method returning the value13:06
faenilSfiet_Konstantin, and requires recompilation for every change?13:06
Sfiet_Konstantinfaenil: and ?13:06
faeniland that's not exactly very dynamic?13:06
Sfiet_Konstantinfaenil: that's not an issue since, at the end, you don't need to compile for any other change13:07
Sfiet_Konstantinyou can load these properties from a (eg) JSON file13:07
Sfiet_Konstantinand just have some C++ code to expose these properties13:07
faenilI really can't see how that is cleaner, sorry :(13:08
Sfiet_Konstantinfaenil: at least in calls13:08
Sfiet_Konstantinyou lands in a C++ code quite quickly13:09
Sfiet_Konstantininstead of using v8 a lot13:09
faenila lot? that stuff is only used when changing theme13:10
Sfiet_Konstantinfaenil: and initializing stuff13:10
Sfiet_Konstantinlike launching any application13:10
Sfiet_Konstantinbut you have a point in QML code being quite fast to dev. The only issue is also that you don't have a clean API etc.13:11
Sfiet_Konstantinif you have a C++ object, you have a clean interface13:11
*** xhaakon has quit IRC13:11
faenilyes, I can agree with the startup time, but I think that needs some benchmark first13:11
Sfiet_Konstantinand I think that that's why I have only seen Theme objects defined in C++13:11
faenilSfiet_Konstantin, or maybe because they need c++ to restrict access?13:12
Sfiet_Konstantinfaenil: restrict acces ?13:12
Sfiet_KonstantinI think it is more a matter of clean API13:12
Sfiet_Konstantinah, we are at project number 10813:12
Sfiet_Konstantinsoon, 12313:13
faeniltell me again why the current API is not clean13:13
faenilseriously, I'm trying to understand your point :)13:13
Sfiet_Konstantinfaenil: try call Theme.primaryButton.helloWorld13:14
Sfiet_Konstantinit might silently fail13:14
faenilSfiet_Konstantin, silently? don't you get "undefined"?13:14
Sfiet_Konstantinfaenil: not sure13:15
Sfiet_KonstantinI'm really not sure here13:15
Sfiet_Konstantinwell, I forget a bit13:15
*** phdeswer has joined #nemomobile13:15
Sfiet_Konstantinbut something I find horrible in the current arch, is that ControlsStyleConfig.qml, in which you can put everything, and can make typo and etc.13:16
faenilSfiet_Konstantin, just tried, "Unable to assign [undefined] to QColo"13:16
Sfiet_Konstantinsomething fun too: you won't get autocomplete :(13:17
*** Martix_ has quit IRC13:17
*** fk_lx has quit IRC13:17
faenilSfiet_Konstantin, that was put all together on purpose, so that you can modify everything more easily13:18
Sfiet_Konstantinfaenil: yeah, for quick dev purpose, but when you have your API, you might need a nice C++ API instead13:18
faenilthe QML styles already split things, so this is an upper layer which abstracts theme13:18
Sfiet_KonstantinI don't know, I just feel that huge QObject weired13:19
faenilwhat's your proposal? create ButtonTheme.cpp?13:19
DarkSimHow are we sailing today?13:20
Sfiet_Konstantinfaenil: yep13:20
faenilSfiet_Konstantin, :(13:20
Sfiet_Konstantinyou don't like C++ do you ?13:20
Sfiet_Konstantinwhat about we do 2 branches, you fast proto in QML JS, I standardize in C++ ?13:20
Sfiet_Konstantingood compromise ?13:21
faenilI love c++, more than JS13:21
faenilI just don't like to overcomplicate stuff just because "I like c++" (general I)13:21
Sfiet_Konstantinit is not about complicate13:21
Sfiet_Konstantinit is about making stuff (like API, and call flow) clean13:21
Sfiet_Konstantinright now, you expose a QML stuff in C++, it is strange :(13:22
faenilSfiet_Konstantin, qt-components gets styling from .js is that better?13:23
faenilhey don't have one .cpp for each component13:24
Sfiet_Konstantinat least their JS file is pretty basic13:24
Sfiet_Konstantina bunch of constants13:24
faenilthey have a big js file which is a mess13:24
faenilall constants13:24
faenilah, so you like that?13:24
Sfiet_Konstantinbut it is basic13:24
Sfiet_Konstantinno, I hate it too13:24
faenilof course it's basic, they allow much less customization13:25
Sfiet_Konstantinfaenil: why should we allow customization here ?13:25
Sfiet_Konstantinwe should allow customization in a different theme file13:25
faenilSfiet_Konstantin, did you see Theme1.js ?13:25
Sfiet_Konstantinthe APIs for theming should define a clean stuff13:26
Sfiet_Konstantinyeah, theme1.js looks good13:26
faenilso, those are themes13:26
Sfiet_Konstantinbut, the idea is to have clean interfaces all the way13:26
faenilthe .qml file is the upper level13:26
faeniland it works the same13:26
Sfiet_Konstantinlike the guy who wants to theme should have something that fails if the theme file is wrong13:26
Sfiet_Konstantinthe developer of components should have something that is simple to understand when something fails13:26
Sfiet_Konstantinand the user of components should have a clean API13:27
Sfiet_KonstantinI don't know if full C++ stuff is the best13:27
faenilthis has nothing to do with user of components13:27
faeniluser of components calls13:27
faenilhow is that difficult you have to tell me :)13:27
Sfiet_Konstantinuser of components is ok now :)13:27
Sfiet_Konstantinbut the question remains open for the two others13:27
Sfiet_Konstantinright ?13:27
Sfiet_Konstantinand well, I like C++ and am defending my point of view, since I know that C++ can allow better protection13:28
Sfiet_Konstantinbut maybe QML JS can do too13:28
faenilof course protection13:28
faeniljs doesn't offer any13:28
Sfiet_Konstantindo you understand my fears here ?13:28
Sfiet_Konstantinand also, customisability, you might need to load an unlimited number of themes13:28
Sfiet_Konstantinbut IIRC you can do it in JS13:29
Sfiet_Konstantinso, I wanted C++ just because I know how to do it properly in C++13:29
faenilI got that :D13:29
Sfiet_Konstantinbut fast proto in QML, I'm not against13:29
faenilI'm trying to get you out of that mentality letting you explain why that is "globally" betetr13:29
Sfiet_KonstantinI think (I might be wrong) that it is better for _fast proto_13:30
*** xl_kf has joined #nemomobile13:32
faenilSfiet_Konstantin, so basically you want a middle layer between qml and json13:33
Sfiet_Konstantinfaenil: yeah13:33
Sfiet_Konstantinwhat do you think ?13:34
faenilI don't know, I'm trying to think how that suits the QQC Styling13:34
Sfiet_Konstantinfaenil: what do you think about global theming management ? think about another app changes global settings13:35
Sfiet_Konstantinand then all apps react13:35
Sfiet_Konstantincan you do it in pure JS ?13:35
Sfiet_Konstantin(open question)13:35
*** jonwil has quit IRC13:37
*** n9mx has quit IRC13:37
faenilwell, I don't know how that is done in silica, but it's enough to monitor a file/config in c++, and when that changes you emit themeChanged() and the theme of the app changes accordingly13:40
faenilas js handles all the rest13:40
Sfiet_Konstantinfaenil: how do you update the binding ? maybe include a JS function ?13:41
faenilno, just expose theme property from c++13:41
Sfiet_Konstantinah, so basically, the C++ middle wrapper ?13:42
faeniland update that when the file/whatever which says what the GLOBAL theme is, is updated13:42
Sfiet_Konstantinwhat JS manages ?13:42
faenilin this case you need c++ to monitor file and tell js that theme changed13:42
faenilonce js know the new theme, boom boom boom and it's done :D13:42
faenilall bindings13:43
Sfiet_Konstantintell me where is the JS code, and the C++ ?13:43
Sfiet_Konstantinheight: Theme.height <- JS this kind ?13:43
Sfiet_Konstantinor ThemeObject.qml QtObject { property int height } <- JS this kind ?13:43
faenilSfiet_Konstantin, look at the setTheme13:43
faenilin NemoControls13:44
Sfiet_Konstantinyeah, on it13:44
faenilonce you change currentThemeConfig, everything automagically changes13:44
Sfiet_Konstantinmind providing details on how it works ?13:45
Sfiet_Konstantinlet me see13:45
*** Martix_ has joined #nemomobile13:45
faenilSfiet_Konstantin, ControlsStyleConfig has a binding on currentThemeConfig,13:46
giucambut do you have to import every theme in that file? or is it just a temporary solution?13:46
Sfiet_Konstantinfaenil: ah13:46
Sfiet_Konstantinmissed it :)13:46
faenilgiucam, it's a temporary solution, and it's what I don't like13:46
faenilSfiet_Konstantin, and once that variable changes, all the JS objects are reevaluated, as they use that QML property13:47
Sfiet_KonstantinI'm trying to see13:47
Sfiet_Konstantinthere is somthing interesting13:47
giucamfaenil: in my shell i look in a path and look for every folder with a theme definition file in them13:47
faenilcurrentThemeConfig -> themeConfig -> all stylings reevaluated13:47
faenilgiucam, yes that's what I'd like to do, but can you do that in js?13:47
giucamhmm, don't know13:47
faenilgiucam, that is the problem :/13:48
faenilI don't think you can import a file on demand in JS13:48
Sfiet_Konstantinfaenil: IIRC you can13:48
Sfiet_Konstantinnot sure13:48
faenilSfiet_Konstantin, awesome then ;)13:48
Sfiet_Konstantinso basically, right now, you have NemoControls that is used to load data from config files13:49
Sfiet_Konstantinand ControlsStyleConfig is used to mirrors them (middle layer)13:49
faenilyes, basically ControlsStyleConfig has the values for those things that are part of .QML Style files, but shouldn't be part of a theme13:50
*** DarkSim has quit IRC13:50
Sfiet_Konstantinarch looks ok13:50
faenila theme developer just has to make sure he includes all the values of the working themes13:51
Sfiet_Konstantinbut hum13:52
Sfiet_Konstantincan't JS load JSON ?13:52
Sfiet_Konstantininstead of .js files ?13:52
Sfiet_Konstantinbut it is bad to parse json in js13:52
faenilwell qml can load json, but what do you get more?13:52
Sfiet_Konstantinbetter do it in C++13:52
Sfiet_Konstantinfaenil: dynamic loading ?13:53
Sfiet_Konstantinbecause I cannot find how to easily load JS13:53
faenilSfiet_Konstantin, you still have to put it in a file13:53
Sfiet_Konstantinfaenil: put what in a file ?13:53
Sfiet_Konstantinand which file ?13:53
faenilthe json code you're talking about13:53
faenillet's suppose we use json instead of js...ok you have json files for the themes13:53
faenilnow how do you import those on demand?13:54
Sfiet_Konstantinyeah, cana't JS read these json files ?13:54
Sfiet_Konstantinit is not called JSON for nothing I hope :D13:54
faenilI don't understand what do you get more if you have json or js in the theme files13:54
Sfiet_Konstantinneed jquery13:54
Sfiet_Konstantinfaenil: we are trying to solve the dynamical file loading13:55
Sfiet_Konstantininstead of import theme1, import theme213:55
faenilI know that, but you still need13:55
faenilfunction importFile13:55
faenilwe don't care what's in that file13:55
faenilif it's json or js vars, that doesn't matter13:55
Sfiet_KonstantinI'm searching for importfile13:55
Sfiet_Konstantinyeah yeah13:55
Sfiet_Konstantinbut I thought that you have this importFile in JS for JSON files13:56
giucamwhy instead of importing a js file you don't use a qml file for the themes and then you create a component  for it?13:56
Sfiet_Konstantinactually, you need jQuery13:56
Sfiet_Konstantingiucam: ??13:56
Sfiet_Konstantinwe already have QML file13:56
faenilgiucam, not a bad idea, fixes part of the problem13:56
giucamSfiet_Konstantin: instead of Theme1.js Theme1.qml13:56
Sfiet_Konstantindynamically load a QML component ?13:57
faenilgiucam, we still need a way scan the path13:57
giucamthen you create a component in ControlsStylesConfig13:57
giucamfaenil: yeah, that's another part of the problem13:57
Sfiet_Konstantinyet another component in the QML stack13:57
Sfiet_Konstantinthat might not be useful13:57
giucambut you create that on demand instead of having to import every js theme file13:57
Sfiet_Konstantingiucam: yes13:57
faenilSfiet_Konstantin, you don't create one for each theme, you only have one13:57
Sfiet_Konstantinfaenil: yeah13:58
Sfiet_KonstantinI don't know ...13:58
Sfiet_Konstantinnot very fan of everything here13:58
Sfiet_Konstantindynamically create component -> no API check13:58
Sfiet_Konstantinyou can't react by outputting errors like: "Error: button.pressedColor not found, reverting to default"13:59
Sfiet_Konstantinsorry, but you need a solid basis for components13:59
giucamwell, you can create a c++ class with the properties, then you make sure the component object is made with that class13:59
faenilSfiet_Konstantin, that only happens if the theme is bugged, and it's not like the theme is 2k LOC14:00
faenilit's a bunch of variable.s..14:00
giucam...not sure how to check that is js, though14:00
Sfiet_KonstantinIMO, parsing the theme in C++14:00
Sfiet_Konstantinthat's all14:00
Sfiet_Konstantinyou use a standardized XML / JSON14:00
Sfiet_KonstantinI prefer JSON personnaly14:00
faenilI agree this is definitely more robust14:01
Sfiet_Konstantinand ...14:01
Sfiet_Konstantinactually, nothing14:01
Sfiet_Konstantinnot nothing14:01
Sfiet_Konstantinwhen you loaded your JSON file parsed from C++, how do you expose it ?14:01
Sfiet_KonstantinI mean, there might be no need of haivng ControlsStyleConfig14:02
faenilSfiet_Konstantin, that is what I didn't like of the c++ approach14:02
Sfiet_Konstantinyou can expose them directly to componentss14:02
faenilyou need to expose all damn properties14:02
Sfiet_Konstantinwith clean API14:02
Sfiet_Konstantinfaenil: I can write a code generator, that generates the interfaces from JSON theme file14:02
giucamQJSonDocument can be converted to QVariantMap iirc14:02
giucamnot so nice, but...14:02
Sfiet_Konstantingiucam: no QVariantMap in QML plz :(14:02
Sfiet_Konstantinfaenil: so, basically, no need to write stuff that are exposed14:03
faenilSfiet_Konstantin, so let's recap, how many steps you have to get into to expose ONE new property?14:03
Sfiet_Konstantinfaenil: when you have the script, you can add one component for free14:03
Sfiet_Konstantinin Nemo QML plugin social, I wrote my script, that was WAY more complicated14:04
Sfiet_Konstantinand when I needed to support events14:04
Sfiet_Konstantinit took 2h for me to polish everything14:04
Sfiet_Konstantinah, and I brought twitter support in a 2 days timeframe14:04
Sfiet_Konstantinso ...14:04
faenilthis will make contributions much less likely imho,but okay ;)14:05
Sfiet_Konstantinfaenil: why ?14:05
Sfiet_Konstantinyou write a json file14:05
Sfiet_Konstantinrun makeInterface.py14:05
Sfiet_Konstantinwoow, code is written :O14:05
giucamc++ code?14:05
faenilSfiet_Konstantin, one json for each component for each theme?14:07
Sfiet_Konstantinfaenil: one for each theme14:07
Sfiet_KonstantinI was thinking about this14:07
faeniland why do you need the generator14:07
faenilonce you have the components built14:07
Sfiet_KonstantinGlobal object: global properties (name, accent color)14:08
Sfiet_Konstantinfaenil: to  build the components14:08
Sfiet_Konstantinyou need the generator only when importing a new component :)14:08
faenilSfiet_Konstantin, ah well I think it takes more time to write the generator than the interface :D14:08
Sfiet_Konstantinfaenil: what if your interface have a lot of properties14:08
faenilbut if you have something coded already, np14:08
Sfiet_Konstantintonight, I give you the generator ?14:08
Sfiet_Konstantinand also the spec of how the theme.json should be written ?14:09
giucamimho, themes should be compiled code14:10
faenilwell, if you have stuff ready already ;)14:10
faenilyay here's another idea, compiled code!14:10
faenilgiucam, ah, okay :D14:11
giucamor rather, to be compiled code14:11
faenilgiucam, yeah themes are json/js whatever14:11
Sfiet_Konstantinit is not about theme14:11
Sfiet_Konstantinjust exporting stuff14:11
giucambut you need to comiple the generated code, you need to have a compiler, headers,...14:11
giucamif i get a theme from the internet, i'll need to build it14:12
faenilthe headers are only for when developing the component14:12
faenilonce Nemo components will be ready14:12
faenilthe json themes will be plugins14:12
faenilthe header will read every valid theme14:12
faenilthe generated code*14:12
Sfiet_Konstantingiucam: themes are json files (with some more stuff like assets)14:13
faenilthe generated is only to speed up the development of UI controls14:13
faenilgenerated code*14:13
giucamoh, maybe i misunderstood. i thought the generator was to create c++ code for what now is Theme1.js14:13
faenilgiucam, nope14:13
giucamah ok14:13
faeniljust to create code which exposes the theme values to qml14:13
faenilto have a more robust API and errors checking14:13
Sfiet_Konstantinfaenil: I cannot generate interfaces from a theme json file14:14
Sfiet_KonstantinI can, however, generate them from a description JSON file14:14
Sfiet_Konstantinwhat do you think ?14:14
faenilSfiet_Konstantin, yes of course14:14
faenilthe schema file for the themes14:15
Sfiet_Konstantinfaenil: cool :)14:15
faenilSfiet_Konstantin, what is not clear to me is, in JSON you have values for all the components14:15
Sfiet_Konstantinfaenil: na, for schema files, I think I will use files14:15
faenilSfiet_Konstantin, ?14:16
Sfiet_KonstantinI will describe every component in a JSON file14:16
faenilok yes, what I was expecting14:16
faenilwe need one schema for each components14:16
faenilSfiet_Konstantin, but don't tell me we're not making stuff more difficult :P14:17
faenilbut yes it's more robust for sure14:17
Sfiet_Konstantinfaenil: tonight I said :D14:17
faenilI'm not just not sure this is worth the effort for Nemo controls, that's all14:17
*** arcean_ has quit IRC14:18
Sfiet_Konstantinfaenil: one night spent to not write boilerplate code ? hell yeah !14:19
*** arcean_ has joined #nemomobile14:21
faenilI guess I'll start working on new components14:22
Sfiet_Konstantinfaenil: :)14:27
faenillet's see :D14:28
faenilgod I'm so looking forward to having The Jolla :D14:28
crndjust a few more months14:29
sledgesfirst PR faenil :) I wonder if it made complete bs :D14:33
faenilsledges, ah ok so basically it's incomplete groove :)14:35
faenilincomplete slider, sorry14:35
sledgesjust the rudimentary one14:35
* faenil has a look14:35
sledgeswould be good to agree on namings14:36
Sfiet_Konstantinsledges: +114:37
sledgeswe should follow the qqc naming conventions (like groove and handle, instead of background and slider ball :))14:37
sledges(the latter coming from specs)14:38
Sfiet_Konstantinsledges: slider ball :D14:38
sledgesand/or trumpet ;P14:38
sledgesthe trumpet is out-of-spec-scope, so might remain :D14:38
sledgesjust having doubts about ProgressGroove name as a generalised term14:39
sledgesSliderOrProgressBarGroove would be delivering the message, hmm need to think for a good name14:40
sledgesand faenil , Sfiet_Konstantin , the reusability of ProgressBarStyle.panel and SliderStyle.groove - is that ok? as I got confused some components have the Background bit, others dont14:41
faenilI guess they have same styling so it should work14:41
faenilbut maybe this is more a question for graphics guys14:41
sledgesand apparently ProgressBarStyle can be styled either with 'Background and Progress' or composed only of 'Panel'14:43
faenilsledges, commentend ;)14:45
sledgesawesome :)14:46
*** wmarone has quit IRC14:47
sledgesfaenil, ProgressGroove -> GrooveStyle instead?14:48
sledges(i forgot the naming convention)14:48
faenilsledges, is that a reply to the "do we need to expose it?"14:48
sledges15:39  sledges just having doubts about ProgressGroove name as a generalised term14:48
faenilyeah GrooveStyle is ok14:48
*** mcfrisk has left #nemomobile14:49
faenilqwazix, ping14:51
faenilI don't understand if the "Header" is actually a toolbar only..14:52
locusfso the slider spec says that when slider is pressed the slider-trumpet becomes a "stretched" trumpet?14:52
sledgesif slider is in trumpet mode, yes14:52
faenilas header looks like an element anchored to top of the view, not bottom14:52
sledges(locusf ^ and t=1)14:53
locusfsledges: ok14:53
*** jreznik has quit IRC14:55
faenilQQC are confusing14:59
faenilAppWindow has statusbar, toolbar, and menubar14:59
faenilso, how do you set a custom toolbar for each "Page"?14:59
faenilconditional toolbar? :/15:00
*** Martix_ has quit IRC15:00
qwazixfaenil, I'm under fire right now, but the header is the titlebar of the page combined with a toolbar, and a tool drawer (or dock however you like to call that)15:00
faenilqwazix, so the toolbar is always anchored on top?15:01
faenilthe Header component15:01
faenilis a top view component15:01
qwazixyeah, and you can drag it to open the drawer15:01
faenilI hoped it was a bottom one, especially for the big screens15:01
qwazixbut it can be different in each page15:01
faenilin use with tab views15:01
faenilthat is the problem, I don't see a way to make it different for each page in QQC15:02
*** jreznik has joined #nemomobile15:02
qwazix:nod: we must find a way to work around that...15:02
faenilbut I guess this will be the case for all iOS and Android apps15:02
faenilI'll ask in #qt-qcuik15:02
qwazixfaenil, bottom toolbar has the problem that you can't combine header with few buttons => more lost vertical space15:03
qwazixthat's why both ios and android moved toolbar to the top15:03
faenilbut then you can't reach it with your finger... :/15:04
faenilso you won't use it :/15:04
faenil(unless you're forced to, of course)15:04
*** piee has joined #nemomobile15:05
sledgesfaenil, PR adjustments done :)15:13
faenilsledges, the qmldir question was a genuine one :)15:20
sledgesi just removed it and all works15:20
sledgesdon't think anyone will need to re-use only a groove15:20
faenilI was thinking that everything works imho, if we remove those from qmldir15:20
*** Morpog_Mobile has quit IRC15:21
faenilok :)15:21
sledgesxD mindreading again15:21
faenilno, I meant, I think if we remove the rest of the qmldir15:21
*** Morpog_ has quit IRC15:21
faenilit will still works15:21
*** Morpog_N9_______ has quit IRC15:22
sledges*the rest?15:22
faenilanyway, doesn't matter15:22
faenilyes the other styles15:22
faenilas the components use Qt.createComponent(path + ".qml" ) anyway15:22
faenilthey don't use the qml exposed styles15:22
*** NIN101 has joined #nemomobile15:29
*** IgorSK has quit IRC15:34
locusfsledges: do you want some help chiseling the trumpets in etc?15:34
giucammeh. can i split up the compositor and the shell client? i find it uncomfortable to have both together, it creates an artificial differentiation between shell windows and app windows15:34
faenilw00t, ^15:35
giucami think it'd be possible to keep both models in lipstick by adding a new QGuiApplication subclass15:36
sledgeslocusf, yes please, feel free to have fun picking one or all tasks: disabled slider style, its handle (ball, indicator) and the trumpet15:36
giucamthe biggest change would be in lipstick-colorful-home15:37
faenilgiucam, yeah ofc15:37
locusfsledges: ok will rebase on your work and continue15:37
sledgeslocusf, yup, just pull --rebase from origin15:38
faenilcrap, it seems like QQC don't have support for a different toolbar for each page..15:38
faenilunless you do AppWindow.toolbar = mytoolbar15:38
sledgeshow else would you see this implemented faenil15:39
sledgesif qqc did support it15:39
faenilsledges, well, in meego components you have Page15:39
faeniland each Page has a toolbar:15:39
sledgesw.r.t. resource usage, is same..15:39
faenilyes, but the semantic is different15:40
faenilQQC have ONE toolbar15:40
faenilthe applicationwindow one15:40
faenilyou can hack that by changing it based on the view you're in...but that's not what is made for15:40
faenilit is*15:40
sledgesyup, a mechanism is needed :(15:40
faenilsince I don't think they didn't consider this case, I'd like to hear the opinion of some qt guy15:41
*** Morpog_N9_______ has joined #nemomobile15:41
faenilI tried asking already, no reply so far15:42
sledges:) ml?15:42
sledgesis not like we need page header toolbar for tomorrow :)15:44
locusfhmm my examples binary segfaults15:44
sledgeslocusf, fingerterm15:45
*** lbt has joined #nemomobile15:45
locusfsledges: ah15:45
sledgesand export QT_QUICK_CONTROLS_STYLE=Nemo15:46
sledgesin there15:46
sledgeslocusf, ^15:47
sledgesthanks to faenil for this intrinsic info above ;)15:48
locusfsledges: ok thanks15:48
faenilfyi, it's the official way of switching QQC themes ;)15:49
sledgesone way of protecting FOSS IP :DDD15:49
faenil? XD15:49
sledgesit's open source! now go compile/launch it! :))15:49
*** Morpog_PC has joined #nemomobile15:50
sledgesof course we are wip15:50
Sfiet_Konstantinfaenil: done ? :P15:50
*** Morpog_Mobile has joined #nemomobile15:50
faenilsledges, I'm not getting your point :)15:50
sledgessadly tizen has taken it to the next level :( they protect accessto their OBS, and all metadata needed to produce image is behind closed walls15:50
faenilSfiet_Konstantin, done what?15:50
sledgessource is open15:50
Sfiet_Konstantinfaenil: generator that generates an exposed class from theme structure file ?15:51
*** wmarone has joined #nemomobile15:51
*** arcean_ has quit IRC15:51
faenilSfiet_Konstantin, wasn't that your task? XD15:51
Sfiet_Konstantindidn't generated a class that parses the theme and loads it yet15:51
Stskeepssledges: well, that's a bit unfair, there's fakeobs?15:51
Sfiet_Konstantinon the work15:51
Sfiet_Konstantinfaenil: it is15:51
faenilah ok :P15:51
Sfiet_Konstantinpolishing a bit and send you a PR15:51
sledgesfaenil, without info what i told to locusf about fingerterm and export, one needs to struggle using your components gallery :D just a silly example of protecting intellectual property in oss world15:51
faenilsledges, but it's not my fault, that's the Qt way of switching themes in QQC XD15:52
sledgesno-one's blaming you :D15:52
*** WWDrakey has left #nemomobile15:52
faenilwell, I could just add a putenv in main.cpp of the example, but anyway :D15:52
sledgesi just had a deja-vu moment of such 'practises' without documentation :))15:52
faenilsledges, :)15:52
sledgesStskeeps, dunno15:53
* alterego ponders interactive 8-bit interactive games in LPM.15:54
alteregoLike the original pacman or pong ^.^15:54
sledgesor cat15:54
sledgesCGA ftw15:54
alteregoNot sure why I said interactive twice ..15:54
alteregoHrm, maybe I should have another coffee ..15:56
faenilalterego, they must have been interactive indeed15:56
alteregoI have this cool app that does LPM in Symbian Belle, has some pretty animations and stuff. Was wanting to do something similar with N9/50.15:57
*** Pat_o has quit IRC15:57
faeniloh yeah, we don't know anything about LPM in Jolla!15:57
faenilStskeeps, *cough* *cough* ^15:57
alteregoIs the Jolla AMOLED?15:57
Stskeepsfaenil: i don't know anything15:58
faenilStskeeps, ah I see, I must have highlighted the wrong guy, sorry.. :P15:58
*** Pat_o has joined #nemomobile15:58
alteregoAnyway, doesn't really matter for first release, there are very few devices that even use it. Think I've only ever seen it on Nokia devices.15:58
faenilalterego, IPS qHD15:58
alteregoIt was an addition to the latest version of WP on Lumia15:58
*** Morpog_N9_______ has quit IRC15:59
*** Morpog_N9_______ has joined #nemomobile15:59
alteregoDoes IPS have a similar kind of thing?15:59
faenilno idea, hence asking :P15:59
*** topro has quit IRC15:59
dm8tbrIPS is a LCD16:01
dm8tbrnot a LED screen16:01
alteregoIPS-LCD and IPS-LED are different.16:01
alteregoThink iPhone is IPS LCD16:02
alteregoSo yeah, you're probably right that it's an IPS LCD as opposed to IPS LED/16:02
alteregoI imagine, because of the backlight, LPM is impossible.16:03
alteregoMaybe you could get away with something if it had transflective properties, but it wont be anywhere near as cool as N916:03
dm8tbrhow would 'in plane switching' work with leds? o.O16:03
faenil:( thanks for opening our eyes16:03
alteregodm8tbr: I Don't know, all I know is most computer monitors now are IPS-LED, apparently ..16:04
dm8tbrmy recommendation: buy a meta watch to pair with the device16:04
alteregoI know my HDMI monitor is IPS LED, has it written in pretty colours on the front ;)16:04
dm8tbralterego: probably IPS LCD with LED backlight...16:04
alteregodm8tbr: yes, I just had that exact thought ;)16:04
Sfiet_Konstantinfaenil: I need your input16:04
alteregoMeh, what if I want to put my phone on my wrist :P16:04
Sfiet_Konstantin(aka help)16:04
dm8tbrfor those that don't want to buy a metawatch: ultra-low-power-LCD-other-half16:05
alteregoAMOLED other-half? :)16:05
alteregoDon't want back light ;)16:05
faeniloh crap16:05
faenilI was in Marc's presentation! :D16:05
Sfiet_Konstantinfaenil: where ? :D16:05
dm8tbralterego: sure, you can have some small-ish AMOLED screen too, like on the first generation sony-ericsson liveview16:06
*** arcean has joined #nemomobile16:06
*** qwazix has quit IRC16:07
locusfhow do I catenate a real value in QML?16:07
faenilI can see me and fk_lx16:07
Sfiet_Konstantinfaenil: I saw you :D16:08
locusfeg. I have a text with real value 4.2123 and I'd like that to become 416:08
dm8tbralterego: use one of these displays
giucamlocusf: look at js Math object16:08
alteregolocusf: locusf parseInt('4.123') ?16:09
locusfalterego: ok16:09
alteregolocusf: but it always rounds down, btw.16:10
*** piee has quit IRC16:10
*** qwazix has joined #nemomobile16:10
faenilif parseInt >= 0.5, return parseInt +1 :P16:12
faenilif val - parseInt *16:13
alteregofaenil, locus, well there is Math.round('4.123') ..16:13
faenilbetter :)16:13
*** chriadam|away has quit IRC16:14
*** denexter has quit IRC16:15
*** chriadam has joined #nemomobile16:15
giucamaah, but there's LipstickCompositorProcWindow16:21
locusfalterego: ok, but it works ok for slider :p16:23
*** ZogG_laptop has joined #nemomobile16:24
*** ZogG_laptop has joined #nemomobile16:24
locusfnow to align the trumpet below the slider ball16:28
locusfthe trumpet animation on reaching right side might be tricky16:28
*** lpotter has quit IRC16:33
*** lpotter has joined #nemomobile16:33
*** Pat_o has quit IRC16:39
*** fk_lx has joined #nemomobile16:51
*** Pat_o has joined #nemomobile16:55
Sfiet_Konstantinlocusf: awesome :O16:57
Sfiet_Konstantinwhat are you using to do it ?16:57
locusfcan a margin be negative, so that it moves the object to the left if leftMargin: -1 ?16:59
Sfiet_Konstantinlocusf: just an image now: cheater :D17:01
Sfiet_Konstantinlocusf: yes, a margin can be negative17:01
Sfiet_Konstantinbut better use anchor.horizontalCenter: parent.right17:01
locusfSfiet_Konstantin: is there a cleaner way to do it?17:02
locusfthan image :p17:02
Sfiet_Konstantinlocusf: thinking about shaders17:02
Sfiet_Konstantinand shader can be animated17:02
Sfiet_Konstantinfaenil, shader expert, it is your topic ^17:02
faenilme shader expert? I think there has been a mistake :D17:02
faenilI played with shaders, but it was few years ago :P17:03
Sfiet_Konstantinfaenil: :D17:03
faenilanyway, gtg people!17:03
Sfiet_Konstantinwho created the touch area on button :D17:03
Sfiet_Konstantinbye faenil17:03
*** Pat_o has quit IRC17:03
sledgeslocusf, check with qwazix about behaviour17:03
faenilSfiet_Konstantin, that's RadialGradient from qt17:03
Sfiet_Konstantinfaenil: :D17:03
*** arcean has quit IRC17:03
faenilhave fun17:03
faenilbut not too much :P17:04
locusfSfiet_Konstantin: ok, so gotta look into shaders then17:04
locusfsledges: roger that17:04
locusfbye faenil17:04
Sfiet_Konstantingtg too17:04
Sfiet_Konstantinbye faenil see you later17:04
Sfiet_Konstantinbye people17:04
locusfqwazix: ping17:05
sledgeslocusf, coming from: 15:38 < qwazix> (also keep in mind that numberless sliders won't have a bubble at all)17:05
sledgesand the t=0 and t=1 bit17:06
locusfsledges: ah ok17:06
sledges15:38 < qwazix> (which reminds me that I didn't mention that in the spec)17:06
locusfsledges: how do we determine the t=0/117:06
sledgesis during creation, some sort of trumpet: true property (?)17:06
locusfhmm interesting17:07
sledgesat least this is what i read from spec17:07
sledgesinterpret ;D17:07
sledgesand numberless slider becomes a progress bar... :{ not good17:07
sledgesqwazix, we need you :D17:07
sledgess/becomes/looks identical to/17:07
locusfthere is pressed bar17:07
locusfin the spec17:08
*** Sfiet_Konstantin has quit IRC17:08
sledges15:34 < qwazix> (I really was viewing the silder-ball as the label, not the handle though)17:09
sledgesand iirc hence we'd like to see the ball also when not pressed17:10
sledgeshe said17:10
sledgesso, that's why i'd recommend to sync with him, not too late now still :D17:10
locusfhmm ok17:10
sledgesMorpog_PC, ^17:10
sledgeslast but not least:17:12
sledges22:23 < qwazix> next step is a list of all components, and then the dependency tree17:12
sledges22:24 < qwazix> and then start a table, of the style     component name | spec | implementation |17:12
sledges22:24 < qwazix> so that we can tick away what's completed17:12
sledgesa way to explain exact component behaviour17:13
sledgesbut i like qwazix approach - not to spec everything from A-Z, but leave space for imagination at any point during the implementation17:13
sledgesand build up spec as we go17:13
locusfyeah I agree17:15
*** Morpog_N9_______ has quit IRC17:16
*** Morpog_N9_______ has joined #nemomobile17:16
*** Pat_o has joined #nemomobile17:16
sledgesas you can see in Morpog_PC's latest mockup, slider has label all the time:
*** Pat_o has quit IRC17:21
sledgeswhich makes sense17:21
sledgesnow when should we use t=0/1 (trumpeted or not) idk17:22
locusfsledges: take a look ^17:22
locusftaking a pressed shot, please wait17:23
sledgesisn't the negative margin slightly too big?17:23
locusfthere is no negative margin17:24
locusfanchors.horizontalCenter: parent.right17:24
sledgesweehee smart ;)17:24
sledgesat any rate, ball looks teeny bit too much "on top" of trumpet17:24
locusfit should be just enough to just nick the right edge17:25
*** cxl000 has joined #nemomobile17:32
locusfthe negative margin didn't work17:34
*** asterismo has quit IRC17:46
*** asterismo has joined #nemomobile17:46
*** Pat_o has joined #nemomobile17:48
*** slaine has quit IRC17:54
*** jreznik has quit IRC17:54
*** jreznik has joined #nemomobile17:55
locusfI'll do textField next17:56
*** M4rtinK has joined #nemomobile17:57
*** Vlad_on_the_road has joined #nemomobile17:58
*** exec_s has joined #nemomobile18:00
*** evilpie has joined #nemomobile18:02
*** panda84kde has quit IRC18:11
*** Morpog_N9_______ has quit IRC18:11
*** Morpog_N9_______ has joined #nemomobile18:11
*** evilpie has quit IRC18:12
Morpog_N9_______guys, sliders spec was done by qwazix18:19
*** DarkSim has joined #nemomobile18:19
Morpog_N9_______and iirc he said trumpet was only for numbers, he just forgot to add that in spec18:19
sledgesmakes sense18:23
sledgesie labelled balls :)18:23
*** bunk has quit IRC18:24
qwazixlocusf, sledges, sorry, emergency at work18:37
qwazixreading backlog atm18:37
locusfqwazix: np :)18:42
*** DrCode has quit IRC18:48
*** DrCode has joined #nemomobile18:52
qwazixokay, up to date.18:55
qwazixslider looks good, one small comment, the trumpet should "hug" the bubble a bit more18:56
qwazix(and the text needs some centering, but only after switching to the right font, because spacing might be different)18:57
locusfqwazix: care to specify "hug" :) ?18:59
locusfalso whats the width of text fields?19:00
*** arcean has joined #nemomobile19:04
*** Martix_ has joined #nemomobile19:05
qwazixlocusf, if you see the spec, the end of the trumpet is almost as high as the diameter of the ball19:11
*** Morpog_N9_______ has quit IRC19:11
*** Morpog_N9_______ has joined #nemomobile19:11
locusfqwazix: true19:11
locusfI just don't know how its done, yet19:12
aknightthere is a curve in the spec... is the implementation a straight line?19:12
qwazixlocusf, width of textfields is variable, let's say that full width is the default, excluding some padding left and right19:12
qwazixMorpog has specced 16u as minimum padding from the edge of the screen in listview header so let's use that for now19:14
locusfqwazix: ok19:15
qwazixI don't know if we should say 480-32 or specify anchors left and right and 16u margin at either side19:15
qwazixI'd vote for the latter19:15
locusfme too19:15
qwazixok then19:15
*** Martix_ has quit IRC19:16
locusfI'd also love a borderimage of the text field blue line19:16
qwazixwhy not just use a rectangle?19:16
locusfI'm not 100% sure how that would be done19:16
qwazix(so that you can use accentColor for coloring instead of having an image with the color)19:17
qwazixI'm not sure but    Rectangle { width: textField.width; height: 2; textfield.bottom; anchors.left; textField.left; }  should do it19:18
*** Martix has joined #nemomobile19:18
locusfI only get a background as property, not the entire textfield19:20
*** Martix has quit IRC19:20
*** Martix has joined #nemomobile19:21
*** Martix has quit IRC19:21
*** martyone has joined #nemomobile19:21
*** Martix has joined #nemomobile19:21
qwazixlocusf, have a link to the code?19:22
qwazixfaenil, ping19:23
*** Martix has quit IRC19:23
locusfqwazix: sure, I'll commit in a sec19:24
*** Martix has joined #nemomobile19:24
Morpog_N9_______exciting times in here lately :)19:25
*** Martix has quit IRC19:28
*** Martix has joined #nemomobile19:28
qwazixlocusf, does it produce the desired result or?19:28
locusfqwazix: yeah it doesn't19:28
*** Martix has quit IRC19:29
*** furikku has quit IRC19:29
qwazixwhat is wrong with it? (sorry don't have dev env set up atm)19:30
qwazixbackground requires an image, not qml components?19:31
*** Martix has joined #nemomobile19:31
locusfqwazix: the inner rectangle isn't drawn19:31
qwazixI think that setting  `color` of Rectangle at L35 and not border will do the right thing19:36
qwazixand height: 219:37
locusfqwazix: yes that did it19:38
qwazixalso, I don't know how to access   `accentColor` from  but the selected color and the line color might not be the same in all themes19:40
qwazixthen again forget what I just said, it probably doesn't make much sense19:41
locusfsorry, couldn't get rid of the kb :p19:41
qwazixlocusf, nice!19:41
locusfqwazix: thx :)19:42
aknightkb is nice19:42
locusfso I assume disabled textfield != readonly19:42
qwazixdisabled is completely disabled, no copying possible. I didn't spec a readonly one as on mobile it does not have much point, there are better ways to give a user some text to copy, than forcing him to select it19:44
qwazixthat said, for compatibility purposes, just give the text 0.5 opacity in read only19:44
qwazix(just in case somebody still wants to use it)19:44
aknightare the bracketed lines supposed to be a different color than the unbracketed lines?19:45
qwazixaknight, the bracketed ones are default qt quick controls (locusf, correct me if I'm wrong)19:45
qwazixjust for comparison19:45
aknightah ok19:45
locusfqwazix: yes they are the default styles19:46
locusfwell not default but specified separately from Glacier19:46
qwazixlocusf can we add a mouseArea to the readonly textField so that clicking it copies the text to clipboard?19:48
aknighta read-only textinput can still be selected afaik19:49
locusfqwazix: I guess we could do that if readonly textarea doesn't support selecting19:50
locusfbut it does so its unnecessary19:50
qwazixeven if it does, selecting on capacitive is tough, so we might want to make it easier19:51
*** jluisn has joined #nemomobile19:51
qwazix(still allow selecting, but tapping or double-tapping should auto-copy all text)19:51
locusfqwazix: hmm19:54
locusfits of course doable but its pretty implicit19:54
qwazixlocusf, something like this19:57
locusfokay thats not too bad19:58
qwazixlocusf, disabled needs the text at 0.6 opacity too. Otherwise it's looks alright19:59
locusfqwazix: I know, didn't have time to investigate further20:01
locusfalso github is down :/20:01
locusfor slow20:01
locusfand I gotta sleep20:01
qwazixlocusf, it seems it's back up, just managed to push20:01
qwazixgood night then :), thanks for nice work!20:02
locusfthanks :)20:02
locusfand good night20:02
qwazixMorpog_Something :P just merged the PR20:03
*** piggz has joined #nemomobile20:06
*** kostaja has quit IRC20:07
*** lbt has quit IRC20:23
*** lbt_away is now known as lbt20:23
*** Pat_o has quit IRC20:28
*** jreznik has quit IRC20:33
*** Pat_o has joined #nemomobile20:34
*** arcean has quit IRC20:38
*** jluisn has quit IRC20:53
*** lizardo has quit IRC20:55
*** Pat_o has quit IRC21:08
*** piggz has quit IRC21:10
*** piggz has joined #nemomobile21:10
*** piggz has quit IRC21:10
*** piggz has joined #nemomobile21:10
*** louisdk has joined #nemomobile21:13
*** piggz has quit IRC21:14
*** Martix has quit IRC21:21
giucami'm going crazy21:24
giucami thought fixing the lock screen not showing was an easy one for starting hacking, but i think it's actually a qt bug21:25
giucamor even lower, maybe21:26
w00tgiucam: what's your findings so far21:44
*** fk_lx has left #nemomobile21:49
*** Vlad_on_the_road has quit IRC21:53
giucamw00t: either the scene graph doesn't redraw or the frame doesn't hit the screen21:57
giucambut i'll continue tomorrow, i'm tired now21:58
*** cxl000 has quit IRC22:05
w00tgiucam: are you sure this isn't your mesa bug all over again? :p22:07
giucambut it's on wayland, it's on eglfs22:08
giucam*it's not22:14
*** DarkSim has quit IRC22:18
*** piee has joined #nemomobile22:20
w00tgiucam: true enough, i was mostly joking around22:24
*** giucam has quit IRC22:33
*** faenil_ has joined #nemomobile22:35
*** faenil has quit IRC22:36
*** NIN101 has quit IRC22:37
*** martyone has quit IRC22:40
*** faenil__ has joined #nemomobile22:54
*** faenil_ has quit IRC22:55
*** piee has quit IRC22:56
*** M4rtinK has quit IRC23:22
*** jonwil has joined #nemomobile23:59

Generated by 2.11.0 by Marius Gedminas - find it at!