#nemomobile log for Sunday, 2013-10-06

*** DarkSim has quit IRC00:00
*** M4rtinK has quit IRC00:02
*** amccarthy_ has joined #nemomobile01:35
*** amccarthy has quit IRC01:36
*** Morpog_Mobile has quit IRC01:39
*** mschlens has joined #nemomobile01:59
*** mschlens_ has quit IRC02:02
*** XeN is now known as XenGi03:37
*** furikku has joined #nemomobile03:39
*** blue787 has quit IRC04:05
*** Morpog_Mobile has joined #nemomobile04:42
*** dalecooper has joined #nemomobile05:13
*** dalecooper has quit IRC05:17
*** Pat_o has joined #nemomobile05:59
*** asterismo has quit IRC06:01
*** asterismo has joined #nemomobile06:14
*** blue787 has joined #nemomobile07:05
*** drachensun has quit IRC07:07
*** drachensun has joined #nemomobile07:19
*** DrCode has joined #nemomobile07:24
StskeepsSage: faenil: renewed nemomobile.org domain btw07:27
*** Sfiet_Konstantin has joined #nemomobile07:32
*** dalecooper has joined #nemomobile07:38
*** DrCode has quit IRC07:40
*** dalecooper has quit IRC07:40
*** piggz has joined #nemomobile07:46
piggzhi ... when i ssh into nemo on my n950, everything is _very_ slow ... zypper ref and dup take ages to do anything.  top says the top process is mmcqd which is to do with io afaik.  any tips?07:47
*** DrCode has joined #nemomobile07:51
Sfiet_Konstantinpiggz: htop ?07:57
Sfiet_Konstantinpiggz: iotop ?07:57
Sfiet_Konstantin(I guess that it is io being slow)07:59
piggzSfiet_Konstantin: iotop says its not compatible with the kernel (but take a number of seconds to display that)08:00
Sfiet_Konstantin:/08:00
Sfiet_Konstantinhtop08:00
piggzwill try after these packages have installed08:00
Sfiet_Konstantintoo bad for iotop: I guess it is a filesystem issue08:05
Sfiet_Konstantinbut how come :/08:05
*** Martix_ has joined #nemomobile08:06
piggzi cancelled the update ... 112 packages but it will take all day!08:07
Sfiet_Konstantin:/08:08
Sfiet_Konstantinindeed08:08
Sfiet_Konstantinbetter flash a new image ?08:08
Sfiet_Konstantindunno08:08
Sfiet_Konstantinmight be an issue in kernel and fs handling ?08:09
piggzmaybe08:09
piggzSfiet_Konstantin: dmesg shows oom killer invoked twice08:11
piggzhmm, there is 0kb swap08:12
Sfiet_Konstantinhum08:12
Sfiet_Konstantinstrange08:13
Sfiet_Konstantinor maybe it is zypper that got killed twice because of oom ?08:13
Sfiet_Konstantindon't know how much a package manager takes in term of mem08:13
piggzno..voicecall-ui booster-qtcompo08:14
Sfiet_Konstantin:/08:14
specialtry systemctl stop user-session@100000.service08:15
specialshould kill everything (including the UI) but essential system services08:15
piggzmoment...08:15
piggzps aux | grep voicecall | wc -l08:16
piggz5108:16
specialheh.08:16
specialthat's interesting.08:16
piggzim sure 50 are not needed!08:16
specialare they all with -prestart?08:17
piggzyes08:17
piggzhttp://pastebin.com/utz0Kbnb08:18
piggzwell, after stopping user-session...i have much more mem, and it it much more responsive!08:20
piggzthat is a massive improvement...08:20
specialthat is very strange08:20
specialeither they were being dbus launched (repeatedly) but never claiming the service, or the invoker processes were dying without the children dying08:20
specialneither of those should be possible.08:20
piggzlol08:21
piggzfamous last words :)08:21
*** Sfiet_Konstantin has quit IRC08:27
*** Martix_ has quit IRC08:32
*** Sfiet_Konstantin has joined #nemomobile08:39
*** Pat_o has quit IRC08:52
faenilStskeeps, ah, cool, thanks! :)08:54
faenilmorning people08:54
*** giucam has joined #nemomobile08:55
piggzfaenil: why do i 51 voice-call ui processes? invokes oom killer on my n950 :)09:05
*** Pat_o has joined #nemomobile09:06
*** Vlad_on_the_road has joined #nemomobile09:09
*** sandy_locke has joined #nemomobile09:14
*** Pat_o has quit IRC09:16
faenilpiggz, don't know...09:19
*** NIN101 has joined #nemomobile09:23
sandy_lockefaenil, hi09:28
faenilsandy_locke, o/09:32
sandy_lockejust ran the nemo mobile vm from locusf09:32
sandy_lockestill a lot of work to do !09:32
sandy_lockethe keyboard is to large and goes outside of the screen, is it normal ?09:33
*** Martix_ has joined #nemomobile09:35
faenilsandy_locke, haven't used the VM in a while09:36
sandy_lockehmm, yeah right, you told me that... forgot^^09:37
faenilbut yeah the switch to wayland broke a looot of stuff, so there are lots of things missing ;)09:37
sandy_lockeok, so this because of the switch09:37
sandy_lockeyou could do something similar to the qmlcomponents app but for the new components09:38
sandy_lockeis it possible/easy to do ?09:38
sandy_lockewould make testings a lot easier09:38
sandy_lockewe could see quickly how they render on screen and make changes accordingly in our mockups09:39
*** Vlad_on_the_road has quit IRC09:39
faenilsandy_locke, let me check one thing09:40
faenilwe have that already, just don't know if it's available in public repos09:40
*** Vlad_on_the_road has joined #nemomobile09:40
sandy_lockeah ?09:40
faenilyes it should bew09:40
faenilsandy_locke, zypper ref and then zypper install qtquickcontrols-nemo-examples09:40
faenilthen from fingerterm -> "/usr/lib/qt5/examples/touch_nemo"09:41
faenilthe dir could be slightly different09:41
sandy_lockethe commands "zypper.." should be entered from ssh ?09:42
locusfpiggz: I know, its because of pulseaudio not working properly, uninstall pulseaudio-x11 package09:42
faenilsababa, yeah09:42
faeniloop09:42
faenilsandy_locke, yep09:42
sandy_lockeok, let's do that :)09:42
locusfsandy_locke: yes its normal that keyboard goes outside the screen, Morpog_Mobile fixed it somehow though09:45
faenilsandy_locke, the current homescreen is just a placeholder until we finish developing the controls and make a new one09:45
sandy_lockelocusf, faenil, ok thanks for the infos. Anyway, I understand that a switch to wayland can make things a bit complicated :)09:46
locusfcorrect :)09:46
*** Vlad_on_the_road has quit IRC09:47
faenilsandy_locke, yeah well, all UI indicators (signal, battery, bla blabla) are now misssing :P09:47
sandy_lockefaenil, and you have clues on how to fix that ?09:48
sandy_lockelocusf, concerning the vm, is it easily upgradable ?09:48
locusfsandy_locke: not recommended to do zypper dup09:48
faenilsandy_locke, I haven't even started investigating that, so I don't know at the moment, we have to see how x11-related the previous stuff was09:48
locusfsandy_locke: I can bake you a new VM in a moment09:48
sandy_lockelocusf, thanks :)  but if I install things I may need to install them again. That's my concern09:49
*** M4rtinK has joined #nemomobile09:50
sandy_lockefaenil, ok so it's a matter of porting things ?09:50
faenilsandy_locke, most likely09:50
sandy_lockefaenil, what is the root passwd in ssh09:50
sandy_locke?09:50
faenilnemo09:51
sandy_lockeah ok, same as user ^^09:51
faenil:)09:51
locusfsandy_locke: yeah you might need to :/09:52
sandy_lockeanyway, I find the core of nemo mobile to be very solid/well built09:52
sandy_lockelocusf, ok I'll just make sure I note the steps for what I install then ;)09:53
locusfsandy_locke: ok, I'm converting the image in a moment and re-upload, might take 40-50 minutes09:53
sandy_lockefaenil, zypper install qtquickcontrols-nemo-examples --> not found ^^09:54
faenil:/ let me recheck09:54
sandy_lockelocusf, converting ? a new image that is ?09:54
locusfsandy_locke: yes09:55
sandy_lockeok thanks :)09:55
faenilsledges, did you use nemo:devel instead of nemo:devel:mw in webhook of qtquickcontrols-nemo for a particular reason?09:56
locusfhmm probably not a good idea to use the uploaded image :/09:57
locusfI get a black screen09:57
faenillocusf, it's the lipstick bug, didn't hear about that?09:57
locusfgot a notification for recharge battery09:57
faenilwe're waiting for Vesuri to review the PR by giucam which fixes that09:57
locusffaenil: yeah I heard, didn't know it affected VM too?09:57
faenillocusf, yes,09:57
locusfokay09:58
locusfsandy_locke: false alarm :) continue using the image I gave you yesterday09:58
faenilsledges, I'll change to nemo:devel:mw and trigger build09:59
sandy_lockelocusf, ok undestood :)10:00
*** Vlad_on_the_road has joined #nemomobile10:00
sandy_lockefaenil, so it will be available soon ?10:01
faenilsandy_locke, looking into that10:02
sandy_locke(no hurry, just asking :P)10:02
sandy_lockefaenil ok10:02
faenilsandy_locke, try again, zypper ref and then install ;)10:04
*** Sfiet_Konstantin has quit IRC10:04
*** Pat_o has joined #nemomobile10:05
*** alien_ has joined #nemomobile10:05
sandy_lockefaenil, trying again :)10:06
sandy_lockemmh, parallels don't like when I launch a vb vm while running an ubuntu vm on it ^^10:06
faenil:)10:07
sandy_lockefaenil, nemo-mw updated, but still no qtquickcontrols-nemo-examples10:08
faenilsandy_locke, sorry qt5-qtquickcontrols-nemo-examples10:09
faenilbefore starting the exec, in fingerterm type "export QT_QUICK_CONTROLS_STYLE=Nemo"10:10
sandy_lockefaenil, done :) I love the zypper ui ! no seriously, the progress bar is top notch for a command line tool :D10:10
faenil:D10:10
*** Pat_o has quit IRC10:12
zbenjaminhey all10:12
faenilzbenjamin, o/10:12
locusfhey zbenjamin10:12
zbenjaminfaenil: question, the libstick library is only used by colorful-home?10:12
faenilI'm not sure10:13
faenilas it has some features which are used by other packages as well, iirc10:13
faenillike switching display off10:13
zbenjaminhmm, i just wondered if the desktop maybe does not rotate because its window is the compositor window, and the compositor just sends the rotation updates to its children10:14
zbenjaminwell thats my current guess10:14
faenilcould be10:14
sandy_lockefaenil, mmh, issue here: /usr/lib/qt5/examples/touch_nemo --> failed to create display (no such file or directory)10:15
faenilsandy_locke, are you running it from fingerterm?10:15
sandy_lockefaenil, yep10:15
faenil:O10:16
*** Vlad_on_the_road has quit IRC10:16
sandy_lockefaenil, and from root10:16
faenilah, no try without root10:16
zbenjaminfaenil: is there a wiki on how to set up device debugging?10:16
faenilzbenjamin, qDebug?10:17
*** Vlad_on_the_road has joined #nemomobile10:17
sandy_lockefaenil, yes it worked :)10:17
zbenjaminfaenil: meh10:18
zbenjaminseriously?10:18
faenilzbenjamin, journalctl? what do you need?10:18
faenilzbenjamin, I honestly don't know what you're expecting :)10:18
locusfalso lipstick has a special env var for debug10:19
locusfdo you remember it out loud faenil?10:19
faenilLIPSTICK_COMPOSITOR_DEBUG10:19
locusfyes10:19
zbenjaminfaenil: i hoped for a gdbserver install thingy ;)10:20
locusfdunno if it helps zbenjamin10:20
faenilzbenjamin, well, I guess we have that10:20
faenilzbenjamin, you can use gdb on nemo for sure10:21
*** Guest60148 has quit IRC10:22
* sandy_locke installs mer sdk10:23
*** zetaz has joined #nemomobile10:23
faenilzbenjamin, have you tried running gdbserver?10:23
zbenjaminnot yet10:24
zbenjaminalso thought about running gdb on nemo10:24
zbenjaminbut i guess i need to install the source on nemo too also10:24
faenilzbenjamin, I think both gdb and gdbserver are available in Nemo ;)10:24
faenilbbl10:35
*** Pat_o has joined #nemomobile10:47
*** Pat_o has quit IRC10:53
*** Martix_ has quit IRC10:53
*** Pat_o has joined #nemomobile11:12
*** Pat_o has quit IRC11:16
*** Pat_o has joined #nemomobile11:20
*** zetaz has left #nemomobile11:31
*** zhost has joined #nemomobile11:32
*** Martix_ has joined #nemomobile11:48
*** Vlad_on_the_road has quit IRC11:51
*** Vlad_on_the_road has joined #nemomobile12:05
*** martyone has joined #nemomobile12:20
faenilback12:30
Stskeepswb12:31
*** Sfiet_Konstantin has joined #nemomobile12:34
* faenil has set up a livecoding page to develop components :)12:39
*** piee has joined #nemomobile12:46
Sfiet_Konstantinfaenil: ping ?12:49
faenilpong12:49
Sfiet_Konstantinfaenil: do you need extra environnement variable to run nemo components test with nemo components ?12:49
faenilyes12:49
Sfiet_Konstantinor should it be set up out of the box12:49
Sfiet_Konstantinwhat are they ?12:49
faenilQT_QUICK_CONTROLS_STYLE=Nemo12:49
Sfiet_Konstantinthx :)12:50
faenilnp :)12:50
Sfiet_Konstantingiving finishing touches to C++ managed theme12:50
Sfiet_Konstantinfinally, I use one JSON file for a theme12:51
Sfiet_Konstantinand one JSON file for defining all components12:51
Sfiet_Konstantinall classes are autogenerated12:51
Sfiet_Konstantinit is easy12:51
locusfnice job12:51
faenilSfiet_Konstantin, great :)12:54
faenilwait, one json for all components?12:54
faenilwhy?12:54
Sfiet_Konstantinfaenil: because it is ok, and you parse and generate everything from on script run12:55
Sfiet_Konstantinand the fact that you need to handle a hiearchy12:55
faenilok..12:55
Sfiet_Konstantinlike theme -> button -> buttongradient12:55
*** Martix_ has quit IRC13:04
*** kostaja has joined #nemomobile13:06
*** Morpog_N9 has joined #nemomobile13:12
Morpog_N9locusf, I didn't fix the maliit orientation bug. I just worked around it by setting resolution of VM to 854x480. But this causes neck pain :)13:14
locusfMorpog_N9: ah ok :)13:14
*** kostaja1 has joined #nemomobile13:19
*** Pat_o has quit IRC13:19
*** kostaja has quit IRC13:21
*** Pat_o has joined #nemomobile13:23
*** kostaja1 has quit IRC13:37
*** kostaja has joined #nemomobile13:39
*** kostaja has quit IRC13:48
*** Martix_ has joined #nemomobile13:51
locusffinally something tangible for the user experience study: http://arxiv.org/pdf/0906.4125.pdf13:54
faenillocusf, nice :)13:57
faenilbbl13:57
*** faenil has quit IRC13:57
*** Morpog_N9_ has joined #nemomobile14:04
*** Morpog_N9 has quit IRC14:06
*** phdeswer has joined #nemomobile14:28
*** piee has quit IRC14:29
*** piee has joined #nemomobile14:35
Sfiet_Konstantinhey hey hey14:35
Sfiet_Konstantinready for C++ theming !14:35
Sfiet_Konstantinjust more documentation14:35
*** Martix_ has quit IRC14:51
Sfiet_Konstantinhttps://github.com/faenil/qtquickcontrols-nemo/pull/414:52
*** Martix_ has joined #nemomobile14:58
locusfhat package is also in nemomobile org repo15:00
locusfnemomobile/qtquickcontrols-nemo15:00
*** piee has quit IRC15:03
*** mric_ has joined #nemomobile15:05
mric_sledges, hey hey  :)15:06
*** pvilja has joined #nemomobile15:12
*** piggz has quit IRC15:13
*** mric_ has quit IRC15:17
*** piggz has joined #nemomobile15:17
*** exec_s has joined #nemomobile15:23
*** martyone has quit IRC15:26
Sfiet_Konstantinsledges, locusf and faenil, mind taking a look at https://github.com/faenil/qtquickcontrols-nemo/pull/5 ?15:26
Sfiet_Konstantinvery long15:26
Sfiet_Konstantinbut the idea is having a python script generating everything related to theming15:26
Sfiet_Konstantinit translates a hiearchy describes in json into C++15:27
*** Morpog_N9_ has quit IRC15:27
Sfiet_Konstantinand the C++ classes reads a JSON theme and propagates data in the classes15:28
*** Morpog_N9_ has joined #nemomobile15:31
*** Martix_ has quit IRC15:37
*** amizraa has quit IRC15:40
*** faenil has joined #nemomobile15:44
faenilo/15:44
faenilSfiet_Konstantin, PR to official qqc15:44
Sfiet_Konstantinfaenil: is there an official qqcn ?15:44
faenilyes15:45
Sfiet_Konstantinwooowooowooow15:45
Sfiet_Konstantinlooks great :)15:45
Sfiet_Konstantinwill PR15:45
*** piee has joined #nemomobile15:45
locusfwhats the situation with opensans to official repo?15:47
Sfiet_Konstantinfaenil: my commit is slightly noisy15:49
Sfiet_Konstantinlike +1kloc from generated C++ classes15:49
Sfiet_Konstantinsorry for that15:49
*** DarkSim has joined #nemomobile15:49
*** araujo has quit IRC15:49
faenilSfiet_Konstantin, yeah noticed that :P15:50
*** Morpog_N9__ has joined #nemomobile15:50
*** araujo has joined #nemomobile15:50
faenilSfiet_Konstantin, now tell me you didn't complicate things :=)15:52
Sfiet_Konstantinfaenil: is this kind of file for theme ok ?15:52
Sfiet_Konstantinhttps://github.com/SfietKonstantin/qtquickcontrols-nemo/blob/e576786c0359cc74fb6e0ffc2475cf95c9a401a6/src/styles/themes/glacier.json15:52
Sfiet_Konstantinfaenil: well, sort of, but for more flexibility15:52
Sfiet_Konstantinlook you can load any file now15:52
faenilSfiet_Konstantin, yes I'd say it's okay ;)15:52
* faenil is reading the article by stezz atm15:53
Sfiet_Konstantinfaenil: basically, you just fill your other component in https://github.com/SfietKonstantin/qtquickcontrols-nemo/blob/e576786c0359cc74fb6e0ffc2475cf95c9a401a6/tools/themehelper/components.json15:53
*** Morpog_N9_ has quit IRC15:53
*** piee has quit IRC15:53
Sfiet_Konstantinrun a python script, and woow, magic, everything is generated. Declare it as an uncreateable qml type, and done15:54
*** Morpog_PC has joined #nemomobile15:54
Sfiet_Konstantinand BTW, I also added warnings when stuff couldn't be read from theme file15:54
faenilbuttonpressedgradient appears as another component? :/15:55
*** mric_ has joined #nemomobile15:56
mric_juiceme, hey :)15:57
Sfiet_Konstantinfaenil: each time you have a list of properties (pressed gradient have a lot), better separe it as a separated component15:58
Sfiet_Konstantindon't you do "Theme.button.pressedGradient.width" ?15:58
faenilSfiet_Konstantin, yes, as you see pressedGradient is inside the button15:59
Sfiet_Konstantinfaenil: but if you call button.pressedGradient.<something>15:59
faenilwhile in your components definitions pressedGradient is at thesame level as button15:59
Sfiet_Konstantinit means that pressedGradient have to be an object15:59
faenilyes15:59
Sfiet_Konstantinfaenil: it is internal15:59
faenilinternal?15:59
Sfiet_Konstantinlook in the glacier.json file15:59
Sfiet_Konstantinit is not in the same level15:59
Sfiet_Konstantinthe components.json file is an internal definition of all the components to be defined16:00
faenilyes I mean in the components.json16:00
Sfiet_Konstantinbut it do not translate to the real architecture16:00
faenilisn't there a way to have the same hierarchy?16:00
Sfiet_Konstantinfaenil: will complicate stuff16:00
Sfiet_Konstantinas you need to parse a tree16:00
Sfiet_Konstantinand I don't like parsing trees16:00
faenilok..I will think about it later16:00
Sfiet_Konstantinbasically in components.json, you define the components (all in the same level), and just give a parent => children relation16:01
Sfiet_Konstantinand the script creates the tree16:01
faenilyes I got that16:01
*** piee has joined #nemomobile16:01
faenilbut from components.json gradient is in no way related to the button16:02
Sfiet_Konstantinfaenil: it is: look at button16:03
*** jonwil has quit IRC16:03
Sfiet_Konstantinthere is pressedGradient, that is an object of ButtonPressedGradient16:03
faenilSfiet_Konstantin, ah ok got it16:04
Sfiet_Konstantinfaenil: )16:04
Sfiet_Konstantin:)16:04
faenilif only we could separate the two things :(16:04
Sfiet_Konstantinfaenil: well, I could create a tree in the JSON, but please, no16:07
Sfiet_Konstantinfaenil: and look it enables reuse of components in other components16:07
Sfiet_Konstantin(like in a button and a text field, you can use font)16:08
Sfiet_Konstantin(well, of cause, not button gradient but ...)16:08
faenilyes but that's the only example :D16:08
faenilanyway, I need time to look and read before commenting ;)16:08
faenilstill reading the article :D16:08
Sfiet_Konstantinfaenil: you can compile and see if it works16:09
Sfiet_Konstantinbut about generated C++ classes, better not read and comment it individually, better comment on the whole because they are autogenerated16:09
Sfiet_Konstantin(except the plugin C++ files)16:09
Sfiet_Konstantinthe python script is rather messy, but it is okish, and the things it do is pretty basic16:10
mric_juiceme, check TMO for polar adaptation16:25
*** mric_ has quit IRC16:25
*** piee has quit IRC16:40
*** DarkSim has quit IRC16:42
*** DarkSim has joined #nemomobile16:42
*** giucam has quit IRC16:45
Sfiet_Konstantinqwazix and faenil, do you know how to compute u ?16:53
faenilnot decided how to implement that afaik16:53
qwazixu is just the px value multiplied with a constant16:53
faenil(the formula is there, if you mean that)16:54
faenilu is the constant :D16:54
Sfiet_KonstantinI know16:54
qwazixthe constant is device dependent, and is computed once16:54
Sfiet_Konstantinbut in Qt, how to compute it16:54
Sfiet_Konstantinhow to get screen width16:54
qwazixfaenil, yeah you can see it that way too16:54
Sfiet_KonstantinI'm preparing myself to see how should we implement it16:54
Sfiet_Konstantinah, so, we dont compute it in runtime16:54
Sfiet_Konstantinok16:54
qwazixSfiet_Konstantin, see the bottom of this post16:55
Sfiet_Konstantinbecause with the C++ theming thing, we can inject u in the int we find16:55
Sfiet_Konstantin(if QPA can only handle DPI for pictures and fonts, and nothing else)16:55
qwazixSfiet_Konstantin, I like that approach!16:56
faenilSfiet_Konstantin, yes that can be a good way to handle that for components16:56
Sfiet_Konstantinwell, to distinguish ints that need u (width / height) from int that don't need u (I don't know yet), we can add a field in the components description file :)16:57
faenilwe also need to decide how to get the device model16:57
Sfiet_Konstantinso ... just waiting to get C++ merged and I will try to hack that16:57
qwazixfaenil, I was thinking to compute it at image creation16:57
qwazix(if that makes any sense)16:57
Sfiet_KonstantinI was thinking of computing it at runtime16:57
faenilor, alternatively, how to add that in any other way16:58
faenilSfiet_Konstantin, why would you do that16:58
Sfiet_KonstantinQScreen is your friend ?16:58
Sfiet_Konstantinfaenil: because we have API ? :D16:58
faenilSfiet_Konstantin, because we like overhead?16:58
Sfiet_Konstantininstead of doing it for each device16:58
Sfiet_Konstantinfaenil: indeed, the overhead is the issue here16:58
qwazixSfiet_Konstantin, you need the real screen size (not resolution, real size) and viewing distance (we have to guess that)16:59
Sfiet_KonstantinI would love having an env vaar indeed16:59
Sfiet_Konstantinqwazix: QScreen::physicalSize ?16:59
faenilSfiet_Konstantin, that's just pixels afaik16:59
Sfiet_Konstantinbut of cause, viewing distance cannot be retrieved from QScreen :(16:59
Sfiet_Konstantinfaenil: "The physical size represents the actual physical dimensions of the screen's display."16:59
qwazixI think it should be an adaptation thing.16:59
faenilSfiet_Konstantin, :/ :/ :/17:00
Sfiet_Konstantinfaenil: "Depending on what information the underlying system provides the value might not be entirely accurate."17:00
*** alexxy has quit IRC17:00
faenilah, ok XD17:00
Sfiet_Konstantinindeed :D17:00
faenilso, I've never seen it working so far :P17:00
Sfiet_Konstantinbut some stuff have API to retrieve the real size of a screen17:00
Sfiet_Konstantinlike Linux ?17:00
qwazixI vote for ENVVAR17:00
faenilwhen I queried it always got pixels17:00
Sfiet_Konstantinor Windows Mac ?17:00
faenilSfiet_Konstantin, I proposed having an env var set in the settings packages (which are device specific)17:01
Sfiet_Konstantinenvvar for me too17:01
faenilalright, great17:01
Sfiet_Konstantinjust a config file is enough isn't it, so a package for each device17:01
Sfiet_Konstantinfaenil: +117:01
Sfiet_Konstantinalright, done :D17:01
Sfiet_Konstantinfaenil: still reading my code ? (sorry for the size again :$)17:01
faenilthough, if we want to think bigger, we should consider cases like when you connect the device to TV17:02
faenilthe u should change17:02
qwazixtrue17:02
Sfiet_Konstantinfaenil: https://github.com/nemomobile/qtquickcontrols-nemo/pull/2#discussion_r6787312 what did I forgot ? :(17:02
faeniland if we do it using u, we're not able to detect it as we don't have info about the tv17:02
faenilSfiet_Konstantin, actually setting the theme? :D17:02
Sfiet_Konstantinhum17:02
Sfiet_Konstantinfaenil: well, if you don't have a file to read, you don't change the current theme :)17:02
Sfiet_Konstantinqwazix: then we need a daemon, and u stored elsewhere (gconf ?)17:03
faenilSfiet_Konstantin, ?17:03
qwazixfaenil, we can ship an applet that allows the user to change the envvar by inputting viewing distance and tv inches17:03
Sfiet_Konstantinqwazix: but envvar is not flexible then: you ned to restart all apps17:03
faenilqwazix, mmm not exactly user friendly but could be a solution17:03
Sfiet_Konstantingconf like what's done for lipstick ?17:03
qwazixgconf is not a bad idea17:03
Sfiet_Konstantinwe then need a oneshoot to fill the gconf value17:03
faenilyeah17:04
Sfiet_Konstantinsystemd allows that easily, and it ends in config files, once again17:04
faenilyes eys17:04
Sfiet_Konstantinwe might need to investigate platform adaptation too, to see if we can have highdpi enabled from there, and if not, inject u17:04
faenilI'm not confident with gconf but of course we need a way to monitor the env_var, and if there are no ways to do that, we need another solution (gconf)17:04
Sfiet_Konstantinif partially, we will do both17:04
Sfiet_Konstantinfaenil: env var cannot be monitored when changed17:05
faenilSfiet_Konstantin, QQC already support the highdpi thing, they ship @2x images17:05
Sfiet_Konstantinfaenil: they are only read when app is launched, gconf should be more flexible17:05
faenilSfiet_Konstantin, well, if you're sure about that, ok17:05
Sfiet_Konstantinfaenil: is it enough ? does font scale ? etc17:05
qwazix@2x is braindead17:05
faenilqwazix, it's the convention qt adopted17:05
qwazixit only caters for exactly double the dpi, i.e. only retina17:05
faenilyeah17:06
Sfiet_Konstantinfaenil: I wans thinking about a QPA that adapts DPI based on u and maybe qwazix's applet idea17:06
Sfiet_Konstantinetc.17:06
faenilSfiet_Konstantin, you mean adapt UI?17:06
faenilor DPI ?17:06
locusfSfiet_Konstantin: you really do not set the Theme in NemoThemeManager::setTheme17:09
Sfiet_Konstantinlocusf: it is an issue with singleton17:09
Sfiet_Konstantinif we have two objects (like Theme and ThemeManager), defined in C++, they cannot talk to each other17:10
locusfI don't get it, I was simply remarking that there is a method that doesn't do anything else than warn if the filename is not found17:13
Sfiet_Konstantinlocusf: ah, I talked with faenil17:14
Sfiet_Konstantinit was my fault: this file shouldn't exist at all17:14
faenillocusf, yeah convinced him there was something wrong :D17:14
Sfiet_Konstantintheme is changed in NemoTheme::loadFromFile17:14
locusfSfiet_Konstantin: ok :)17:14
locusffaenil: lol17:14
Sfiet_Konstantindinner time17:18
Sfiet_Konstantinsee ya later guys17:18
locusfsee ya17:18
Sfiet_Konstantinhope that my components hacking doc is clear enough17:18
Sfiet_Konstantinpushed a small readme17:18
*** alexxy has joined #nemomobile17:19
*** Sfiet_Konstantin has quit IRC17:22
faenilouch he left17:23
*** M4rtinK has quit IRC17:41
*** n9mx has joined #nemomobile17:41
Morpog_PCwhy ouch?17:46
faenilwanted to comment, but I commented on the PR ;)17:51
faenilbbl17:51
faenildinner17:51
*** rcg has joined #nemomobile17:53
*** araujo has quit IRC17:58
*** asterismo has quit IRC17:59
*** asterismo has joined #nemomobile17:59
*** araujo has joined #nemomobile17:59
*** blam has quit IRC18:04
*** amizraa has joined #nemomobile18:13
*** Sfiet_Konstantin has joined #nemomobile18:20
Sfiet_Konstantinfaenil: ping ?18:21
Sfiet_Konstantin:(18:22
Sfiet_Konstantinnoping :(18:22
*** nsuffys has joined #nemomobile18:30
*** M4rtinK has joined #nemomobile18:34
*** Morpog_Mobile has quit IRC18:41
*** furikku has quit IRC18:49
*** M4rtinK has quit IRC18:51
*** DrCode has quit IRC19:00
*** Martix_ has joined #nemomobile19:04
*** DrCode has joined #nemomobile19:05
*** Sfiet_Konstantin has quit IRC19:09
*** n9mx has quit IRC19:20
*** giucam has joined #nemomobile19:42
*** alexxy has quit IRC19:55
*** araujo has quit IRC19:56
faenilback20:01
*** araujo has joined #nemomobile20:04
*** n9mx has joined #nemomobile20:05
*** araujo has quit IRC20:18
*** araujo has joined #nemomobile20:19
*** nsuffys has quit IRC20:31
*** alexxy has joined #nemomobile20:36
*** alexxy has quit IRC20:43
*** alexxy has joined #nemomobile20:44
*** Hurrian has quit IRC20:47
*** M4rtinK has joined #nemomobile20:47
*** Martix_ has quit IRC20:57
*** NIN101 has quit IRC21:06
*** Pat_o has quit IRC21:08
*** Morpog_PC has quit IRC21:12
*** sandy_locke has quit IRC21:22
*** Martix_ has joined #nemomobile21:24
*** rcg has quit IRC21:24
*** Vlad_on_the_road has quit IRC21:33
*** Vlad_on_the_road has joined #nemomobile21:35
*** cxl000 has quit IRC21:35
*** Morpog_Mobile has joined #nemomobile21:52
*** Vlad_on_the_road has quit IRC21:55
*** zhost has quit IRC22:08
*** Hurrian has joined #nemomobile22:14
*** Morpog_Mobile has quit IRC22:29
*** DarkSim has quit IRC22:39
*** giucam has quit IRC22:54
*** n9mx has joined #nemomobile22:57
*** Martix_ has quit IRC23:01
*** Hurrian has quit IRC23:30
*** exec_s has quit IRC23:40

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