#nemomobile log for Monday, 2013-09-30

*** chriadam has quit IRC00:10
*** chriadam has joined #nemomobile00:15
*** sni1 has joined #nemomobile00:25
*** asterismo has quit IRC00:46
*** asterismo has joined #nemomobile00:46
*** phdeswer has quit IRC01:04
*** mschlens has joined #nemomobile01:04
*** mschlens_ has quit IRC01:08
*** n9mx has joined #nemomobile01:15
*** n9mx has quit IRC01:16
*** n9mx has joined #nemomobile01:17
*** KaIRC has quit IRC01:31
*** Morpog_ has joined #nemomobile01:51
*** Morpog_Mobile has quit IRC01:53
*** Morpog_PC has quit IRC01:54
*** Morpog_Mobile has joined #nemomobile02:01
*** MohammadAG has quit IRC03:01
*** MohammadAG has joined #nemomobile03:02
*** piiramar has joined #nemomobile03:08
*** phdeswer has joined #nemomobile03:20
*** Morpog_ has quit IRC03:44
*** n9mx has quit IRC03:49
*** furikku has joined #nemomobile03:54
*** ericcc has joined #nemomobile04:14
*** blam has joined #nemomobile04:16
*** kavuri has joined #nemomobile04:22
*** ericcc_ has joined #nemomobile04:25
*** ericcc has quit IRC04:28
*** ericcc_ has quit IRC04:36
*** Merbot` has joined #nemomobile04:43
*** mhall119_ has joined #nemomobile04:44
*** MohammadAG_ has joined #nemomobile04:44
*** phako_ has joined #nemomobile04:44
*** MohammadAG has quit IRC04:49
*** phako has quit IRC04:49
*** trollixx has quit IRC04:49
*** zbenjamin has quit IRC04:49
*** mhall119 has quit IRC04:49
*** tanuk has quit IRC04:49
*** Merbot has quit IRC04:49
*** MohammadAG_ is now known as MohammadAG04:49
*** ericcc has joined #nemomobile05:13
*** zbenjamin_ is now known as zbenjamin05:17
*** zbenjamin has joined #nemomobile05:17
*** WWDrakey has joined #nemomobile05:27
*** Pat_o has joined #nemomobile05:30
*** plundstr has joined #nemomobile05:31
*** martyone has joined #nemomobile05:32
*** xhaakon has joined #nemomobile05:46
*** alexxy has quit IRC05:48
*** Sfiet_Konstantin has joined #nemomobile05:49
*** alexxy has joined #nemomobile05:51
*** kostaja has joined #nemomobile05:51
*** ZogG_laptop has quit IRC05:52
*** martyone has quit IRC05:57
*** ericcc_ has joined #nemomobile05:59
*** ericcc has quit IRC05:59
*** Aard has quit IRC06:00
*** fk_lx has joined #nemomobile06:01
*** Aard has joined #nemomobile06:01
*** Morpog_N9_ has joined #nemomobile06:01
*** Morpog_N9__ has joined #nemomobile06:01
*** Morpog_N9___ has joined #nemomobile06:02
*** Morpog_N9__ has quit IRC06:05
*** Morpog_N9_ has quit IRC06:05
*** Vlad_on_the_road has joined #nemomobile06:05
*** topro has joined #nemomobile06:16
*** Vlad_on_the_road has quit IRC06:20
*** Sinbad has joined #nemomobile06:29
*** Pat_o has quit IRC06:33
*** jukkaeklund has joined #nemomobile06:36
*** ericcc has joined #nemomobile06:39
*** ericcc_ has quit IRC06:42
*** gabriel9 has joined #nemomobile06:44
*** gabriel9 has quit IRC06:48
*** ZogG_laptop has joined #nemomobile06:48
*** Martix has joined #nemomobile06:56
*** tanuk_ is now known as tanuk06:57
*** Pat_o has joined #nemomobile06:59
*** slaine has joined #nemomobile07:01
*** Xruxa has joined #nemomobile07:04
*** Pat_o has quit IRC07:06
*** arcean has joined #nemomobile07:16
*** martyone has joined #nemomobile07:16
*** jmlich has joined #nemomobile07:19
*** niqt has joined #nemomobile07:22
niqtmorning07:23
*** jpetersen has joined #nemomobile07:25
locusfmorning07:28
*** mpthx has joined #nemomobile07:41
*** Martix has quit IRC07:42
*** KaIRC has joined #nemomobile07:42
*** arcean_ has joined #nemomobile07:46
*** arcean has quit IRC07:49
*** Morpog_N9___ has quit IRC07:55
*** faenil has joined #nemomobile07:58
faenilmorning!08:00
*** norayr has joined #nemomobile08:02
*** phdeswer has quit IRC08:03
*** xl_kf has joined #nemomobile08:04
niqthi faenil?08:05
faenilniqt, hey08:05
*** ZogG_laptop has quit IRC08:06
*** Morpog_N9___ has joined #nemomobile08:07
*** Sfiet_Konstantin has quit IRC08:13
*** phdeswer has joined #nemomobile08:16
*** chriadam is now known as chriadam|away08:25
*** panda84kde has joined #nemomobile08:28
*** giucam has joined #nemomobile08:35
*** jukkaeklund_ has joined #nemomobile08:36
*** notmart has joined #nemomobile08:39
*** jukkaeklund has quit IRC08:39
*** faenil has quit IRC08:44
*** faenil_ has joined #nemomobile08:45
*** jonwil has quit IRC08:45
*** jonwil has joined #nemomobile08:46
*** faenil_ has quit IRC08:51
*** faenil has joined #nemomobile08:51
*** Sfiet_Konstantin has joined #nemomobile08:52
*** jreznik has joined #nemomobile08:52
*** norayr has quit IRC08:53
*** fk_lx has quit IRC08:55
*** blam has quit IRC08:57
*** arcean_ has quit IRC09:02
*** sni1 has quit IRC09:05
*** arcean_ has joined #nemomobile09:06
giucamwhere's the code that puts the device in standby after a while? in lipstick?09:16
dm8tbrwild guess: mce?09:18
giucamhmm... i don't know what that is but by looking at its repo it could be09:20
faenilmost likely mce, but I think it's been wrapped in some lipstick bits iirc09:20
giucamwhat i'm looking for is the code that puts to sleep and wakes the ui, since it doesn't work well in the vm09:22
giucamfaenil: actually the swipe works ok in the vm and i don't have a device09:23
giucamso i cannot look into that09:23
faenilgiucam, okay, thanks for confirming ;)09:23
faenilno problem09:23
*** Sfiet_Konstantin has quit IRC09:29
*** blam has joined #nemomobile09:30
*** sledges has joined #nemomobile09:30
sledgesg!Morning09:31
faenilsledges, o/09:31
sledgeshttp://unleashthephones.com/2013/09/26/editorial-on-the-2nd-anniversary-of-the-nokia-n9s-release-user-interfaces-still-have-some-way-to-go/09:33
*** Sfiet_Konstantin has joined #nemomobile09:34
*** piggz has joined #nemomobile09:41
alteregoHmm, said I'd help someone move house this afternoon. Oh well, could probably do with the excersice.09:56
Stskeepsmorn09:56
sledgeszbenjamin, thanks for finding broken link to kernel on wiki; yes github changed their file path naming without informing anyone :)09:57
zbenjaminsledges: np ;)09:57
faenilStskeeps, morning o/09:58
alteregoHeh09:58
alteregoI loaned an N9 to my girlfriend last week, she seems to like it. And she's a heavily indoctrinated iPhone luser. :)09:59
faenil:D09:59
* Stskeeps wishes he could run nemo/sailfish on his pc09:59
alteregoMy plan is to run my platform on everything.10:00
alteregoAll I need now is a gstreamer wayland source.10:01
faenil:D10:01
alteregoThey have a sink, but not a source. Shouldn't be too hard to implement one though.10:01
Stskeepswell i guess you could have a swing at adding freerdp support to mesa fbdev10:01
Stskeepsshouldn't be too hard given you have the factual framebuffer10:01
alteregoRDP might be a bit overkill, I want to write a HTML wayland compositor.10:02
alteregoThinking about it, using gstreamer like I intend is probably a bit too much overhead.10:03
alteregoMaybe just sending the window contents as an image is better, it'll be running on localhost anyway.10:03
*** piggz has quit IRC10:04
*** fk_lx has joined #nemomobile10:04
alteregoIf I can get qt-creator running in a web-browser, I'll be happy :D10:05
Stskeepsalterego: well i would not transfer the window contents as such, but just take it in as texture ids10:05
*** mikhas has joined #nemomobile10:06
alteregoStskeeps: yeah, there is the possibility I can do that with WebGL, but I think I might be unable to.10:06
alteregomight not ..10:06
*** Martix has joined #nemomobile10:06
alteregoAnyway, if I can't, I'll just finish the QML component set and use that instead of the HTML stuff for local things.10:07
*** piggz has joined #nemomobile10:07
sledgesme finished reading weekend's backlog (whew!)10:12
alteregoHeh10:14
faenilsledges, :D10:18
*** piggz has quit IRC10:23
*** piggz_ has joined #nemomobile10:23
alteregoLoving the new Alice in Chains album ..10:24
faenilsledges, ideas to hide themes styles in Glacier components?10:26
faenilif they're just inside .js files they can be modified from QML I guess10:26
Sfiet_Konstantinfaenil: what do you mean by hide ?10:26
faenilSfiet_Konstantin, I don't want the user to be able to do "Theme.button.text.fontSize = 50" for example10:26
Sfiet_KonstantinC++, read only10:27
Sfiet_Konstantinor better10:27
faenilSfiet_Konstantin, lol10:27
Sfiet_KonstantinQ_PROPERTY(something CONSTANT)10:27
faenilman...10:27
faenilOf course in C++ it can be done :D10:27
Sfiet_Konstantinwhy JS then ?10:27
Sfiet_Konstantinyou can use stateless library10:27
faenilbecause it's easier to modify while developing10:27
Sfiet_Konstantinand then, put it in a read only place10:27
Sfiet_Konstantinfaenil: :D10:28
faenilSfiet_Konstantin, there's no read-only in js10:28
faenilunless I make a getter for each value10:28
faenilget value() { function() { return 42 } }10:28
faenilsomething like that10:28
faenilbut absolutely not convenient10:28
Sfiet_Konstantinno, you can use10:29
Sfiet_Konstantinsec10:29
faenilqml has readonly, not js10:30
sledgesi agree with Zog, why are you concentrating at this stage on what to restrict?10:30
*** ericcc has quit IRC10:30
Sfiet_Konstantinfaenil: http://paste.kde.org/pbd03e388/ soemthing like this ?10:30
Sfiet_Konstantindoes this work ? it should10:32
Sfiet_Konstantinah ... no, you can modify id :/10:32
alteregoWhy would you not want your developers to have access to the styling?10:32
sledgesif they want to do it, they will find a way and you'll get an app which looks like this: http://ramon.houtsma.net/worst_website/annoyingsite.html10:32
sledges:)10:32
Sfiet_Konstantinsledges: lol10:32
faenilalterego, well, there are themes, they can modify theme files if they want to do that10:32
Sfiet_Konstantinfaenil: and anyway, you are going to redo it in C++, so if you want to use JS for fast prototyping, don't think about constant stuff10:33
faenilSfiet_Konstantin, why redoing it in c++?10:33
alteregoMake a closure in javascript, hide the values as variables in the function, then return an object that only has accessors for those values.10:33
faenilalterego, I wrote a similar solution above :)10:33
alteregoOh, right :)10:33
alteregoOh yes10:34
Sfiet_Konstantinbecause C++ = perfs = constant = etc.10:34
faenilSfiet_Konstantin, performance for what, getting style values at app startup? XD10:34
*** piggz_ has quit IRC10:34
Sfiet_Konstantinfaenil: because I don't like JS :P10:34
*** piggz_ has joined #nemomobile10:34
faenilSfiet_Konstantin, you know I'm for performance, but let's not overcomplicate things :D10:34
alteregoI was thinking: "var style = new (function() { var private = new Object{}; this.get(k) {return private[k]} })();10:34
Sfiet_Konstantinna, seriously, C++ can help, like dynamically changing theme ?10:34
Sfiet_Konstantinfaenil: yeah, maybe next version10:35
Sfiet_Konstantinalterego: D:10:35
alteregoThen obviously you just stick your stuff in "private"10:35
faenilalterego, yes yes I know closures :)10:35
Sfiet_Konstantinlooks aweful10:35
Sfiet_Konstantinor wait, it is JS :D10:35
faenilSfiet_Konstantin, you can already do dynamic theme switching :P10:35
Sfiet_Konstantinwith JS only ?10:35
faenilyes10:35
Sfiet_Konstantinfrom a system signal ?10:35
Sfiet_Konstantinwow, I wonder how you do it10:35
faenilsystem signal?10:35
faenilNemoConfig.setTheme("Theme2")10:36
faenilboom, style changes10:36
Sfiet_Konstantinah :D10:36
Sfiet_Konstantinwoow10:36
Sfiet_Konstantinstill, we will have to see about theme using C++ or JS10:36
alteregosetTimeout(function() {NemoConfig.setTheme(NemoConfig.themes[rand()])}, 5000);10:36
alteregoThat could be fun.10:36
faenilalterego, anyway yeah probably doesn't make much sense restricting, in any case the changes the dev makes are only for his app, it's not like he's changing the theme for everyone10:37
faenilalterego, ahaha :)10:37
alteregofaenil: indeed, what I would suggest is maybe using something like the closure above, where you can supply "private", that way a developer can create their own styles from scratch. That will force them to rethink what they're doing ;)10:37
alteregoAs everything will have lost style.10:37
faenilalterego, yes, but is that worth it?10:38
alteregoIs anything worth it? :P10:38
faenileveryone can access everything \o/10:38
alteregoI'm more about introspection, I prefer to have no restrictions ;)10:38
alteregoWell, not with data, code is a bit different of course.10:38
sledgesand 1: most developers don't care about UI (sadly), so they won't tinker with themes/appearance and just use components10:38
alteregofaenil: yes, I work for the NSA :P10:39
sledges2: and nemo is a luxury free OS, I gather its ecosystem won't be the "even-your-granny-can-write-hello-world" app developers (#unlike android ;))10:39
faenilalterego, lol10:39
sledgesbut those who like finer things in life :)10:39
alteregoI would worry less about app developers and more about core apps and functionality.10:40
faenilalterego, true, true :D10:40
sledgessame applies10:40
alteregoThe core app developers should be the users for now ;)10:40
faenilit's just that when I see something and I see it's not easily doable, I start looking for ways to do that easily ..."there must be an easier way" :D10:40
faenilchallenges10:40
alteregoHah, one day you'll learn that that is never the case ;)10:41
sledgesUI is complete not when there's nothing more to add, but when there's nothing more to remove, faenil10:41
faenilalterego, I'll never learn ;)10:41
faenilsledges, not getting your point10:41
alteregoI implemented from scratch my own OOP stuff in js which handles signal handling kind of like Qt and mixins like Ruby, works quite nicely.10:42
sledgesyou want to introduce restrictions/hiding for theming, which is essentially 'adding code'10:42
faenilalterego, must be nice :)10:42
sledgesincreasing complexity, I can't see how it's making things easier10:42
sledgeskeep it simple10:42
faenilsledges, in this case I meant "easier way to hide the theme stuff"10:42
sledgesyup10:42
faenilslaine, not easier way for apps to use themes :D10:43
faeniljust tech challenge, since I only know js through QML10:43
slainesigh10:43
faenilslaine, man, seriously :( I'm so sorry10:43
slaineit's fine10:43
sledgesfaenil, do disagree because I might not perceive the necessity 100% correctly (happens often with me :D), but why do we need added functionality if "hiding" ?10:44
sledges*of10:44
faenilsledges, I agreed that we don't ;)10:44
faenilsledges, but since I thought about it, I wanted to learn more and see "what if I had to hide that in js" :P10:45
* sledges ok, should stop multitasking and read the chan instead :D10:45
faenilsledges, :D10:46
faenildo I get notified if I bind to a var in a js and that var changes?10:47
faenilbind a qml prop to a js var, that is10:48
giucamhow can you bind it from js?10:48
giucam= is not binding10:48
faenilin qml10:48
giucamah, you mean property: js_var?10:49
faenilproperty var jsValue: JSFile.valueinJsFile10:49
faenilJSFile is "import "JS.js" as JSFile"10:49
giucamhmm... not sure10:49
giucamtry :)10:49
faenilyes, got to try :)10:49
faenilthat is a js expression afterall10:49
locusffaenil: onJsValueChanged?10:49
faenillocusf, yes, is that triggered if I change the var INSIDE the js?10:50
faenilI'd say yes, but I'm not 100% sure10:50
locusfI don't know either10:50
locusftry10:51
faeniljuicy question it seems :D10:51
faenilI'll try after lunch :P10:51
faenilbbl10:51
sledgesbuon appetito10:51
*** piggz_ has quit IRC10:51
*** piggz_ has joined #nemomobile10:52
*** faenil has quit IRC10:57
*** arcean_ has quit IRC10:58
*** Sfiet_Konstantin has quit IRC11:04
*** asterismo has quit IRC11:09
*** piggz_ has quit IRC11:11
*** piggz_ has joined #nemomobile11:12
*** fk_lx has quit IRC11:15
*** fk_lx has joined #nemomobile11:15
*** n9mx has joined #nemomobile11:16
*** Morpog_Mobile has quit IRC11:18
*** piggz_ has quit IRC11:20
*** asterismo has joined #nemomobile11:22
*** faenil has joined #nemomobile11:25
faenilback11:25
*** jukkaeklund_ has quit IRC11:27
*** lizardo has joined #nemomobile11:29
*** piggz_ has joined #nemomobile11:29
*** piggz_ has quit IRC11:34
*** piggz_ has joined #nemomobile11:40
*** piggz_ has quit IRC11:52
*** piggz_ has joined #nemomobile11:54
*** Morpog_Mobile has joined #nemomobile11:57
*** Morpog_N9___ has quit IRC12:02
*** lbt has joined #nemomobile12:03
*** lbt has quit IRC12:03
*** lbt has joined #nemomobile12:03
*** faenil has quit IRC12:14
*** Morpog_N9___ has joined #nemomobile12:17
*** niqt has quit IRC12:24
*** Morpog_N9___ has quit IRC12:25
*** jpetersen has quit IRC12:26
*** Pat_o has joined #nemomobile12:26
*** piggz_ has quit IRC12:26
*** Morpog_N9___ has joined #nemomobile12:28
*** phdeswer has quit IRC12:30
*** Morpog_N9___ has quit IRC12:34
*** niqt has joined #nemomobile12:40
*** kavuri has quit IRC12:42
*** mikhas has quit IRC12:44
*** Morpog_N9___ has joined #nemomobile12:48
*** DrCode has quit IRC12:53
*** xhaakon has quit IRC12:54
*** mikhas has joined #nemomobile12:59
*** n9mx has left #nemomobile13:00
*** DrCode has joined #nemomobile13:06
*** Hurrian has joined #nemomobile13:11
*** faenil has joined #nemomobile13:14
*** Hurrian has quit IRC13:16
*** phdeswer has joined #nemomobile13:24
*** Hurrian has joined #nemomobile13:24
*** sledges has quit IRC13:24
*** DrCode has quit IRC13:25
*** sledges has joined #nemomobile13:25
*** DrCode has joined #nemomobile13:35
giucamhow can i start lipstick from the console? lipstick -platform wayland-egl fails to initialize the display13:38
faenilgiucam, you need some env vars when starting from ssh13:41
faenilanyway it's -platform eglfs for lipstick13:42
giucamah yeah, i use eglfs actually. wrong paste13:42
giucamwhat env vars?13:42
faenilgiucam, look inside /var/lib/environment/compositor/13:44
*** M4rtinK has joined #nemomobile13:45
giucamok, thanks13:45
*** jonwil has quit IRC13:48
faenilnp ;)13:49
giucammmh... it doesn't work so well, though13:51
giucamno icons and no input working13:51
faenilare you using LIPSTICK-OPTIONS env var?13:52
faeniljust pass the content of LIPSTICKOPTIONS as parameter13:53
giucamah, now input works13:54
giucamoh wow, also apps are mirrored13:55
*** Hurrian has quit IRC13:56
faenilgiucam, there is another env var13:56
faenillook in /var/lib/environment/nemo/13:57
faenilgiucam, it's a qtwayland things, y-inverted is hw-specific13:57
giucamfaenil: what is this screen supposed to be? the lock screen? http://i.imgur.com/tYEIYy8.png14:05
faenilgiucam, yep, there's a bug with that as well, it appears underneath the app in some situations14:06
giucamindeed, i'm looking into that. it doesn't show up when it's supposed to and when i send the shutdown signal, which i guess it should unlock it, it shows up14:07
*** jpetersen has joined #nemomobile14:08
faenilgiucam, great ;)14:11
giucamfaenil: a question, out of curiosity: was there never a problem with a qml app not refreshing in due time?14:12
faenilgiucam, as in?14:12
giucamas in, an application redraws but the frame doesn't hit the screen14:12
giucamuntil you send some input event14:13
faenildon't know :/ but performance is definitely worse than in x11 (at least as I remember it), so I wouldn't be surprised if there were such issues :)14:14
faenileven though perf got better recently14:14
giucamno, it's not a performance issue. there's a bug in qtwayland/mesa egl, and i'm surprised it wasn't discovered earlier14:15
giucamthat is, https://codereview.qt-project.org/#change,6655314:15
Stskeepsgiucam: we saw it on jolla side at least14:15
giucamah14:15
Stskeepsended up adding flush in libhybris14:15
*** xhaakon has joined #nemomobile14:16
giucamah. krh said he isn't sure if it's better in egl or in client code14:16
Stskeepsdue to multithreaded nature of android gpu driver rendering egl was better14:17
faenilgiucam, I see14:18
giucamStskeeps: hmm, i think that could be a good point for ditching the qt patch and merging the mesa one14:19
faenilgiucam, hey, you're italian! :)14:20
giucamyep :)14:20
faenilgiucam, me too o/14:20
giucamyeah, i saw14:21
faenil:)14:21
*** Martix has quit IRC14:31
*** WWDrakey has quit IRC14:32
*** Morpog_N9___ has quit IRC14:32
w00tgiucam: personally I think mesa is the right place to fix it too, yes14:39
*** ericcc has joined #nemomobile14:40
giucamw00t: well, krh needs to be convinced then :)14:40
giucamhm, can i reduce the time after which it locks the screen? having to wait 5 minutes every time makes testing painful14:43
locusfgiucam: press the power button14:44
locusfshortly that is14:44
giucamlocusf: no, that doesn't trigger the bug i'm trying to fix :)14:44
locusfgiucam: ah ok14:45
*** ericcc has quit IRC14:45
*** ericcc has joined #nemomobile14:45
*** WWDrakey has joined #nemomobile14:48
*** topro has quit IRC14:49
*** Xruxa has quit IRC14:49
giucameh, the problem with the lock screen is that it should be a special window14:51
giucamand the compositor should know about it14:51
*** topro has joined #nemomobile14:51
*** mikhas has quit IRC14:52
giucamthe current implementation is like x lock screens14:52
giucamthat is, broken14:52
sledgesgiucam, maybe this clue will help: disable lockscreen completely: mce-tool -Don14:53
faenilsledges, he's trying to fix that and your hint is to disable it? :D14:54
sledgeshappy tracing :)14:54
sledgesfaenil, it's a clue, not a solution14:54
giucamyou mean a clue for reducing the time?14:54
faenilsledges, he needs to see lockscreen :D14:54
sledgesthe code for reducing time should be around same place, yes, that's just a speculation14:54
sledgesfaenil, ^&14:54
giucamok, thanks14:54
faenilah ok :P14:54
sledgesbut quite likely in mce14:54
giucamlipstick is a compositor only, right?14:57
faenilgiucam, mcetool -h and happy reading :D14:57
*** niqt has quit IRC15:00
*** trollixx_ has quit IRC15:02
*** trollixx has joined #nemomobile15:02
*** xhaakon has quit IRC15:02
giucamis the compositor and the ui the same process?15:03
giucamwhy aren't there two separate compositor and shell client processes?15:03
faenilw00t, ^15:04
faenilgiucam, also, what do you mean by "the ui"?15:06
sledgesthere used to be, but not in wayland case15:06
sledgesso blame it on "looking-for-weston-replacement" i guess15:06
giucamfaenil: the home screen, lock screen, whatever is the shell user interface15:07
*** ericcc has quit IRC15:08
faenilI'd like to know the answer as well :)15:08
*** jpetersen_ has joined #nemomobile15:10
*** slaine has quit IRC15:11
*** jpetersen has quit IRC15:13
*** ericcc has joined #nemomobile15:16
*** ericcc_ has joined #nemomobile15:18
*** Sfiet_Konstantin has joined #nemomobile15:19
*** ericcc has quit IRC15:21
*** NIN101 has joined #nemomobile15:37
*** arcean_ has joined #nemomobile15:40
*** freemangordon has joined #nemomobile15:44
*** lbt has quit IRC15:46
*** freemangordon has left #nemomobile15:53
w00tgiucam: resource consumption is a concern (phones are only just starting to catch up in the RAM department, and even then they often share system RAM with the GPU, each active opengl context isn't free, and so on) - it's also been a lot easier to turn a mockup into something that actually functions when keeping them combined (speaking from personal experience when having had to deal with x in the "good old days")15:57
w00tbut the real reason is, someone came along and wrote the code to do it15:57
sledgesheh 16:06  sledges so blame it on "looking-for-weston-replacement" i guess15:59
* sledges hides (wasntme)15:59
*** lbt has joined #nemomobile15:59
*** topro has quit IRC16:03
*** Pat_o has quit IRC16:10
*** fk_lx has quit IRC16:13
giucamw00t: well, the more resource consumption would be negligible i think, and it'd gain in stability16:13
w00twe have surprisingly few problems with stability, thankfully, and the ones we have had have usually been down to platform rather than "it's all in one process" problems (flaky hardware adaptation work and so on)16:16
faenilgiucam, I think he's talking about sailfish anyway, which is using a different homescreen/QML compositor, but always lipstick-based16:17
w00tfaenil: the two work exactly the same16:17
w00tc'mon, you've worked on homescreen, you know this :)16:17
faenilw00t, yes, it was just to be clear :)16:18
giucamw00t: well, i mean that having the compositor and the shell separated if the shell crashes all the apps live on, and all you see is a little flicker16:18
faenilw00t, as there are lots of bugs in Nemo qml compositor ;)16:18
giucambut, if it works for you it's ok :)16:18
w00tgiucam: I don't disagree in principle16:20
w00t(with jolla hat on) right now we are more concerned with getting things done as we're on a bit of a strict time schedule :)16:20
giucamright :)16:20
w00tif you want to talk compositor-specifics, mikkoh is a good person to ping, although he's not always around at nights16:20
*** mhall119_ is now known as mhall11916:21
*** mhall119 has joined #nemomobile16:22
faenilw00t, now that you're here, do you remember what was the font we have in Nemo?16:22
sledgeswe had droid16:22
w00tfaenil: iirc it was droid sans16:22
*** martyone has quit IRC16:22
faenilso, the problem is it should use droid by default and it doesnt?16:22
faenilI don't remember details16:23
faeniloh...16:23
faenilsorry16:23
faenilI meant font bug, not just font16:23
w00tright, something is screwing up font selection, I don't know why16:23
sledgeslocusf fixed it16:23
w00thow?16:23
*** Pat_o has joined #nemomobile16:23
faenilsledges, he just set the font16:23
sledgeshttps://github.com/nemomobile/qt-components/pull/11/files16:24
faeniland I don't know if that was our problem16:24
sledgesNokia Pure Text16:24
w00tehh :)16:24
faenilsledges, yes I suggested that16:24
w00tI wouldn't call QFontDatabase::addApplicationFont a fix16:24
faenil:D16:24
w00ta convenient workaround, maybe16:24
faenilsledges, the problem is that was in x11 Nemo as well, and we didn't have the problem there16:25
faenilso it has to be somewhere else16:25
w00tbut if that works, then that implies that QFontDatabase might be screwy16:25
locusfwhat is font selection in nemo?16:25
sledgesi thought defaultFontFamily* did the trick16:25
sledgesas the name implies16:25
faenilsledges, iirc the current issue is it chooses the wrong font when choosing the default one (or fallback font, whatever)16:26
faenilsledges, yes but we have Nokia Pure set in NemoX11 as well, yet it wasn't showing this weird font16:26
faeniland it's not like we had Nokia Pure in NemoX1116:26
sledgesfaenil, it's because of wayland16:26
sledgesit's wayland's default16:26
sledgesexactly16:26
faenilsledges, more details please? :D16:26
sledgeswhenever I tried wayland16:27
sledges(on tizen et al)16:27
sledgesit had that horrid serif font16:27
faenilI see...so we have some info already :)16:27
w00twhen you say "tried wayland", I presume you mean "tried Qt on wayland"16:27
sledgesnope16:27
faenilwe just have to find a way to change that16:27
sledgesran xterm16:27
sledgeshence it's wayland system-wide16:28
w00term..16:28
w00tdoes not compute16:28
sledgesit might be a coincidence, because we remove all nemo fonts, leave opensans, and all works16:28
giucamno, wayland has no font management16:28
sledgesbut the wayland's pref to choose ugly serif fonts prevails (or haunts me to put it that way)16:28
w00tI'd go look at QFontDatabase, anyway16:28
faenilw00t, but it shows that ugly font "instead of" ?16:29
faenilwhat is the correct behaviour?16:29
sledgestake couple of my words back:16:29
w00tfaenil: that it picks something that is less butt-ugly :)16:29
faenilw00t, ahaha ok16:29
sledgess/ugly serif fonts/ugly spaced fonts: https://bugs.tizen.org/jira/secure/attachment/10807/wayland-screenshot.png /16:30
sledgessee xterm behind16:30
w00tthose are distinct problems16:30
giucamthat's weston-terminal, not xterm16:30
sledgesgiucam, sorry for habituated colloquialisms :)16:30
*** Sfiet_Konstantin has quit IRC16:30
giucamthat uses cairo to draw afaik so it could be some cairo configuration16:31
sledgesat any rate, nokia pure text never existed neither in x11 nor wayland, so setting default to opensans should just work, ?16:31
faenilsledges, yes16:32
faenilsledges, we just need the way to change that, and we're set :)16:32
*** Pat_o has quit IRC16:33
w00tthere's nothing wrong with changing defaultFontFamily like done there, but if that addApplicationFont call is required, something is probably rather broken16:33
w00t// init by asking for the platformfontdb for the first time or after invalidation16:33
w00tif (!db->count)16:33
w00tQGuiApplicationPrivate::platformIntegration()->fontDatabase()->populateFontDatabase();16:33
sledgesok, so assigning a variable defaultFontFamily did't cut it16:34
w00tQPlatformFontDatabase *QEglFSIntegration::fontDatabase() const16:34
w00t{16:34
w00treturn mFontDb.data();16:34
locusfhmm I don't know if its required, it was just an assurance that it happens16:34
w00t}16:34
w00tmFontDb(new QGenericUnixFontDatabase),16:34
sledgesgot you16:35
w00tit's still kind of a bug that you have to specify a sane font to get it to not look like ass16:35
w00tbut shrug.16:36
sledgeshmph16:36
faenilmaybe fontconfig doesn't know about opensans?16:37
sledgesat least the fallback mechanism falls back to the only existing font in the system ;)16:37
faenilnope, fontconfig knows about opensans, just checked with "fc-list"16:37
*** Martix has joined #nemomobile16:37
locusffaenil: so that QFontDatabase call is unnecessary?16:38
locusfshould I test?16:38
faenillocusf, I don't know16:38
*** arcean_ has quit IRC16:38
faenillocusf, if fontconfig knows about opensans I'd say that's not needed16:38
locusfdoes qt base its font discovery to fontconfig?16:38
faenilmaybe  QGenericUnixFontDatabase does16:39
faenilI'm not sure, but I'd expect Qt to ask fontconfig, since it's the one in charge16:39
faenil"QGenericUnixFontDatabase which defaults to FontConfig when Qt is built with support for that,"16:41
faenilQWaylandIntegration: https://qt.gitorious.org/qt/qtwayland/commit/b9d29b182e634e647cf01201e26563eda5c42e17?format=patch16:41
faenil QWaylandIntegration::QWaylandIntegration(bool useOpenGL)16:42
faenil-    : mFontDb(new QFontconfigDatabase())16:42
faenil+    : mFontDb(new QGenericUnixFontDatabase())16:42
*** piee has joined #nemomobile16:43
faeniland this is generic unix font db16:45
faenilhttps://qt.gitorious.org/qt/qtbase/source/a2bf063dd4942a95ffe971aed925afd4ad111ba6:src/platformsupport/fontdatabases/genericunix/qgenericunixfontdatabase_p.h16:45
faenilso yeah, it either used FontConfig it was configured to do so at build-time, or it uses basic db16:46
*** Pat_o has joined #nemomobile16:46
faenilnow, who the hell chooses the default font family? XD16:49
*** Pat_o has quit IRC16:51
*** jmlich has quit IRC16:58
locusfokay, setting Open Sans without QFontDatabase call works ok17:04
*** Pat_o has joined #nemomobile17:05
sledges:)17:07
locusfamended commits and pushed to update PR's17:07
sledges\o/17:07
sledgesw00t, ^17:08
locusfwhats GLONASS?17:09
sledges8|17:09
sledgesRuškin GPS?17:09
locusfapparently :D17:09
locusfthats exotic (in new & improved Jolla specs)17:10
faenilnew specs?17:11
faenilGLONASS is a location system anyway17:12
locusfyeah more verbose17:12
faenilsledges, locusf so we're pretending default font is okay and forget the font issue? :D17:12
locusfsorry, off-topic for channel17:12
faenillocusf, updated today? :O17:12
locusfyeah17:12
faenilcrap, I missed that :D17:12
faenilbeen working on components repo :D17:12
locusffaenil: its just in, you didn't miss a thing17:12
faenilah ok :D17:13
faeniland Jolla didn't publish anything? :/17:13
locusfhttp://jolla.com/your-jolla/17:14
locusfits all there17:14
faenilcybette, should I hit you? or jukka? :P17:15
* faenil clicks17:15
* Stskeeps waves from hellish cold finland17:16
sledgesIndian summer?17:16
faenilRGB INDICATOR LED17:17
faenilJOLLA, I LOVE YOU!!!!!!!17:17
locusfah they brought it back !17:17
Stskeepssledges: 5c17:17
faenildual mic is cool as well :)17:18
faenillots of sensors...17:18
sledgesBT 4 means we can use the Tile!!! \o/17:19
sledgesalong with iphoners :)17:19
sledgesdroiders can't ;)17:19
locusfTile?17:19
sledgeshttp://www.thetileapp.com/17:19
faenilsledges, 1o117:20
faenilbb in 10 mins17:22
*** faenil has quit IRC17:22
*** panda84kde has quit IRC17:23
*** KaiRo_Mozilla has joined #nemomobile17:24
*** ericcc_ has quit IRC17:28
*** KaIRC has quit IRC17:28
*** notmart has quit IRC17:28
*** Vlad_on_the_road has joined #nemomobile17:32
sledges10mins past :))17:33
anYc"No batteries to replace?" and "Tiles last a year. We'll remind you when it's time to order new Tiles" doesn't really match?17:34
*** asterismo has quit IRC17:35
*** martyone has joined #nemomobile17:36
*** arcean_ has joined #nemomobile17:36
*** jacky has joined #nemomobile17:40
*** jacky is now known as Guest5814217:40
sledgesis how they workaround with no batteries to replace ;D17:41
sledgesmarketing stunt, and also a good way to receive "free software updates"17:42
*** keithzg has quit IRC17:42
sledgesshouldn't be hard to crack it open and replace the battery :]17:43
*** faenil has joined #nemomobile17:43
faenilback17:44
alteregoDo you think it's a good idea having an identifiable tracking device on your stuff?17:45
alteregoI think criminals would soon catch on ..17:45
faenilyeah...17:46
alteregoNot saying it's a bad idea, but the fact it's white and the pictures have them attached to the zipper of a bag, readily viewable ...17:46
sledgesit can also be a keyring (hence the hole)17:47
alteregoYeah,17:47
sledgesand it should have the security as robust as car's key fob17:47
alteregoYou can still take it off :)17:47
sledgesand do what?17:48
alteregoI've never lost any keys in my life, never lost a phone either.17:48
sledgesit's personalised to you17:48
alteregoThrow it away17:48
sledgesalterego, ask your girlfriend17:48
sledges;)17:48
alteregoHah17:48
alterego3 iphones in less than a year.17:48
sledgessteal and throw it away, now that's a perfect criminalistic hobby :)17:48
alteregoShe's not very lucky in that department I guess.17:48
*** fk_lx has joined #nemomobile17:48
sledgesso don't see your point still17:48
alteregoIf someone steals your keys, or anything, if they see one of those tags, they'll chuck it.17:49
alteregoThe tag, not the property.17:49
sledgesyes17:49
alteregoSo what good is it really? :)17:49
sledgesthat's about lost and found17:49
sledgesnot stolen17:49
sledgesyou embed it into a bike17:49
sledgesunder the saddle or anywhere17:49
sledgesthat's stolen tracking17:49
alteregoHeh, I don't know what honest part of the world you live in, but around here when something goes missing, whether it's a phone, bag, laptop or bike. You really wont see it again.17:50
sledges(*anywhere = excluding metal housing surroundings :D)17:50
alteregoYou could probably leave a laptop in a police station and it'd dissapear in 10 minutes ;)17:50
alteregoAnd I live in Cambridge ..17:50
alteregoHeh17:50
sledgesalterego, you're coming from thinking solely of truly rogue criminals17:51
sledgesin Munich no bikes are locked17:51
alteregoHeh17:51
sledgesbecause they are stolen anyway17:51
alteregoYeah17:51
sledgesnext morning you take the next free bike from nearest McDonald's17:51
alteregolol17:51
sledges(true story)17:51
alteregoWe used to have a cycle scheme that was similar here.17:51
fk_lxwell I've heard that someone recently lost a lot of money (like thousands of dollars) and some homeless person found it and took it straight to police17:51
fk_lxand I think it was in U.S.17:51
sledgesin italy (i lived in north), if someone steals it, not necessarily they would trade it to balkans17:51
alteregoThe local authorities bought thousands of these green town bikes.17:52
sledgeswould use themselves, be just time-wasting kiddies, and you'd find your bike in no time with tile17:52
alteregoLeft them in these allocated "zones" the idea being you'd travel from one zone to another. Didn't work out like that.17:52
sledgesand teach those rugrats a lesson17:52
alteregoI think after four months there were none left.17:52
sledgesyes that always fail; just let the city get overwhelmed by bikes, so it becomes public property :D17:53
sledgesthough the city needs to mature up to that level..17:53
alteregoHave you ever been to Cambridge? There are more bikes than people.17:53
sledgesso who's locking them all up then? :)17:53
sledgesanyway, I think the tile is truly awesome idea17:53
alteregoYeah, it's neat.17:54
sledgesand was pertailing only to iphoners until now17:54
sledges(though Samsung GSII and III and N4 already have BT4, still no android app yet)17:54
alteregoIf I had to pay an extra 20EUR to have that sort of thing embedded in some of my gear I probably would.17:54
sledgesyour gear?17:54
alteregobike, laptop, etc.17:55
alteregoObviously, like you said, easy to embed one of those tags in any of those items.17:55
*** asterismo has joined #nemomobile17:56
*** ZogG_laptop has joined #nemomobile17:58
*** ZogG_laptop has joined #nemomobile17:58
*** Sfiet_Konstantin has joined #nemomobile17:58
faenilStskeeps, is there any reason why all the specs are out expect the CPU model? :D17:59
faenilCPU/GPU ofc18:00
Stskeepsnot in marketing18:00
faenilStskeeps, why do I keep asking? :D18:00
Stskeepsthe definition of insanity is to keep on doing the same thing but expecting a different result18:01
fk_lxheh18:01
faenil\o/18:02
*** blam has quit IRC18:03
*** blam has joined #nemomobile18:03
sledgesalterego, but one needs to twist the brain where to embed, so BT is not shielded away :) also re-embedding is needed every year when you replace it :D18:04
sledgesso yeah, lots of room for improvement18:04
*** jacky_ has joined #nemomobile18:12
*** Guest58142 has quit IRC18:13
*** Venemo_ has joined #nemomobile18:14
*** piee has quit IRC18:19
*** lbt has quit IRC18:21
*** lbt has joined #nemomobile18:21
*** lbt has quit IRC18:21
*** lbt has joined #nemomobile18:21
*** piee has joined #nemomobile18:25
*** Venemo_ has quit IRC18:30
*** Venemo_ has joined #nemomobile18:31
*** ZogG_laptop has quit IRC18:52
*** kostaja has quit IRC19:01
*** jpetersen_ has quit IRC19:03
*** furikku has quit IRC19:15
*** arcean_ has quit IRC19:20
*** jreznik has quit IRC19:25
*** ZogG_laptop has joined #nemomobile19:32
*** ZogG_laptop has joined #nemomobile19:32
zbenjaminhey guys19:34
faenilzbenjamin, o/19:34
faenilzbenjamin, read the updated specs of The Jolla? :)19:35
zbenjaminno, there are updated specs?19:35
faenilyep :)19:35
faenilzbenjamin, http://jolla.com/your-jolla/19:36
*** alien_ has joined #nemomobile19:37
zbenjamincan't wait ;)19:41
faenil:)19:46
faenilGyro, RGB Led Indicator...GLONASS...lots of sensors...19:46
faenilawesome :D19:46
*** WWDrakey has quit IRC19:47
*** martyone has quit IRC19:47
zbenjaminfaenil: and Qt ! ;)19:47
faenilehehe19:47
faenilzbenjamin, want to say it's based on Nemo MW? :)19:47
zbenjamin;)19:56
*** keithzg has joined #nemomobile19:56
zbenjaminfaenil: and btw yes i can see the problems with the compositor ;)20:00
zbenjaminhow can we get the battery state to show somewhere?20:00
faenilzbenjamin, you should check how that was done in x11, if w00t is still awake he might give you some hints20:00
zbenjaminwtf, i just added a new slot and the implementation is clearly there in the c++ file, but i still get this:20:03
zbenjamin/home/zbenjamin/rpmbuild/BUILD/lipstick-qt5/tests/ut_notificationpreviewpresenter/moc_lipstickcompositor.cpp:254: undefined reference to `LipstickCompositor::orientationSensorChanged()'20:03
faeniltry mb clean rpm/file.spec20:07
faeniland then build again20:07
zbenjaminits a test app, maybe thats why20:08
faenilzbenjamin, so you're working on orientation?20:09
zbenjaminna same problem20:09
zbenjaminyes20:09
faenilawesome :)20:09
faenilhave you tried mb clean?20:09
zbenjaminyes20:10
zbenjaminfaenil: the test app includes the compositor header file in HEADERS20:11
zbenjaminbut not the source file20:11
zbenjamini wonder why only my slot is seen as a missing20:12
faenilmm20:12
faenilzbenjamin, are you sure you installed the new lipstick which has the added slot?20:14
zbenjamini'm not installing, i'm still compiling20:16
zbenjaminthis is part of the lipstick test stuff20:16
faenilnot following you then, where is orientSensorChanged defined?20:17
zbenjaminits in LipstickCompositor20:18
zbenjamindeclared in the header and defined in the cpp file20:18
*** cristi_ has joined #nemomobile20:19
* zbenjamin tries with tests disabled20:19
*** piee has quit IRC20:19
faenilzbenjamin, ahhhhhhhhhhh so you cloned lipstick and it doesn't build?20:20
zbenjaminnow i see the problem... stupid make, when used with -j switch the error is hidden20:20
zbenjaminthe first error that creates the problem20:20
*** alien_ has quit IRC20:22
*** piee has joined #nemomobile20:25
*** ericcc has joined #nemomobile20:27
*** piee has quit IRC20:31
*** jacky_ has quit IRC20:32
zbenjaminif i disable the test project it compiles... what am i missing?20:38
*** Pat_o has quit IRC20:38
faenilzbenjamin, don't know :/20:41
*** ivanph has joined #nemomobile20:42
*** Pat_o has joined #nemomobile20:45
*** NIN101 has quit IRC20:46
*** Pat_o has quit IRC20:50
*** Pat_o has joined #nemomobile20:52
*** lizardo has quit IRC20:55
zbenjaminfaenil: i think i got it, there are some stub files that are not included in the pro file but still are compiled in20:55
*** DrCode has quit IRC20:56
*** giucam has quit IRC20:56
faenilzbenjamin, :/20:56
*** giucam has joined #nemomobile20:56
*** Pat_o has quit IRC20:58
zbenjaminbut now i cannot connect to my phone anymore gna21:02
faenilzbenjamin, yay21:02
*** sledges has quit IRC21:03
*** DrCode has joined #nemomobile21:04
zbenjaminfaenil: any idea why connecting to the phone should stop?21:06
faenilzbenjamin, more details21:06
zbenjaminif i change something in etc on the phone, will that change survive a reboot?21:07
zbenjaminfaenil: zbenjamin@gamepc:~$ ssh  nemo@192.168.2.1521:11
zbenjaminssh: connect to host 192.168.2.15 port 22: No route to host21:11
faenilzbenjamin, don't know about survival21:11
faenilzbenjamin, about the error, doesn't look like a phone error?21:11
faeniltry unpluggin and repluggin usb maybe21:12
zbenjamintried, also stopping and starting networking again21:12
zbenjaminconnecting to the wlan interface gives me the same error21:12
zbenjaminor is sshd only listening on usb0?21:13
faenilno clue :/21:13
zbenjaminfaenil: i did not change my config here.... it just stopped working :(21:13
faeniltry rebooting...21:14
zbenjaminhow is the ssh process called on the phone?21:15
faenilthere is sshd for sure21:16
zbenjaminhmm21:19
*** fk_lx has quit IRC21:19
faenilzbenjamin, try rebooting :P21:19
zbenjamini did, multiple times :(21:19
*** fk_lx has joined #nemomobile21:21
*** Venemo_ has quit IRC21:25
zbenjaminfaenil: no it does not survive a reboot :/21:30
faenilzbenjamin, it doesn't boot anymore?21:31
*** Alittlemurkling has joined #nemomobile21:31
zbenjaminna, i speak about the usb-moded settings21:31
faenilah ok21:32
zbenjaminfaenil: is it normal that i always get the recharge battery message on boot?21:33
*** M4rtinK has quit IRC21:33
faenilnope, at least I don't get it21:33
faenilor maybe I do?21:34
faenildon't remember anymore, lol21:34
*** M4rtinK has joined #nemomobile21:34
zbenjaminnot that i run out of battery and cannot recharge or something like that21:34
zbenjaminsince plugging in usb always boots the phone completely21:35
zbenjaminand i cannot see if it charges21:35
faenilwell, it charges while it's on21:36
*** blam has quit IRC21:39
AlittlemurklingHello #nemomobile, does anyone know/have experience compiling Nemo for other phones? I have a spare myTouch 4g I would like to hack around on, and I was wondering how feasible it would be to put Nemo on it.21:41
zbenjaminfaenil: found the problem, again the subnet21:42
zbenjaminsince the settings do not stay it was again in the 192.168.2.0 subnet... with 2 interfaces21:42
zbenjaminhmm seems its not as easy as just putting in some sensors code ;)21:44
zbenjaminfaenil: how can i create debug output?21:44
faenilAlittlemurkling, what is myTouch?21:45
faenilzbenjamin, you also have to setOrientationUpdateMask on your app to receive the orientation update21:45
faenilzbenjamin, or are you doing that already?21:46
Alittlemurklingfaenil: Qualcomm MSM8255 Snapdragon and no GPU.21:46
zbenjaminno ... ;) first time working with sensors21:46
zbenjaminfaenil: ah i can use QScreen, i'm using QOrientationSensor directly21:47
Alittlemurklingfaenil: http://images.freshnessmag.com/wp-content/uploads//2010/10/t-mobile-mytouch-4g-06.jpg21:47
faenilAlittlemurkling, no GPU? it's got an Adreno205! :D21:49
faenilzbenjamin, yes, you have to use QOrientationSensor to implement the stuff QScreen needs21:49
faenilzbenjamin, if QScreen was working already we wouldn't need this :)21:50
zbenjaminhaha ok ;) now i get what you want from me ;)21:50
faenilzbenjamin, http://www.merproject.org/logs/%23nemomobile/%23nemomobile.2013-09-27.log.html#t2013-09-27T20:06:4521:50
faenilread the weblog previous to that (in the same day) to get more info from the same guy :)21:51
faenilAlittlemurkling, anyway, nice target, have you ever used fastboot? is it available on the phone?21:51
zbenjaminfaenil: thats what i did: http://pastebin.com/FYSxSiQj21:53
AlittlemurklingYes, it's currently running Cyanogenmod with Clockworkmod as the rom manager.21:55
Alittlemurkling*recovery21:55
faenilzbenjamin, looks sane :)21:55
zbenjaminso i just need that mask call i guess21:56
faenilAlittlemurkling, oki, do you have kernel source?21:56
faenilzbenjamin, hopefully :D21:56
AlittlemurklingI'll pull it down.21:56
Alittlemurklingfaenil: Where is it exactly on the github?21:57
faenilAlittlemurkling, I don't know, that was a question for you :P21:58
zbenjaminwhere do i get that QScreen instance from ß22:00
Alittlemurklingfaenil: Oh, you mean the phone's kernel source?22:00
faenilAlittlemurkling, yep22:01
faenilzbenjamin, from where? XD22:01
zbenjaminfaenil: the QScreen constructor is private ;)22:01
faenilwhat do you need it for?22:01
zbenjaminQt::ScreenOrientations QScreen::orientationUpdateMask() const22:02
zbenjaminthat22:02
zbenjaminerm22:02
zbenjaminwait :/22:02
zbenjaminvoid QScreen::setOrientationUpdateMask(Qt::ScreenOrientations mask)22:02
zbenjaminthat ;)22:02
zbenjaminaaa from the Application object22:04
Alittlemurklingfaenil: Would the Nemo mako kernel work? Both devices are MSM. I'm very new to this.22:06
*** Amtep has quit IRC22:06
faenilAlittlemurkling, no idea, you should come back tomorrow morning and talk to Stskeeps22:06
*** Amtep has joined #nemomobile22:06
faenilhe's the author of libhybris, that awesome piece of software which will let you run nemo using Android's HW adaptation :P22:07
faenilzbenjamin, yep :P22:07
*** Vlad_on_the_road has quit IRC22:07
Alittlemurklingfaenil: Okay, thank you for your help.22:08
faenilAlittlemurkling, no problem ;) google libhybris if you have never heard about it anyway ;)22:09
AlittlemurklingI will check it out.22:09
faenilit's also what makes ubuntu touch possible ;)22:09
*** Martix has quit IRC22:09
*** giucam has quit IRC22:10
AlittlemurklingVery nice. I look forward to running true GNU/Linux on my phone.22:12
faenilAlittlemurkling, :) you know about sailfish os right?22:15
faenilAlittlemurkling, jolla/Sailfish etc22:15
AlittlemurklingOf course. I had initially wanted to get Sailfish on my Galaxy S3, but then saw that there were only x86 images.22:16
AlittlemurklingFor the SDK.22:16
faenilAlittlemurkling, don't talk to me again if you haven't preordered a Jolla yet22:16
faenil:D jk22:16
zbenjaminlol22:17
Alittlemurklinglel22:17
* zbenjamin is glad he did preorder one22:17
AlittlemurklingI wish I was in a position to preorder one. I get second-hand phones.22:17
*** blam has joined #nemomobile22:17
faenilzbenjamin, ehehe22:17
faenilAlittlemurkling, I preordered it and I still don't have money to pay it :)22:18
AlittlemurklingDang. That would make me feel kind of bad though.22:18
faenilgot few months left :D22:18
faenilAlittlemurkling, don't ;)22:19
specialAlittlemurkling: it's very unlikely that you'd be able to use a mako kernel on any other device22:19
specialit's easiest if you go from a device supported by AOSP22:19
Alittlemurklingspecial: Okay, I will pull the AOSP kernel.22:19
AlittlemurklingBrb, switching computers.22:20
*** Alittlemurkling has quit IRC22:20
*** M4rtinK has quit IRC22:20
*** Alittlemurkling has joined #nemomobile22:22
*** M4rtinK has joined #nemomobile22:23
Alittlemurklingspecial: Do you know the steps required to support a new device?22:23
zbenjaminfaenil: i need a way to make sure that i actually get updates, is there a guide on debug output?22:24
faenilzbenjamin, nothing nemo specific22:25
faenilqDebug() not enough? :)22:25
zbenjaminbut all apps are started with the booster, where is the debug output going?22:25
faenilzbenjamin, there's a chance it appears in journalctl22:26
faenilI'm not 100% sure22:26
faenilbut I think so22:26
*** ericcc has quit IRC22:26
zbenjaminah looks good, there are some lipstick outputs22:29
faenilzbenjamin, ;)22:30
specialAlittlemurkling: not specifically. #mer might be helpful22:31
specialand yes, everything should be outputting to journalctl22:31
AlittlemurklingI will check there. I should have realized I would need to port the Mer core first.22:32
zbenjaminfaenil: nothing at all :/22:33
specialit shouldn't be too terrible; you need a kernel that boots, then the android system files for hybris to load22:33
faenilzbenjamin, ?22:37
zbenjamincouldn't you use the android kernel and put mer on top of it?22:37
zbenjaminfaenil: i don't get updates from the sensor with or without setting the flags, now i check if its really my binary that is started22:37
specialis it the android kernel, maybe with a few config tweaks22:37
specialit is*22:37
specialhttps://wiki.merproject.org/wiki/Adaptation_Guide22:38
*** blam has quit IRC22:38
zbenjaminfaenil: are we maybe missing some backends for the sensors?22:40
specialwhat hardware?22:40
faenilspecial, n9xx22:40
faeniln9/n95022:41
specialall but magnetometer/compass should be intact22:41
specialif you have qt4, there is a useful qtmobility script to test sensor output22:41
specialsomething in qt-mobility-examples22:42
zbenjaminqt522:42
zbenjamin;)22:42
Alittlemurklingspecial: Thanks for the link. ^_^22:42
faenilspecial, he's adding orientation handling to LipstickCompositor22:42
faenilzbenjamin, are you looking for your debug print which is behind "if (debug()) ?22:45
zbenjaminfaenil: i just did not add if(debug())22:46
faenilfast, I'm heading to bed :P22:46
zbenjamini can see my dummy debug call22:46
faenilzbenjamin, ah, ok22:46
faenilso readingChanged() is never called, right?22:46
zbenjaminyep22:47
zbenjaminnor is QScreen::orientationChanged22:47
zbenjaminspecial: any idea on your side?22:49
specialDon't expect QScreen to tell you what you want to know from inside lipstick22:49
faenilzbenjamin, are you starting the sensor? :P22:49
zbenjaminyes ;)     m_orientationSensor->start();22:50
faenilspecial, but the orientation sensor should report orientation change.... :/22:50
specialyes, qtsensors should work22:50
zbenjamindo i maybe need this package: https://github.com/mer-packages/qtsensors/tree/master/qtsensors/src22:50
specialif you're sure that qtsensors isn't showing any data, try getting sensorfw debug logs22:51
specialyou should have: qt5-qtdeclarative-import-sensors qt5-qtsensors qt5-qtsensors-plugin-sensorfw sensorfw sensorfw-configs sensorfw-qt5 sensorfw-qt5-configs22:51
special'sensorfw' and 'sensorfw-configs' may not be required22:51
zbenjamini have sensorfw-qt5 but not sensorfw22:52
specialshould be ok22:52
specialI hope22:52
faenilI'm too late, cya tomorrow people22:53
faenilI should publish Glacier components repo in the morning, with a shining Button! \o/ :D22:53
zbenjaminspecial: http://pastebin.com/raw.php?i=z4s7t3E322:53
zbenjaminfaenil: night22:53
specialmissing qt5-qtsensors-plugin-sensorfw is most definitely a problem22:53
faenilzbenjamin, I guessy you're missing some stuff?22:54
zbenjaminman the plugins are missing ;)22:54
specialand the declarative import is probably also important.22:54
faenilzbenjamin, just do zypper install with the list special pasted22:54
specialremove sensorfw22:54
specialI think that package is still a broken piece of crap22:54
zbenjaminonly sensorfw-qt5 is installed22:54
specialthe qt5 version should be all you need22:54
faenilnow I want to know if installing everything fixed this22:55
faenilfixes*22:55
faenileven though it's strange that it fails silently like this, just not reporting anything :/22:55
zbenjaminis repo.merproject.org down?22:57
specialseems ok to me22:57
zbenjamin5.9.68.173  << is this correct?22:58
zbenjaminnow zypper refuses to connect .-.....22:59
specialyes22:59
zbenjaminweird but it works again23:01
faenilI'm falling asleep on the kb :D23:01
zbenjaminhehe yes i now get them23:02
faenil\o/23:02
faenilspecial, why does it fail silently like that? is that normal?23:02
specialhe had no plugins at all, I would've expected a warning somewhere23:02
faenilyeah :/23:02
faenilwell, anyway23:03
specialneed a dependency somewhere on the plugin.23:03
zbenjaminbut orientation does not change ;)23:03
faenilzbenjamin, add requires in lipstick's .spec :)23:03
faenilzbenjamin, ??23:03
zbenjamini get the messages but calling setOrientation does just nothing ;)23:03
faenilyou mean the app doesn't rotate, or the sensor doesn't detect the change?23:03
faenilzbenjamin, you mean the UI doesn't rotate right?23:04
zbenjaminyes23:04
faenilit's normal, those apps are using qtcomponents, and qtcomponents handle rotation differently23:04
faenil(got to add that orientation sensor in qtcomponents :P)23:04
faenilzbenjamin, but with the new components for Glacier UI it will rotate ;)23:04
zbenjaminnice ;)23:04
zbenjamini'll clean up and create a merge request23:05
faenilzbenjamin, great ;) looking forward to seeing if the QtQuickControls application I have here gets the change :)23:06
faenilgood night people23:06
zbenjaminnight23:06
zbenjaminspecial: thx for helping23:06
zbenjamini just wonder which package fixed it23:07
zbenjaminthose 2 were missing qt5-qtdeclarative-import-sensors qt5-qtsensors-plugin-sensorfw23:07
Alittlemurklingnight.23:08
specialthe former is the QML QtSensors 5.0 import, the latter the backend23:08
zbenjaminthen i'll put those two in the spec:23:09
zbenjaminRequires:       qt5-qtdeclarative-import-sensors23:09
zbenjaminRequires:       qt5-qtsensors-plugin-sensorfw23:09
*** cristi_ has quit IRC23:09
zbenjamincorrect?23:09
specialfor lipstick or lipstick-colorful-home?23:11
specialI'd personally say it belongs in colorful-home; the -plugin-sensorfw one may actually belong in a pattern but that's out of scope23:12
*** blam has joined #nemomobile23:14
zbenjaminspecial: thats lipstick, i implemented it inside the compositor23:18
*** fk_lx has quit IRC23:38
zbenjaminspecial: still here?23:43
specialzbenjamin: yes23:43
zbenjamincan i just create a pull request for lipstick on github?23:44
specialyup23:44
zbenjamindone23:45
zbenjamintime to go to bed now23:46
specialnight :)23:46
zbenjaminsee you tomorrow23:47
*** cristi has quit IRC23:49

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!