*** rcg has quit IRC | 00:03 | |
*** ND has joined #nemomobile | 00:38 | |
*** ND has quit IRC | 00:42 | |
*** arcean_ has quit IRC | 01:14 | |
*** Sazpaimon_ has quit IRC | 01:21 | |
*** Sazpaimon has joined #nemomobile | 01:31 | |
*** Sazpaimon_ has joined #nemomobile | 01:55 | |
*** Sazpaimon has quit IRC | 01:56 | |
*** Sazpaimon_ has quit IRC | 02:14 | |
*** Sazpaimon_ has joined #nemomobile | 02:14 | |
*** Sazpaimon has joined #nemomobile | 03:28 | |
*** Sazpaimon_ has quit IRC | 03:29 | |
*** jonwil has joined #nemomobile | 03:49 | |
*** Sazpaimon_ has joined #nemomobile | 03:58 | |
*** Sazpaimon has quit IRC | 03:59 | |
*** jonwil_ has joined #nemomobile | 04:58 | |
*** jonwil has quit IRC | 05:00 | |
*** jonwil_ is now known as jonwil | 05:00 | |
*** jonwil_ has joined #nemomobile | 05:16 | |
*** jonwil has quit IRC | 05:17 | |
*** jonwil_ is now known as jonwil | 05:18 | |
*** Sazpaimon has joined #nemomobile | 05:26 | |
*** Sazpaimon_ has quit IRC | 05:27 | |
*** araujo has quit IRC | 05:27 | |
*** Sazpaimon has quit IRC | 05:44 | |
*** Sazpaimon has joined #nemomobile | 06:02 | |
*** Sazpaimon has quit IRC | 06:26 | |
*** Sazpaimon has joined #nemomobile | 06:26 | |
*** nsuffys has joined #nemomobile | 06:31 | |
*** Sazpaimon_ has joined #nemomobile | 06:32 | |
*** Sazpaimon has quit IRC | 06:33 | |
*** Sazpaimon_ has quit IRC | 06:58 | |
*** Sazpaimon_ has joined #nemomobile | 06:58 | |
*** Sazpaimon_ is now known as Sazpaimon | 06:58 | |
*** Sazpaimon_ has joined #nemomobile | 07:04 | |
*** Sazpaimon has quit IRC | 07:05 | |
*** norayr has joined #nemomobile | 07:53 | |
*** Sazpaimon_ has quit IRC | 08:05 | |
*** Sazpaimon_ has joined #nemomobile | 08:05 | |
*** faenil has joined #nemomobile | 08:08 | |
*** jonwil has quit IRC | 08:12 | |
faenil | good morning :) | 08:12 |
---|---|---|
*** kallaballa has joined #nemomobile | 08:21 | |
*** Venemo has joined #nemomobile | 08:24 | |
*** lbt_away is now known as lbt | 08:25 | |
Venemo | good morning | 08:31 |
Venemo | w00t, ping | 08:31 |
*** Venemo_N950 has joined #nemomobile | 08:34 | |
*** Venemo_N950 has joined #nemomobile | 08:34 | |
Venemo | do I have to kill meegotouchhome before I launch lipstick? | 08:37 |
Stskeeps | yes, probably | 08:38 |
*** Sazpaimon has joined #nemomobile | 09:01 | |
*** Sazpaimon_ has quit IRC | 09:01 | |
alterego | haaaaang oooooveeeeeer | 09:08 |
alterego | Venemo: I've got a working qt creator integration for mer sdk now :) | 09:08 |
alterego | Venemo: I'll post the details a bit later for you | 09:09 |
alterego | I suppose I should stick it on wiki | 09:09 |
alterego | Sage: I need to replace old dialer with new. | 09:09 |
Venemo | alterego, I can write the wiki article once you tell me all about it | 09:10 |
Venemo | hm, interestingly, I can't seem to kill meegotouchhome | 09:10 |
Venemo | it respawns | 09:10 |
alterego | it will do | 09:10 |
Venemo | can I kill meegotouchhome and prevent it from respawning? | 09:11 |
phaeron | alterego: oh cool ! | 09:11 |
w00t | Venemo: it's probably in /etc/xdg/autostart/ or something like that | 09:11 |
alterego | it'll respawn maybe 10 times before it gives up, alternatively, you can edit the autostart, to start lipstick instead | 09:11 |
Venemo | w00t, yeah | 09:11 |
w00t | YMMV because I just woke up and can hardly process anything beyond "it's morning" | 09:12 |
alterego | Venemo: I'll eo some rough instructions on wiki, then you can buff the article up if you like ;) | 09:12 |
Venemo | alterego, ok, sure :) | 09:14 |
alterego | You basically need a script, and there's a few details in configuring your projects to work. | 09:16 |
alterego | It's also a bit annoying because there's no global target, you literally have to do it manually on a project by project basis. It's a cheap integration but it works. I'll look in to a more versatile method at somepoint. | 09:17 |
*** rcg has joined #nemomobile | 09:18 | |
Venemo | alterego, that's a good start anyway | 09:18 |
faenil | alterego, good :) | 09:32 |
faenil | is "Oops! No images found..." ok for qmlgallery? message to be shown when there are no images | 09:37 |
*** rcg has quit IRC | 09:42 | |
*** rcg has joined #nemomobile | 09:42 | |
rcg | faenil: i would suggest something along the lines, "No images yet" | 09:43 |
rcg | or something | 09:43 |
rcg | "Opps! ..." kinda implies something bad happened ;) | 09:43 |
faenil | rcg problem is, that message is also shown when you filter images, and you get no results | 09:43 |
faenil | No images yet isn't good either imho :) | 09:43 |
faenil | yeah I agree, Oops is for bad things :) | 09:43 |
rcg | faenil: right :) | 09:44 |
rcg | what about using different messages depending on whether a filter was applied or not? | 09:44 |
rcg | "No images yet" and "No matching images found" | 09:45 |
*** M4rtinK has joined #nemomobile | 09:47 | |
*** araujo has joined #nemomobile | 09:52 | |
*** araujo has quit IRC | 09:52 | |
*** araujo has joined #nemomobile | 09:52 | |
faenil | rcg, eh, that implies checking if there's a filter active :P let's give it a spin | 09:53 |
*** Venemo_N950 has quit IRC | 09:53 | |
rcg | faenil: yeah, that's what i figured when designing UIs.. you always stumble from simple to increasingly complex ;) | 09:54 |
*** Venemo has quit IRC | 09:54 | |
rcg | bbl though | 09:54 |
*** M4rtinK has quit IRC | 09:59 | |
*** jonwil has joined #nemomobile | 09:59 | |
*** NIN101 has joined #nemomobile | 10:15 | |
*** arcean has joined #nemomobile | 10:18 | |
*** NIN101 has quit IRC | 10:18 | |
*** alien_ has joined #nemomobile | 10:20 | |
*** NIN101 has joined #nemomobile | 10:25 | |
faenil | anyone alive with qml experience? | 10:32 |
Aard | google never sleeps | 10:32 |
faenil | Aard, he doesn't seem to be able to help me...:P | 10:33 |
faenil | it's not like I like bothering people :D | 10:33 |
iekku | faenil, don't you :( | 10:34 |
faenil | iekku, ? | 10:34 |
iekku | bad joke, sorry | 10:34 |
faenil | :P | 10:34 |
*** Venemo_N9 has joined #nemomobile | 10:38 | |
*** priyan has joined #nemomobile | 10:38 | |
Venemo_N9 | seems that my ISP decided not to work again | 10:38 |
Venemo_N9 | so, I'm working on adding a working status bar to lipstick | 10:42 |
Venemo_N9 | my attempts have failed so far | 10:42 |
w00t | failed how? | 10:44 |
Venemo_N9 | I determined (roughly) how the status bar in qt components works | 10:45 |
Venemo_N9 | as a first step, I simply added that component to lipstick's qml | 10:45 |
w00t | a C++ item that fetches and draws a shared X pixmap, afair | 10:46 |
Venemo_N9 | not exactly, but something like that, yes | 10:46 |
Venemo_N9 | I also tried to change the root element in lipstick to Window | 10:47 |
Venemo_N9 | but the status bar remained empty | 10:47 |
Venemo_N9 | interestingly, it started working when I removed the desktop window type... | 10:48 |
w00t | but then didn't work like a desktop, i guess ;) | 10:48 |
Venemo_N9 | obviously. | 10:49 |
Venemo_N9 | well, you know, I just wanted to see what might be the issue, so I started commenting stiff | 10:50 |
w00t | yeah, yeah | 10:50 |
w00t | was more making a joke than anything | 10:50 |
faenil | w00t, how would you change the filter here? http://doc.qt.nokia.com/qtmobility/qml-gallery.html Query Requests section | 10:50 |
Venemo_N9 | :) | 10:50 |
w00t | faenil: with Qt.createQmlObject and a lot of pain | 10:51 |
faenil | w00t, wonderful | 10:51 |
faenil | why pain? | 10:51 |
w00t | Venemo_N9: not sure what to suggest really.. might be helpful to look at meegotouch-home's source | 10:52 |
Venemo_N9 | anyway, the conclusion is that lipstick can't really reuse components from qt-components. they weren't meant to be used for creating desktops | 10:52 |
w00t | as it must somehow end up with a working statusbar, so perhaps there's some magic button it presses | 10:52 |
Venemo_N9 | w00t, yes, that will be my next step as well | 10:52 |
w00t | right, though if it's a simple enough fix, it might still be possible | 10:52 |
w00t | faenil: because it's not going to be pretty | 10:53 |
*** Siosm has joined #nemomobile | 10:53 | |
faenil | w00t, and do we have a choice there? | 10:53 |
w00t | no | 10:53 |
Venemo_N9 | w00t, anyway, meegotouchhome somehow makes a working status bar, so I'll try to look at that | 10:54 |
w00t | *nod* | 10:54 |
faenil | w00t, good | 10:54 |
w00t | let me know if you run into concrete issues, will see if i can find anything | 10:54 |
faenil | w00t, and what if I want to reset it, set it to null? or anything better than that? | 10:55 |
Venemo_N9 | however, most of the code related to mtf is extremely hard to read... everything is related to everything else and the way classes relate to each other is not documented at all | 10:55 |
faenil | I think they should have implemented some api for that .... -.- | 10:55 |
w00t | Venemo_N9: meegotouchhome thankfully is a lot smaller than libmeegotouch :) | 10:56 |
*** Siosm has quit IRC | 10:56 | |
Venemo_N9 | I also tried to look into system UI, but I couldn't even determine where the code is which actually draws it. | 10:56 |
Venemo_N9 | w00t, it's still full of garbage, and the code doesn't seem to be organized at all | 10:58 |
Venemo_N9 | w00t, are you aware of any documentation about is inner working? | 10:59 |
w00t | i'd guess it's http://meego.gitorious.org/meegotouch/meegotouch-systemui/blobs/master/src/systemui/statusarea/statusarearenderer.cpp and related pieces | 11:00 |
Venemo_N9 | mhm | 11:01 |
Venemo_N9 | but really, isn't there any documentation? | 11:02 |
w00t | what documentation do you expect? "StatusAreaRenderer renders the status area"? :p | 11:02 |
Venemo_N9 | for example, they could've documented the way it works. | 11:03 |
Venemo_N9 | eg the status bar component sets an X property containing the coordinates of itself. then something magically draws the status bar there | 11:04 |
w00t | it works through systemui drawing to a shared X pixmap, which is pulled into all the clients, which do whatever they want with it | 11:04 |
w00t | the clients are responsible for drawing to the screen | 11:05 |
w00t | which also means they're responsible for positioning | 11:05 |
faenil | they just have that bitmap, they can do whatever they want with it :) | 11:05 |
Venemo_N9 | that's what I thought | 11:06 |
w00t | btw, it looks like PageStackWindow is the one which actually contains the status bar, not Window, so perhaps try that | 11:07 |
Venemo_N9 | that's what I tried, yes. | 11:09 |
Venemo_N9 | http://qt.gitorious.org/qt-components/qt-components/blobs/master/src/meego/mdeclarativescreen.cpp#line776 | 11:09 |
Venemo_N9 | this is what updates the status bar | 11:10 |
w00t | widget->windowType() == Qt::Window) { | 11:10 |
w00t | there's what is most likely your problem | 11:10 |
Venemo_N9 | indeed | 11:10 |
Venemo_N9 | which implies that the c++ inside will work | 11:11 |
Venemo_N9 | but. | 11:11 |
Venemo_N9 | the code in there doesn't make sense. | 11:11 |
Venemo_N9 | it doesn't really draw a shared pixmap | 11:12 |
w00t | you want mdeclarativestatusbar.cpp | 11:12 |
w00t | (as that code isn't doing drawing at all) | 11:13 |
Venemo_N9 | ok, but then what does this do exactly? | 11:13 |
w00t | I don't know, I'd need to research what _MEEGOTOUCH_MSTATUSBAR_GEOMETRY is for | 11:14 |
w00t | it is probably a hint to the compositor or something | 11:14 |
Venemo_N9 | I googled it, not many results | 11:14 |
Venemo_N9 | I have a guys though | 11:14 |
w00t | it's used in the compositor | 11:14 |
Venemo_N9 | I have a guess | 11:15 |
w00t | presumably related to not showing the status bar on minimised applications | 11:15 |
Venemo_N9 | w00t, my thoughts exactly | 11:15 |
w00t | http://qtl.me/A21.txt | 11:15 |
Venemo_N9 | hmmm | 11:16 |
Venemo_N9 | :) | 11:16 |
*** norayr is now known as noch | 11:24 | |
*** mike7b4 has quit IRC | 11:25 | |
noch | I have the latest upgrades in nemo, and I wonder, whether something wrong with my installation or it is just incomplete: in the settings there's a possibility to change a language of the system, but not the input method of maliit keyboard. | 11:26 |
w00t | we probably don't have that capability right now.. would be good if you want to look into what that requires | 11:27 |
Stskeeps | noch: file bugs, please | 11:27 |
noch | hm, ok | 11:30 |
noch | I'll first try to ask in #maliit how to change layout with command line | 11:30 |
Stskeeps | w00t: hey, wasn't the email from meego touch one of the ones you tried to port? | 11:31 |
Stskeeps | err, meego tablet u | 11:31 |
Stskeeps | x | 11:31 |
w00t | Stskeeps: i made a limited start on it, but i'm not sure about the best way to proceed with email | 11:32 |
w00t | it might be interesting to look at e.g. trojita | 11:32 |
Stskeeps | ok | 11:32 |
phaeron | can I use inotify on a socket :D | 11:35 |
phaeron | never mind , wrong window :) | 11:36 |
Venemo_N9 | what compositor did the MeeGo tablet UX use? | 11:36 |
Stskeeps | mcompositor | 11:36 |
Stskeeps | in a different configuration/stuff patched out | 11:36 |
Venemo_N9 | what were the differences? | 11:37 |
Stskeeps | no MTF | 11:37 |
Venemo_N9 | that sounds nice | 11:41 |
Venemo_N9 | any functional differences? | 11:42 |
Stskeeps | old old version | 11:42 |
faenil | w00t, have you noticed qmlgallery has some graphical glitch if it is started from terminal? | 11:43 |
w00t | like what? | 11:44 |
faenil | no toolbar and double topBar | 11:45 |
w00t | add -fullscreen | 11:45 |
*** mike7b4 has joined #nemomobile | 11:47 | |
Venemo_N9 | mhm | 11:47 |
faenil | w00t, ok, everything's ok, didn't know you had to force it | 11:47 |
Venemo_N9 | Stskeeps, does it use mlite then? | 11:48 |
w00t | faenil: the idea being that you can also build (and run) on desktop, and it's a lot more annoying to have to specify -notfullscreen than it is to add -fullscreen to the .desktop file :) | 11:48 |
Stskeeps | Venemo_N9: yesish | 11:48 |
faenil | w00t, I see the point :D | 11:48 |
Venemo_N9 | Stskeeps, -ish? | 11:48 |
faenil | w00t, the SDK includes an emulator right? | 11:49 |
Venemo_N9 | so, why don't we patch our mcompositor as well to get rid of mtf? | 11:53 |
*** M4rtinK has joined #nemomobile | 12:01 | |
*** Venemo_N9 has quit IRC | 12:01 | |
*** Venemo has joined #nemomobile | 12:14 | |
Venemo | hi again | 12:14 |
faenil | Venemo, could you please tell me the path of qmlgallery executable? it should be /opt/qmlgallery/bin | 12:18 |
Venemo | sure, moment | 12:19 |
Venemo | it is there, yes | 12:21 |
faenil | ok thanks | 12:21 |
w00t | Venemo: because it's work without anyone to do it, and (at least imho) there are more important things to address | 12:25 |
Venemo | w00t, understandable | 12:25 |
faenil | Venemo, what's your output of "which qmlgallery" ? | 12:28 |
faenil | Venemo, and could you also check if you have /usr/bin/qmlgallery? | 12:30 |
faenil | :) | 12:31 |
*** M4rtinK has quit IRC | 12:32 | |
Venemo | faenil, sure. where should I run 'which qmlgallery'? | 12:32 |
faenil | terminal :) | 12:33 |
Venemo | btw, question: even though I deployed my public key on my Nemo device, sshing into it still needs password. but why? | 12:33 |
Venemo | faenil, I meant which directory should I be when I run that command | 12:33 |
faenil | doesn't matter | 12:33 |
Venemo | k | 12:34 |
Venemo | what user? | 12:34 |
Venemo | ok | 12:35 |
Venemo | http://fpaste.org/Y0w2/ | 12:35 |
Venemo | faenil, ^ | 12:35 |
faenil | ok thanks ;) | 12:36 |
Venemo | :) | 12:36 |
Venemo | any time | 12:36 |
* faenil digs in pinching algo madness | 12:38 | |
Venemo | muhahaha | 12:38 |
* Venemo has been there, done that | 12:38 | |
faenil | I don't remember how it works, and I wrote that :D | 12:39 |
Venemo | mmhm | 12:39 |
*** jonwil_ has joined #nemomobile | 12:41 | |
faenil | mmm w00t , you there? | 12:42 |
*** jonwil has quit IRC | 12:43 | |
*** jonwil_ is now known as jonwil | 12:44 | |
faenil | w00t, the compositor glitch is also visible if you start the app without -fullscreen, and rotate the screen :) | 12:47 |
faenil | it redraws something it shouldn't | 12:47 |
jussi | right, so somethign broke :/ | 12:47 |
jussi | I am following n950 dual boot on here: https://wiki.merproject.org/wiki/Nemo/Installing | 12:47 |
jussi | got moslo flashed, but now have a "fatal: Re-partitioning failed! you might be in trouble! You can telnet in the device to try debug! you can telnet into 192.168.2.15 | 12:48 |
jussi | any help? | 12:49 |
jussi | telnet 192.168.2.15 | 12:49 |
jussi | Trying 192.168.2.15... | 12:49 |
jussi | telnet: Unable to connect to remote host: Connection timed out | 12:49 |
faenil | jussi, did you flash latest modded moslo? I had the repartitioning error until version .5 or .6 | 12:51 |
jussi | faenil: moslo-rootfs-1.2011.34-2_RM680-OEM1-916_0.0.13-12.1.bin14631934moslo 2011.34-2 root filesystem | 12:52 |
jussi | from http://tablets-dev.nokia.com/moslo.php | 12:52 |
faenil | I think you're following the single booting paragraph :) | 12:54 |
faenil | but the filename is the modded one I guess | 12:54 |
faenil | so either you did not get it from that website, or it has a different filename :D I guess the first | 12:54 |
jussi | Flash modified MOSLO to NAND. (You need to grab the original MOSLO binary from http://tablets-dev.nokia.com/moslo.php, in order to be able to flash.) | 12:54 |
jussi | sudo flasher -a moslo-rootfs-1.2011.34-2_RM680-OEM1-916_0.0.13-12.1.bin -L usr/share/moslo/moslo.img -f -R | 12:54 |
jussi | under the dual boot bit... | 12:55 |
faenil | ok yeah you're correct ;) | 12:56 |
faenil | I did not remember it also uses the original one | 12:56 |
jussi | so any ideas how to fix? reflash? | 12:56 |
faenil | check that you're using moslo-0.0.13.1-9.12.Nemo.Adaptation.N950.N9.armv7hl.rpm | 12:56 |
faenil | as modded moslo | 12:56 |
faenil | maybe you downloaded an old modded moslo someday, and now you're using the old one :) | 12:57 |
jussi | moslo-0.0.13.1-9.12.Nemo.Adaptation.N950.N9.armv7hl.rpm | 12:58 |
faenil | the repartitioning error should not happen on the latest version of the modded bootloader | 12:58 |
faenil | ok...then I don't know...try contacting marquiz_ | 12:58 |
faenil | in the meanwhile, try again ;) | 12:58 |
jussi | do I unplug or can I run the flash from the green screen? | 12:58 |
faenil | don't remember | 12:59 |
faenil | lunch, cya later | 12:59 |
Venemo | w00t, what do you think, what the hell is this? https://qt.gitorious.org/qt-components/qt-components/blobs/master/src/meego/feedbackplayer.cpp | 13:03 |
alterego | Venemo: just need to work out how to get arround a little problem and should be set :) | 13:03 |
Venemo | alterego, awesome, thank you :) | 13:03 |
*** rhkfin has left #nemomobile | 13:03 | |
alterego | Might need to patch mer-sdk-chroot script | 13:03 |
alterego | Actually, think I've got an idea. | 13:05 |
*** jonwil_ has joined #nemomobile | 13:07 | |
*** jonwil has quit IRC | 13:08 | |
*** jonwil_ is now known as jonwil | 13:08 | |
*** furikku has joined #nemomobile | 13:27 | |
Venemo | alterego :) | 13:29 |
the-boss | phaeron lbt sage stskeeps SR#5326 Accepted promotion request | 13:30 |
w00t | Venemo: how do you mean | 13:35 |
Venemo | w00t, what does that class do? | 13:36 |
w00t | talks to whatever provides haptic feedback on harmattan | 13:36 |
Venemo | mmhmm! | 13:37 |
Venemo | we don't need that, do we? | 13:39 |
w00t | well, it won't work anyway, as we don't have anything hooked in to provide haptics | 13:39 |
w00t | why? | 13:39 |
Venemo | just asking. | 13:42 |
qpx | if i install nemo on my n900, will i be able to import contacts from maemo? | 13:54 |
Stskeeps | qpx: i think there used to be a script for that | 13:54 |
faenil | w00t, remember this? https://bugs.nemomobile.org/show_bug.cgi?id=231 | 13:54 |
w00t | faenil: unfortunately ;) | 13:57 |
faenil | if I comment //snapMode: ListView.SnapOneItem | 13:57 |
faenil | it is fixed....which is a bit worrying | 13:57 |
qpx | Stskeeps: this one? http://wiki.meego.com/ARM/N900/DataManagement/ContactsImportScript | 13:58 |
Stskeeps | yes, think so | 13:58 |
qpx | ok, will try | 13:59 |
qpx | thanks | 13:59 |
faenil | w00t, because we need it :P | 13:59 |
w00t | faenil: need in what sense? | 13:59 |
faenil | that we want it to snap to one item :D | 14:00 |
w00t | well... yes :) | 14:01 |
w00t | so we need to find another solution | 14:02 |
*** DocScrutinizer05 has quit IRC | 14:03 | |
*** DocScrutinizer05 has joined #nemomobile | 14:03 | |
*** DocScrutinizer has quit IRC | 14:03 | |
*** DocScrutinizer has joined #nemomobile | 14:03 | |
* qpx booting nemo for the first time :) | 14:04 | |
faenil | w00t, or I can hack it to make what I want :D let's try | 14:06 |
w00t | qpx: don't boot it too hard :-) | 14:07 |
jussi | is there a different moslo I could try? | 14:07 |
*** priyan has quit IRC | 14:28 | |
*** phaeron has quit IRC | 14:28 | |
*** phaeron has joined #nemomobile | 14:29 | |
the-boss | phaeron lbt sage stskeeps SR#5330 waiting for review at https://build.pub.meego.com//request/show/5330 | 14:31 |
faenil | why should this return a ReferenceError: can't find variable lol ? http://pastebin.com/BaeTQ4tS | 14:33 |
faenil | my fault ;) it really made no sense :D | 14:36 |
*** k4rl has joined #nemomobile | 14:51 | |
faenil | w00t, how tall is the toolBar and the topBar?... | 14:57 |
*** arcean has quit IRC | 14:57 | |
*** arcean has joined #nemomobile | 14:58 | |
faenil | w00t, I don't know who's crappier, if me or components -.- | 15:01 |
*** nsuffys has quit IRC | 15:01 | |
*** nsuffys has joined #nemomobile | 15:01 | |
faenil | Venemo, you still there? | 15:02 |
Venemo | faenil, where? | 15:03 |
faenil | online :D | 15:03 |
faenil | could you please check one more thing? | 15:03 |
Venemo | sure | 15:03 |
faenil | open gallery, open a photo in landscape...do you see the top bar? or do you see black space on top? | 15:03 |
Venemo | the gallery is a big white empty rectangle for me | 15:05 |
faenil | oh you haven't updated packages... | 15:05 |
faenil | np then | 15:05 |
Venemo | I didn't dare | 15:05 |
Venemo | hm, this is very interesting. the shared pixmap actually contains both the landscape and the portrait status bars below each other. | 15:06 |
faenil | there we go!!! | 15:11 |
faenil | w00t, ^^^^ | 15:11 |
faenil | read what Venemo just said | 15:11 |
Venemo | what about it | 15:11 |
Venemo | I'm halfway to getting a status bar into lipstick :) | 15:12 |
faenil | it is related to another bug...I'm sure w00t already knows about that thing about the pixmap, but in case he didn't... :) | 15:12 |
Venemo | this is not a but | 15:12 |
Venemo | this is not a bug | 15:13 |
Venemo | it's supposed to work this way | 15:13 |
Venemo | before drawing it, MTF looks at what the current orientation is, and sets the source rectangle accordingly. | 15:13 |
faenil | Venemo, I'm not saying "that" is a bug, but it could be a relevant info to fix another bug | 15:14 |
Venemo | ah | 15:15 |
Venemo | which one? | 15:15 |
faenil | wait | 15:15 |
faenil | this one https://bugs.nemomobile.org/show_bug.cgi?id=84 | 15:15 |
Venemo | I think he already found a fix to that | 15:17 |
Venemo | or maybe that was something else | 15:18 |
faenil | a fix? when? | 15:19 |
Venemo | I think it involved editing some config file somewhere | 15:19 |
faenil | you mean tearing, that was fixed, yes, Stskeeps fixed that afaik | 15:21 |
Venemo | ah | 15:21 |
faenil | Venemo, follow the instructions in the bug report and you'll see what I mean | 15:21 |
Venemo | that was something different then | 15:21 |
Venemo | ok | 15:21 |
*** Estel_ has quit IRC | 15:29 | |
*** kallaballa has quit IRC | 15:34 | |
*** M4rtinK has joined #nemomobile | 15:34 | |
*** Estel_ has joined #nemomobile | 15:38 | |
Venemo | what more can meegotouchhome do that lipstick can't? | 15:40 |
*** kallaballa has joined #nemomobile | 15:40 | |
*** Estel_ has quit IRC | 15:57 | |
*** Estel_ has joined #nemomobile | 15:57 | |
* alterego tests qtcreator compile and deploy :) | 15:59 | |
faenil | alterego, :) | 16:00 |
alterego | IT WORKS! | 16:03 |
alterego | lol | 16:03 |
faenil | congrats :D | 16:03 |
alterego | But it doesn't execute as the correct user. | 16:04 |
alterego | And there's no DISPLAY environment variable set .. | 16:04 |
faenil | yeah you have to set it manually | 16:04 |
Venemo | phaeron, ping | 16:05 |
phaeron | pong | 16:08 |
Venemo | do you think there's anything that relies on meegotouchhome's dbus interface? | 16:08 |
phaeron | hmm maybe w00t , alterego or Aard can answer | 16:09 |
Venemo | w00t, alterego, Aard, can you? :) | 16:09 |
Stskeeps | alterego: look into the eat stuff we have | 16:10 |
alterego | Stskeeps: ? | 16:10 |
phaeron | Stskeeps: I think he | 16:10 |
phaeron | err | 16:10 |
phaeron | Stskeeps: he's deploying to sdk chroot , not device | 16:10 |
Stskeeps | phaeron: hmm, ok | 16:10 |
phaeron | so eat-device won't help | 16:10 |
Aard | what can I answer? | 16:11 |
alterego | Erm, I'm deploying on to device. | 16:11 |
alterego | I'm using qt-creator to build a project, deploy and run on device. | 16:11 |
alterego | If only there was a slightly less fiddly way. | 16:11 |
phaeron | alterego: device? then eat-device can help , install eat-device on .. device , and eat host on your system and use the ssh key | 16:12 |
Aard | alterego: oh, I usually throw the rpm onto the device, and ssh in | 16:12 |
phaeron | alterego: https://build.pub.meego.com/package/show?package=eat&project=Mer:Tools | 16:12 |
phaeron | Aard: Venemo was asking about MTF | 16:12 |
phaeron | err meegotouchhome | 16:12 |
alterego | Aard: that's what I've been doing, but I figure this is better :P | 16:13 |
alterego | For normaly developers | 16:13 |
Aard | phaeron: what exactly? | 16:13 |
Venemo | hi Aard | 16:13 |
Aard | alterego: talk with lbt, please, sdk work is on todo | 16:14 |
Venemo | Aard, I was curious whether or not there is anything that relies on meegotouchhome's dbus interface. | 16:14 |
Aard | Venemo: nothing I'm aware of right now. why? | 16:15 |
Aard | oh, wait, is notification stuff part of that? | 16:16 |
Venemo | Aard, I've been working on lipstick and I saw that some of that code is still in there. I wondered whether there is an actual need for it. :) | 16:16 |
Aard | Venemo: can you give me an overview of the apis? from jolla side right now I'd prefer leaving it in, most likely | 16:16 |
Venemo | Aard, I can only tell you what's in lipstick right now. not sure what else was in meegotouchhome. | 16:17 |
Venemo | Aard, basically it sends a notification when it's "ready". and there are two dbus calls "showLauncher" and "focusToLauncherApp" | 16:18 |
Venemo | I wouldn't delete either of them, just wondered what the purpose is | 16:18 |
Aard | Venemo: from jolla-side we want to make it easy for harmattan app developers to come to new platforms, so at least if the api is documented it should stay (and if it's not too much work/insane other documented apis implemented) | 16:21 |
Venemo | Aard, okay :) | 16:25 |
Venemo | Aard, does jolla intend to use lipstick? | 16:25 |
Aard | Venemo: can't comment | 16:25 |
*** udyant has joined #nemomobile | 16:25 | |
Venemo | Aard, okay, no problem | 16:26 |
Aard | but since we're using nemo it's nice to have different stuff with harmattan-compatible apis there, so that people can play around | 16:26 |
Venemo | agreed :) | 16:26 |
Aard | and of course it'd make it easier for us to consider using it at some point | 16:26 |
Venemo | agreed :) | 16:27 |
udyant | er | 16:31 |
Stskeeps | wb udyant | 16:33 |
*** mike7b4 has quit IRC | 16:43 | |
faenil | I'm getting tired of ListView...it behaves more or less randomly. | 16:43 |
special | faenil: are you working on the landscape bug in gallery? | 16:44 |
faenil | YES! | 16:44 |
faenil | :# | 16:44 |
special | okay | 16:45 |
special | the issue is that at rotation, the size of the ListView changes, and the size of its items change, and the snapping to one item kicks in somewhere between those and ends up changing the item | 16:45 |
special | contentX may need to be adjusted due to item size changes too | 16:46 |
faenil | special, that's what I'm trying to do | 16:46 |
faenil | I knew of this issue when I wrote the first version of the gallery back in january...but now I don't remember how to fix it easily anymore | 16:46 |
faenil | I only know it works without snapMode set | 16:47 |
special | if you disable snap, is the resulting X position correct? | 16:47 |
faenil | special, the visual result is correct, I don't know what goes on behind the sceens | 16:47 |
faenil | contentX seems to be reset when switching between orientations | 16:47 |
faenil | contentX is 0 for the first item when you open a random photo for the first time | 16:48 |
faenil | after you rotate the screen a few times, you go to photo number 0 and content X is like -5k | 16:48 |
faenil | ....-.- | 16:48 |
special | you could try connecting to Window.orientationChangeAboutToStart and orientationChangeFinished to disable snap mode while reorienting | 16:48 |
special | that would be the easiest solution, if it works. | 16:48 |
faenil | but you still get the first photo | 16:48 |
special | that is from a ListView optimization | 16:49 |
special | you can't really rely on contentX/contentY values making sense over time. | 16:49 |
faenil | yeah, noticed it...:( | 16:49 |
faenil | so how can I give it an acceptable value, if they play tricks behind the scenes... | 16:50 |
faenil | the current problem is when you rotate the screen it gets the correct contentX + 212 | 16:50 |
faenil | always that 212, so I was trying to guess where that could come from | 16:51 |
special | my guess would be the difference in horizontal and vertical resolution, if you subtract for the statusbar and toolbar. | 16:51 |
*** k4rl has quit IRC | 16:51 | |
faenil | could be | 16:52 |
faenil | that's why I asked for their sizes before :) | 16:52 |
special | I'm not sure I'm going to want to keep ListView on that page in the end | 16:52 |
faenil | what would you suggest | 16:53 |
special | I'm not sure yet. | 16:55 |
special | one option people often don't think of: a GridView with one row or one column is like a ListView with consistent item sizes. | 16:55 |
Venemo | what does libcontentaction do? | 16:55 |
special | (the variable item sizes are [part of] what make ListView so slow and unpredictable) | 16:56 |
faenil | why shouldn't they vary in the gridview? | 16:56 |
special | see GridView.cell{Height,Width} | 16:56 |
faenil | and why should they in the listview then? | 16:57 |
faenil | I'm missing a bit | 16:57 |
special | ListView uses the size of the delegate for each item; that's why contentX and contentY often don't make any sense, and contentHeight or contentWidth are just guesses. | 16:58 |
faenil | if you don't vary the size you won't be able to adapt it to the free space | 16:58 |
special | all items in a GridView take the same amount of space (in this case, you'd want the size of the page) | 16:59 |
special | ListView items can be of any size. | 16:59 |
*** bennypr0fane has joined #nemomobile | 16:59 | |
faenil | special, but in this case, delegate always have the same size, which is that of the listview... | 16:59 |
faenil | i.e. that of the Page | 17:00 |
w00t | ListView doesn't know that | 17:00 |
special | they do, but ListView won't create a delegate for every item before the current item in order to figure out their size. | 17:00 |
w00t | ^ | 17:00 |
special | in a GridView, the contentX position of an item in column C is: X = cellWidth * C. That simple. | 17:01 |
faenil | special, I thought ListView was working like that...delegate.width * index | 17:02 |
faenil | then could you guys elaborate more on why it doesn't work like that? | 17:02 |
special | faenil: not possible unless all delegates are required to have the same width | 17:03 |
special | they aren't. | 17:03 |
faenil | special, ohhhh | 17:03 |
faenil | ok of course! | 17:03 |
faenil | then why aren't we using a GridView!! :D | 17:03 |
* faenil tries | 17:03 | |
faenil | special, but anyway, this must be a bug in ListView's implementation...I mean, it was supposed to work like it is, wasn't it? | 17:04 |
faenil | there's no point in providing SnapOneItem if it doesn't work as intended when it's put inside something that automatically handles rotation | 17:06 |
*** kallaballa has quit IRC | 17:08 | |
special | SnapOneItem was intended to snap user scrolling | 17:08 |
special | things get complicated when changing the size of the view and the size of items (which happens for each item individually), especially if those two don't happen at exactly the same time. | 17:09 |
*** mike7b4 has joined #nemomobile | 17:09 | |
special | (which I suspect is the case) | 17:09 |
faenil | it's a very common use case... | 17:11 |
faenil | essentially every listview in every app will have to handle rotations like in our case... | 17:11 |
Venemo | faenil, let me know if you find a solution :) | 17:12 |
Aard | alterego: *slap* | 17:13 |
alterego | What? | 17:16 |
alterego | I mean .. Now what?! :P | 17:16 |
bennypr0fane | Hello, I installed Nemo on an sdcard to use with N900. I used to boot fine, but now it doesn't. I run CSSU Testing on N900 which was recently changed to be compatible with Thumb2, but that's all the change I've made to it... How can I diagnose this? | 17:16 |
alterego | Oh, dialer, right. | 17:16 |
* alterego creates .changes file and submits SR | 17:16 | |
alterego | Venemo & faenil https://wiki.merproject.org/wiki/User:Tswindell/Qt_Creator_And_Mer_Integration | 17:17 |
Venemo | alterego, awesome, thanks | 17:18 |
faenil | :) | 17:18 |
alterego | One thing I forgot to mention, you'll need an updated mer-sdk-chroot script from here: https://github.com/tswindell/sdk-kickstarter-configs | 17:18 |
faenil | I am for cmd build :D | 17:19 |
alterego | It's WIP which is why it hasn't been succesfully pushed into the mainline mer scripts. | 17:19 |
faenil | sure ;) | 17:19 |
alterego | Need to sort out a few issues with it, but it works now if you guys want to test Qt Creator with Mer SDK :) | 17:19 |
alterego | And I need to write the "deployment & running on device" section | 17:20 |
faenil | :) | 17:24 |
faenil | special, done :D | 17:24 |
*** lofty306 has joined #nemomobile | 17:26 | |
faenil | special, some graphics glitch due to missing resizeAnimation, but it works great :) | 17:26 |
*** lofty306 has left #nemomobile | 17:27 | |
special | good | 17:36 |
faenil | special, unfortunately I'm wrong, it worked the first time only | 17:38 |
*** M4rtinK has quit IRC | 17:45 | |
faenil | ffs | 17:50 |
special | faenil: it's fine to set that aside if the views won't cooperate | 17:51 |
special | I have considered not using a view at all, because of some little UI things I might want. | 17:51 |
faenil | I don't surrender :) | 17:53 |
the-boss | phaeron lbt sage stskeeps SR#5334 waiting for review at https://build.pub.meego.com//request/show/5334 | 17:54 |
the-boss | phaeron lbt sage stskeeps SR#5334 Rejected promotion request | 17:54 |
the-boss | phaeron lbt sage stskeeps SR#5333 waiting for review at https://build.pub.meego.com//request/show/5333 | 17:54 |
*** bennypr0fane has left #nemomobile | 17:54 | |
faenil | special, mmm screen.displayWidth prints 854... | 17:58 |
alterego | faenil: that's correct, it is :) | 17:58 |
alterego | faenil: using the current orientation to modify your own variables | 17:59 |
faenil | alterego, sorry? | 17:59 |
faenil | so are measures taken from landscape mode? | 18:00 |
the-boss | phaeron lbt sage stskeeps SR#5332 waiting for review at https://build.pub.meego.com//request/show/5332 | 18:00 |
the-boss | phaeron lbt sage stskeeps SR#5335 waiting for review at https://build.pub.meego.com//request/show/5335 | 18:02 |
faenil | setting correct contentX in the onOrientationChanged doesn't work either, it gets overwritten | 18:04 |
special | any solution like that will probably have unacceptable movement during the rotation anyway | 18:04 |
faenil | now it's not listview...wth is going on | 18:05 |
*** grammoboy has joined #nemomobile | 18:08 | |
the-boss | phaeron lbt sage stskeeps SR#5335 Rejected promotion request | 18:08 |
the-boss | phaeron lbt sage stskeeps SR#5333 Rejected promotion request | 18:09 |
grammoboy | hi, how does nemo compare to maemo for an n900? | 18:09 |
faenil | nemo isn't ready for daily usage | 18:10 |
grammoboy | ok | 18:11 |
* alterego waits patiently for SR review .. | 18:14 | |
* alterego twitches | 18:14 | |
Venemo | alterego, is your stuff ready to be tried? | 18:14 |
the-boss | phaeron lbt sage stskeeps SR#5337 waiting for review at https://build.pub.meego.com//request/show/5337 | 18:15 |
alterego | Hopefully, it's going in to Nemo as we speak :P | 18:15 |
the-boss | phaeron lbt sage stskeeps SR#5336 waiting for review at https://build.pub.meego.com//request/show/5336 | 18:16 |
alterego | Or are you talking about the qt creator stuff? | 18:16 |
Venemo | alterego, I'm talking about the Qt Creator stuff, yes | 18:17 |
alterego | Oh, sure you can test it :) | 18:17 |
alterego | I'd appreciate the testing :P | 18:18 |
alterego | Venemo: please do go through the instructions and let me know if you find it hard to read/follow etc. | 18:20 |
alterego | And I'll improve it :) | 18:20 |
the-boss | phaeron lbt sage stskeeps SR#5339 Rejected promotion request | 18:21 |
the-boss | phaeron lbt sage stskeeps SR#5239 Accepted promotion request | 18:22 |
special | http://imgur.com/a/GV1Tc I'm calling this the first functional release of QML messages :) | 18:23 |
Venemo | alterego, Qt Creator doesn't accept the script as qmake | 18:23 |
faenil | special, great! :) | 18:24 |
Venemo | ah, sorry, probably a permission issue | 18:24 |
alterego | Venemo: have you installed the mer-sdk-chroot script from here: https://github.com/tswindell/sdk-kickstarter-configs? | 18:24 |
alterego | You need to update that script in your sdk root dir | 18:24 |
Venemo | I haven't | 18:24 |
Venemo | ok | 18:25 |
faenil | special, currentIndex changes when rotating the view, that's the problem | 18:25 |
special | currentIndex changes because you're using snap mode and contentX/contentY change, because the size of the view and the size of the items both change, possibly at different times | 18:26 |
faenil | man but that's the only thing that can happen! | 18:26 |
alterego | Also, make sure the "sdkroot" variable in those scripts is set to your SDKs root directory. | 18:26 |
faenil | how are GridView and ListView supposed to work with rotation changes? | 18:27 |
special | carefully. | 18:27 |
faenil | special, nothing against you ;) | 18:27 |
special | this is not a normal usage of them, really | 18:27 |
faenil | I agree about the GridView, but this is something the ListView should handle... | 18:27 |
Venemo | alterego, also, what should I set as sdkroot? | 18:28 |
Venemo | I think I figured out, nevermind | 18:29 |
Venemo | alterego, qt creator says "Could not determine the path to the binaries of the Qt installation, maybe the qmake path is wrong?" | 18:33 |
Aard | special: how are you doing the history stuff? account setup? | 18:33 |
special | Aard: no history yet beyond the current session; I'm going to look at libcommhistory for that at some point | 18:34 |
special | Aard: account setup is out of scope of this application, for testing I did it with mc-tool. | 18:34 |
Aard | special: did it work with the telepathy-stack as is, or did it need kicking? | 18:34 |
special | as-is, as long as you like jabber | 18:35 |
special | https://github.com/nemomobile/qmlmessages | 18:35 |
Aard | :) | 18:35 |
Aard | do you have rpms/what about putting a first version into nemo? | 18:35 |
special | w00t kindly volunteered for that :p | 18:36 |
alterego | Venemo: can you do: /opt/sdks/mer/scripts/qmake -query | 18:36 |
special | should be in nemo shortly | 18:37 |
Sage | Aard: will review it when it comes ;) | 18:37 |
Aard | special: cool. looks nice so far :) | 18:37 |
faenil | it does :) | 18:37 |
alterego | I still wonder whether we should be imitating Harmattan Look & Feel so much. | 18:38 |
special | thanks | 18:38 |
Aard | alterego: the bubbles? about every messaging application on a modern phone out there | 18:38 |
* Sage would like IRC style ;) | 18:38 | |
Venemo | alterego, yep, here are the results: http://www.fpaste.org/PIdb/ | 18:38 |
Venemo | alterego, perhaps the problem is that the returned stuff contains /parentroot which doesn't exist outside the chroot? | 18:39 |
*** jonwil has quit IRC | 18:39 | |
alterego | YEs | 18:40 |
alterego | Venemo: yes, that's right. Hang on, I'll update the scripts :) | 18:40 |
Venemo | alterego, thx :) | 18:41 |
Venemo | alterego, have you also thought of making a fake g++ script? then we could add it as a tool chain | 18:42 |
alterego | It's not needed. | 18:43 |
alterego | Not for this level of integration | 18:43 |
Venemo | ok | 18:45 |
alterego | Venemo: updated the scripts, give 'em a go now. | 18:46 |
Venemo | alterego, the output of -query seems to be okay, but Qt Creator still complains with the same error message | 18:49 |
alterego | Have you removed and readded the target? Or restarted qt-creator after changing those scripts? | 18:49 |
Venemo | I tried both | 18:50 |
Venemo | alterego, http://www.fpaste.org/9ZhU/ | 18:52 |
Venemo | alterego, what is "sh: line 0: cd: /srv/mer/scripts: No such file or directory" | 18:52 |
alterego | Good question | 18:52 |
Venemo | also, the frist two errors could be an issue too | 18:53 |
alterego | If you do ./qmake -query 2> /dev/null | 18:53 |
alterego | Do those errors disappear? | 18:53 |
Venemo | indeed | 18:54 |
alterego | Well, wouldn't worry about those errors | 18:55 |
Venemo | still, something is not okay | 18:56 |
alterego | I guess I'll have to make an sdk setup like yours and see if I can figure it out ;) | 18:56 |
Venemo | well, I just use the default directories | 18:57 |
Venemo | as suggested in the sdk wiki article | 18:57 |
*** arcean_ has joined #nemomobile | 18:58 | |
alterego | yeah | 18:58 |
alterego | yah, silly directories | 18:59 |
alterego | Well, it's getting late I'll try to set it up how you've done it tomorrow and see what's wrong | 18:59 |
*** arcean has quit IRC | 19:01 | |
Venemo | all right alterego, thanks | 19:01 |
Venemo | are you sure qt creator would properly deal with those errors? | 19:01 |
Venemo | could we use that 2> /dev/null inside the script? | 19:01 |
alterego | yeah, because I get the cd error and it only reads stdout not err | 19:02 |
alterego | where is you qt sdk installed? | 19:03 |
Venemo | the default, ~/QtSDK/ | 19:04 |
*** Siosm has joined #nemomobile | 19:05 | |
alterego | Oh I know .. | 19:05 |
alterego | It's /etc/sudoers | 19:05 |
Venemo | what about it? | 19:06 |
alterego | You need to add a line like this: tswindell ALL=(ALL)NOPASSWD:/opt/sdks/mer/mer-sdk-chroot | 19:06 |
alterego | You need to be able to run mer-sdk-chroot without entering a password ;) | 19:07 |
Venemo | it currently is: | 19:07 |
Venemo | Timur ALL=(ALL) NOPASSWD:ALL | 19:07 |
Venemo | isn't that enough? | 19:07 |
Venemo | I can sudo all I want | 19:08 |
alterego | Oh, hrm. | 19:08 |
alterego | I guess that isn't it then ;) | 19:08 |
the-boss | phaeron lbt sage stskeeps SR#5341 waiting for review at https://build.pub.meego.com//request/show/5341 | 19:10 |
the-boss | phaeron lbt sage stskeeps SR#5336 Accepted promotion request | 19:11 |
*** furikku has quit IRC | 19:13 | |
the-boss | phaeron lbt sage stskeeps SR#5332 Rejected promotion request | 19:14 |
*** Siosm has quit IRC | 19:16 | |
the-boss | phaeron lbt sage stskeeps SR#5337 Accepted promotion request | 19:18 |
the-boss | phaeron lbt sage stskeeps SR#5341 Accepted promotion request | 19:19 |
*** Sazpaimon_ has joined #nemomobile | 19:21 | |
*** Sazpaimon has quit IRC | 19:21 | |
Venemo | can someone tell me what a ContextProperty is? | 19:23 |
Venemo | I see it's related to contextkit | 19:30 |
Venemo | what is contextkit? | 19:30 |
alterego | It's like a publish/subscribe framework for monitoring various dynamic properties of the system, like device orientation, battery levels, blah, blah :) | 19:38 |
alterego | It's an abstraction on top of dbus and gconf on meego, and other stuff on symbian, but the interface is supposed to be the same for all devices. | 19:39 |
alterego | But it's a pita :) | 19:39 |
Venemo | alterego, should I use contextkit for lipstick's orientation, or should I rather use Qt Mobility's orientation sensor? | 19:41 |
lpotter | do you want gui or device orientation? | 19:41 |
alterego | Hmm | 19:41 |
alterego | Probab | 19:42 |
alterego | qt mobility please :) | 19:42 |
Venemo | lpotter, I'd like to adjust the gui according to device orientation. | 19:42 |
Venemo | alterego, why? :) | 19:43 |
Venemo | I'm just curious | 19:45 |
alterego | less dependency on system strangeness. context kit doesn't really work and keeps breaking | 19:45 |
Venemo | ok, makes sense | 19:45 |
*** KaIRC has joined #nemomobile | 19:46 | |
*** tanghus has quit IRC | 19:47 | |
*** tanghus has joined #nemomobile | 19:55 | |
*** Jade has joined #nemomobile | 19:58 | |
*** grammoboy has left #nemomobile | 20:01 | |
*** nsuffys has quit IRC | 20:04 | |
*** arcean_ is now known as arcean | 20:20 | |
*** Sazpaimon_ has quit IRC | 20:22 | |
*** Sazpaimon has joined #nemomobile | 20:25 | |
Venemo | faenil, are you still awake? | 20:33 |
faenil | Venemo, sure | 20:38 |
Venemo | faenil, what was the solution to that evil listview? | 20:40 |
faenil | no solution | 20:41 |
Venemo | srsly? :O | 20:41 |
faenil | I'm starting to think it just can't be done with GridView and ListView | 20:41 |
Venemo | I'm also implementing orientation support | 20:41 |
faenil | has anyone ever done such thing with List or GridView? if so, please answer. | 20:41 |
Venemo | and I'm also doing paging with a ListView | 20:41 |
faenil | I thought List or GridView would have offered support for orientation...but it seems they don't. special says they're not made for that, and I'm about to start doing it from scratch | 20:43 |
Venemo | but wtf? I progmatically change the width/height of both the ListView and its items. | 20:44 |
Venemo | why doesn't it work? | 20:45 |
faenil | you mean in my case? | 20:45 |
Venemo | no, in my case | 20:45 |
faenil | oh...well, can't help :D | 20:45 |
Venemo | also, is there a way to make it switch to the first page after reaching the last? | 20:46 |
Venemo | so, make it cycle, so to speak | 20:46 |
faenil | yeah, don't know haven't thought about that | 20:46 |
Venemo | anyway, it is obviously not up to the task. | 20:47 |
faenil | so it seems | 20:48 |
Venemo | hm, I take it back | 20:52 |
Venemo | it works correctly | 20:52 |
Venemo | the error is in the components inside, not the ListView. | 20:52 |
Venemo | at least, in my case | 20:52 |
Venemo | it works with rectangles. | 20:52 |
faenil | let me know if you get it to work for the same things I need it to ;) | 20:55 |
Venemo | I'll show you the code when I'm done | 20:56 |
faenil | is it working for the things I need? | 20:58 |
faenil | you select an item, you rotate, rotate back, the same item is shown? | 20:58 |
Venemo | I'm not sure what you need specifically, but I would guess yes | 20:58 |
Venemo | indeed | 20:58 |
the-boss | phaeron lbt sage stskeeps SR#5342 Rejected promotion request | 21:03 |
faenil | I also tried with simple rectangles as delegate, so that's not the issue | 21:03 |
faenil | the only way it works is by setting a fixed width and height for the delegate, and changing cellWidth/height dynamically... | 21:04 |
Venemo | faenil, this is how it is for me now: http://fpaste.org/U1DO/ | 21:05 |
faenil | what's desktop | 21:06 |
faenil | ok found | 21:06 |
faenil | but in your case there is no Page, you're using manual orientation handling | 21:07 |
Venemo | yes indeed. | 21:07 |
Venemo | you can react to a Page's orientation change too | 21:08 |
faenil | I'm reacting to screen.onOrientationChanges | 21:08 |
faenil | Changed | 21:08 |
Venemo | give it a break, I'll take a look at your code tomorrow | 21:10 |
faenil | Venemo, I have to use delegates... | 21:11 |
the-boss | phaeron lbt sage stskeeps SR#5343 waiting for review at https://build.pub.meego.com//request/show/5343 | 21:11 |
Venemo | mhm | 21:11 |
faenil | when does your initialSize change? | 21:13 |
faenil | it doesn't as I see | 21:13 |
Venemo | initialSize never changes, it is the initial size | 21:15 |
faenil | yes seen that ;) | 21:17 |
*** noch has quit IRC | 21:18 | |
Venemo | it is set as a context property | 21:19 |
Venemo | but anyway, now that I switched back to my actual items, it indeed loses the selected one after two rotations | 21:19 |
faenil | ehehe | 21:20 |
Venemo | hmm! | 21:32 |
Venemo | faenil, not funny at all | 21:32 |
faenil | Venemo, I feel you mate... | 21:33 |
Venemo | ok | 21:34 |
Venemo | problem solved | 21:34 |
Venemo | before rotation | 21:35 |
Venemo | previousIndex = Math.round(dashboard.contentX / dashboard.width); | 21:35 |
Venemo | after rotation | 21:35 |
Venemo | dashboard.contentX = previousIndex * dashboard.width; | 21:35 |
faenil | eheheh | 21:36 |
Venemo | what? it works. | 21:36 |
faenil | nothing :) glad it does | 21:36 |
Venemo | you're welcome :P | 21:39 |
*** NIN101 has quit IRC | 21:40 | |
faenil | Venemo, I haven't used that method in my case yet, because I think that change of index is visible | 21:41 |
Venemo | what do you mean? | 21:41 |
faenil | that index is changed more times | 21:42 |
faenil | so I think you see it changing on screen | 21:42 |
faenil | you see items flickering | 21:42 |
Venemo | not really | 21:43 |
faenil | Venemo, I will try now ;) | 21:44 |
Venemo | faenil, let me know | 21:46 |
*** Estel_ is now known as fsdf | 21:55 | |
*** fsdf is now known as Estel_ | 21:55 | |
faenil | I'd need a Window...but my page is dynamically allocated... | 22:01 |
*** himamura has quit IRC | 22:03 | |
Venemo | mhm | 22:07 |
Venemo | anyway. I'm gonna sleep | 22:07 |
faenil | Venemo, cya tomorrow ;) | 22:08 |
*** Venemo has quit IRC | 22:09 | |
the-boss | phaeron lbt sage stskeeps SR#5343 Accepted promotion request | 22:15 |
*** rcg has quit IRC | 22:47 | |
*** beford has quit IRC | 23:02 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!