*** DarkSim has quit IRC | 00:00 | |
*** M4rtinK has quit IRC | 00:02 | |
*** amccarthy_ has joined #nemomobile | 01:35 | |
*** amccarthy has quit IRC | 01:36 | |
*** Morpog_Mobile has quit IRC | 01:39 | |
*** mschlens has joined #nemomobile | 01:59 | |
*** mschlens_ has quit IRC | 02:02 | |
*** XeN is now known as XenGi | 03:37 | |
*** furikku has joined #nemomobile | 03:39 | |
*** blue787 has quit IRC | 04:05 | |
*** Morpog_Mobile has joined #nemomobile | 04:42 | |
*** dalecooper has joined #nemomobile | 05:13 | |
*** dalecooper has quit IRC | 05:17 | |
*** Pat_o has joined #nemomobile | 05:59 | |
*** asterismo has quit IRC | 06:01 | |
*** asterismo has joined #nemomobile | 06:14 | |
*** blue787 has joined #nemomobile | 07:05 | |
*** drachensun has quit IRC | 07:07 | |
*** drachensun has joined #nemomobile | 07:19 | |
*** DrCode has joined #nemomobile | 07:24 | |
Stskeeps | Sage: faenil: renewed nemomobile.org domain btw | 07:27 |
---|---|---|
*** Sfiet_Konstantin has joined #nemomobile | 07:32 | |
*** dalecooper has joined #nemomobile | 07:38 | |
*** DrCode has quit IRC | 07:40 | |
*** dalecooper has quit IRC | 07:40 | |
*** piggz has joined #nemomobile | 07:46 | |
piggz | hi ... 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 #nemomobile | 07:51 | |
Sfiet_Konstantin | piggz: htop ? | 07:57 |
Sfiet_Konstantin | piggz: iotop ? | 07:57 |
Sfiet_Konstantin | (I guess that it is io being slow) | 07:59 |
piggz | Sfiet_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_Konstantin | htop | 08:00 |
piggz | will try after these packages have installed | 08:00 |
Sfiet_Konstantin | too bad for iotop: I guess it is a filesystem issue | 08:05 |
Sfiet_Konstantin | but how come :/ | 08:05 |
*** Martix_ has joined #nemomobile | 08:06 | |
piggz | i cancelled the update ... 112 packages but it will take all day! | 08:07 |
Sfiet_Konstantin | :/ | 08:08 |
Sfiet_Konstantin | indeed | 08:08 |
Sfiet_Konstantin | better flash a new image ? | 08:08 |
Sfiet_Konstantin | dunno | 08:08 |
Sfiet_Konstantin | might be an issue in kernel and fs handling ? | 08:09 |
piggz | maybe | 08:09 |
piggz | Sfiet_Konstantin: dmesg shows oom killer invoked twice | 08:11 |
piggz | hmm, there is 0kb swap | 08:12 |
Sfiet_Konstantin | hum | 08:12 |
Sfiet_Konstantin | strange | 08:13 |
Sfiet_Konstantin | or maybe it is zypper that got killed twice because of oom ? | 08:13 |
Sfiet_Konstantin | don't know how much a package manager takes in term of mem | 08:13 |
piggz | no..voicecall-ui booster-qtcompo | 08:14 |
Sfiet_Konstantin | :/ | 08:14 |
special | try systemctl stop user-session@100000.service | 08:15 |
special | should kill everything (including the UI) but essential system services | 08:15 |
piggz | moment... | 08:15 |
piggz | ps aux | grep voicecall | wc -l | 08:16 |
piggz | 51 | 08:16 |
special | heh. | 08:16 |
special | that's interesting. | 08:16 |
piggz | im sure 50 are not needed! | 08:16 |
special | are they all with -prestart? | 08:17 |
piggz | yes | 08:17 |
piggz | http://pastebin.com/utz0Kbnb | 08:18 |
piggz | well, after stopping user-session...i have much more mem, and it it much more responsive! | 08:20 |
piggz | that is a massive improvement... | 08:20 |
special | that is very strange | 08:20 |
special | either they were being dbus launched (repeatedly) but never claiming the service, or the invoker processes were dying without the children dying | 08:20 |
special | neither of those should be possible. | 08:20 |
piggz | lol | 08:21 |
piggz | famous last words :) | 08:21 |
*** Sfiet_Konstantin has quit IRC | 08:27 | |
*** Martix_ has quit IRC | 08:32 | |
*** Sfiet_Konstantin has joined #nemomobile | 08:39 | |
*** Pat_o has quit IRC | 08:52 | |
faenil | Stskeeps, ah, cool, thanks! :) | 08:54 |
faenil | morning people | 08:54 |
*** giucam has joined #nemomobile | 08:55 | |
piggz | faenil: why do i 51 voice-call ui processes? invokes oom killer on my n950 :) | 09:05 |
*** Pat_o has joined #nemomobile | 09:06 | |
*** Vlad_on_the_road has joined #nemomobile | 09:09 | |
*** sandy_locke has joined #nemomobile | 09:14 | |
*** Pat_o has quit IRC | 09:16 | |
faenil | piggz, don't know... | 09:19 |
*** NIN101 has joined #nemomobile | 09:23 | |
sandy_locke | faenil, hi | 09:28 |
faenil | sandy_locke, o/ | 09:32 |
sandy_locke | just ran the nemo mobile vm from locusf | 09:32 |
sandy_locke | still a lot of work to do ! | 09:32 |
sandy_locke | the keyboard is to large and goes outside of the screen, is it normal ? | 09:33 |
*** Martix_ has joined #nemomobile | 09:35 | |
faenil | sandy_locke, haven't used the VM in a while | 09:36 |
sandy_locke | hmm, yeah right, you told me that... forgot^^ | 09:37 |
faenil | but yeah the switch to wayland broke a looot of stuff, so there are lots of things missing ;) | 09:37 |
sandy_locke | ok, so this because of the switch | 09:37 |
sandy_locke | you could do something similar to the qmlcomponents app but for the new components | 09:38 |
sandy_locke | is it possible/easy to do ? | 09:38 |
sandy_locke | would make testings a lot easier | 09:38 |
sandy_locke | we could see quickly how they render on screen and make changes accordingly in our mockups | 09:39 |
*** Vlad_on_the_road has quit IRC | 09:39 | |
faenil | sandy_locke, let me check one thing | 09:40 |
faenil | we have that already, just don't know if it's available in public repos | 09:40 |
*** Vlad_on_the_road has joined #nemomobile | 09:40 | |
sandy_locke | ah ? | 09:40 |
faenil | yes it should bew | 09:40 |
faenil | sandy_locke, zypper ref and then zypper install qtquickcontrols-nemo-examples | 09:40 |
faenil | then from fingerterm -> "/usr/lib/qt5/examples/touch_nemo" | 09:41 |
faenil | the dir could be slightly different | 09:41 |
sandy_locke | the commands "zypper.." should be entered from ssh ? | 09:42 |
locusf | piggz: I know, its because of pulseaudio not working properly, uninstall pulseaudio-x11 package | 09:42 |
faenil | sababa, yeah | 09:42 |
faenil | oop | 09:42 |
faenil | sandy_locke, yep | 09:42 |
sandy_locke | ok, let's do that :) | 09:42 |
locusf | sandy_locke: yes its normal that keyboard goes outside the screen, Morpog_Mobile fixed it somehow though | 09:45 |
faenil | sandy_locke, the current homescreen is just a placeholder until we finish developing the controls and make a new one | 09:45 |
sandy_locke | locusf, faenil, ok thanks for the infos. Anyway, I understand that a switch to wayland can make things a bit complicated :) | 09:46 |
locusf | correct :) | 09:46 |
*** Vlad_on_the_road has quit IRC | 09:47 | |
faenil | sandy_locke, yeah well, all UI indicators (signal, battery, bla blabla) are now misssing :P | 09:47 |
sandy_locke | faenil, and you have clues on how to fix that ? | 09:48 |
sandy_locke | locusf, concerning the vm, is it easily upgradable ? | 09:48 |
locusf | sandy_locke: not recommended to do zypper dup | 09:48 |
faenil | sandy_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 was | 09:48 |
locusf | sandy_locke: I can bake you a new VM in a moment | 09:48 |
sandy_locke | locusf, thanks :) but if I install things I may need to install them again. That's my concern | 09:49 |
*** M4rtinK has joined #nemomobile | 09:50 | |
sandy_locke | faenil, ok so it's a matter of porting things ? | 09:50 |
faenil | sandy_locke, most likely | 09:50 |
sandy_locke | faenil, what is the root passwd in ssh | 09:50 |
sandy_locke | ? | 09:50 |
faenil | nemo | 09:51 |
sandy_locke | ah ok, same as user ^^ | 09:51 |
faenil | :) | 09:51 |
locusf | sandy_locke: yeah you might need to :/ | 09:52 |
sandy_locke | anyway, I find the core of nemo mobile to be very solid/well built | 09:52 |
sandy_locke | locusf, ok I'll just make sure I note the steps for what I install then ;) | 09:53 |
locusf | sandy_locke: ok, I'm converting the image in a moment and re-upload, might take 40-50 minutes | 09:53 |
sandy_locke | faenil, zypper install qtquickcontrols-nemo-examples --> not found ^^ | 09:54 |
faenil | :/ let me recheck | 09:54 |
sandy_locke | locusf, converting ? a new image that is ? | 09:54 |
locusf | sandy_locke: yes | 09:55 |
sandy_locke | ok thanks :) | 09:55 |
faenil | sledges, did you use nemo:devel instead of nemo:devel:mw in webhook of qtquickcontrols-nemo for a particular reason? | 09:56 |
locusf | hmm probably not a good idea to use the uploaded image :/ | 09:57 |
locusf | I get a black screen | 09:57 |
faenil | locusf, it's the lipstick bug, didn't hear about that? | 09:57 |
locusf | got a notification for recharge battery | 09:57 |
faenil | we're waiting for Vesuri to review the PR by giucam which fixes that | 09:57 |
locusf | faenil: yeah I heard, didn't know it affected VM too? | 09:57 |
faenil | locusf, yes, | 09:57 |
locusf | okay | 09:58 |
locusf | sandy_locke: false alarm :) continue using the image I gave you yesterday | 09:58 |
faenil | sledges, I'll change to nemo:devel:mw and trigger build | 09:59 |
sandy_locke | locusf, ok undestood :) | 10:00 |
*** Vlad_on_the_road has joined #nemomobile | 10:00 | |
sandy_locke | faenil, so it will be available soon ? | 10:01 |
faenil | sandy_locke, looking into that | 10:02 |
sandy_locke | (no hurry, just asking :P) | 10:02 |
sandy_locke | faenil ok | 10:02 |
faenil | sandy_locke, try again, zypper ref and then install ;) | 10:04 |
*** Sfiet_Konstantin has quit IRC | 10:04 | |
*** Pat_o has joined #nemomobile | 10:05 | |
*** alien_ has joined #nemomobile | 10:05 | |
sandy_locke | faenil, trying again :) | 10:06 |
sandy_locke | mmh, parallels don't like when I launch a vb vm while running an ubuntu vm on it ^^ | 10:06 |
faenil | :) | 10:07 |
sandy_locke | faenil, nemo-mw updated, but still no qtquickcontrols-nemo-examples | 10:08 |
faenil | sandy_locke, sorry qt5-qtquickcontrols-nemo-examples | 10:09 |
faenil | before starting the exec, in fingerterm type "export QT_QUICK_CONTROLS_STYLE=Nemo" | 10:10 |
sandy_locke | faenil, done :) I love the zypper ui ! no seriously, the progress bar is top notch for a command line tool :D | 10:10 |
faenil | :D | 10:10 |
*** Pat_o has quit IRC | 10:12 | |
zbenjamin | hey all | 10:12 |
faenil | zbenjamin, o/ | 10:12 |
locusf | hey zbenjamin | 10:12 |
zbenjamin | faenil: question, the libstick library is only used by colorful-home? | 10:12 |
faenil | I'm not sure | 10:13 |
faenil | as it has some features which are used by other packages as well, iirc | 10:13 |
faenil | like switching display off | 10:13 |
zbenjamin | hmm, 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 children | 10:14 |
zbenjamin | well thats my current guess | 10:14 |
faenil | could be | 10:14 |
sandy_locke | faenil, mmh, issue here: /usr/lib/qt5/examples/touch_nemo --> failed to create display (no such file or directory) | 10:15 |
faenil | sandy_locke, are you running it from fingerterm? | 10:15 |
sandy_locke | faenil, yep | 10:15 |
faenil | :O | 10:16 |
*** Vlad_on_the_road has quit IRC | 10:16 | |
sandy_locke | faenil, and from root | 10:16 |
faenil | ah, no try without root | 10:16 |
zbenjamin | faenil: is there a wiki on how to set up device debugging? | 10:16 |
faenil | zbenjamin, qDebug? | 10:17 |
*** Vlad_on_the_road has joined #nemomobile | 10:17 | |
sandy_locke | faenil, yes it worked :) | 10:17 |
zbenjamin | faenil: meh | 10:18 |
zbenjamin | seriously? | 10:18 |
faenil | zbenjamin, journalctl? what do you need? | 10:18 |
faenil | zbenjamin, I honestly don't know what you're expecting :) | 10:18 |
locusf | also lipstick has a special env var for debug | 10:19 |
locusf | do you remember it out loud faenil? | 10:19 |
faenil | LIPSTICK_COMPOSITOR_DEBUG | 10:19 |
locusf | yes | 10:19 |
zbenjamin | faenil: i hoped for a gdbserver install thingy ;) | 10:20 |
locusf | dunno if it helps zbenjamin | 10:20 |
faenil | zbenjamin, well, I guess we have that | 10:20 |
faenil | zbenjamin, you can use gdb on nemo for sure | 10:21 |
*** Guest60148 has quit IRC | 10:22 | |
* sandy_locke installs mer sdk | 10:23 | |
*** zetaz has joined #nemomobile | 10:23 | |
faenil | zbenjamin, have you tried running gdbserver? | 10:23 |
zbenjamin | not yet | 10:24 |
zbenjamin | also thought about running gdb on nemo | 10:24 |
zbenjamin | but i guess i need to install the source on nemo too also | 10:24 |
faenil | zbenjamin, I think both gdb and gdbserver are available in Nemo ;) | 10:24 |
faenil | bbl | 10:35 |
*** Pat_o has joined #nemomobile | 10:47 | |
*** Pat_o has quit IRC | 10:53 | |
*** Martix_ has quit IRC | 10:53 | |
*** Pat_o has joined #nemomobile | 11:12 | |
*** Pat_o has quit IRC | 11:16 | |
*** Pat_o has joined #nemomobile | 11:20 | |
*** zetaz has left #nemomobile | 11:31 | |
*** zhost has joined #nemomobile | 11:32 | |
*** Martix_ has joined #nemomobile | 11:48 | |
*** Vlad_on_the_road has quit IRC | 11:51 | |
*** Vlad_on_the_road has joined #nemomobile | 12:05 | |
*** martyone has joined #nemomobile | 12:20 | |
faenil | back | 12:30 |
Stskeeps | wb | 12:31 |
*** Sfiet_Konstantin has joined #nemomobile | 12:34 | |
* faenil has set up a livecoding page to develop components :) | 12:39 | |
*** piee has joined #nemomobile | 12:46 | |
Sfiet_Konstantin | faenil: ping ? | 12:49 |
faenil | pong | 12:49 |
Sfiet_Konstantin | faenil: do you need extra environnement variable to run nemo components test with nemo components ? | 12:49 |
faenil | yes | 12:49 |
Sfiet_Konstantin | or should it be set up out of the box | 12:49 |
Sfiet_Konstantin | what are they ? | 12:49 |
faenil | QT_QUICK_CONTROLS_STYLE=Nemo | 12:49 |
Sfiet_Konstantin | thx :) | 12:50 |
faenil | np :) | 12:50 |
Sfiet_Konstantin | giving finishing touches to C++ managed theme | 12:50 |
Sfiet_Konstantin | finally, I use one JSON file for a theme | 12:51 |
Sfiet_Konstantin | and one JSON file for defining all components | 12:51 |
Sfiet_Konstantin | all classes are autogenerated | 12:51 |
Sfiet_Konstantin | it is easy | 12:51 |
locusf | nice job | 12:51 |
faenil | Sfiet_Konstantin, great :) | 12:54 |
faenil | wait, one json for all components? | 12:54 |
faenil | why? | 12:54 |
Sfiet_Konstantin | faenil: because it is ok, and you parse and generate everything from on script run | 12:55 |
Sfiet_Konstantin | and the fact that you need to handle a hiearchy | 12:55 |
faenil | ok.. | 12:55 |
Sfiet_Konstantin | like theme -> button -> buttongradient | 12:55 |
*** Martix_ has quit IRC | 13:04 | |
*** kostaja has joined #nemomobile | 13:06 | |
*** Morpog_N9 has joined #nemomobile | 13:12 | |
Morpog_N9 | locusf, 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 |
locusf | Morpog_N9: ah ok :) | 13:14 |
*** kostaja1 has joined #nemomobile | 13:19 | |
*** Pat_o has quit IRC | 13:19 | |
*** kostaja has quit IRC | 13:21 | |
*** Pat_o has joined #nemomobile | 13:23 | |
*** kostaja1 has quit IRC | 13:37 | |
*** kostaja has joined #nemomobile | 13:39 | |
*** kostaja has quit IRC | 13:48 | |
*** Martix_ has joined #nemomobile | 13:51 | |
locusf | finally something tangible for the user experience study: http://arxiv.org/pdf/0906.4125.pdf | 13:54 |
faenil | locusf, nice :) | 13:57 |
faenil | bbl | 13:57 |
*** faenil has quit IRC | 13:57 | |
*** Morpog_N9_ has joined #nemomobile | 14:04 | |
*** Morpog_N9 has quit IRC | 14:06 | |
*** phdeswer has joined #nemomobile | 14:28 | |
*** piee has quit IRC | 14:29 | |
*** piee has joined #nemomobile | 14:35 | |
Sfiet_Konstantin | hey hey hey | 14:35 |
Sfiet_Konstantin | ready for C++ theming ! | 14:35 |
Sfiet_Konstantin | just more documentation | 14:35 |
*** Martix_ has quit IRC | 14:51 | |
Sfiet_Konstantin | https://github.com/faenil/qtquickcontrols-nemo/pull/4 | 14:52 |
*** Martix_ has joined #nemomobile | 14:58 | |
locusf | hat package is also in nemomobile org repo | 15:00 |
locusf | nemomobile/qtquickcontrols-nemo | 15:00 |
*** piee has quit IRC | 15:03 | |
*** mric_ has joined #nemomobile | 15:05 | |
mric_ | sledges, hey hey :) | 15:06 |
*** pvilja has joined #nemomobile | 15:12 | |
*** piggz has quit IRC | 15:13 | |
*** mric_ has quit IRC | 15:17 | |
*** piggz has joined #nemomobile | 15:17 | |
*** exec_s has joined #nemomobile | 15:23 | |
*** martyone has quit IRC | 15:26 | |
Sfiet_Konstantin | sledges, locusf and faenil, mind taking a look at https://github.com/faenil/qtquickcontrols-nemo/pull/5 ? | 15:26 |
Sfiet_Konstantin | very long | 15:26 |
Sfiet_Konstantin | but the idea is having a python script generating everything related to theming | 15:26 |
Sfiet_Konstantin | it translates a hiearchy describes in json into C++ | 15:27 |
*** Morpog_N9_ has quit IRC | 15:27 | |
Sfiet_Konstantin | and the C++ classes reads a JSON theme and propagates data in the classes | 15:28 |
*** Morpog_N9_ has joined #nemomobile | 15:31 | |
*** Martix_ has quit IRC | 15:37 | |
*** amizraa has quit IRC | 15:40 | |
*** faenil has joined #nemomobile | 15:44 | |
faenil | o/ | 15:44 |
faenil | Sfiet_Konstantin, PR to official qqc | 15:44 |
Sfiet_Konstantin | faenil: is there an official qqcn ? | 15:44 |
faenil | yes | 15:45 |
Sfiet_Konstantin | wooowooowooow | 15:45 |
Sfiet_Konstantin | looks great :) | 15:45 |
Sfiet_Konstantin | will PR | 15:45 |
*** piee has joined #nemomobile | 15:45 | |
locusf | whats the situation with opensans to official repo? | 15:47 |
Sfiet_Konstantin | faenil: my commit is slightly noisy | 15:49 |
Sfiet_Konstantin | like +1kloc from generated C++ classes | 15:49 |
Sfiet_Konstantin | sorry for that | 15:49 |
*** DarkSim has joined #nemomobile | 15:49 | |
*** araujo has quit IRC | 15:49 | |
faenil | Sfiet_Konstantin, yeah noticed that :P | 15:50 |
*** Morpog_N9__ has joined #nemomobile | 15:50 | |
*** araujo has joined #nemomobile | 15:50 | |
faenil | Sfiet_Konstantin, now tell me you didn't complicate things :=) | 15:52 |
Sfiet_Konstantin | faenil: is this kind of file for theme ok ? | 15:52 |
Sfiet_Konstantin | https://github.com/SfietKonstantin/qtquickcontrols-nemo/blob/e576786c0359cc74fb6e0ffc2475cf95c9a401a6/src/styles/themes/glacier.json | 15:52 |
Sfiet_Konstantin | faenil: well, sort of, but for more flexibility | 15:52 |
Sfiet_Konstantin | look you can load any file now | 15:52 |
faenil | Sfiet_Konstantin, yes I'd say it's okay ;) | 15:52 |
* faenil is reading the article by stezz atm | 15:53 | |
Sfiet_Konstantin | faenil: basically, you just fill your other component in https://github.com/SfietKonstantin/qtquickcontrols-nemo/blob/e576786c0359cc74fb6e0ffc2475cf95c9a401a6/tools/themehelper/components.json | 15:53 |
*** Morpog_N9_ has quit IRC | 15:53 | |
*** piee has quit IRC | 15:53 | |
Sfiet_Konstantin | run a python script, and woow, magic, everything is generated. Declare it as an uncreateable qml type, and done | 15:54 |
*** Morpog_PC has joined #nemomobile | 15:54 | |
Sfiet_Konstantin | and BTW, I also added warnings when stuff couldn't be read from theme file | 15:54 |
faenil | buttonpressedgradient appears as another component? :/ | 15:55 |
*** mric_ has joined #nemomobile | 15:56 | |
mric_ | juiceme, hey :) | 15:57 |
Sfiet_Konstantin | faenil: each time you have a list of properties (pressed gradient have a lot), better separe it as a separated component | 15:58 |
Sfiet_Konstantin | don't you do "Theme.button.pressedGradient.width" ? | 15:58 |
faenil | Sfiet_Konstantin, yes, as you see pressedGradient is inside the button | 15:59 |
Sfiet_Konstantin | faenil: but if you call button.pressedGradient.<something> | 15:59 |
faenil | while in your components definitions pressedGradient is at thesame level as button | 15:59 |
Sfiet_Konstantin | it means that pressedGradient have to be an object | 15:59 |
faenil | yes | 15:59 |
Sfiet_Konstantin | faenil: it is internal | 15:59 |
faenil | internal? | 15:59 |
Sfiet_Konstantin | look in the glacier.json file | 15:59 |
Sfiet_Konstantin | it is not in the same level | 15:59 |
Sfiet_Konstantin | the components.json file is an internal definition of all the components to be defined | 16:00 |
faenil | yes I mean in the components.json | 16:00 |
Sfiet_Konstantin | but it do not translate to the real architecture | 16:00 |
faenil | isn't there a way to have the same hierarchy? | 16:00 |
Sfiet_Konstantin | faenil: will complicate stuff | 16:00 |
Sfiet_Konstantin | as you need to parse a tree | 16:00 |
Sfiet_Konstantin | and I don't like parsing trees | 16:00 |
faenil | ok..I will think about it later | 16:00 |
Sfiet_Konstantin | basically in components.json, you define the components (all in the same level), and just give a parent => children relation | 16:01 |
Sfiet_Konstantin | and the script creates the tree | 16:01 |
faenil | yes I got that | 16:01 |
*** piee has joined #nemomobile | 16:01 | |
faenil | but from components.json gradient is in no way related to the button | 16:02 |
Sfiet_Konstantin | faenil: it is: look at button | 16:03 |
*** jonwil has quit IRC | 16:03 | |
Sfiet_Konstantin | there is pressedGradient, that is an object of ButtonPressedGradient | 16:03 |
faenil | Sfiet_Konstantin, ah ok got it | 16:04 |
Sfiet_Konstantin | faenil: ) | 16:04 |
Sfiet_Konstantin | :) | 16:04 |
faenil | if only we could separate the two things :( | 16:04 |
Sfiet_Konstantin | faenil: well, I could create a tree in the JSON, but please, no | 16:07 |
Sfiet_Konstantin | faenil: and look it enables reuse of components in other components | 16: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 |
faenil | yes but that's the only example :D | 16:08 |
faenil | anyway, I need time to look and read before commenting ;) | 16:08 |
faenil | still reading the article :D | 16:08 |
Sfiet_Konstantin | faenil: you can compile and see if it works | 16:09 |
Sfiet_Konstantin | but about generated C++ classes, better not read and comment it individually, better comment on the whole because they are autogenerated | 16:09 |
Sfiet_Konstantin | (except the plugin C++ files) | 16:09 |
Sfiet_Konstantin | the python script is rather messy, but it is okish, and the things it do is pretty basic | 16:10 |
mric_ | juiceme, check TMO for polar adaptation | 16:25 |
*** mric_ has quit IRC | 16:25 | |
*** piee has quit IRC | 16:40 | |
*** DarkSim has quit IRC | 16:42 | |
*** DarkSim has joined #nemomobile | 16:42 | |
*** giucam has quit IRC | 16:45 | |
Sfiet_Konstantin | qwazix and faenil, do you know how to compute u ? | 16:53 |
faenil | not decided how to implement that afaik | 16:53 |
qwazix | u is just the px value multiplied with a constant | 16:53 |
faenil | (the formula is there, if you mean that) | 16:54 |
faenil | u is the constant :D | 16:54 |
Sfiet_Konstantin | I know | 16:54 |
qwazix | the constant is device dependent, and is computed once | 16:54 |
Sfiet_Konstantin | but in Qt, how to compute it | 16:54 |
Sfiet_Konstantin | how to get screen width | 16:54 |
qwazix | faenil, yeah you can see it that way too | 16:54 |
Sfiet_Konstantin | I'm preparing myself to see how should we implement it | 16:54 |
Sfiet_Konstantin | ah, so, we dont compute it in runtime | 16:54 |
Sfiet_Konstantin | ok | 16:54 |
qwazix | Sfiet_Konstantin, see the bottom of this post | 16:55 |
Sfiet_Konstantin | because with the C++ theming thing, we can inject u in the int we find | 16:55 |
Sfiet_Konstantin | (if QPA can only handle DPI for pictures and fonts, and nothing else) | 16:55 |
qwazix | Sfiet_Konstantin, I like that approach! | 16:56 |
faenil | Sfiet_Konstantin, yes that can be a good way to handle that for components | 16:56 |
Sfiet_Konstantin | well, 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 |
faenil | we also need to decide how to get the device model | 16:57 |
Sfiet_Konstantin | so ... just waiting to get C++ merged and I will try to hack that | 16:57 |
qwazix | faenil, I was thinking to compute it at image creation | 16:57 |
qwazix | (if that makes any sense) | 16:57 |
Sfiet_Konstantin | I was thinking of computing it at runtime | 16:57 |
faenil | or, alternatively, how to add that in any other way | 16:58 |
faenil | Sfiet_Konstantin, why would you do that | 16:58 |
Sfiet_Konstantin | QScreen is your friend ? | 16:58 |
Sfiet_Konstantin | faenil: because we have API ? :D | 16:58 |
faenil | Sfiet_Konstantin, because we like overhead? | 16:58 |
Sfiet_Konstantin | instead of doing it for each device | 16:58 |
Sfiet_Konstantin | faenil: indeed, the overhead is the issue here | 16:58 |
qwazix | Sfiet_Konstantin, you need the real screen size (not resolution, real size) and viewing distance (we have to guess that) | 16:59 |
Sfiet_Konstantin | I would love having an env vaar indeed | 16:59 |
Sfiet_Konstantin | qwazix: QScreen::physicalSize ? | 16:59 |
faenil | Sfiet_Konstantin, that's just pixels afaik | 16:59 |
Sfiet_Konstantin | but of cause, viewing distance cannot be retrieved from QScreen :( | 16:59 |
Sfiet_Konstantin | faenil: "The physical size represents the actual physical dimensions of the screen's display." | 16:59 |
qwazix | I think it should be an adaptation thing. | 16:59 |
faenil | Sfiet_Konstantin, :/ :/ :/ | 17:00 |
Sfiet_Konstantin | faenil: "Depending on what information the underlying system provides the value might not be entirely accurate." | 17:00 |
*** alexxy has quit IRC | 17:00 | |
faenil | ah, ok XD | 17:00 |
Sfiet_Konstantin | indeed :D | 17:00 |
faenil | so, I've never seen it working so far :P | 17:00 |
Sfiet_Konstantin | but some stuff have API to retrieve the real size of a screen | 17:00 |
Sfiet_Konstantin | like Linux ? | 17:00 |
qwazix | I vote for ENVVAR | 17:00 |
faenil | when I queried it always got pixels | 17:00 |
Sfiet_Konstantin | or Windows Mac ? | 17:00 |
faenil | Sfiet_Konstantin, I proposed having an env var set in the settings packages (which are device specific) | 17:01 |
Sfiet_Konstantin | envvar for me too | 17:01 |
faenil | alright, great | 17:01 |
Sfiet_Konstantin | just a config file is enough isn't it, so a package for each device | 17:01 |
Sfiet_Konstantin | faenil: +1 | 17:01 |
Sfiet_Konstantin | alright, done :D | 17:01 |
Sfiet_Konstantin | faenil: still reading my code ? (sorry for the size again :$) | 17:01 |
faenil | though, if we want to think bigger, we should consider cases like when you connect the device to TV | 17:02 |
faenil | the u should change | 17:02 |
qwazix | true | 17:02 |
Sfiet_Konstantin | faenil: https://github.com/nemomobile/qtquickcontrols-nemo/pull/2#discussion_r6787312 what did I forgot ? :( | 17:02 |
faenil | and if we do it using u, we're not able to detect it as we don't have info about the tv | 17:02 |
faenil | Sfiet_Konstantin, actually setting the theme? :D | 17:02 |
Sfiet_Konstantin | hum | 17:02 |
Sfiet_Konstantin | faenil: well, if you don't have a file to read, you don't change the current theme :) | 17:02 |
Sfiet_Konstantin | qwazix: then we need a daemon, and u stored elsewhere (gconf ?) | 17:03 |
faenil | Sfiet_Konstantin, ? | 17:03 |
qwazix | faenil, we can ship an applet that allows the user to change the envvar by inputting viewing distance and tv inches | 17:03 |
Sfiet_Konstantin | qwazix: but envvar is not flexible then: you ned to restart all apps | 17:03 |
faenil | qwazix, mmm not exactly user friendly but could be a solution | 17:03 |
Sfiet_Konstantin | gconf like what's done for lipstick ? | 17:03 |
qwazix | gconf is not a bad idea | 17:03 |
Sfiet_Konstantin | we then need a oneshoot to fill the gconf value | 17:03 |
faenil | yeah | 17:04 |
Sfiet_Konstantin | systemd allows that easily, and it ends in config files, once again | 17:04 |
faenil | yes eys | 17:04 |
Sfiet_Konstantin | we might need to investigate platform adaptation too, to see if we can have highdpi enabled from there, and if not, inject u | 17:04 |
faenil | I'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_Konstantin | if partially, we will do both | 17:04 |
Sfiet_Konstantin | faenil: env var cannot be monitored when changed | 17:05 |
faenil | Sfiet_Konstantin, QQC already support the highdpi thing, they ship @2x images | 17:05 |
Sfiet_Konstantin | faenil: they are only read when app is launched, gconf should be more flexible | 17:05 |
faenil | Sfiet_Konstantin, well, if you're sure about that, ok | 17:05 |
Sfiet_Konstantin | faenil: is it enough ? does font scale ? etc | 17:05 |
qwazix | @2x is braindead | 17:05 |
faenil | qwazix, it's the convention qt adopted | 17:05 |
qwazix | it only caters for exactly double the dpi, i.e. only retina | 17:05 |
faenil | yeah | 17:06 |
Sfiet_Konstantin | faenil: I wans thinking about a QPA that adapts DPI based on u and maybe qwazix's applet idea | 17:06 |
Sfiet_Konstantin | etc. | 17:06 |
faenil | Sfiet_Konstantin, you mean adapt UI? | 17:06 |
faenil | or DPI ? | 17:06 |
locusf | Sfiet_Konstantin: you really do not set the Theme in NemoThemeManager::setTheme | 17:09 |
Sfiet_Konstantin | locusf: it is an issue with singleton | 17:09 |
Sfiet_Konstantin | if we have two objects (like Theme and ThemeManager), defined in C++, they cannot talk to each other | 17:10 |
locusf | I 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 found | 17:13 |
Sfiet_Konstantin | locusf: ah, I talked with faenil | 17:14 |
Sfiet_Konstantin | it was my fault: this file shouldn't exist at all | 17:14 |
faenil | locusf, yeah convinced him there was something wrong :D | 17:14 |
Sfiet_Konstantin | theme is changed in NemoTheme::loadFromFile | 17:14 |
locusf | Sfiet_Konstantin: ok :) | 17:14 |
locusf | faenil: lol | 17:14 |
Sfiet_Konstantin | dinner time | 17:18 |
Sfiet_Konstantin | see ya later guys | 17:18 |
locusf | see ya | 17:18 |
Sfiet_Konstantin | hope that my components hacking doc is clear enough | 17:18 |
Sfiet_Konstantin | pushed a small readme | 17:18 |
*** alexxy has joined #nemomobile | 17:19 | |
*** Sfiet_Konstantin has quit IRC | 17:22 | |
faenil | ouch he left | 17:23 |
*** M4rtinK has quit IRC | 17:41 | |
*** n9mx has joined #nemomobile | 17:41 | |
Morpog_PC | why ouch? | 17:46 |
faenil | wanted to comment, but I commented on the PR ;) | 17:51 |
faenil | bbl | 17:51 |
faenil | dinner | 17:51 |
*** rcg has joined #nemomobile | 17:53 | |
*** araujo has quit IRC | 17:58 | |
*** asterismo has quit IRC | 17:59 | |
*** asterismo has joined #nemomobile | 17:59 | |
*** araujo has joined #nemomobile | 17:59 | |
*** blam has quit IRC | 18:04 | |
*** amizraa has joined #nemomobile | 18:13 | |
*** Sfiet_Konstantin has joined #nemomobile | 18:20 | |
Sfiet_Konstantin | faenil: ping ? | 18:21 |
Sfiet_Konstantin | :( | 18:22 |
Sfiet_Konstantin | noping :( | 18:22 |
*** nsuffys has joined #nemomobile | 18:30 | |
*** M4rtinK has joined #nemomobile | 18:34 | |
*** Morpog_Mobile has quit IRC | 18:41 | |
*** furikku has quit IRC | 18:49 | |
*** M4rtinK has quit IRC | 18:51 | |
*** DrCode has quit IRC | 19:00 | |
*** Martix_ has joined #nemomobile | 19:04 | |
*** DrCode has joined #nemomobile | 19:05 | |
*** Sfiet_Konstantin has quit IRC | 19:09 | |
*** n9mx has quit IRC | 19:20 | |
*** giucam has joined #nemomobile | 19:42 | |
*** alexxy has quit IRC | 19:55 | |
*** araujo has quit IRC | 19:56 | |
faenil | back | 20:01 |
*** araujo has joined #nemomobile | 20:04 | |
*** n9mx has joined #nemomobile | 20:05 | |
*** araujo has quit IRC | 20:18 | |
*** araujo has joined #nemomobile | 20:19 | |
*** nsuffys has quit IRC | 20:31 | |
*** alexxy has joined #nemomobile | 20:36 | |
*** alexxy has quit IRC | 20:43 | |
*** alexxy has joined #nemomobile | 20:44 | |
*** Hurrian has quit IRC | 20:47 | |
*** M4rtinK has joined #nemomobile | 20:47 | |
*** Martix_ has quit IRC | 20:57 | |
*** NIN101 has quit IRC | 21:06 | |
*** Pat_o has quit IRC | 21:08 | |
*** Morpog_PC has quit IRC | 21:12 | |
*** sandy_locke has quit IRC | 21:22 | |
*** Martix_ has joined #nemomobile | 21:24 | |
*** rcg has quit IRC | 21:24 | |
*** Vlad_on_the_road has quit IRC | 21:33 | |
*** Vlad_on_the_road has joined #nemomobile | 21:35 | |
*** cxl000 has quit IRC | 21:35 | |
*** Morpog_Mobile has joined #nemomobile | 21:52 | |
*** Vlad_on_the_road has quit IRC | 21:55 | |
*** zhost has quit IRC | 22:08 | |
*** Hurrian has joined #nemomobile | 22:14 | |
*** Morpog_Mobile has quit IRC | 22:29 | |
*** DarkSim has quit IRC | 22:39 | |
*** giucam has quit IRC | 22:54 | |
*** n9mx has joined #nemomobile | 22:57 | |
*** Martix_ has quit IRC | 23:01 | |
*** Hurrian has quit IRC | 23:30 | |
*** exec_s has quit IRC | 23:40 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!