*** chriadam has joined #nemomobile | 00:09 | |
*** Hurrian has joined #nemomobile | 00:28 | |
*** lpotter has quit IRC | 00:37 | |
*** ericcc has quit IRC | 00:45 | |
*** phdeswer has quit IRC | 00:58 | |
*** mschlens has joined #nemomobile | 01:04 | |
*** aknight has quit IRC | 01:04 | |
*** aknight has joined #nemomobile | 01:05 | |
*** louisdk has quit IRC | 01:07 | |
*** mschlens_ has quit IRC | 01:07 | |
*** ericcc has joined #nemomobile | 01:16 | |
*** DrCode has quit IRC | 01:21 | |
*** DrCode has joined #nemomobile | 01:23 | |
*** n9mx has joined #nemomobile | 01:32 | |
*** phdeswer has joined #nemomobile | 01:33 | |
*** n9mx has left #nemomobile | 01:41 | |
*** araujo has quit IRC | 01:43 | |
*** n9mx has joined #nemomobile | 01:46 | |
*** araujo has joined #nemomobile | 01:47 | |
*** n9mx has quit IRC | 01:47 | |
*** cxl000 has joined #nemomobile | 01:59 | |
*** Morpog_ has joined #nemomobile | 01:59 | |
*** Morpog_Mobile_ has joined #nemomobile | 01:59 | |
*** Morpog_Mobile has quit IRC | 02:00 | |
*** Morpog_N9_______ has quit IRC | 02:01 | |
*** Morpog_PC has quit IRC | 02:02 | |
*** n9mx has joined #nemomobile | 02:20 | |
*** Guest31284 has quit IRC | 02:31 | |
*** eebrah_ has joined #nemomobile | 02:33 | |
*** alexxy has joined #nemomobile | 02:39 | |
*** amizraa has joined #nemomobile | 02:41 | |
*** jonwil has quit IRC | 02:43 | |
*** Morpog_ has quit IRC | 02:53 | |
*** n9mx has left #nemomobile | 02:54 | |
*** n9mx has joined #nemomobile | 02:56 | |
*** n9mx has quit IRC | 02:58 | |
*** n9mx has joined #nemomobile | 03:04 | |
*** n9mx has left #nemomobile | 03:05 | |
*** LjL has quit IRC | 03:09 | |
*** LjL has joined #nemomobile | 03:15 | |
*** lpotter has joined #nemomobile | 03:15 | |
*** cxl000 has quit IRC | 03:15 | |
*** martyone has joined #nemomobile | 03:59 | |
*** ericcc_ has joined #nemomobile | 04:08 | |
*** ericcc__ has joined #nemomobile | 04:08 | |
*** ericcc has quit IRC | 04:11 | |
*** ericcc_ has quit IRC | 04:12 | |
*** kostaja has joined #nemomobile | 04:16 | |
*** Morpog_N9_______ has joined #nemomobile | 04:18 | |
*** kavuri has joined #nemomobile | 04:19 | |
*** martyone has quit IRC | 04:22 | |
*** martyone has joined #nemomobile | 04:23 | |
*** ericcc__ has quit IRC | 04:24 | |
*** Jonni has joined #nemomobile | 04:27 | |
*** araujo has quit IRC | 04:32 | |
*** araujo has joined #nemomobile | 04:40 | |
Morpog_N9_______ | morning | 04:43 |
---|---|---|
*** WWDrakey has joined #nemomobile | 05:01 | |
*** furikku has joined #nemomobile | 05:08 | |
*** xhaakon has joined #nemomobile | 05:12 | |
*** amizraa has quit IRC | 05:13 | |
*** Vlad_on_the_road has joined #nemomobile | 05:30 | |
*** lbt has quit IRC | 05:31 | |
*** Pat_o has joined #nemomobile | 05:37 | |
*** asterismo has quit IRC | 05:43 | |
*** asterismo has joined #nemomobile | 05:44 | |
*** lbt has joined #nemomobile | 05:51 | |
*** m4g0g has joined #nemomobile | 05:52 | |
*** araujo has quit IRC | 05:58 | |
*** kostaja has quit IRC | 06:01 | |
*** m4g0g has left #nemomobile | 06:04 | |
*** lbt has quit IRC | 06:04 | |
*** Vlad_on_the_road has quit IRC | 06:13 | |
*** araujo has joined #nemomobile | 06:13 | |
*** kostaja has joined #nemomobile | 06:16 | |
*** ZogG_laptop has quit IRC | 06:17 | |
*** topro has joined #nemomobile | 06:21 | |
*** jonwil has joined #nemomobile | 06:27 | |
*** slaine has joined #nemomobile | 06:32 | |
*** lbt has joined #nemomobile | 06:48 | |
*** Sfiet_Konstantin has joined #nemomobile | 06:53 | |
*** m4g0g has joined #nemomobile | 06:54 | |
sledges | gmornan | 06:58 |
*** Pat_o has quit IRC | 07:01 | |
*** panda84kde has joined #nemomobile | 07:02 | |
locusf | morning | 07:04 |
*** Sfiet_Konstantin has quit IRC | 07:07 | |
sledges | w00t, why would you rather see this in patterns? qt5-qtdeclarative-import- | 07:07 |
sledges | sensors whats wrong with lipstick pulling it in? | 07:07 |
*** m4g0g has left #nemomobile | 07:07 | |
special | sledges: not the import, the plugin | 07:08 |
sledges | s/\n// | 07:08 |
sledges | yup ok special, same question :D | 07:09 |
special | technically lipstick is independent of which sensor backend is in use; for nemo it's sensorfw, but there are others | 07:09 |
sledges | a lipstickless system might still bw full of apps that need it and forgot the import | 07:10 |
special | for the import, applications shouldn't be forgetting :p | 07:10 |
sledges | ah, so just to keep lipstick backend independent.. | 07:10 |
sledges | ok 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 #nemomobile | 07:15 | |
*** jmlich has joined #nemomobile | 07:18 | |
*** Sfiet_Konstantin has joined #nemomobile | 07:20 | |
*** pvilja1 has joined #nemomobile | 07:22 | |
*** pvilja has quit IRC | 07:23 | |
*** Pat_o has joined #nemomobile | 07:24 | |
sledges | done | 07:25 |
* sledges yawns | 07:25 | |
slaine | sledges: time for bacon | 07:25 |
sledges | :D | 07:26 |
sledges | the full English? | 07:26 |
slaine | why the hell noy | 07:26 |
slaine | not even | 07:26 |
sledges | wakes up better than coffee | 07:26 |
sledges | but i dont do coffee lol nor breakfast heh.. | 07:27 |
sledges | feeling very hungry last days though | 07:27 |
sledges | i might be pregnant | 07:27 |
sledges | so let's go for italian breakfast this time -coffee | 07:27 |
sledges | :) | 07:27 |
slaine | Whats an italian breakfast then ? | 07:28 |
sledges | croissant (the most italian word) | 07:28 |
sledges | with cappuccino | 07:28 |
sledges | hot chocolate will do | 07:28 |
slaine | meh, I'll stick with my black coffee and bacon thanks | 07:29 |
sledges | :D | 07:29 |
sledges | fair play | 07:29 |
dm8tbr | mmmmm bacon | 07:29 |
jonwil | forget 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 |
sledges | is that you Homer? | 07:30 |
sledges | here called weet-a-bix | 07:30 |
sledges | (here=uk) | 07:30 |
slaine | and here | 07:30 |
*** Pat_o has quit IRC | 07:30 | |
slaine | (here=ie) | 07:30 |
sledges | lol | 07:30 |
sledges | ah | 07:30 |
sledges | gb then :D | 07:31 |
slaine | thats not the way to go sledges | 07:31 |
sledges | unless it's south ie | 07:31 |
jonwil | UK weetabix and Australian Weet-Bix are totally different things | 07:31 |
slaine | if it's ie then it is the south | 07:31 |
sledges | lol rly!? | 07:31 |
jonwil | They are similar but they have different tastes | 07:31 |
sledges | slaine, i beg your pardon im that case :)) | 07:32 |
sledges | ah | 07:32 |
slaine | :) | 07:32 |
sledges | was about to say just like vegimite and marmite | 07:32 |
* slaine pukes | 07:32 | |
sledges | slaine, i hope you are pre-breakfast :D | 07:33 |
slaine | lol | 07:33 |
slaine | Can't stand marmite, my wife loves it though. | 07:33 |
jonwil | I dont like either Vegemite or Marmite | 07:36 |
jonwil | Crumpets (UK invention I believe) do taste good. They are very unhealthy though :P | 07:37 |
*** Valshaen has joined #nemomobile | 07:43 | |
Sfiet_Konstantin | mornning guys | 07:44 |
*** Pat_o has joined #nemomobile | 07:44 | |
*** amizraa has joined #nemomobile | 07:46 | |
Sfiet_Konstantin | faenil: you should ask w00t to create qqc-nemo on nemomobile and start creating pull requests | 07:47 |
Sfiet_Konstantin | so that we can review your code | 07:47 |
*** Pat_o has quit IRC | 07:49 | |
*** Pat_o has joined #nemomobile | 08:02 | |
*** Pat_o has quit IRC | 08:08 | |
zbenjamin | faenil: hey no wonder it didn't work before, the desktop just does not rotate | 08:21 |
*** arcean has joined #nemomobile | 08:22 | |
*** arcean_ has joined #nemomobile | 08:23 | |
*** arcean has quit IRC | 08:26 | |
*** Pat_o has joined #nemomobile | 08:29 | |
*** Sfiet_Konstantin has quit IRC | 08:34 | |
*** Sfiet_Konstantin has joined #nemomobile | 08:34 | |
*** Pat_o has quit IRC | 08:35 | |
*** Sfiet_Konstantin has quit IRC | 08:38 | |
*** Pat_o has joined #nemomobile | 08:48 | |
*** lbt has quit IRC | 08:52 | |
*** Pat_o has quit IRC | 08:54 | |
faenil | morning :) | 08:58 |
faenil | zbenjamin, it had to be that :) | 08:58 |
dm8tbr | moaning | 08:58 |
zbenjamin | faenil: 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 |
zbenjamin | One that does not have rotation handling implemented? | 08:59 |
special | it's not even a window | 08:59 |
special | lipstick is the compositor in wayland terms; lipstick itself is drawing directly to the framebuffer, and it manages wayland clients and draws them in as well | 09:00 |
special | so things like QScreen are completely different inside of lipstick, not even the same platform plugin | 09:00 |
special | if you want it to rotate, you'll need to rotate it in the QML, most likely. | 09:00 |
faenil | special, well, qt-components apps rotate | 09:02 |
*** giucam has joined #nemomobile | 09:02 | |
faenil | zbenjamin, can you confirm that? ^ | 09:02 |
special | I seem to remember colorful-home rotating properly on wayland at one point | 09:03 |
zbenjamin | faenil: i did not try, things like fingerterm rotate | 09:03 |
faenil | special, :O I don't | 09:04 |
special | I played with it and the half-broken nexus7 sensor | 09:04 |
special | but maybe it was still on X at that point | 09:04 |
faenil | eheh | 09:04 |
zbenjamin | i just implemented the forwarding of the rotation events, that can't be ;) | 09:04 |
* faenil goes see zbenjamin patch to qt-comps | 09:05 | |
zbenjamin | faenil: which one is a qtcomponent app | 09:05 |
*** qwazix has quit IRC | 09:05 | |
special | iirc fingerterm uses qt-components for rotation handling. | 09:05 |
zbenjamin | then yes i can confirm | 09:05 |
zbenjamin | if the app sets the rotation mask it rotates | 09:06 |
faenil | zbenjamin, all apps are qt-components | 09:06 |
faenil | start qmlnotes, qmlmaps, qmlgallery | 09:06 |
faenil | whatever | 09:06 |
faenil | some of them may have orientation locked | 09:07 |
faenil | so try more of them | 09:07 |
zbenjamin | then yes ;) but they all don't use setOrientationUpdateMask | 09:07 |
* special wanders off to bed | 09:08 | |
zbenjamin | special: night | 09:08 |
faenil | special, o/ | 09:08 |
zbenjamin | so they won't rotate just with implementing my patch | 09:08 |
special | night, have fun. | 09:08 |
faenil | zbenjamin, so they rotate or they don't ? | 09:10 |
faenil | fingerterm doesn't have setORientationUpdateMask either | 09:10 |
zbenjamin | faenil: they rotate if you hack them and put setOrientationUpdateMask in main.cpp | 09:10 |
faenil | so you put that in fingerterm's main.cpp? | 09:10 |
zbenjamin | yes | 09:10 |
faenil | ok, awesome :) | 09:10 |
zbenjamin | thats what we wanted right? orientation updates are not delivered by default | 09:11 |
faenil | zbenjamin, yes just making sure it all behaves as expected ;) | 09:11 |
*** qwazix has joined #nemomobile | 09:11 | |
faenil | breakfast and shower, bbl | 09:12 |
zbenjamin | faenil: breakfast? aren't you in italy? ;) | 09:15 |
faenil | yes :D bit late? :D | 09:15 |
zbenjamin | Seems we live in the same timezone ;) | 09:16 |
* zbenjamin gets some breakfast too | 09:16 | |
*** pvilja has joined #nemomobile | 09:33 | |
*** pvilja1 has quit IRC | 09:35 | |
*** Pat_o has joined #nemomobile | 09:37 | |
*** chriadam is now known as chriadam|away | 09:46 | |
*** DarkSim has joined #nemomobile | 09:53 | |
*** wmarone has quit IRC | 09:59 | |
*** wmarone has joined #nemomobile | 09:59 | |
faenil | sledges, thanks for posting man, I'm so lazy :D | 10:09 |
sledges | :) read your mind :D | 10:11 |
faenil | :D | 10:14 |
locusf | wow its been a while since I have been to tmo | 10:14 |
*** Venemo_N9 has joined #nemomobile | 10:20 | |
*** Martix_ has joined #nemomobile | 10:30 | |
*** lizardo has joined #nemomobile | 10:42 | |
*** Morpog_Mobile_ has quit IRC | 10:47 | |
*** Morpog_Mobile has joined #nemomobile | 10:47 | |
sledges | faenil, who needs to be poked about opensans entering github/nemo ? | 10:47 |
faenil | sledges, no idea, usual guys? | 10:47 |
faenil | do we have powers to create a new repo in nemomobile? | 10:48 |
sledges | nope | 10:48 |
sledges | is licencing there all ok? | 10:48 |
faenil | ahmm...haven't made sure of that, I think that was checked by graphics guys when choosing the font ( cc qwazix Hurrian ) | 10:48 |
sledges | it says Apache License 2.0 | 10:48 |
faenil | yep | 10:49 |
*** jreznik has joined #nemomobile | 10:50 | |
*** chouchoune has quit IRC | 10:50 | |
Hurrian | the font's Source Sans Pro | 10:52 |
faenil | Hurrian, ? woot? the font is Google OpenSans...that's what was decided... | 10:53 |
Hurrian | ah, so it's back to Open Sans | 10:53 |
Hurrian | alright, no problems | 10:53 |
faenil | sledges, seen the new team? | 10:54 |
Hurrian | it's bound to be user-customizable anyway (larger fonts, different fonts, usability stuffs) | 10:54 |
faenil | Hurrian, ah, ok :/ | 10:54 |
sledges | faenil, yes, that'll be a great place to conceive qtquickcontrols-nemo ;) | 10:55 |
faenil | sledges, who created it? | 10:56 |
faenil | shouldn't it be qtquickcontrols-nemo? | 10:56 |
sledges | the existing one is from the past | 10:56 |
sledges | see dates ;) | 10:56 |
sledges | and deprecated now | 10:56 |
faenil | yes, I know that one is old :) | 10:57 |
sledges | unless we think to modify it - you should know the answer :) | 10:57 |
sledges | otherwise we stick to nemomobile-packages/qqc one | 10:57 |
faenil | sledges, I don't know, we won't know before implementing | 10:57 |
sledges | so it's good to keep both | 10:57 |
sledges | then | 10:57 |
sledges | ;) | 10:57 |
sledges | webhooks are now pointing to the nemomobile-packages one, all cool | 10:57 |
faenil | yes | 10:57 |
faenil | all I'm saying is, shouldn't we have a qtquickcontrols-nemo in nemomobile? :D | 10:58 |
sledges | yes, that's what I meant 11:55 sledges faenil, yes, that'll be a great place to conceive qtquickcontrols-nemo ;) | 10:58 |
sledges | i.e. within that team | 10:59 |
faenil | sledges, ok, but the guy who created the team can't create the repo as well? :D | 10:59 |
sledges | im sure they will asap | 11:00 |
sledges | w00t, Stskeeps , Sage ^ | 11:00 |
sledges | ^ in pure words: pls create nemomobile/qtquickcontrols-nemo | 11:00 |
sledges | :) ok im off now | 11:00 |
faenil | sledges, I'm getting confused, who created the team? was it created now or did I just get the notificatio nnow? | 11:01 |
sledges | i didn't receive notifications.. maybe my email filters messed up | 11:01 |
sledges | important it's moving ahead | 11:02 |
Venemo_N9 | hey | 11:02 |
sledges | o hai :) | 11:02 |
faenil | Venemo_N9, o/ | 11:03 |
*** jonwil has quit IRC | 11:04 | |
Venemo_N9 | what's up? | 11:04 |
*** jonwil has joined #nemomobile | 11:05 | |
faenil | Venemo_N9, read my tweet yesterday about components? | 11:05 |
locusf | whats this new team about? | 11:10 |
faenil | I guess people with access to glacier ui repos | 11:10 |
locusf | ok | 11:10 |
*** Morpog_N9_______ has quit IRC | 11:15 | |
*** Morpog_N9_______ has joined #nemomobile | 11:15 | |
*** Morpog_N9_______ has quit IRC | 11:16 | |
*** Morpog_N9_______ has joined #nemomobile | 11:16 | |
*** Morpog_PC has joined #nemomobile | 11:16 | |
*** chouchoune1 has joined #nemomobile | 11:17 | |
*** chouchoune1 is now known as chouchoune | 11:19 | |
*** Morpog_ has joined #nemomobile | 11:20 | |
*** Morpog_PC has quit IRC | 11:21 | |
*** IgorSK has joined #nemomobile | 11:23 | |
*** lbt_away has quit IRC | 11:33 | |
*** lbt_away has joined #nemomobile | 11:34 | |
*** lbt_away has quit IRC | 11:34 | |
*** lbt_away has joined #nemomobile | 11:34 | |
*** pvilja1 has joined #nemomobile | 11:35 | |
*** Sfiet_Konstantin has joined #nemomobile | 11:36 | |
*** pvilja has quit IRC | 11:38 | |
*** n9mx has joined #nemomobile | 11:47 | |
*** Sosica has joined #nemomobile | 11:48 | |
*** Martix_ has quit IRC | 11:51 | |
*** Sosica has left #nemomobile | 11:52 | |
*** Sfiet_Konstantin has quit IRC | 11:58 | |
*** Sfiet_Konstantin has joined #nemomobile | 11:59 | |
*** Venemo_N9 has quit IRC | 12:01 | |
*** amizraa has quit IRC | 12:03 | |
*** martyone has quit IRC | 12:06 | |
*** kavuri has quit IRC | 12:15 | |
*** Aranel has quit IRC | 12:16 | |
Sfiet_Konstantin | school project presentation | 12:16 |
Sfiet_Konstantin | let's spread the word about Nemo :D | 12:16 |
sledges | \\o// | 12:16 |
Sfiet_Konstantin | I'm project 123, they are starting with project 1 | 12:17 |
sledges | oh yeah | 12:17 |
Sfiet_Konstantin | :D | 12:17 |
sledges | show them the glacier :) | 12:17 |
sledges | :D | 12:17 |
sledges | not bad, huge uni! | 12:17 |
Sfiet_Konstantin | but no, of cause, there are < 123 project :D | 12:17 |
Sfiet_Konstantin | about 20 of them | 12:17 |
sledges | lol | 12:17 |
sledges | i thought then maybe there are 3 projects: 1, 12, and 123 | 12:17 |
sledges | :D | 12:17 |
Sfiet_Konstantin | I will show them some logos | 12:17 |
Sfiet_Konstantin | and spec about the slide :D | 12:17 |
Sfiet_Konstantin | the slider | 12:17 |
Sfiet_Konstantin | that's all :D | 12:17 |
sledges | no mockups? :P | 12:17 |
*** sateesh has joined #nemomobile | 12:18 | |
*** sateesh has left #nemomobile | 12:19 | |
Sfiet_Konstantin | sledges: well, did not find the mockups nice | 12:19 |
Sfiet_Konstantin | (they are, but not clear) | 12:19 |
Sfiet_Konstantin | just want to show what we are going to do | 12:19 |
*** kavuri has joined #nemomobile | 12:19 | |
Sfiet_Konstantin | showing N950 | 12:19 |
*** amizraa has joined #nemomobile | 12:20 | |
sledges | nice nice | 12:20 |
*** kavuri_ has joined #nemomobile | 12:20 | |
sledges | their mouths will water even more at the end of your project ;) | 12:20 |
Sfiet_Konstantin | :D | 12:20 |
Sfiet_Konstantin | or not | 12:20 |
Sfiet_Konstantin | they dont' care about oss projects | 12:21 |
Sfiet_Konstantin | they just care about corporate stuff | 12:21 |
*** kavuri_ has quit IRC | 12:21 | |
*** Martix_ has joined #nemomobile | 12:24 | |
*** phdeswer has quit IRC | 12:25 | |
sledges | bleh | 12:28 |
sledges | that's why you should how -awesome- it looks ;) | 12:28 |
*** Morpog_Mobile_ has joined #nemomobile | 12:31 | |
*** Morpog_Mobile has quit IRC | 12:31 | |
Hurrian | gotta say, that button active effect looks a lot better IRL than in the mockups | 12:32 |
*** lbt_away has quit IRC | 12:32 | |
*** SfietKonstantin has joined #nemomobile | 12:33 | |
*** Morpog_N9_______ has quit IRC | 12:33 | |
*** Morpog_N9_______ has joined #nemomobile | 12:33 | |
faenil | back o/ | 12:33 |
*** Sfiet_Konstantin has quit IRC | 12:33 | |
*** lbt_away has joined #nemomobile | 12:33 | |
SfietKonstantin | hello faenil | 12:34 |
faenil | yo | 12:34 |
SfietKonstantin | faenil: some comments about your code: can you reduce dependencies | 12:34 |
SfietKonstantin | like push the whole QQCT in a branch | 12:34 |
faenil | dependencies? | 12:34 |
SfietKonstantin | and use your master for just the button and examples ? | 12:34 |
SfietKonstantin | like all the unmodified QQCT code | 12:34 |
SfietKonstantin | so that we have a smaller commit and less headache to understand your code ? :) | 12:35 |
SfietKonstantin | and something we can easily review for inclusion in nemo | 12:35 |
faenil | unmodified code? | 12:35 |
SfietKonstantin | I don't know if all the code in your repo is used for just the button | 12:35 |
sledges | qqc != qqc-nemo | 12:35 |
sledges | dir struture already differs ;) | 12:35 |
SfietKonstantin | 1 sec | 12:35 |
* sledges is doing heavy diffing atm :D | 12:35 | |
SfietKonstantin | example: in src/styles, you have menustyle, focusframestyle, groupboxstyle etc | 12:36 |
SfietKonstantin | maybe they shouldn't be included in the 1st commit | 12:36 |
faenil | SfietKonstantin, they're not styles, they're just wrappers around official styles, so yes they're right in the first commit imho | 12:37 |
SfietKonstantin | ok | 12:37 |
SfietKonstantin | I see | 12:37 |
faenil | don't know if you've opened those files :P | 12:37 |
SfietKonstantin | need to read the whole code :( | 12:37 |
sledges | `meld` ftw ;) | 12:37 |
faenil | SfietKonstantin, all the styles are just | 12:37 |
faenil | import officialStyles; OfficialStyle{ } | 12:37 |
faenil | those are the styles in Nemo | 12:37 |
faenil | except ButtonStyle of course | 12:37 |
SfietKonstantin | ah, what do you think about using JSON files that could be parsed from C++ / JS | 12:37 |
SfietKonstantin | faenil: ofc | 12:38 |
faenil | SfietKonstantin, man, have you read the code? XD | 12:38 |
SfietKonstantin | faenil: for themes I meant | 12:38 |
SfietKonstantin | faenil: didn't read much | 12:38 |
faenil | SfietKonstantin, then please read, then comment :D | 12:38 |
SfietKonstantin | just opened them this morning, before leaving for school | 12:38 |
SfietKonstantin | :D | 12:38 |
SfietKonstantin | :P | 12:38 |
faenil | SfietKonstantin, not using JSON but a very very similar approach | 12:39 |
SfietKonstantin | let's read the code more then :) | 12:39 |
* sledges hands a large trout to faenil | 12:39 | |
* faenil hits SfietKonstantin with sledges' trout | 12:39 | |
SfietKonstantin | :D | 12:39 |
* sledges off for lunch, time to fry a trout :D | 12:39 | |
faenil | sledges, o/ have fun | 12:39 |
faenil | SfietKonstantin, https://github.com/faenil/qtquickcontrols-nemo/blob/master/src/styles/private/ControlsStyleConfig.qml#L39 | 12:40 |
SfietKonstantin | I was thinking about JSON for Themes | 12:40 |
faenil | SfietKonstantin, READ | 12:40 |
SfietKonstantin | ah | 12:40 |
SfietKonstantin | but it is included in a Button :( | 12:40 |
faenil | SfietKonstantin, woot? | 12:41 |
SfietKonstantin | that's fun to have {{ for JSON inside QML | 12:41 |
SfietKonstantin | :) | 12:41 |
SfietKonstantin | let me read more :) | 12:41 |
faenil | it's not {{, it's ({ | 12:41 |
faenil | :P | 12:41 |
SfietKonstantin | :D | 12:41 |
SfietKonstantin | damn | 12:41 |
SfietKonstantin | but still, fun | 12:41 |
faenil | and it's not JSON, it's JS object literals | 12:42 |
SfietKonstantin | yeah | 12:42 |
SfietKonstantin | close enough | 12:42 |
faenil | yep | 12:42 |
SfietKonstantin | this code needs more C++ :D | 12:43 |
SfietKonstantin | kidding | 12:43 |
SfietKonstantin | looks interesting | 12:43 |
faenil | SfietKonstantin, ahaha :) you need more trouts in ya face :D | 12:44 |
SfietKonstantin | :D | 12:44 |
SfietKonstantin | seriously, why not more C++ :( | 12:44 |
SfietKonstantin | :'( | 12:44 |
SfietKonstantin | but na, reading again | 12:44 |
SfietKonstantin | you have nice hacks in Button.qml | 12:44 |
SfietKonstantin | well done thouhg | 12:45 |
sledges | +1 | 12:45 |
faenil | SfietKonstantin, you know, each language has its purpose | 12:46 |
faenil | you justify the use of c++, and we'll shift ;) | 12:46 |
faenil | so far, I see none | 12:46 |
*** xl_kf has quit IRC | 12:48 | |
SfietKonstantin | faenil: perfs ? | 12:48 |
faenil | SfietKonstantin, performance of what | 12:48 |
faenil | theme shifting? XD | 12:48 |
SfietKonstantin | faenil: a lot of facilities in managing lots of stuff (plugins, infinite themes etc.) | 12:48 |
SfietKonstantin | faenil: we will see | 12:49 |
faenil | SfietKonstantin, plugins? | 12:49 |
SfietKonstantin | faenil: what if you need to add more stuff | 12:49 |
SfietKonstantin | I don't know if it is a need | 12:49 |
SfietKonstantin | might be one | 12:49 |
*** SfietKonstantin is now known as Sfiet_Konstantin | 12:50 | |
faenil | I agree with the infinite themes, if we need infinite themes xD | 12:50 |
faenil | Sfiet_Konstantin, more stuff like? | 12:50 |
Sfiet_Konstantin | faenil: users need themes | 12:50 |
Sfiet_Konstantin | faenil: like only time will tell ? | 12:50 |
Sfiet_Konstantin | we will see | 12:50 |
faenil | Sfiet_Konstantin, no, make an example that requires c++ | 12:50 |
faenil | so far I could only think about the theme issue, which needs adding the import manually | 12:50 |
Sfiet_Konstantin | faenil: I was thinking about windows phone styling | 12:50 |
Sfiet_Konstantin | see, user can choose the color they want | 12:50 |
faenil | Sfiet_Konstantin, and you think you need c++ for that? | 12:51 |
Sfiet_Konstantin | and the whole UI adapts to this color | 12:51 |
Sfiet_Konstantin | faenil: at least you might need more than files describing themes | 12:51 |
faenil | yes, one variable more? | 12:51 |
Sfiet_Konstantin | faenil: in an other side, what is the purpose of the hacks class ? | 12:51 |
Sfiet_Konstantin | faenil: we will see | 12:52 |
Sfiet_Konstantin | right now we don't need C++ | 12:52 |
Sfiet_Konstantin | of cause | 12:52 |
Sfiet_Konstantin | but I <3 C++ , that's all :D | 12:52 |
faenil | Sfiet_Konstantin, none at the moment, I just wanted to make it easier for people to add utility functions on c++ side, if needed | 12:52 |
Sfiet_Konstantin | ok | 12:52 |
Sfiet_Konstantin | ah | 12:52 |
Sfiet_Konstantin | hardcoded path to ControlsStyleConfig | 12:52 |
Sfiet_Konstantin | .qml | 12:52 |
Sfiet_Konstantin | that's why it was not working on my laptop :( | 12:52 |
Sfiet_Konstantin | where do you define u faenil ? | 12:53 |
Sfiet_Konstantin | or is it defined ? | 12:53 |
faenil | Sfiet_Konstantin, no u at the moment, because we still have to investigate how to tackle that | 12:54 |
Sfiet_Konstantin | yep | 12:54 |
Sfiet_Konstantin | highdpi stuff ? | 12:54 |
faenil | that doesn't work with "width:400" | 12:54 |
faenil | it only works with pixmaps .. | 12:54 |
Sfiet_Konstantin | faenil: :( | 12:54 |
faenil | afaik | 12:54 |
Sfiet_Konstantin | we need to see | 12:54 |
faenil | but you could ask somebody in #qt | 12:54 |
Sfiet_Konstantin | IIRC it should work for fonts too | 12:54 |
Sfiet_Konstantin | need investigation | 12:54 |
faenil | I tried few days ago, didn't get a reply | 12:54 |
Sfiet_Konstantin | ok | 12:54 |
faenil | yes for fonts too, | 12:54 |
faenil | but not for sizes | 12:55 |
Sfiet_Konstantin | Qt interests ML ? | 12:55 |
Sfiet_Konstantin | alright, your code looks interesting | 12:55 |
Sfiet_Konstantin | getting the idea of how you are doing stuff | 12:55 |
faenil | Sfiet_Konstantin, it started from Qt4Tizen, but I changed lots of stuff and made it easier/cleaner, imho | 12:56 |
Sfiet_Konstantin | ok | 12:56 |
*** DrCode has quit IRC | 12:57 | |
faenil | the original one few more files more, duplicated variables...it was more messy imho | 12:57 |
faenil | I think the way it's done right now works great for the themes and the WP-like colour switching, seriously | 12:57 |
Sfiet_Konstantin | is it required to have themes defined in ControlsStyleConfig.qml ? | 12:58 |
faenil | Sfiet_Konstantin, yes, that is the only thing that bothers me, but it could be because I'm js noob | 12:58 |
Sfiet_Konstantin | faenil: 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 |
faenil | how do you use what | 12:59 |
faenil | ControlStyleConfig and NemoControls are singleton, initialized on c++ side | 12:59 |
Sfiet_Konstantin | faenil: yeah | 13:00 |
Sfiet_Konstantin | seen that | 13:00 |
Sfiet_Konstantin | and you are using them as objects that provides some properties (like width of a component etc.) right ? | 13:00 |
faenil | yes | 13:00 |
faenil | Theme object | 13:00 |
Sfiet_Konstantin | yeah, grepped your code to find that | 13:01 |
Sfiet_Konstantin | we could just implement them as QObjects ? | 13:01 |
*** DrCode has joined #nemomobile | 13:01 | |
*** Morpog_N9_______ has quit IRC | 13:01 | |
Sfiet_Konstantin | or you are against that ? | 13:01 |
*** Morpog_N9_______ has joined #nemomobile | 13:01 | |
faenil | they are already QtObjects? | 13:01 |
Sfiet_Konstantin | they are QtObjects, but we can use C++ QObject | 13:01 |
faenil | what for | 13:01 |
Sfiet_Konstantin | same task, but maybe cleaner code ? | 13:01 |
faenil | cleaner? :/ | 13:02 |
Sfiet_Konstantin | but let's don't think about this. What's your issue, and the problem about you being JS noob ? | 13:02 |
Sfiet_Konstantin | faenil: cleaner indeed, but let's not bother about this right now | 13:02 |
faenil | Sfiet_Konstantin, just show me how cleaner it would be :) write an example | 13:02 |
Sfiet_Konstantin | I don't know if I have already this kind of code | 13:03 |
Sfiet_Konstantin | should have | 13:03 |
*** Morpog_Mobile has joined #nemomobile | 13:03 | |
*** Morpog_Mobile_ has quit IRC | 13:03 | |
faenil | it's freaking clean and easy to use, dynamic etc at the moment, that's my honest opinion :) | 13:03 |
faenil | but I'm all ears ;) | 13:04 |
Sfiet_Konstantin | faenil: https://qt.gitorious.org/qt-components/qt-components/source/7d9bf82a089a60429e279d26dc305d34386b7295:src/meego/mthemeplugin.h | 13:04 |
Sfiet_Konstantin | faenil: it is rather clean, but for something that will be expanded, I'm a bit afraid | 13:04 |
Sfiet_Konstantin | and the QML bindings is a bit heavy artillery | 13:04 |
Sfiet_Konstantin | (and initializing QML objects from C++ etc.) | 13:04 |
faenil | :/ | 13:04 |
*** Aranel has joined #nemomobile | 13:05 | |
faenil | heavy artillery because it works great? :D | 13:05 |
Sfiet_Konstantin | faenil: because clearly, you need to evaluate a JS object for each property | 13:05 |
Sfiet_Konstantin | better use C++, that when you call a property, it calls directly the method returning the value | 13:06 |
faenil | Sfiet_Konstantin, and requires recompilation for every change? | 13:06 |
Sfiet_Konstantin | faenil: and ? | 13:06 |
faenil | and that's not exactly very dynamic? | 13:06 |
Sfiet_Konstantin | faenil: that's not an issue since, at the end, you don't need to compile for any other change | 13:07 |
Sfiet_Konstantin | you can load these properties from a (eg) JSON file | 13:07 |
Sfiet_Konstantin | and just have some C++ code to expose these properties | 13:07 |
faenil | I really can't see how that is cleaner, sorry :( | 13:08 |
Sfiet_Konstantin | faenil: at least in calls | 13:08 |
Sfiet_Konstantin | you lands in a C++ code quite quickly | 13:09 |
Sfiet_Konstantin | instead of using v8 a lot | 13:09 |
faenil | a lot? that stuff is only used when changing theme | 13:10 |
Sfiet_Konstantin | faenil: and initializing stuff | 13:10 |
Sfiet_Konstantin | like launching any application | 13:10 |
Sfiet_Konstantin | but 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_Konstantin | if you have a C++ object, you have a clean interface | 13:11 |
*** xhaakon has quit IRC | 13:11 | |
faenil | yes, I can agree with the startup time, but I think that needs some benchmark first | 13:11 |
Sfiet_Konstantin | and I think that that's why I have only seen Theme objects defined in C++ | 13:11 |
faenil | Sfiet_Konstantin, or maybe because they need c++ to restrict access? | 13:12 |
Sfiet_Konstantin | faenil: restrict acces ? | 13:12 |
Sfiet_Konstantin | I think it is more a matter of clean API | 13:12 |
Sfiet_Konstantin | ah, we are at project number 108 | 13:12 |
Sfiet_Konstantin | soon, 123 | 13:13 |
faenil | tell me again why the current API is not clean | 13:13 |
faenil | seriously, I'm trying to understand your point :) | 13:13 |
Sfiet_Konstantin | faenil: try call Theme.primaryButton.helloWorld | 13:14 |
Sfiet_Konstantin | :D | 13:14 |
Sfiet_Konstantin | it might silently fail | 13:14 |
Sfiet_Konstantin | (IIRC) | 13:14 |
faenil | Sfiet_Konstantin, silently? don't you get "undefined"? | 13:14 |
Sfiet_Konstantin | faenil: not sure | 13:15 |
Sfiet_Konstantin | IIRC | 13:15 |
Sfiet_Konstantin | I'm really not sure here | 13:15 |
Sfiet_Konstantin | well, I forget a bit | 13:15 |
*** phdeswer has joined #nemomobile | 13:15 | |
Sfiet_Konstantin | but 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 |
faenil | Sfiet_Konstantin, just tried, "Unable to assign [undefined] to QColo" | 13:16 |
Sfiet_Konstantin | ok | 13:16 |
Sfiet_Konstantin | something fun too: you won't get autocomplete :( | 13:17 |
*** Martix_ has quit IRC | 13:17 | |
*** fk_lx has quit IRC | 13:17 | |
faenil | Sfiet_Konstantin, that was put all together on purpose, so that you can modify everything more easily | 13:18 |
Sfiet_Konstantin | faenil: yeah, for quick dev purpose, but when you have your API, you might need a nice C++ API instead | 13:18 |
faenil | the QML styles already split things, so this is an upper layer which abstracts theme | 13:18 |
Sfiet_Konstantin | I don't know, I just feel that huge QObject weired | 13:19 |
Sfiet_Konstantin | QtObject | 13:19 |
faenil | what's your proposal? create ButtonTheme.cpp? | 13:19 |
faenil | SliderTheme.cpp? | 13:19 |
DarkSim | How are we sailing today? | 13:20 |
Sfiet_Konstantin | faenil: yep | 13:20 |
faenil | Sfiet_Konstantin, :( | 13:20 |
Sfiet_Konstantin | you don't like C++ do you ? | 13:20 |
Sfiet_Konstantin | what about we do 2 branches, you fast proto in QML JS, I standardize in C++ ? | 13:20 |
Sfiet_Konstantin | good compromise ? | 13:21 |
faenil | I love c++, more than JS | 13:21 |
faenil | I just don't like to overcomplicate stuff just because "I like c++" (general I) | 13:21 |
Sfiet_Konstantin | it is not about complicate | 13:21 |
Sfiet_Konstantin | it is about making stuff (like API, and call flow) clean | 13:21 |
Sfiet_Konstantin | right now, you expose a QML stuff in C++, it is strange :( | 13:22 |
faenil | Sfiet_Konstantin, qt-components gets styling from .js file...how is that better? | 13:23 |
faenil | hey don't have one .cpp for each component | 13:24 |
Sfiet_Konstantin | at least their JS file is pretty basic | 13:24 |
Sfiet_Konstantin | a bunch of constants | 13:24 |
faenil | they have a big js file which is a mess | 13:24 |
faenil | all constants | 13:24 |
Sfiet_Konstantin | yes | 13:24 |
faenil | ah, so you like that? | 13:24 |
Sfiet_Konstantin | but it is basic | 13:24 |
Sfiet_Konstantin | no, I hate it too | 13:24 |
Sfiet_Konstantin | :D | 13:24 |
faenil | of course it's basic, they allow much less customization | 13:25 |
Sfiet_Konstantin | faenil: why should we allow customization here ? | 13:25 |
Sfiet_Konstantin | we should allow customization in a different theme file | 13:25 |
faenil | Sfiet_Konstantin, did you see Theme1.js ? | 13:25 |
Sfiet_Konstantin | the APIs for theming should define a clean stuff | 13:26 |
Sfiet_Konstantin | yeah, theme1.js looks good | 13:26 |
faenil | so, those are themes | 13:26 |
Sfiet_Konstantin | but, the idea is to have clean interfaces all the way | 13:26 |
faenil | the .qml file is the upper level | 13:26 |
faenil | and it works the same | 13:26 |
Sfiet_Konstantin | like the guy who wants to theme should have something that fails if the theme file is wrong | 13:26 |
Sfiet_Konstantin | the developer of components should have something that is simple to understand when something fails | 13:26 |
Sfiet_Konstantin | and the user of components should have a clean API | 13:27 |
Sfiet_Konstantin | I don't know if full C++ stuff is the best | 13:27 |
faenil | this has nothing to do with user of components | 13:27 |
faenil | user of components calls | 13:27 |
faenil | Theme.iconSize | 13:27 |
faenil | how is that difficult you have to tell me :) | 13:27 |
Sfiet_Konstantin | na | 13:27 |
Sfiet_Konstantin | user of components is ok now :) | 13:27 |
Sfiet_Konstantin | but the question remains open for the two others | 13:27 |
Sfiet_Konstantin | right ? | 13:27 |
Sfiet_Konstantin | and well, I like C++ and am defending my point of view, since I know that C++ can allow better protection | 13:28 |
Sfiet_Konstantin | but maybe QML JS can do too | 13:28 |
faenil | of course protection | 13:28 |
faenil | js doesn't offer any | 13:28 |
Sfiet_Konstantin | do you understand my fears here ? | 13:28 |
faenil | (afaik) | 13:28 |
Sfiet_Konstantin | and also, customisability, you might need to load an unlimited number of themes | 13:28 |
Sfiet_Konstantin | but IIRC you can do it in JS | 13:29 |
Sfiet_Konstantin | so, I wanted C++ just because I know how to do it properly in C++ | 13:29 |
faenil | I got that :D | 13:29 |
Sfiet_Konstantin | but fast proto in QML, I'm not against | 13:29 |
faenil | I'm trying to get you out of that mentality letting you explain why that is "globally" betetr | 13:29 |
Sfiet_Konstantin | I think (I might be wrong) that it is better for _fast proto_ | 13:30 |
*** xl_kf has joined #nemomobile | 13:32 | |
faenil | Sfiet_Konstantin, so basically you want a middle layer between qml and json | 13:33 |
Sfiet_Konstantin | faenil: yeah | 13:33 |
Sfiet_Konstantin | what do you think ? | 13:34 |
faenil | I don't know, I'm trying to think how that suits the QQC Styling | 13:34 |
Sfiet_Konstantin | faenil: what do you think about global theming management ? think about another app changes global settings | 13:35 |
Sfiet_Konstantin | and then all apps react | 13:35 |
Sfiet_Konstantin | can you do it in pure JS ? | 13:35 |
Sfiet_Konstantin | (open question) | 13:35 |
*** jonwil has quit IRC | 13:37 | |
*** n9mx has quit IRC | 13:37 | |
faenil | well, 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 accordingly | 13:40 |
faenil | as js handles all the rest | 13:40 |
Sfiet_Konstantin | faenil: how do you update the binding ? maybe include a JS function ? | 13:41 |
faenil | no, just expose theme property from c++ | 13:41 |
Sfiet_Konstantin | ah, so basically, the C++ middle wrapper ? | 13:42 |
faenil | and update that when the file/whatever which says what the GLOBAL theme is, is updated | 13:42 |
Sfiet_Konstantin | what JS manages ? | 13:42 |
faenil | in this case you need c++ to monitor file and tell js that theme changed | 13:42 |
faenil | once js know the new theme, boom boom boom and it's done :D | 13:42 |
faenil | all bindings | 13:43 |
Sfiet_Konstantin | tell me where is the JS code, and the C++ ? | 13:43 |
Sfiet_Konstantin | height: Theme.height <- JS this kind ? | 13:43 |
Sfiet_Konstantin | or ThemeObject.qml QtObject { property int height } <- JS this kind ? | 13:43 |
faenil | Sfiet_Konstantin, look at the setTheme | 13:43 |
faenil | in NemoControls | 13:44 |
Sfiet_Konstantin | yeah, on it | 13:44 |
faenil | https://github.com/faenil/qtquickcontrols-nemo/blob/master/src/controls/private/NemoControls.qml#L35 | 13:44 |
faenil | once you change currentThemeConfig, everything automagically changes | 13:44 |
Sfiet_Konstantin | mind providing details on how it works ? | 13:45 |
Sfiet_Konstantin | let me see | 13:45 |
*** Martix_ has joined #nemomobile | 13:45 | |
Sfiet_Konstantin | ah | 13:45 |
Sfiet_Konstantin | onThemeChanged | 13:45 |
faenil | nopoe | 13:45 |
faenil | Sfiet_Konstantin, ControlsStyleConfig has a binding on currentThemeConfig, | 13:46 |
giucam | but do you have to import every theme in that file? or is it just a temporary solution? | 13:46 |
faenil | https://github.com/faenil/qtquickcontrols-nemo/blob/master/src/styles/private/ControlsStyleConfig.qml#L32 | 13:46 |
Sfiet_Konstantin | faenil: ah | 13:46 |
Sfiet_Konstantin | missed it :) | 13:46 |
faenil | giucam, it's a temporary solution, and it's what I don't like | 13:46 |
Sfiet_Konstantin | hum | 13:47 |
faenil | Sfiet_Konstantin, and once that variable changes, all the JS objects are reevaluated, as they use that QML property | 13:47 |
faenil | https://github.com/faenil/qtquickcontrols-nemo/blob/master/src/styles/private/ControlsStyleConfig.qml#L54 | 13:47 |
Sfiet_Konstantin | I'm trying to see | 13:47 |
faenil | so: | 13:47 |
Sfiet_Konstantin | there is somthing interesting | 13:47 |
giucam | faenil: in my shell i look in a path and look for every folder with a theme definition file in them | 13:47 |
faenil | currentThemeConfig -> themeConfig -> all stylings reevaluated | 13:47 |
faenil | giucam, yes that's what I'd like to do, but can you do that in js? | 13:47 |
giucam | hmm, don't know | 13:47 |
faenil | giucam, that is the problem :/ | 13:48 |
faenil | I don't think you can import a file on demand in JS | 13:48 |
Sfiet_Konstantin | faenil: IIRC you can | 13:48 |
Sfiet_Konstantin | not sure | 13:48 |
faenil | Sfiet_Konstantin, awesome then ;) | 13:48 |
Sfiet_Konstantin | so basically, right now, you have NemoControls that is used to load data from config files | 13:49 |
Sfiet_Konstantin | and ControlsStyleConfig is used to mirrors them (middle layer) | 13:49 |
faenil | yes, basically ControlsStyleConfig has the values for those things that are part of .QML Style files, but shouldn't be part of a theme | 13:50 |
*** DarkSim has quit IRC | 13:50 | |
Sfiet_Konstantin | yeah | 13:50 |
Sfiet_Konstantin | ok | 13:50 |
Sfiet_Konstantin | arch looks ok | 13:50 |
faenil | a theme developer just has to make sure he includes all the values of the working themes | 13:51 |
Sfiet_Konstantin | yeah | 13:51 |
Sfiet_Konstantin | but hum | 13:52 |
Sfiet_Konstantin | can't JS load JSON ? | 13:52 |
Sfiet_Konstantin | instead of .js files ? | 13:52 |
Sfiet_Konstantin | but it is bad to parse json in js | 13:52 |
faenil | well qml can load json, but what do you get more? | 13:52 |
Sfiet_Konstantin | better do it in C++ | 13:52 |
Sfiet_Konstantin | faenil: dynamic loading ? | 13:53 |
Sfiet_Konstantin | because I cannot find how to easily load JS | 13:53 |
faenil | Sfiet_Konstantin, you still have to put it in a file | 13:53 |
Sfiet_Konstantin | faenil: put what in a file ? | 13:53 |
Sfiet_Konstantin | and which file ? | 13:53 |
faenil | the json code you're talking about | 13:53 |
Sfiet_Konstantin | yeah | 13:53 |
faenil | let's suppose we use json instead of js...ok you have json files for the themes | 13:53 |
faenil | now how do you import those on demand? | 13:54 |
Sfiet_Konstantin | yeah, cana't JS read these json files ? | 13:54 |
Sfiet_Konstantin | it is not called JSON for nothing I hope :D | 13:54 |
Sfiet_Konstantin | :( | 13:54 |
faenil | I don't understand what do you get more if you have json or js in the theme files | 13:54 |
Sfiet_Konstantin | need jquery | 13:54 |
Sfiet_Konstantin | faenil: we are trying to solve the dynamical file loading | 13:55 |
Sfiet_Konstantin | instead of import theme1, import theme2 | 13:55 |
Sfiet_Konstantin | etc. | 13:55 |
faenil | I know that, but you still need | 13:55 |
faenil | function importFile | 13:55 |
faenil | we don't care what's in that file | 13:55 |
faenil | if it's json or js vars, that doesn't matter | 13:55 |
faenil | (imho) | 13:55 |
Sfiet_Konstantin | I'm searching for importfile | 13:55 |
Sfiet_Konstantin | yeah yeah | 13:55 |
Sfiet_Konstantin | but I thought that you have this importFile in JS for JSON files | 13:56 |
giucam | why 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_Konstantin | actually, you need jQuery | 13:56 |
Sfiet_Konstantin | giucam: ?? | 13:56 |
Sfiet_Konstantin | we already have QML file | 13:56 |
faenil | giucam, not a bad idea, fixes part of the problem | 13:56 |
giucam | Sfiet_Konstantin: instead of Theme1.js Theme1.qml | 13:56 |
Sfiet_Konstantin | ah | 13:56 |
Sfiet_Konstantin | dynamically load a QML component ? | 13:57 |
faenil | giucam, we still need a way scan the path | 13:57 |
giucam | then you create a component in ControlsStylesConfig | 13:57 |
Sfiet_Konstantin | :( | 13:57 |
giucam | faenil: yeah, that's another part of the problem | 13:57 |
Sfiet_Konstantin | yet another component in the QML stack | 13:57 |
Sfiet_Konstantin | that might not be useful | 13:57 |
faenil | ? | 13:57 |
giucam | but you create that on demand instead of having to import every js theme file | 13:57 |
Sfiet_Konstantin | giucam: yes | 13:57 |
faenil | Sfiet_Konstantin, you don't create one for each theme, you only have one | 13:57 |
Sfiet_Konstantin | faenil: yeah | 13:58 |
Sfiet_Konstantin | hum | 13:58 |
Sfiet_Konstantin | I don't know ... | 13:58 |
Sfiet_Konstantin | not very fan of everything here | 13:58 |
Sfiet_Konstantin | dynamically create component -> no API check | 13:58 |
faenil | :D | 13:59 |
Sfiet_Konstantin | you can't react by outputting errors like: "Error: button.pressedColor not found, reverting to default" | 13:59 |
Sfiet_Konstantin | sorry, but you need a solid basis for components | 13:59 |
giucam | well, you can create a c++ class with the properties, then you make sure the component object is made with that class | 13:59 |
faenil | Sfiet_Konstantin, that only happens if the theme is bugged, and it's not like the theme is 2k LOC | 14:00 |
faenil | it's a bunch of variable.s.. | 14:00 |
giucam | ...not sure how to check that is js, though | 14:00 |
giucam | *in | 14:00 |
Sfiet_Konstantin | IMO, parsing the theme in C++ | 14:00 |
Sfiet_Konstantin | that's all | 14:00 |
faenil | :) | 14:00 |
Sfiet_Konstantin | you use a standardized XML / JSON | 14:00 |
Sfiet_Konstantin | I prefer JSON personnaly | 14:00 |
faenil | I agree this is definitely more robust | 14:01 |
Sfiet_Konstantin | and ... | 14:01 |
Sfiet_Konstantin | hum | 14:01 |
faenil | ? | 14:01 |
Sfiet_Konstantin | actually, nothing | 14:01 |
Sfiet_Konstantin | not nothing | 14:01 |
Sfiet_Konstantin | when you loaded your JSON file parsed from C++, how do you expose it ? | 14:01 |
Sfiet_Konstantin | I mean, there might be no need of haivng ControlsStyleConfig | 14:02 |
faenil | Sfiet_Konstantin, that is what I didn't like of the c++ approach | 14:02 |
Sfiet_Konstantin | you can expose them directly to componentss | 14:02 |
faenil | you need to expose all damn properties | 14:02 |
Sfiet_Konstantin | with clean API | 14:02 |
Sfiet_Konstantin | yeah | 14:02 |
Sfiet_Konstantin | faenil: I can write a code generator, that generates the interfaces from JSON theme file | 14:02 |
Sfiet_Konstantin | :) | 14:02 |
giucam | QJSonDocument can be converted to QVariantMap iirc | 14:02 |
giucam | not so nice, but... | 14:02 |
Sfiet_Konstantin | giucam: no QVariantMap in QML plz :( | 14:02 |
Sfiet_Konstantin | faenil: so, basically, no need to write stuff that are exposed | 14:03 |
faenil | Sfiet_Konstantin, so let's recap, how many steps you have to get into to expose ONE new property? | 14:03 |
faenil | ;) | 14:03 |
Sfiet_Konstantin | faenil: when you have the script, you can add one component for free | 14:03 |
Sfiet_Konstantin | in Nemo QML plugin social, I wrote my script, that was WAY more complicated | 14:04 |
Sfiet_Konstantin | and when I needed to support events | 14:04 |
Sfiet_Konstantin | it took 2h for me to polish everything | 14:04 |
Sfiet_Konstantin | ah, and I brought twitter support in a 2 days timeframe | 14:04 |
Sfiet_Konstantin | so ... | 14:04 |
faenil | this will make contributions much less likely imho,but okay ;) | 14:05 |
Sfiet_Konstantin | faenil: why ? | 14:05 |
Sfiet_Konstantin | you write a json file | 14:05 |
Sfiet_Konstantin | run makeInterface.py | 14:05 |
Sfiet_Konstantin | woow, code is written :O | 14:05 |
giucam | c++ code? | 14:05 |
Sfiet_Konstantin | yeah | 14:05 |
faenil | Sfiet_Konstantin, one json for each component for each theme? | 14:07 |
Sfiet_Konstantin | faenil: one for each theme | 14:07 |
Sfiet_Konstantin | I was thinking about this | 14:07 |
faenil | and why do you need the generator | 14:07 |
faenil | once you have the components built | 14:07 |
Sfiet_Konstantin | Global object: global properties (name, accent color) | 14:08 |
Sfiet_Konstantin | faenil: to build the components | 14:08 |
Sfiet_Konstantin | you need the generator only when importing a new component :) | 14:08 |
faenil | Sfiet_Konstantin, ah well I think it takes more time to write the generator than the interface :D | 14:08 |
Sfiet_Konstantin | faenil: what if your interface have a lot of properties | 14:08 |
faenil | but if you have something coded already, np | 14:08 |
Sfiet_Konstantin | tonight, I give you the generator ? | 14:08 |
Sfiet_Konstantin | and also the spec of how the theme.json should be written ? | 14:09 |
giucam | imho, themes should be compiled code | 14:10 |
faenil | well, if you have stuff ready already ;) | 14:10 |
giucam | *shouldn't | 14:10 |
faenil | yay here's another idea, compiled code! | 14:10 |
faenil | giucam, ah, okay :D | 14:11 |
giucam | or rather, to be compiled code | 14:11 |
faenil | giucam, yeah themes are json/js whatever | 14:11 |
Sfiet_Konstantin | it is not about theme | 14:11 |
Sfiet_Konstantin | just exporting stuff | 14:11 |
faenil | yep | 14:11 |
giucam | but you need to comiple the generated code, you need to have a compiler, headers,... | 14:11 |
giucam | if i get a theme from the internet, i'll need to build it | 14:12 |
faenil | nope | 14:12 |
faenil | the headers are only for when developing the component | 14:12 |
faenil | once Nemo components will be ready | 14:12 |
faenil | the json themes will be plugins | 14:12 |
faenil | the header will read every valid theme | 14:12 |
faenil | the generated code* | 14:12 |
Sfiet_Konstantin | giucam: themes are json files (with some more stuff like assets) | 14:13 |
faenil | the generated is only to speed up the development of UI controls | 14:13 |
faenil | generated code* | 14:13 |
giucam | oh, maybe i misunderstood. i thought the generator was to create c++ code for what now is Theme1.js | 14:13 |
faenil | giucam, nope | 14:13 |
giucam | ah ok | 14:13 |
faenil | just to create code which exposes the theme values to qml | 14:13 |
faenil | to have a more robust API and errors checking | 14:13 |
Sfiet_Konstantin | faenil: I cannot generate interfaces from a theme json file | 14:14 |
Sfiet_Konstantin | I can, however, generate them from a description JSON file | 14:14 |
Sfiet_Konstantin | what do you think ? | 14:14 |
faenil | Sfiet_Konstantin, yes of course | 14:14 |
faenil | the schema file for the themes | 14:15 |
Sfiet_Konstantin | faenil: cool :) | 14:15 |
faenil | Sfiet_Konstantin, what is not clear to me is, in JSON you have values for all the components | 14:15 |
Sfiet_Konstantin | faenil: na, for schema files, I think I will use files | 14:15 |
Sfiet_Konstantin | :D | 14:15 |
faenil | Sfiet_Konstantin, ? | 14:16 |
Sfiet_Konstantin | I will describe every component in a JSON file | 14:16 |
faenil | ok yes, what I was expecting | 14:16 |
faenil | we need one schema for each components | 14:16 |
faenil | component* | 14:16 |
Sfiet_Konstantin | ok | 14:16 |
faenil | Sfiet_Konstantin, but don't tell me we're not making stuff more difficult :P | 14:17 |
faenil | but yes it's more robust for sure | 14:17 |
Sfiet_Konstantin | faenil: tonight I said :D | 14:17 |
faenil | I'm not just not sure this is worth the effort for Nemo controls, that's all | 14:17 |
*** arcean_ has quit IRC | 14:18 | |
Sfiet_Konstantin | faenil: one night spent to not write boilerplate code ? hell yeah ! | 14:19 |
faenil | :D | 14:19 |
*** arcean_ has joined #nemomobile | 14:21 | |
faenil | I guess I'll start working on new components | 14:22 |
Sfiet_Konstantin | faenil: :) | 14:27 |
faenil | let's see :D | 14:28 |
faenil | god I'm so looking forward to having The Jolla :D | 14:28 |
crnd | just a few more months | 14:29 |
faenil | yeah... | 14:29 |
sledges | first PR faenil :) I wonder if it made complete bs :D | 14:33 |
sledges | s/it/I/ | 14:34 |
faenil | sledges, ah ok so basically it's incomplete groove :) | 14:35 |
faenil | incomplete slider, sorry | 14:35 |
sledges | yes | 14:35 |
faenil | ok | 14:35 |
sledges | just the rudimentary one | 14:35 |
* faenil has a look | 14:35 | |
sledges | would be good to agree on namings | 14:36 |
Sfiet_Konstantin | sledges: +1 | 14:37 |
sledges | we 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_Konstantin | sledges: slider ball :D | 14:38 |
sledges | and/or trumpet ;P | 14:38 |
sledges | the trumpet is out-of-spec-scope, so might remain :D | 14:38 |
sledges | just having doubts about ProgressGroove name as a generalised term | 14:39 |
sledges | SliderOrProgressBarGroove would be delivering the message, hmm need to think for a good name | 14:40 |
sledges | and 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 dont | 14:41 |
faenil | I guess they have same styling so it should work | 14:41 |
faenil | but maybe this is more a question for graphics guys | 14:41 |
sledges | and apparently ProgressBarStyle can be styled either with 'Background and Progress' or composed only of 'Panel' | 14:43 |
faenil | :/ | 14:43 |
sledges | s/composed/styled/ | 14:43 |
faenil | sledges, commentend ;) | 14:45 |
sledges | awesome :) | 14:46 |
*** wmarone has quit IRC | 14:47 | |
sledges | faenil, ProgressGroove -> GrooveStyle instead? | 14:48 |
sledges | (i forgot the naming convention) | 14:48 |
faenil | sledges, is that a reply to the "do we need to expose it?" | 14:48 |
sledges | nope | 14:48 |
sledges | 15:39 sledges just having doubts about ProgressGroove name as a generalised term | 14:48 |
faenil | yeah GrooveStyle is ok | 14:48 |
*** mcfrisk has left #nemomobile | 14:49 | |
faenil | qwazix, ping | 14:51 |
faenil | I don't understand if the "Header" is actually a toolbar only.. | 14:52 |
locusf | so the slider spec says that when slider is pressed the slider-trumpet becomes a "stretched" trumpet? | 14:52 |
sledges | if slider is in trumpet mode, yes | 14:52 |
faenil | as header looks like an element anchored to top of the view, not bottom | 14:52 |
sledges | (locusf ^ and t=1) | 14:53 |
locusf | sledges: ok | 14:53 |
*** jreznik has quit IRC | 14:55 | |
faenil | QQC are confusing | 14:59 |
faenil | AppWindow has statusbar, toolbar, and menubar | 14:59 |
faenil | so, how do you set a custom toolbar for each "Page"? | 14:59 |
faenil | conditional toolbar? :/ | 15:00 |
*** Martix_ has quit IRC | 15:00 | |
qwazix | faenil, 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 |
faenil | qwazix, so the toolbar is always anchored on top? | 15:01 |
faenil | the Header component | 15:01 |
faenil | is a top view component | 15:01 |
qwazix | yeah, and you can drag it to open the drawer | 15:01 |
faenil | I hoped it was a bottom one, especially for the big screens | 15:01 |
qwazix | but it can be different in each page | 15:01 |
faenil | in use with tab views | 15:01 |
faenil | that is the problem, I don't see a way to make it different for each page in QQC | 15:02 |
*** jreznik has joined #nemomobile | 15:02 | |
qwazix | :nod: we must find a way to work around that... | 15:02 |
faenil | but I guess this will be the case for all iOS and Android apps | 15:02 |
faenil | I'll ask in #qt-qcuik | 15:02 |
qwazix | faenil, bottom toolbar has the problem that you can't combine header with few buttons => more lost vertical space | 15:03 |
qwazix | that's why both ios and android moved toolbar to the top | 15:03 |
faenil | but then you can't reach it with your finger... :/ | 15:04 |
faenil | so you won't use it :/ | 15:04 |
faenil | (unless you're forced to, of course) | 15:04 |
*** piee has joined #nemomobile | 15:05 | |
sledges | faenil, PR adjustments done :) | 15:13 |
faenil | sledges, the qmldir question was a genuine one :) | 15:20 |
sledges | :D | 15:20 |
sledges | i just removed it and all works | 15:20 |
sledges | don't think anyone will need to re-use only a groove | 15:20 |
faenil | I was thinking that everything works imho, if we remove those from qmldir | 15:20 |
sledges | ^ | 15:21 |
sledges | :D | 15:21 |
*** Morpog_Mobile has quit IRC | 15:21 | |
faenil | ok :) | 15:21 |
sledges | xD mindreading again | 15:21 |
faenil | no, I meant, I think if we remove the rest of the qmldir | 15:21 |
*** Morpog_ has quit IRC | 15:21 | |
faenil | it will still works | 15:21 |
faenil | work* | 15:21 |
*** Morpog_N9_______ has quit IRC | 15:22 | |
sledges | *the rest? | 15:22 |
faenil | anyway, doesn't matter | 15:22 |
faenil | yes the other styles | 15:22 |
faenil | as the components use Qt.createComponent(path + ".qml" ) anyway | 15:22 |
faenil | they don't use the qml exposed styles | 15:22 |
sledges | ok | 15:22 |
*** NIN101 has joined #nemomobile | 15:29 | |
*** IgorSK has quit IRC | 15:34 | |
locusf | sledges: do you want some help chiseling the trumpets in etc? | 15:34 |
giucam | meh. 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 windows | 15:34 |
faenil | w00t, ^ | 15:35 |
giucam | i think it'd be possible to keep both models in lipstick by adding a new QGuiApplication subclass | 15:36 |
sledges | locusf, yes please, feel free to have fun picking one or all tasks: disabled slider style, its handle (ball, indicator) and the trumpet | 15:36 |
giucam | the biggest change would be in lipstick-colorful-home | 15:37 |
faenil | giucam, yeah ofc | 15:37 |
locusf | sledges: ok will rebase on your work and continue | 15:37 |
sledges | locusf, yup, just pull --rebase from origin | 15:38 |
sledges | thanks! | 15:38 |
faenil | crap, it seems like QQC don't have support for a different toolbar for each page.. | 15:38 |
faenil | unless you do AppWindow.toolbar = mytoolbar | 15:38 |
sledges | how else would you see this implemented faenil | 15:39 |
sledges | if qqc did support it | 15:39 |
faenil | sledges, well, in meego components you have Page | 15:39 |
faenil | and each Page has a toolbar: | 15:39 |
faenil | property | 15:39 |
sledges | w.r.t. resource usage, is same.. | 15:39 |
faenil | yes, but the semantic is different | 15:40 |
faenil | QQC have ONE toolbar | 15:40 |
faenil | the applicationwindow one | 15:40 |
faenil | you can hack that by changing it based on the view you're in...but that's not what is made for | 15:40 |
faenil | it is* | 15:40 |
sledges | yup, a mechanism is needed :( | 15:40 |
faenil | since I don't think they didn't consider this case, I'd like to hear the opinion of some qt guy | 15:41 |
*** Morpog_N9_______ has joined #nemomobile | 15:41 | |
sledges | nod | 15:41 |
faenil | I tried asking already, no reply so far | 15:42 |
sledges | :) ml? | 15:42 |
faenil | :( | 15:42 |
sledges | is not like we need page header toolbar for tomorrow :) | 15:44 |
locusf | hmm my examples binary segfaults | 15:44 |
sledges | locusf, fingerterm | 15:45 |
*** lbt has joined #nemomobile | 15:45 | |
locusf | sledges: ah | 15:45 |
sledges | and export QT_QUICK_CONTROLS_STYLE=Nemo | 15:46 |
sledges | in there | 15:46 |
sledges | locusf, ^ | 15:47 |
sledges | thanks to faenil for this intrinsic info above ;) | 15:48 |
locusf | sledges: ok thanks | 15:48 |
faenil | :) | 15:48 |
faenil | fyi, it's the official way of switching QQC themes ;) | 15:49 |
sledges | one way of protecting FOSS IP :DDD | 15:49 |
faenil | ? XD | 15:49 |
sledges | it's open source! now go compile/launch it! :)) | 15:49 |
*** Morpog_PC has joined #nemomobile | 15:50 | |
sledges | of course we are wip | 15:50 |
sledges | but | 15:50 |
Sfiet_Konstantin | faenil: done ? :P | 15:50 |
*** Morpog_Mobile has joined #nemomobile | 15:50 | |
faenil | sledges, I'm not getting your point :) | 15:50 |
sledges | sadly tizen has taken it to the next level :( they protect accessto their OBS, and all metadata needed to produce image is behind closed walls | 15:50 |
faenil | Sfiet_Konstantin, done what? | 15:50 |
sledges | source is open | 15:50 |
Sfiet_Konstantin | faenil: generator that generates an exposed class from theme structure file ? | 15:51 |
*** wmarone has joined #nemomobile | 15:51 | |
*** arcean_ has quit IRC | 15:51 | |
faenil | Sfiet_Konstantin, wasn't that your task? XD | 15:51 |
Sfiet_Konstantin | didn't generated a class that parses the theme and loads it yet | 15:51 |
Stskeeps | sledges: well, that's a bit unfair, there's fakeobs? | 15:51 |
Stskeeps | :P | 15:51 |
Sfiet_Konstantin | on the work | 15:51 |
Sfiet_Konstantin | faenil: it is | 15:51 |
faenil | ah ok :P | 15:51 |
Sfiet_Konstantin | polishing a bit and send you a PR | 15:51 |
sledges | faenil, 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 world | 15:51 |
Sfiet_Konstantin | :) | 15:51 |
faenil | sledges, but it's not my fault, that's the Qt way of switching themes in QQC XD | 15:52 |
sledges | no-one's blaming you :D | 15:52 |
*** WWDrakey has left #nemomobile | 15:52 | |
faenil | well, I could just add a putenv in main.cpp of the example, but anyway :D | 15:52 |
sledges | i just had a deja-vu moment of such 'practises' without documentation :)) | 15:52 |
faenil | sledges, :) | 15:52 |
sledges | Stskeeps, dunno | 15:53 |
* alterego ponders interactive 8-bit interactive games in LPM. | 15:54 | |
alterego | Like the original pacman or pong ^.^ | 15:54 |
sledges | :D | 15:54 |
sledges | or cat | 15:54 |
sledges | CGA ftw | 15:54 |
alterego | Not sure why I said interactive twice .. | 15:54 |
faenil | lol | 15:56 |
alterego | Hrm, maybe I should have another coffee .. | 15:56 |
faenil | alterego, they must have been interactive indeed | 15:56 |
alterego | I 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 IRC | 15:57 | |
faenil | oh yeah, we don't know anything about LPM in Jolla! | 15:57 |
faenil | Stskeeps, *cough* *cough* ^ | 15:57 |
alterego | Is the Jolla AMOLED? | 15:57 |
Stskeeps | faenil: i don't know anything | 15:58 |
faenil | Stskeeps, ah I see, I must have highlighted the wrong guy, sorry.. :P | 15:58 |
*** Pat_o has joined #nemomobile | 15:58 | |
alterego | Anyway, 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 |
faenil | alterego, IPS qHD | 15:58 |
alterego | It was an addition to the latest version of WP on Lumia | 15:58 |
*** Morpog_N9_______ has quit IRC | 15:59 | |
*** Morpog_N9_______ has joined #nemomobile | 15:59 | |
alterego | Does IPS have a similar kind of thing? | 15:59 |
faenil | no idea, hence asking :P | 15:59 |
*** topro has quit IRC | 15:59 | |
dm8tbr | IPS is a LCD | 16:01 |
dm8tbr | not a LED screen | 16:01 |
alterego | IPS-LCD and IPS-LED are different. | 16:01 |
alterego | Think iPhone is IPS LCD | 16:02 |
alterego | So yeah, you're probably right that it's an IPS LCD as opposed to IPS LED/ | 16:02 |
alterego | I imagine, because of the backlight, LPM is impossible. | 16:03 |
alterego | Maybe you could get away with something if it had transflective properties, but it wont be anywhere near as cool as N9 | 16:03 |
dm8tbr | how would 'in plane switching' work with leds? o.O | 16:03 |
faenil | :( thanks for opening our eyes | 16:03 |
alterego | dm8tbr: I Don't know, all I know is most computer monitors now are IPS-LED, apparently .. | 16:04 |
dm8tbr | my recommendation: buy a meta watch to pair with the device | 16:04 |
alterego | I know my HDMI monitor is IPS LED, has it written in pretty colours on the front ;) | 16:04 |
dm8tbr | alterego: probably IPS LCD with LED backlight... | 16:04 |
alterego | dm8tbr: yes, I just had that exact thought ;) | 16:04 |
Sfiet_Konstantin | faenil: I need your input | 16:04 |
alterego | Meh, what if I want to put my phone on my wrist :P | 16:04 |
Sfiet_Konstantin | (aka help) | 16:04 |
dm8tbr | for those that don't want to buy a metawatch: ultra-low-power-LCD-other-half | 16:05 |
alterego | AMOLED other-half? :) | 16:05 |
alterego | Don't want back light ;) | 16:05 |
faenil | oh crap | 16:05 |
faenil | I was in Marc's presentation! :D | 16:05 |
Sfiet_Konstantin | faenil: where ? :D | 16:05 |
dm8tbr | alterego: sure, you can have some small-ish AMOLED screen too, like on the first generation sony-ericsson liveview | 16:06 |
*** arcean has joined #nemomobile | 16:06 | |
faenil | https://twitter.com/jukkaeklund/status/385372427666329600 | 16:07 |
*** qwazix has quit IRC | 16:07 | |
locusf | how do I catenate a real value in QML? | 16:07 |
faenil | I can see me and fk_lx | 16:07 |
Sfiet_Konstantin | faenil: I saw you :D | 16:08 |
faenil | \o/ | 16:08 |
locusf | eg. I have a text with real value 4.2123 and I'd like that to become 4 | 16:08 |
dm8tbr | alterego: use one of these displays http://hackaday.com/2013/09/27/how-much-can-you-cram-into-a-wristwatch/ | 16:08 |
giucam | locusf: look at js Math object | 16:08 |
alterego | locusf: locusf parseInt('4.123') ? | 16:09 |
locusf | alterego: ok | 16:09 |
alterego | locusf: but it always rounds down, btw. | 16:10 |
*** piee has quit IRC | 16:10 | |
*** qwazix has joined #nemomobile | 16:10 | |
faenil | if parseInt >= 0.5, return parseInt +1 :P | 16:12 |
faenil | if val - parseInt * | 16:13 |
alterego | faenil, locus, well there is Math.round('4.123') .. | 16:13 |
faenil | better :) | 16:13 |
alterego | :) | 16:13 |
*** chriadam|away has quit IRC | 16:14 | |
*** denexter has quit IRC | 16:15 | |
*** chriadam has joined #nemomobile | 16:15 | |
giucam | aah, but there's LipstickCompositorProcWindow | 16:21 |
locusf | alterego: ok, but it works ok for slider :p | 16:23 |
*** ZogG_laptop has joined #nemomobile | 16:24 | |
*** ZogG_laptop has joined #nemomobile | 16:24 | |
locusf | now to align the trumpet below the slider ball | 16:28 |
locusf | the trumpet animation on reaching right side might be tricky | 16:28 |
*** lpotter has quit IRC | 16:33 | |
*** lpotter has joined #nemomobile | 16:33 | |
*** Pat_o has quit IRC | 16:39 | |
*** fk_lx has joined #nemomobile | 16:51 | |
*** Pat_o has joined #nemomobile | 16:55 | |
locusf | https://dl.dropboxusercontent.com/u/286182/trumpet.png | 16:56 |
locusf | almost | 16:56 |
Sfiet_Konstantin | locusf: awesome :O | 16:57 |
Sfiet_Konstantin | what are you using to do it ? | 16:57 |
crnd | OffsetTrumpet | 16:58 |
locusf | Sfiet_Konstantin: https://github.com/locusf/qtquickcontrols-nemo/commit/8aa28bbbae210dd1a1ae5730a247a79f92e05fe8 | 16:58 |
locusf | can a margin be negative, so that it moves the object to the left if leftMargin: -1 ? | 16:59 |
Sfiet_Konstantin | locusf: just an image now: cheater :D | 17:01 |
Sfiet_Konstantin | locusf: yes, a margin can be negative | 17:01 |
Sfiet_Konstantin | but better use anchor.horizontalCenter: parent.right | 17:01 |
locusf | Sfiet_Konstantin: is there a cleaner way to do it? | 17:02 |
locusf | than image :p | 17:02 |
Sfiet_Konstantin | locusf: thinking about shaders | 17:02 |
Sfiet_Konstantin | and shader can be animated | 17:02 |
Sfiet_Konstantin | faenil, shader expert, it is your topic ^ | 17:02 |
Sfiet_Konstantin | :D | 17:02 |
Sfiet_Konstantin | :P | 17:02 |
faenil | me shader expert? I think there has been a mistake :D | 17:02 |
faenil | I played with shaders, but it was few years ago :P | 17:03 |
Sfiet_Konstantin | faenil: :D | 17:03 |
faenil | anyway, gtg people! | 17:03 |
Sfiet_Konstantin | who created the touch area on button :D | 17:03 |
Sfiet_Konstantin | bye faenil | 17:03 |
*** Pat_o has quit IRC | 17:03 | |
sledges | locusf, check with qwazix about behaviour | 17:03 |
faenil | Sfiet_Konstantin, that's RadialGradient from qt | 17:03 |
Sfiet_Konstantin | faenil: :D | 17:03 |
*** arcean has quit IRC | 17:03 | |
faenil | have fun | 17:03 |
faenil | but not too much :P | 17:04 |
locusf | Sfiet_Konstantin: ok, so gotta look into shaders then | 17:04 |
locusf | sledges: roger that | 17:04 |
locusf | bye faenil | 17:04 |
Sfiet_Konstantin | gtg too | 17:04 |
Sfiet_Konstantin | bye | 17:04 |
Sfiet_Konstantin | bye faenil see you later | 17:04 |
Sfiet_Konstantin | bye people | 17:04 |
locusf | qwazix: ping | 17:05 |
sledges | locusf, coming from: 15:38 < qwazix> (also keep in mind that numberless sliders won't have a bubble at all) | 17:05 |
sledges | and the t=0 and t=1 bit | 17:06 |
locusf | sledges: ah ok | 17:06 |
sledges | 15:38 < qwazix> (which reminds me that I didn't mention that in the spec) | 17:06 |
sledges | ;) | 17:06 |
locusf | sledges: how do we determine the t=0/1 | 17:06 |
sledges | is during creation, some sort of trumpet: true property (?) | 17:06 |
locusf | hmm interesting | 17:07 |
sledges | at least this is what i read from spec | 17:07 |
sledges | interpret ;D | 17:07 |
sledges | and numberless slider becomes a progress bar... :{ not good | 17:07 |
sledges | qwazix, we need you :D | 17:07 |
sledges | s/becomes/looks identical to/ | 17:07 |
locusf | there is pressed bar | 17:07 |
locusf | in the spec | 17:08 |
*** Sfiet_Konstantin has quit IRC | 17:08 | |
sledges | 15:34 < qwazix> (I really was viewing the silder-ball as the label, not the handle though) | 17:09 |
sledges | and iirc hence we'd like to see the ball also when not pressed | 17:10 |
sledges | he said | 17:10 |
sledges | so, that's why i'd recommend to sync with him, not too late now still :D | 17:10 |
locusf | hmm ok | 17:10 |
sledges | Morpog_PC, ^ | 17:10 |
sledges | last but not least: | 17:12 |
sledges | 22:23 < qwazix> next step is a list of all components, and then the dependency tree | 17:12 |
sledges | 22:24 < qwazix> and then start a table, of the style component name | spec | implementation | | 17:12 |
sledges | 22:24 < qwazix> so that we can tick away what's completed | 17:12 |
sledges | a way to explain exact component behaviour | 17:13 |
sledges | but i like qwazix approach - not to spec everything from A-Z, but leave space for imagination at any point during the implementation | 17:13 |
sledges | and build up spec as we go | 17:13 |
locusf | yeah I agree | 17:15 |
*** Morpog_N9_______ has quit IRC | 17:16 | |
*** Morpog_N9_______ has joined #nemomobile | 17:16 | |
*** Pat_o has joined #nemomobile | 17:16 | |
sledges | as you can see in Morpog_PC's latest mockup, slider has label all the time: http://i1260.photobucket.com/albums/ii567/sledgas/components_zpsef1d81e0.png | 17:17 |
*** Pat_o has quit IRC | 17:21 | |
sledges | which makes sense | 17:21 |
locusf | https://dl.dropboxusercontent.com/u/286182/sliders.png | 17:22 |
sledges | now when should we use t=0/1 (trumpeted or not) idk | 17:22 |
locusf | sledges: take a look ^ | 17:22 |
sledges | sweet! | 17:22 |
locusf | taking a pressed shot, please wait | 17:23 |
sledges | isn't the negative margin slightly too big? | 17:23 |
locusf | https://dl.dropboxusercontent.com/u/286182/sliders-pressed.png | 17:24 |
locusf | there is no negative margin | 17:24 |
locusf | anchors.horizontalCenter: parent.right | 17:24 |
sledges | weehee smart ;) | 17:24 |
sledges | at any rate, ball looks teeny bit too much "on top" of trumpet | 17:24 |
locusf | yes | 17:25 |
locusf | it should be just enough to just nick the right edge | 17:25 |
*** cxl000 has joined #nemomobile | 17:32 | |
locusf | the negative margin didn't work | 17:34 |
*** asterismo has quit IRC | 17:46 | |
*** asterismo has joined #nemomobile | 17:46 | |
*** Pat_o has joined #nemomobile | 17:48 | |
*** slaine has quit IRC | 17:54 | |
*** jreznik has quit IRC | 17:54 | |
*** jreznik has joined #nemomobile | 17:55 | |
locusf | I'll do textField next | 17:56 |
*** M4rtinK has joined #nemomobile | 17:57 | |
*** Vlad_on_the_road has joined #nemomobile | 17:58 | |
*** exec_s has joined #nemomobile | 18:00 | |
*** evilpie has joined #nemomobile | 18:02 | |
sledges | :) | 18:06 |
*** panda84kde has quit IRC | 18:11 | |
*** Morpog_N9_______ has quit IRC | 18:11 | |
*** Morpog_N9_______ has joined #nemomobile | 18:11 | |
*** evilpie has quit IRC | 18:12 | |
Morpog_N9_______ | guys, sliders spec was done by qwazix | 18:19 |
*** DarkSim has joined #nemomobile | 18:19 | |
Morpog_N9_______ | and iirc he said trumpet was only for numbers, he just forgot to add that in spec | 18:19 |
sledges | makes sense | 18:23 |
sledges | ie labelled balls :) | 18:23 |
*** bunk has quit IRC | 18:24 | |
qwazix | locusf, sledges, sorry, emergency at work | 18:37 |
qwazix | reading backlog atm | 18:37 |
locusf | qwazix: np :) | 18:42 |
*** DrCode has quit IRC | 18:48 | |
*** DrCode has joined #nemomobile | 18:52 | |
qwazix | okay, up to date. | 18:55 |
qwazix | slider looks good, one small comment, the trumpet should "hug" the bubble a bit more | 18:56 |
qwazix | (and the text needs some centering, but only after switching to the right font, because spacing might be different) | 18:57 |
locusf | qwazix: care to specify "hug" :) ? | 18:59 |
locusf | also whats the width of text fields? | 19:00 |
*** arcean has joined #nemomobile | 19:04 | |
*** Martix_ has joined #nemomobile | 19:05 | |
qwazix | locusf, if you see the spec, the end of the trumpet is almost as high as the diameter of the ball | 19:11 |
*** Morpog_N9_______ has quit IRC | 19:11 | |
*** Morpog_N9_______ has joined #nemomobile | 19:11 | |
locusf | qwazix: true | 19:11 |
locusf | I just don't know how its done, yet | 19:12 |
aknight | there is a curve in the spec... is the implementation a straight line? | 19:12 |
qwazix | locusf, width of textfields is variable, let's say that full width is the default, excluding some padding left and right | 19:12 |
qwazix | moment | 19:12 |
qwazix | Morpog has specced 16u as minimum padding from the edge of the screen in listview header so let's use that for now | 19:14 |
locusf | qwazix: ok | 19:15 |
qwazix | I don't know if we should say 480-32 or specify anchors left and right and 16u margin at either side | 19:15 |
qwazix | I'd vote for the latter | 19:15 |
locusf | me too | 19:15 |
qwazix | ok then | 19:15 |
*** Martix_ has quit IRC | 19:16 | |
locusf | I'd also love a borderimage of the text field blue line | 19:16 |
qwazix | why not just use a rectangle? | 19:16 |
locusf | I'm not 100% sure how that would be done | 19:16 |
qwazix | (so that you can use accentColor for coloring instead of having an image with the color) | 19:17 |
qwazix | I'm not sure but Rectangle { width: textField.width; height: 2; anchors.top: textfield.bottom; anchors.left; textField.left; } should do it | 19:18 |
*** Martix has joined #nemomobile | 19:18 | |
locusf | I only get a background as property, not the entire textfield | 19:20 |
*** Martix has quit IRC | 19:20 | |
*** Martix has joined #nemomobile | 19:21 | |
*** Martix has quit IRC | 19:21 | |
*** martyone has joined #nemomobile | 19:21 | |
*** Martix has joined #nemomobile | 19:21 | |
qwazix | locusf, have a link to the code? | 19:22 |
qwazix | faenil, ping | 19:23 |
*** Martix has quit IRC | 19:23 | |
locusf | qwazix: sure, I'll commit in a sec | 19:24 |
*** Martix has joined #nemomobile | 19:24 | |
Morpog_N9_______ | exciting times in here lately :) | 19:25 |
locusf | qwazix: | 19:26 |
locusf | qwazix: https://github.com/locusf/qtquickcontrols-nemo/commit/a16ea45d9233febd89e84eed3dc593c2a0110959 | 19:26 |
*** Martix has quit IRC | 19:28 | |
*** Martix has joined #nemomobile | 19:28 | |
qwazix | locusf, does it produce the desired result or? | 19:28 |
locusf | qwazix: yeah it doesn't | 19:28 |
*** Martix has quit IRC | 19:29 | |
*** furikku has quit IRC | 19:29 | |
qwazix | what is wrong with it? (sorry don't have dev env set up atm) | 19:30 |
qwazix | background requires an image, not qml components? | 19:31 |
*** Martix has joined #nemomobile | 19:31 | |
locusf | qwazix: https://dl.dropboxusercontent.com/u/286182/textfield.png | 19:31 |
locusf | qwazix: the inner rectangle isn't drawn | 19:31 |
locusf | qwazix: https://github.com/locusf/qtquickcontrols-nemo/commit/46f8154a76e533040932d718af0697cbba1fa69c | 19:32 |
qwazix | I think that setting `color` of Rectangle at L35 and not border will do the right thing | 19:36 |
qwazix | and height: 2 | 19:37 |
locusf | qwazix: yes that did it | 19:38 |
qwazix | :) | 19:38 |
qwazix | also, I don't know how to access `accentColor` from https://github.com/faenil/qtquickcontrols-nemo/blob/master/src/styles/themes/Theme1.js but the selected color and the line color might not be the same in all themes | 19:40 |
locusf | qwazix: https://dl.dropboxusercontent.com/u/286182/textfield-good.png | 19:41 |
qwazix | then again forget what I just said, it probably doesn't make much sense | 19:41 |
locusf | sorry, couldn't get rid of the kb :p | 19:41 |
qwazix | locusf, nice! | 19:41 |
locusf | qwazix: thx :) | 19:42 |
aknight | kb is nice | 19:42 |
locusf | so I assume disabled textfield != readonly | 19:42 |
qwazix | disabled 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 it | 19:44 |
qwazix | that said, for compatibility purposes, just give the text 0.5 opacity in read only | 19:44 |
qwazix | (just in case somebody still wants to use it) | 19:44 |
aknight | are the bracketed lines supposed to be a different color than the unbracketed lines? | 19:45 |
qwazix | aknight, the bracketed ones are default qt quick controls (locusf, correct me if I'm wrong) | 19:45 |
qwazix | just for comparison | 19:45 |
aknight | ah ok | 19:45 |
locusf | qwazix: yes they are the default styles | 19:46 |
locusf | well not default but specified separately from Glacier | 19:46 |
qwazix | :nod: | 19:46 |
qwazix | locusf can we add a mouseArea to the readonly textField so that clicking it copies the text to clipboard? | 19:48 |
aknight | a read-only textinput can still be selected afaik | 19:49 |
locusf | qwazix: I guess we could do that if readonly textarea doesn't support selecting | 19:50 |
locusf | but it does so its unnecessary | 19:50 |
qwazix | even if it does, selecting on capacitive is tough, so we might want to make it easier | 19:51 |
*** jluisn has joined #nemomobile | 19:51 | |
qwazix | (still allow selecting, but tapping or double-tapping should auto-copy all text) | 19:51 |
locusf | qwazix: hmm | 19:54 |
locusf | its of course doable but its pretty implicit | 19:54 |
qwazix | locusf, something like this | 19:57 |
qwazix | http://play.qwazix.com/nemo/textField%20and%20textArea.png | 19:57 |
locusf | okay thats not too bad | 19:58 |
locusf | qwazix: https://dl.dropboxusercontent.com/u/286182/textfield-disabled.png | 19:58 |
qwazix | locusf, disabled needs the text at 0.6 opacity too. Otherwise it's looks alright | 19:59 |
locusf | qwazix: I know, didn't have time to investigate further | 20:01 |
locusf | also github is down :/ | 20:01 |
locusf | or slow | 20:01 |
locusf | and I gotta sleep | 20:01 |
qwazix | locusf, it seems it's back up, just managed to push | 20:01 |
qwazix | good night then :), thanks for nice work! | 20:02 |
locusf | thanks :) | 20:02 |
sledges | \o/ | 20:02 |
locusf | and good night | 20:02 |
qwazix | Morpog_Something :P just merged the PR | 20:03 |
*** piggz has joined #nemomobile | 20:06 | |
*** kostaja has quit IRC | 20:07 | |
Morpog_N9_______ | :) | 20:21 |
*** lbt has quit IRC | 20:23 | |
*** lbt_away is now known as lbt | 20:23 | |
qwazix | gn! | 20:27 |
*** Pat_o has quit IRC | 20:28 | |
*** jreznik has quit IRC | 20:33 | |
*** Pat_o has joined #nemomobile | 20:34 | |
*** arcean has quit IRC | 20:38 | |
*** jluisn has quit IRC | 20:53 | |
*** lizardo has quit IRC | 20:55 | |
*** Pat_o has quit IRC | 21:08 | |
*** piggz has quit IRC | 21:10 | |
*** piggz has joined #nemomobile | 21:10 | |
*** piggz has quit IRC | 21:10 | |
*** piggz has joined #nemomobile | 21:10 | |
*** louisdk has joined #nemomobile | 21:13 | |
*** piggz has quit IRC | 21:14 | |
sledges | gnite | 21:16 |
*** Martix has quit IRC | 21:21 | |
giucam | i'm going crazy | 21:24 |
giucam | i thought fixing the lock screen not showing was an easy one for starting hacking, but i think it's actually a qt bug | 21:25 |
giucam | or even lower, maybe | 21:26 |
sledges | yikes | 21:36 |
w00t | giucam: what's your findings so far | 21:44 |
*** fk_lx has left #nemomobile | 21:49 | |
*** Vlad_on_the_road has quit IRC | 21:53 | |
giucam | w00t: either the scene graph doesn't redraw or the frame doesn't hit the screen | 21:57 |
giucam | but i'll continue tomorrow, i'm tired now | 21:58 |
*** cxl000 has quit IRC | 22:05 | |
w00t | giucam: are you sure this isn't your mesa bug all over again? :p | 22:07 |
giucam | but it's on wayland, it's on eglfs | 22:08 |
giucam | *it's not | 22:14 |
*** DarkSim has quit IRC | 22:18 | |
*** piee has joined #nemomobile | 22:20 | |
w00t | giucam: true enough, i was mostly joking around | 22:24 |
*** giucam has quit IRC | 22:33 | |
*** faenil_ has joined #nemomobile | 22:35 | |
*** faenil has quit IRC | 22:36 | |
*** NIN101 has quit IRC | 22:37 | |
*** martyone has quit IRC | 22:40 | |
*** faenil__ has joined #nemomobile | 22:54 | |
*** faenil_ has quit IRC | 22:55 | |
*** piee has quit IRC | 22:56 | |
*** M4rtinK has quit IRC | 23:22 | |
*** jonwil has joined #nemomobile | 23:59 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!