*** kraft has quit IRC | 00:00 | |
*** infobot has quit IRC | 00:02 | |
*** Darkchaos has joined #maemo | 00:02 | |
*** ArGGu^^ has quit IRC | 00:02 | |
*** rlinfati has quit IRC | 00:03 | |
*** Guest42465 has quit IRC | 00:05 | |
*** Guest42465 has joined #maemo | 00:05 | |
*** Guest42465 is now known as MrOpposite | 00:05 | |
*** kraft has joined #maemo | 00:06 | |
*** Muelli has quit IRC | 00:07 | |
*** ArGGu^^ has joined #maemo | 00:08 | |
*** heroux has quit IRC | 00:10 | |
*** leochencipher has quit IRC | 00:10 | |
*** heroux has joined #maemo | 00:12 | |
*** leochencipher has joined #maemo | 00:12 | |
*** tanty has quit IRC | 00:13 | |
*** Pali has quit IRC | 00:13 | |
*** heroux has quit IRC | 00:16 | |
*** leochencipher has quit IRC | 00:18 | |
*** jluisn has quit IRC | 00:19 | |
Estel_ | chem|st, ping | 00:20 |
---|---|---|
Estel_ | in mood for some infraction points? | 00:20 |
Estel_ | <rlinfati> [16:15] https://gr37Bcvd:dfe52Ydf@downloads.maemo.nokia.com/unreleased/fremantle/apps/adobe-flashplayer-10-1_4.0.0-45+1divert2.deb - flash 10 for fremantle ( the same of harmattan ) , can be included in cssu ? | 00:20 |
Estel_ | oh | 00:20 |
*** valerius has joined #maemo | 00:20 | |
Estel_ | fuck copy and paste | 00:20 |
Estel_ | xsorry, it's some scam, I mean: | 00:21 |
Estel_ | http://talk.maemo.org/showpost.php?p=1228753&postcount=201 | 00:21 |
Estel_ | chem|st^^^ | 00:21 |
*** kerio92 has joined #maemo | 00:22 | |
*** kraft has quit IRC | 00:22 | |
*** kerio92 has joined #maemo | 00:23 | |
*** kerio has quit IRC | 00:24 | |
*** kerio92 is now known as kerio | 00:24 | |
*** kraft has joined #maemo | 00:25 | |
*** Darkchaos has quit IRC | 00:26 | |
*** valeriusN has left #maemo | 00:28 | |
*** valeriusN has joined #maemo | 00:28 | |
*** zeq1 has quit IRC | 00:33 | |
*** kraft has quit IRC | 00:34 | |
*** heroux has joined #maemo | 00:38 | |
*** trbs has quit IRC | 00:46 | |
*** _nicolai_ has quit IRC | 00:48 | |
*** _nicolai_ has joined #maemo | 00:49 | |
*** _nicolai_ has quit IRC | 00:50 | |
*** perlite_ has joined #maemo | 00:51 | |
*** _nicolai_ has joined #maemo | 00:51 | |
*** perlite has quit IRC | 00:52 | |
*** perlite_ is now known as perlite | 00:52 | |
*** kraft has joined #maemo | 00:52 | |
*** _nicolai_ has quit IRC | 00:54 | |
*** konelix has quit IRC | 00:55 | |
*** konelix has joined #maemo | 00:56 | |
ShadowJK | DocScrutinizer; sorry about what? It's very likely if it was sent insured or parcel or whatever I'd have to go to grocerystore/post too :P | 00:57 |
*** _nicolai_ has joined #maemo | 00:57 | |
Estel_ | ShadowJK, do you live in Australia centralland, with next post office being 100 miles away? | 00:58 |
ShadowJK | no | 00:59 |
skope | does turning only 2G on reduce battery usage much in n900? | 00:59 |
Estel_ | sometimes, I wonder how they handle avizo's there | 00:59 |
Estel_ | skope, not much. It depends on network coverage | 00:59 |
Estel_ | poor signal of either 3G and 2G kills battery | 00:59 |
skope | i changed only 2G and i think battery lasts longer | 00:59 |
skope | but it might be placebo | 00:59 |
*** konelix has quit IRC | 01:00 | |
Estel_ | might be, I also use 2G only, except for when 3G is needed | 01:00 |
ShadowJK | Although any sort of IM, and IRC, and you'll see 16+ h life on 2g and 4h on 3g :P | 01:00 |
skope | i've had it unplugged like 12 hours now and almost full battery | 01:00 |
Estel_ | anyway, I've tested it, and it don't show different battery life, most of the times | 01:00 |
*** konelix has joined #maemo | 01:00 | |
skope | okay | 01:00 |
Estel_ | ShadowJK, of course | 01:00 |
RiD | [22:59] <hairlessmangina> all the women i've been with preffered it hairless | 01:00 |
Estel_ | i'm talking about idle | 01:00 |
RiD | sh.t sorry wrong channel | 01:01 |
Estel_ | no, seriously? | 01:01 |
skope | RiD: haha | 01:01 |
ShadowJK | Yeah I just tested 3g idle actually, got 4 days | 01:01 |
Estel_ | You should put it in middle of CA results discussion | 01:01 |
*** NMJNB is now known as nmjnb | 01:01 | |
*** _federico3 has quit IRC | 01:01 | |
ShadowJK | almost-idle anyway, running charge*.sh instead of bme | 01:02 |
Estel_ | in your use case, You have charge.sh run all the time in background? | 01:02 |
Estel_ | not only when needed? | 01:02 |
Estel_ | well, it's about 20 mAh wasted every hour, so it's definitely more than 3G idle | 01:03 |
Estel_ | i.e. without anything I have 7-8 mA power draw when idle | 01:03 |
Estel_ | and with bq27200.sh running in loop, or charge sh, I have 25-27 | 01:03 |
Estel_ | mA | 01:03 |
Estel_ | power draw | 01:03 |
ShadowJK | i think it was showing 6ma most of the time | 01:04 |
SpeedEvil | That seems high. | 01:04 |
*** OkropNick has quit IRC | 01:04 | |
SpeedEvil | Is that through screen, disconnected? | 01:04 |
Estel_ | hm, or was it bq27200.sh only? | 01:04 |
ShadowJK | well with 5 sec interval it could be | 01:04 |
*** utanapischti has quit IRC | 01:04 | |
Estel_ | yea | 01:04 |
skope | so, what's the deal about that xxx_battery kernel module? | 01:04 |
*** utanapischti has joined #maemo | 01:04 | |
skope | read it, but didn't quite got it | 01:04 |
Estel_ | skope, nothing now, but Pali is working hard to bring it as proper bme replacement (not only Pali) | 01:04 |
ShadowJK | though the charge.sh that I use goes to 15s after unplugging charger, iirc | 01:04 |
Estel_ | I see | 01:05 |
ShadowJK | which gives significantly better C4 times | 01:05 |
*** RiD is now known as no-hair-on-anus | 01:05 | |
*** M4rtinK has quit IRC | 01:05 | |
*** no-hair-on-anus is now known as hairymangina | 01:05 | |
ShadowJK | And yeah, I typically run charge*sh continously so I can just plug in whatever whenever to charge | 01:05 |
Estel_ | sounds cool. | 01:06 |
*** hairymangina is now known as RiD | 01:06 | |
Estel_ | well, we have only few minor things left, until proper bmke replacement could be introduced | 01:06 |
* ShadowJK has about 6 different things updating in screen in xterm | 01:06 | |
Estel_ | s/bmke/bme/ | 01:06 |
ShadowJK | usually either charge or bq is up | 01:06 |
ShadowJK | bq, charge, root, data transfer minute by minute, wifi rate/quality/signal/noise/snr | 01:07 |
*** ChikuLinu__ has joined #maemo | 01:08 | |
*** Chiku|dc has quit IRC | 01:09 | |
RiD | http://www.craigslist.org/about/best/lax/35274458.html - interesting read | 01:13 |
*** atlas has quit IRC | 01:17 | |
*** dos1 has quit IRC | 01:20 | |
*** ALoGeNo has joined #maemo | 01:23 | |
*** ALoGeNo has joined #maemo | 01:23 | |
*** dos1 has joined #maemo | 01:23 | |
ShadowJK | ... wrong channel again? | 01:24 |
*** florian has quit IRC | 01:25 | |
trx | lol | 01:28 |
RiD | nope | 01:30 |
RiD | it's very interesting | 01:30 |
rzr | RiD, I learnt lot of vocabulary in it | 01:34 |
*** setanta has quit IRC | 01:35 | |
*** dhbiker has quit IRC | 01:37 | |
*** jrocha has quit IRC | 01:38 | |
*** totalizator has quit IRC | 01:39 | |
*** rm_work has quit IRC | 01:47 | |
*** vi__ has joined #maemo | 01:48 | |
*** andre__ has quit IRC | 01:51 | |
*** chenca has quit IRC | 01:54 | |
*** vi__ has quit IRC | 01:58 | |
*** RiD has quit IRC | 01:59 | |
*** eijk_ has quit IRC | 02:02 | |
*** M4rtinK has joined #maemo | 02:03 | |
*** lardman has quit IRC | 02:03 | |
*** lardman has joined #maemo | 02:03 | |
*** _nicolai_ has quit IRC | 02:07 | |
*** konelix has quit IRC | 02:10 | |
*** konelix has joined #maemo | 02:11 | |
Viltzu | zeq: How is the gcc 4.6+ howto going? ;D | 02:15 |
*** hurbu has quit IRC | 02:28 | |
*** dos1 has quit IRC | 02:30 | |
*** SmilybOrg has joined #maemo | 02:31 | |
*** SmilybOrg is now known as Guest39140 | 02:31 | |
*** rzr is now known as rZr | 02:33 | |
*** SmilyOrg has quit IRC | 02:35 | |
*** jhb has quit IRC | 02:38 | |
*** hurbu has joined #maemo | 02:41 | |
*** ekze has quit IRC | 02:45 | |
*** ekze has joined #maemo | 02:46 | |
*** PeterWolf has joined #maemo | 02:51 | |
*** Atarii has quit IRC | 02:52 | |
*** luke-jr has quit IRC | 02:59 | |
*** luke-jr has joined #maemo | 02:59 | |
*** uen| has joined #maemo | 03:02 | |
*** otep has quit IRC | 03:02 | |
*** otep has joined #maemo | 03:04 | |
*** uen has quit IRC | 03:05 | |
*** thomas has quit IRC | 03:09 | |
*** vblazquez has quit IRC | 03:17 | |
*** vblazquez has joined #maemo | 03:19 | |
*** Saviq_ has joined #maemo | 03:31 | |
*** internetishard has joined #maemo | 03:39 | |
internetishard | can you switch your sim between an n900 and an iphone? | 03:39 |
nox- | doesnt iphone take microsim? | 03:42 |
ZogG_lap1op | internetishard: if you have dual sim or you cutted your sim by yourself than you can "puzle" it to iriginal size | 03:45 |
ZogG_lap1op | n9 has microsim | 03:45 |
internetishard | So, can I can put my n900 sim in an iphone 3gs, and just have it work? | 03:48 |
nox- | no n900 doesnt have microsim | 03:54 |
*** vblazquez has quit IRC | 03:55 | |
*** githogori has quit IRC | 03:55 | |
internetishard | nox-: that mean I'm gonna have to pay T-mo more, even if I don't want to use them at the same time...? | 03:57 |
*** joga has quit IRC | 04:03 | |
SpeedEvil | Unless you cut the SIM, and use an adaptor in the n900 | 04:03 |
*** joga has joined #maemo | 04:06 | |
ZogG_lap1op | internetishard: if you cut it with the sim cutter you can kinda put it inside the part you cut it from | 04:18 |
ZogG_lap1op | so you can enlarge it like it's promissed in the spam msgs | 04:18 |
*** konelix has quit IRC | 04:21 | |
internetishard | sounds a little dangerous, like I should have a backup sim for phone calls before I do it... | 04:23 |
ZogG_lap1op | hmm if you have iphone you would be able to call | 04:27 |
ZogG_lap1op | internetishard: i cut mine myself with knife and friends sim as an example | 04:27 |
*** Saviq_ has quit IRC | 04:27 | |
ZogG_lap1op | internetishard: ut watch this http://www.youtube.com/watch?v=lXiqclOVwmY&feature=related | 04:28 |
*** M4rtinK has quit IRC | 04:28 | |
*** kwtm2 has joined #maemo | 04:30 | |
*** kwtm has quit IRC | 04:30 | |
*** M4rtinK has joined #maemo | 04:31 | |
*** brzys has quit IRC | 04:32 | |
*** nox- has quit IRC | 04:40 | |
*** robbiethe1st has joined #maemo | 04:40 | |
*** Ian-- has joined #maemo | 04:42 | |
*** Wolli_ has joined #maemo | 04:43 | |
*** TriztAway has joined #maemo | 04:43 | |
*** fortytwo_ has joined #maemo | 04:43 | |
*** guly_ has joined #maemo | 04:45 | |
*** pronto_ has joined #maemo | 04:45 | |
*** fortytwo has quit IRC | 04:45 | |
*** mk8 has quit IRC | 04:45 | |
*** rZr has quit IRC | 04:45 | |
*** Wolli has quit IRC | 04:45 | |
*** M4rtinK has quit IRC | 04:45 | |
*** heroux has quit IRC | 04:45 | |
*** Ian--- has quit IRC | 04:45 | |
*** Trizt has quit IRC | 04:45 | |
*** mavhc has quit IRC | 04:45 | |
*** ludens has quit IRC | 04:45 | |
*** pronto has quit IRC | 04:45 | |
*** guly has quit IRC | 04:45 | |
*** r00t|home has quit IRC | 04:45 | |
*** mva has quit IRC | 04:45 | |
*** fortytwo_ is now known as fortytwo | 04:46 | |
*** heroux_ has joined #maemo | 04:46 | |
*** r00t|home has joined #maemo | 04:46 | |
*** M4rtinK has joined #maemo | 04:46 | |
*** ludens has joined #maemo | 04:47 | |
*** mavhc has joined #maemo | 04:48 | |
*** pronto_ is now known as pronto | 04:55 | |
*** kwtm2 has quit IRC | 04:57 | |
*** M4rtinK has quit IRC | 04:57 | |
*** radic has quit IRC | 05:08 | |
*** radic_ has joined #maemo | 05:08 | |
*** radic_ is now known as radic | 05:09 | |
*** FIQ|n900 has quit IRC | 05:10 | |
*** kwtm2 has joined #maemo | 05:10 | |
*** kwtm2 has quit IRC | 05:13 | |
*** kwtm2 has joined #maemo | 05:14 | |
*** kwtm2 has quit IRC | 05:19 | |
*** rm_you has joined #maemo | 05:24 | |
*** valerius has quit IRC | 05:46 | |
*** valerius has joined #maemo | 05:54 | |
*** dockane has quit IRC | 06:03 | |
*** dockane has joined #maemo | 06:05 | |
*** mvp_ has quit IRC | 06:08 | |
*** Estel_ has quit IRC | 06:30 | |
*** ferdna has joined #maemo | 06:30 | |
*** infobot has joined #maemo | 06:32 | |
infobot | DocScrutinizer: infobot joined! | 06:32 |
*** ChanServ sets mode: +v infobot | 06:32 | |
*** rZr has joined #maemo | 06:33 | |
*** kimitake_idle has quit IRC | 06:33 | |
*** kimitake has joined #maemo | 06:35 | |
*** infobot has quit IRC | 06:38 | |
*** Estel_ has joined #maemo | 06:39 | |
*** infobot has joined #maemo | 07:11 | |
*** valdyn has quit IRC | 07:13 | |
*** infobot has quit IRC | 07:14 | |
*** infobot has joined #maemo | 07:15 | |
*** infobot has quit IRC | 07:21 | |
*** infobot has joined #maemo | 07:23 | |
infobot | DocScrutinizer: infobot joined! | 07:23 |
*** ChanServ sets mode: +v infobot | 07:23 | |
*** valdyn has joined #maemo | 07:23 | |
*** Muelli has joined #maemo | 07:36 | |
*** robbiethe1st has quit IRC | 07:36 | |
*** Kowalczyk has quit IRC | 07:44 | |
*** Kowalczyk has joined #maemo | 07:45 | |
*** rm_you has quit IRC | 07:48 | |
*** DrGrov has left #maemo | 07:57 | |
*** jargon- has quit IRC | 08:02 | |
*** Muelli has quit IRC | 08:03 | |
*** githogori has joined #maemo | 08:07 | |
*** otep has quit IRC | 08:15 | |
*** eMHa has quit IRC | 08:18 | |
*** Dr_I has joined #maemo | 08:35 | |
*** otep has joined #maemo | 08:42 | |
*** eMHa has joined #maemo | 08:52 | |
*** sge has joined #maemo | 09:02 | |
*** otep_ has joined #maemo | 09:12 | |
*** otep has quit IRC | 09:13 | |
*** kimitake is now known as kimitake_idle | 09:40 | |
*** OkropNick has joined #maemo | 09:46 | |
*** loganbr has quit IRC | 09:55 | |
*** murrayc has joined #maemo | 09:57 | |
*** _berto_ has joined #maemo | 09:57 | |
*** jargon- has joined #maemo | 09:57 | |
*** Pavel has quit IRC | 10:02 | |
*** valerius has quit IRC | 10:04 | |
*** tanty has joined #maemo | 10:06 | |
*** valeriusN has left #maemo | 10:12 | |
*** valeriusN has joined #maemo | 10:12 | |
*** ferdna has quit IRC | 10:12 | |
*** jrocha has joined #maemo | 10:16 | |
*** Zahra has joined #maemo | 10:27 | |
zeq | _freemangordon: romaxa suggested putting another printf in GetAvailRect, but surprise, surprise, that changed things enough that it stopped working again and it never got called! | 10:28 |
*** valerius has joined #maemo | 10:28 | |
*** utanapischti has quit IRC | 10:29 | |
*** utanapischti has joined #maemo | 10:29 | |
*** hazchemix has quit IRC | 10:35 | |
*** robink_ has quit IRC | 10:38 | |
*** Zahra has quit IRC | 10:39 | |
*** rcg has joined #maemo | 10:41 | |
*** dhbiker has joined #maemo | 10:45 | |
*** robink_ has joined #maemo | 10:48 | |
*** geaaru has joined #maemo | 10:48 | |
*** calvaris has joined #maemo | 10:50 | |
*** eijk has joined #maemo | 10:51 | |
*** Zahra has joined #maemo | 10:58 | |
*** norayr has joined #maemo | 11:03 | |
*** loganbr has joined #maemo | 11:07 | |
*** jhb has joined #maemo | 11:08 | |
*** Zahra has quit IRC | 11:10 | |
vi_ | _freemangordon: Is modest included in your thumb repo? | 11:15 |
*** ychavan has joined #maemo | 11:22 | |
zeq | vi_: I can answer that, yes it is: modest=3.90.7-11.1-thumb3 | 11:25 |
*** hurbu has quit IRC | 11:30 | |
*** Dr_I has quit IRC | 11:32 | |
*** hurbu has joined #maemo | 11:33 | |
*** rosseaux has quit IRC | 11:33 | |
*** hurbu has quit IRC | 11:34 | |
*** norayr has quit IRC | 11:44 | |
*** rosseaux has joined #maemo | 11:45 | |
*** LJL is now known as LjL | 11:46 | |
*** drussell has joined #maemo | 11:50 | |
*** Zahra has joined #maemo | 11:54 | |
*** esfraga has joined #maemo | 11:57 | |
*** Dr_I has joined #maemo | 11:59 | |
*** dhbiker has quit IRC | 12:01 | |
*** florian_kc has joined #maemo | 12:02 | |
Dr_I | Happy with current Maemo vr | 12:02 |
vi_ | zeq: Thank you. This is great news. | 12:02 |
vi_ | The 2 biggest hogs on the N900 are Modest and Browserd. | 12:02 |
*** maybeArgh has quit IRC | 12:04 | |
*** tanty has quit IRC | 12:05 | |
*** maybeArgh has joined #maemo | 12:05 | |
*** tanty has joined #maemo | 12:05 | |
*** sge has quit IRC | 12:05 | |
*** pcfe has joined #maemo | 12:06 | |
*** tanty has quit IRC | 12:07 | |
*** tanty has joined #maemo | 12:08 | |
*** lbt has quit IRC | 12:08 | |
*** qwazix has joined #maemo | 12:08 | |
*** lbt has joined #maemo | 12:09 | |
*** lbt has quit IRC | 12:09 | |
*** lbt has joined #maemo | 12:09 | |
qwazix | yay! My N900 is back. But they reflashed the software and didn't fix the clock battery. What a load of ***** they are at Nokia Care. Sigh... | 12:10 |
_freemangordon | qwazix:conngrats | 12:10 |
*** uen| is now known as uen | 12:11 | |
_freemangordon | zeq: what is that suppsed to mean | 12:11 |
*** _freemangordon is now known as freemangordon | 12:11 | |
Dr_I | not fare thou just | 12:12 |
qwazix | freemangordon, thanks | 12:12 |
qwazix | time to try cssu-thumb | 12:12 |
freemangordon | i.e. that GetAvailRect is not called. Sorry, I just woke up and my brain needs some coffee | 12:12 |
*** trbs has joined #maemo | 12:12 | |
*** croppa has joined #maemo | 12:12 | |
*** florian_kc is now known as florian | 12:13 | |
Dr_I | Now the origin of N9-OO is simple as it stands who say you Nokist of my right | 12:18 |
*** dhbiker has joined #maemo | 12:20 | |
Dr_I | Original programme sit as it stands and OS of simple manner | 12:21 |
zeq | freemangordon: I've been trying to debug it with romaxa | 12:21 |
freemangordon | got that | 12:22 |
*** norayr has joined #maemo | 12:22 | |
zeq | freemangordon: I actually need a little help: | 12:22 |
zeq | 09:51 < romaxa> zeq: that is why disabling if (mIsTopLevel || | 12:22 |
zeq | mListenForResizes) { condition helps a bit in your case | 12:22 |
zeq | 09:52 -!- Yoric [Yoric@moz-920DB13B.fbx.proxad.net] has quit [Input/output | 12:22 |
zeq | error] | 12:22 |
zeq | 09:56 < romaxa> zeq: does it fix rendering if you in nsWindow::NativeResize | 12:22 |
zeq | just hardcode size for topLevel QGV up to value from | 12:22 |
zeq | nsScreenQt::GetRect? | 12:22 |
zeq | 09:56 -!- firebot [firebot@moz-F8C1AF63.carolina.res.rr.com] has quit [Quit: I | 12:22 |
zeq | was told to shutdown by Wolf. :-( ] | 12:22 |
zeq | 09:57 < romaxa> zeq: so instead of resizing QGV to QRect r = | 12:22 |
zeq | widget->mapFromScene(mWidget->mapToScene(QRect(0, 0, aWidth, | 12:23 |
zeq | aHeight))).boundingRect();, you just make r = | 12:23 |
zeq | nsScreenQt::GetRect... | 12:23 |
zeq | freemangordon: unfortunately my lack of c++ skills are hampering me. I don't seem to be able to call nsScreenQt functions without instantiating nsScreenQt | 12:23 |
*** M4rtinK has joined #maemo | 12:24 | |
zeq | I added include nsScreenQt.h to nsWindow.cpp | 12:24 |
freemangordon | is it static> | 12:24 |
freemangordon | ? | 12:24 |
*** norayr has quit IRC | 12:24 | |
freemangordon | hold on to open the header | 12:24 |
zeq | freemangordon: you should take a look, I'm stubling in the dark here | 12:24 |
zeq | I'll remember it once I understand it ;) | 12:25 |
freemangordon | ok | 12:25 |
freemangordon | :) | 12:25 |
freemangordon | zeq: GetAvailRect does exactly what we do , i.e. QRect r = QApplication::desktop()->screenGeometry(mScreen); | 12:26 |
zeq | It's GetRect that gets called | 12:27 |
freemangordon | and, yes, from what I see in the code, you should instantiate nsScreenQt, there are no static methods | 12:27 |
zeq | but yes, I saw that | 12:27 |
zeq | So, I'm getting there re. c++? :P | 12:28 |
freemangordon | yep | 12:28 |
freemangordon | lemme see the code you wre discussing | 12:28 |
Dr_I | fair use and mode of new Vr maemo | 12:29 |
zeq | 09:47 < romaxa> zeq: ah, ok, so it looks like each subwidget resize triggering OnResizeEvent and that is trying to resize global window, which is not very good | 12:29 |
zeq | 09:47 < zeq> yep | 12:29 |
zeq | 09:47 < zeq> that's how I interpreted it | 12:29 |
zeq | romaxa agreed with my analysis yesterday | 12:30 |
freemangordon | aah, yes | 12:30 |
freemangordon | but it does not make sense | 12:30 |
zeq | design or coding? | 12:30 |
zeq | or how it can happen...? | 12:31 |
freemangordon | zeq: hmm I disagree, see the condition:if (mIsTopLevel) | 12:31 |
freemangordon | only then global window gets resized | 12:31 |
freemangordon | otherwise it is mWidget to be resized | 12:32 |
zeq | but what does mapToScene() do? | 12:32 |
freemangordon | have QtCreator? | 12:32 |
freemangordon | Returns the viewport coordinate point mapped to scene coordinates. | 12:33 |
zeq | ok | 12:33 |
freemangordon | Note: It can be useful to map the whole rectangle covered by the pixel at point instead of the point itself. To do this, you can call mapToScene(QRect(point, QSize(2, 2))). | 12:33 |
freemangordon | hmm | 12:34 |
zeq | I won't claim to fully understand, is vitual vs descrete coordinates or something? | 12:34 |
freemangordon | but in case of top level widget , mWidget is not resized | 12:34 |
freemangordon | not sure | 12:34 |
zeq | in any case, I'm not sure why that would be triggering the observered behaviour | 12:35 |
*** brzys has joined #maemo | 12:35 | |
zeq | hang on, I'll give you the link to my latest debug output | 12:35 |
freemangordon | zeq: I still want your printf logs | 12:35 |
freemangordon | :) | 12:35 |
zeq | http://pastebin.com/KDZXag7E | 12:36 |
freemangordon | without getting the whole picture... you know | 12:36 |
zeq | this isn't quite as much fun as the log from yesterday | 12:36 |
freemangordon | thanks, giime some 5 minutes | 12:36 |
zeq | in this case the resize wasn't being triggered | 12:36 |
zeq | but it has extra info from GetRect | 12:36 |
zeq | I'll find the link for yesterday's | 12:37 |
freemangordon | ok | 12:37 |
*** eMHa has quit IRC | 12:38 | |
*** Dynamit has joined #maemo | 12:40 | |
zeq | https://www.google.com/url?q=http://pastebin.com/ajb5ne99&sa=U&ei=83ftT7W2KOGa1AXbzqWQDg&ved=0CAcQFjAB&client=internal-uds-cse&usg=AFQjCNE2TqLUqCyQ9zR98tWbt7p5lD2pRg | 12:40 |
freemangordon | zeq: BTW I'd rather support your yesterday's theory that there is a race conditions | 12:40 |
zeq | sorry about that link | 12:40 |
freemangordon | ? | 12:41 |
freemangordon | why sorry | 12:41 |
freemangordon | so,: | 12:42 |
freemangordon | OnResizeEvent: mBounds.width=480, mBounds.height=800 | 12:42 |
*** eMHa has joined #maemo | 12:42 | |
freemangordon | OnResizeEvent: mBounds.width=480, mBounds.height=744 | 12:42 |
freemangordon | zeq: is that our issue? | 12:42 |
zeq | yeah, that's another issue ;) | 12:42 |
freemangordon | another? | 12:43 |
freemangordon | why another issue? | 12:43 |
zeq | when it's "working" the height somehow gets messed up | 12:43 |
zeq | it might be that which makes it work??? | 12:43 |
zeq | I don't know. There is a pattern | 12:43 |
freemangordon | tell me | 12:43 |
zeq | if you look at the output you'll notice that landscape->portrait it's correct,correct,wrong,wrong,wrong,wrong | 12:44 |
zeq | and for portriat->landscape wrong,wrong,wrong,wrong,right,right | 12:45 |
freemangordon | nice :) | 12:45 |
zeq | (in portrait it has that missing strip at the bottom) | 12:45 |
zeq | it was only a fluke that it was "working" yesterday though. | 12:45 |
freemangordon | zeq: are you using availablegeometry? | 12:46 |
zeq | damn races | 12:46 |
zeq | nope | 12:46 |
zeq | not using orientationChanged at all | 12:46 |
freemangordon | and it still has missing stripe? | 12:46 |
freemangordon | aah, ok | 12:46 |
zeq | romaxa actually confirmed all the code is actually in place | 12:46 |
zeq | (he was wrong) | 12:46 |
freemangordon | where is that code? | 12:46 |
freemangordon | :) | 12:46 |
freemangordon | ok | 12:46 |
zeq | I meant when he said we had to do it all ourselves | 12:46 |
zeq | it *should* work for resizes | 12:47 |
freemangordon | zeq: I think I know what is going on | 12:47 |
zeq | obviously it's broken, but that's another matter | 12:47 |
zeq | you do? | 12:47 |
zeq | :) | 12:47 |
freemangordon | resizeEvent MUST NOT be used for rotation, lemme find what Nokia says | 12:48 |
*** vi_ has quit IRC | 12:48 | |
zeq | ok | 12:48 |
zeq | I'm not using the hildon resize event though ... | 12:48 |
*** Dynamit has quit IRC | 12:48 | |
freemangordon | zeq: I meant Qt widget resize event | 12:49 |
*** Dynamit has joined #maemo | 12:49 | |
zeq | ah ok | 12:49 |
freemangordon | lemme google a bit | 12:49 |
zeq | sure | 12:49 |
trx | if the window is a QGraphicsView, you need to use its values and its onResizeEvent | 12:51 |
zeq | trx: have you looked at the debug output ^ | 12:52 |
zeq | ? | 12:52 |
freemangordon | trx: but we should wait everything to settle down before doing the resize | 12:52 |
trx | as i remember that event is called several times | 12:52 |
trx | on a single rotate | 12:52 |
freemangordon | now we call resize from within resizeevent, which generates another resizeevent, etc | 12:53 |
trx | with 4 diffrent values | 12:53 |
zeq | bang | 12:53 |
trx | and the last ones being correct | 12:53 |
trx | ill look at the log | 12:53 |
zeq | sometimes | 12:53 |
freemangordon | trx: lemme check my code which works everytime (it is from QTM Browser) | 12:54 |
freemangordon | that: | 12:54 |
freemangordon | void BrowserMainWindow::resizeEvent ( QResizeEvent * event ) | 12:54 |
freemangordon | { | 12:54 |
freemangordon | } | 12:54 |
zeq | LOL | 12:54 |
freemangordon | BrowserMainWindow is a subclass of QWidget | 12:56 |
*** psycho_oreos has joined #maemo | 12:57 | |
*** kwtm2 has joined #maemo | 12:59 | |
trx | zeq where did the last two lines come from? who called DispatchResizeEvent with those values? | 12:59 |
freemangordon | well, in my deode QGraphicsWidget is containe in a QTabPage and is wesized from within its (container) resize event | 13:00 |
freemangordon | s/deode/code/ | 13:00 |
infobot | freemangordon meant: well, in my code QGraphicsWidget is containe in a QTabPage and is wesized from within its (container) resize event | 13:00 |
trx | who contains the nsWindow here? | 13:01 |
zeq | trx: you'll have to take a guess from the source code. There's not enough instrumentaion to clealy see the exact sequence of events, especially since it's multithreaded | 13:02 |
freemangordon | hard to say who contains it, I guess it is the main widget | 13:02 |
freemangordon | i.e. the one that is created in nsfaststartqt | 13:03 |
zeq | freemangordon: would you agree there are two ways to fix this, either limit the QGraphicsWidget to resizing the global window, or holding a semaphore until the resize completes | 13:04 |
trx | nsWindow::Resize(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight, | 13:04 |
trx | bool aRepaint) | 13:04 |
trx | thats who produced the last 2 llines in the log | 13:04 |
freemangordon | zeq: hard to say, it seems to me the design is broken | 13:04 |
zeq | design? ;) | 13:05 |
freemangordon | trx: which log? | 13:06 |
freemangordon | zeq: without full understanding what is going on, every fix will be shot in the dark | 13:06 |
freemangordon | even the wotking one | 13:07 |
zeq | I suspect that's how the code ended up in the current state | 13:07 |
freemangordon | :nod: | 13:07 |
trx | freemangordon zeq's debug output | 13:07 |
freemangordon | there are 2 of them | 13:07 |
trx | [11:41] <zeq> https://www.google.com/url?q=http://pastebin.com/ajb5ne99&sa=U&ei=83ftT7W2KOGa1AXbzqWQDg&ved=0CAcQFjAB&client=internal-uds-cse&usg=AFQjCNE2TqLUqCyQ9zR98tWbt7p5lD2pRg | 13:08 |
freemangordon | hmm, zero width and height? | 13:09 |
*** marainein has joined #maemo | 13:09 | |
trx | zeq which NativeResize did you monitor? | 13:09 |
trx | there are two of them | 13:09 |
*** Zahra has quit IRC | 13:10 | |
zeq | both | 13:10 |
zeq | you should be able to tell the difference since they have a different number of paramaters | 13:10 |
trx | ok, ty | 13:10 |
zeq | I think the startup resizing is interesting too | 13:11 |
freemangordon | zeq: do you log the result of QRect r = widget->mapFromScene(mWidget->mapToScene(QRect(aX, aY, aWidth, aHeight))).boundingRect(); | 13:11 |
zeq | let me check | 13:11 |
trx | yes, that is what i suspect is sending zeros | 13:12 |
zeq | I output the values used, but you know what, I made an error | 13:13 |
zeq | I managed to miss aX, aY | 13:13 |
zeq | so it's actually not clear which NativeResize is being called | 13:14 |
trx | exactly | 13:14 |
zeq | I'll fix that and produce another log... it'll take a few minutes... | 13:15 |
zeq | building now | 13:17 |
zeq | freemangordon: how do you want me to log the result? | 13:18 |
freemangordon | zeq: please log QRect r = widget->mapFromScene(mWidget->mapToScene(QRect(aX, aY, aWidth, aHeight))).boundingRect(); too | 13:18 |
*** vi_ has joined #maemo | 13:19 | |
zeq | freemangordon: how do you want me to log r? | 13:19 |
freemangordon | qDebug() << r; | 13:19 |
freemangordon | :P | 13:19 |
trx | in both of NativeResize | 13:19 |
freemangordon | dont forget to #include <QDebug> | 13:20 |
zeq | ok | 13:20 |
* freemangordon idly wonders why romaxa told zeq to use printf | 13:20 | |
* zeq has no idea | 13:21 | |
* vi_ by talking like this are we using telepathy? | 13:21 | |
* freemangordon is using telepathy-idle | 13:21 | |
*** zap_ has joined #maemo | 13:22 | |
*** dos1 has joined #maemo | 13:22 | |
zeq | it's building again | 13:23 |
* merlin1991 thinks #maemo went bonkers | 13:23 | |
freemangordon | merlin1991: you missed luf again :( | 13:24 |
merlin1991 | yeah I noticed | 13:24 |
merlin1991 | but he pmed me on tmo, thus I could email him back | 13:24 |
freemangordon | ~bonkers | 13:24 |
merlin1991 | though no response from him so far | 13:25 |
freemangordon | ~bonker | 13:25 |
freemangordon | merlin1991: WTF that means? | 13:25 |
merlin1991 | it means going nuts | 13:25 |
freemangordon | ~bonkers is going nuts | 13:25 |
infobot | freemangordon: okay | 13:25 |
merlin1991 | ~wiki bonkers | 13:26 |
* merlin1991 wonderes | 13:26 | |
merlin1991 | -e | 13:26 |
infobot | At http://en.wikipedia.org/wiki/Bonkers (URL), Wikipedia explains: " 'Bonkers' may refer to: * Insanity {{TOC right}} * "Bonkers" (TV series), a Disney animated series * "Bonkers" (2007 TV series), an ITV comedy series * "Bonkers!", a 1979 ATV variety show starring The Hudson Brothers * "Bonkers" ("The Price Is Right"), a segment game from "The Price Is Right" * "Bonkers" (song), a song by Dizzee Rascal and Armand Van Helden * Bonkers (compil | 13:26 |
merlin1991 | hm it's more of an adjective | 13:27 |
merlin1991 | ~bonkers is insane | 13:27 |
infobot | ...but bonkers is already something else... | 13:27 |
merlin1991 | ~forget bonkers | 13:27 |
infobot | merlin1991: i forgot bonkers | 13:27 |
merlin1991 | ~bonkers is insane | 13:27 |
infobot | merlin1991: okay | 13:27 |
merlin1991 | ~bonkers | 13:27 |
infobot | bonkers is probably insane | 13:27 |
merlin1991 | there we go :) | 13:27 |
freemangordon | much better :) | 13:28 |
merlin1991 | dunno how to directly overwrite a factoid | 13:28 |
* zeq is installing the new fennec deb | 13:31 | |
* freemangordon hands zeq a beer | 13:32 | |
zeq | :( | 13:32 |
zeq | I can't reach it | 13:33 |
*** marainein has quit IRC | 13:33 | |
merlin1991 | transfering beer through the interwebz, yep #maemo is a crazy place ;) | 13:33 |
freemangordon | merlin1991: why? | 13:33 |
freemangordon | I missed your point | 13:34 |
*** marainein has joined #maemo | 13:34 | |
zeq | installed | 13:34 |
merlin1991 | freemangordon: one could take you serious, or take your statements as yet another joke :D | 13:34 |
freemangordon | merlin1991: have in mind that libxul likning we're all wating for takes a good couple of minutes ;) | 13:34 |
*** eijk has quit IRC | 13:34 | |
merlin1991 | ouch | 13:35 |
merlin1991 | on what hw? | 13:35 |
freemangordon | merlin1991: and noone can take both? | 13:35 |
*** ELFIX is now known as Elfix | 13:35 | |
freemangordon | merlin1991: does not matter | 13:35 |
zeq | merlin1991: my hw is pretty quick, but it's ARMulated | 13:35 |
freemangordon | it takes 10-15 mintes here, and you know my HW | 13:36 |
zeq | mine did it in 9mins which is pretty impressive ;) | 13:36 |
merlin1991 | zeq: that is strange, sb should run a x86 linker even in the arm target to speed things up | 13:36 |
freemangordon | yep, but you're not using vmware image, so not ntfs file overhead :P | 13:37 |
freemangordon | merlin1991: thish shit is HUUUGE | 13:37 |
zeq | merlin1991: it's not just linking | 13:37 |
zeq | merlin1991: there are other build time tools in the mozilla buildsystem | 13:37 |
* merlin1991 wants to give it a go, where can I clone the code? | 13:37 | |
freemangordon | https://github.com/sjnewbury/fennec-qt-maemo5 | 13:38 |
merlin1991 | hm is there a nice and great tool to put in front of the build command in order to time it? | 13:39 |
merlin1991 | first time I'd need such a thing :D | 13:39 |
freemangordon | time? | 13:39 |
zeq | :) | 13:39 |
freemangordon | merlin1991: how many cores? | 13:40 |
merlin1991 | 4 | 13:40 |
freemangordon | same here | 13:40 |
zeq | http://pastebin.com/PxfSiv9Y | 13:40 |
zeq | and here | 13:41 |
* merlin1991 is scraed of all the build debs this is going to need | 13:41 | |
zeq | freemangordon: I don't see "r" anywhere...? | 13:42 |
freemangordon | WTF, top-level widget code is called only once | 13:42 |
freemangordon | # | 13:42 |
freemangordon | QRect(0,0 801x481) | 13:42 |
*** valerius has quit IRC | 13:42 | |
zeq | ok | 13:42 |
zeq | :) | 13:43 |
merlin1991 | holy shit the code base is huge, it's still "counting remote objects" | 13:43 |
zeq | merlin1991: mega | 13:43 |
freemangordon | merlin1991: toldya :P | 13:43 |
zeq | probably why it broke garage when I tried to upload it there ;) | 13:43 |
freemangordon | zeq: you rotated only once? | 13:43 |
zeq | no, I did it a couple of times | 13:44 |
merlin1991 | hm vlc on kde is not exactly well integrated | 13:44 |
zeq | it should be clear | 13:44 |
freemangordon | it is easy to ask :D | 13:44 |
freemangordon | *easier | 13:44 |
merlin1991 | tried to open 11 files to have a playlist --> 11 instances playing at the same time | 13:44 |
*** internetishard has left #maemo | 13:44 | |
zeq | so why is QRect 801x481??? | 13:45 |
trx | you mean why is there +1 ? | 13:46 |
freemangordon | zeq: why mIsTopLevel is empty in NativeResize: mIsTopLevel: aX=0 aY=0 aWidth=800, aHeight=480 | 13:46 |
*** lizardo has joined #maemo | 13:46 | |
freemangordon | or it is because that function is called only once? | 13:47 |
freemangordon | that code if FUBAR | 13:47 |
trx | its not called only once | 13:47 |
trx | you get NativeResize everytime | 13:47 |
freemangordon | the second one ;) | 13:48 |
trx | zeq did you add debug rect to both functions? | 13:48 |
zeq | I thought so... hang on | 13:48 |
zeq | yes | 13:48 |
trx | ok | 13:48 |
zeq | freemangordon: what do you mean "why mIsTopLevel is empty" | 13:49 |
freemangordon | for some reason NativeResize for the top level widget is called only once | 13:49 |
* merlin1991 ponders, git gc or not? | 13:49 | |
freemangordon | NativeResize: mIsTopLevel: aX | 13:49 |
freemangordon | zeq: ^^^ | 13:49 |
freemangordon | ot that means mIsTopLevel is true? | 13:50 |
zeq | that means mIsTopLevel is true | 13:50 |
freemangordon | ok | 13:50 |
freemangordon | so, we got NativeResize for the top level widget only once | 13:51 |
freemangordon | for landscape | 13:51 |
zeq | let me look... | 13:51 |
freemangordon | when rotated in portrait only child windows are resized, but top level remains 800x480 | 13:52 |
freemangordon | thus our fucked up layout | 13:52 |
merlin1991 | freemangordon: is there a debian/ somewhere I could use? | 13:53 |
zeq | hrmmm | 13:53 |
freemangordon | merlin1991: yep, checkout maemo5 branch | 13:53 |
zeq | yeah, except with the debugging from yesterday when it randommly worked | 13:53 |
freemangordon | copy ./debian somewhere, checkout master branch, and copy ./debian back | 13:54 |
freemangordon | merlin1991: ^^^ | 13:54 |
zeq | or you could just create a working branch and merge debian into it | 13:54 |
zeq | that's what I did | 13:54 |
zeq | merge maemo5 branch I mean | 13:55 |
freemangordon | zeq: could you please restore QObject::connect(QApplication::desktop(), SIGNAL(resized(int)), | 13:55 |
freemangordon | mWidget, SLOT(orientationChanged())); | 13:55 |
freemangordon | and call nsWindow::Resize from the slot function | 13:55 |
zeq | freemangordon: romaxa mentioned that there is code which checks whether the geometry has changed | 13:55 |
freemangordon | zeq: where? | 13:55 |
zeq | and only calls resize if it has | 13:55 |
freemangordon | I don't see it | 13:56 |
zeq | I don't know | 13:56 |
zeq | it might be deeper into the core | 13:56 |
zeq | ??? | 13:56 |
freemangordon | no way | 13:56 |
zeq | romaxa is asleep now | 13:56 |
freemangordon | zeq: no way NS code is aware if geometry changes by any other means but Qt to tell him | 13:56 |
zeq | it's funny how it works for portrait->landscape every time | 13:57 |
freemangordon | zeq: because your top level widget is 800x480 | 13:57 |
freemangordon | agree? | 13:57 |
freemangordon | it never changes | 13:57 |
zeq | we know the code is aware though, even without calls to GetRect or NativeResize | 13:57 |
freemangordon | it is aware through resizeEvent | 13:57 |
zeq | DispatchResizeEvent has the dimensions | 13:57 |
trx | yeah | 13:57 |
vi_ | Woody14619: ping? | 13:58 |
trx | no one notifies the top level widget that dimensions are changed | 13:58 |
merlin1991 | rofl client.mk:263: *** Could not find autoconf 2.13. Stop | 13:58 |
freemangordon | zeq, look at nsWindow::Show(bool aState) | 13:58 |
zeq | ok | 13:58 |
vi_ | So do we have to make new developer.nokia.com accounts or what? | 13:58 |
freemangordon | it is the code that calls nativeresize for the first time | 13:59 |
trx | zeq it is aware, actually but it never reaches the NativeResize for the top level widget | 13:59 |
trx | does that mean that the event is eaten somewhere else before it reaches the top level widget? | 13:59 |
trx | do we know which widget gets the NativeResize ? | 14:00 |
zeq | something weird is happening | 14:00 |
merlin1991 | freemangordon, zeq the debian control file is missing the dependncy on automake | 14:00 |
zeq | I still think it's because of all the events firing at once | 14:00 |
freemangordon | zeq: just copy the code from ::Show into orientationChanged with check for top level widget | 14:00 |
freemangordon | merlin1991: well, it is not complete | 14:01 |
merlin1991 | also which automake package has autoconf 2.13? | 14:01 |
merlin1991 | automake1.9 has 2.61 but the build scripts wants 2.13 explecitely | 14:01 |
zeq | merlin1991: you'll also need qtm-12-dev not qtm-dev | 14:01 |
zeq | libqtm-12-dev I mean, I think | 14:02 |
merlin1991 | which automake though? | 14:02 |
freemangordon | zeq: would you do that? | 14:02 |
zeq | freemangordon: you just mean the NativeResize part? | 14:02 |
freemangordon | yep | 14:02 |
trx | also, | 14:02 |
trx | i would try and return false; in nsWindow::OnResizeEvent(QGraphicsSceneResizeEvent *aEvent) | 14:03 |
freemangordon | NativeResize(mBounds.width, mBounds.height, false); | 14:03 |
freemangordon | trx: hmm, good catch | 14:03 |
freemangordon | zeq: with correct parameters of course, and only if the widget is top level | 14:04 |
zeq | ok | 14:04 |
*** valerius has joined #maemo | 14:04 | |
freemangordon | I have to go to do some job duties, bbl | 14:04 |
zeq | you mean to pull the parameters from screenSize? | 14:04 |
*** Zahra has joined #maemo | 14:05 | |
*** Zahra has quit IRC | 14:05 | |
*** Zahra has joined #maemo | 14:05 | |
trx | zeq, also add a debug line before you call NativeResize so we can know that it is us who called it | 14:05 |
*** Zahra has quit IRC | 14:05 | |
freemangordon | zeq: | 14:05 |
freemangordon | qDebug() << "romaxa: do not use printf when you have qDebug()"; | 14:06 |
merlin1991 | zeq, freemangordon: http://paste.debian.net/176906/ | 14:06 |
freemangordon | :P | 14:06 |
merlin1991 | I can't find out what I need to provide autoconf 2.13 :/ | 14:06 |
zeq | merlin1991: you obviously did it wrong :P | 14:06 |
freemangordon | merlin1991: change "mozilla-beta/" with "" in debian/rulse | 14:07 |
*** rZr is now known as rzr | 14:07 | |
freemangordon | *rulse | 14:07 |
freemangordon | daaamn | 14:07 |
freemangordon | rules | 14:07 |
freemangordon | anyway, i really gtg | 14:07 |
freemangordon | bb | 14:07 |
trx | bye | 14:07 |
zeq | see you later freemangordon | 14:07 |
zeq | just us then trx | 14:07 |
zeq | and merlin1991 once he gets it compiling ;) | 14:08 |
merlin1991 | ffs I followed fmgs advice about mozilla-beta but it still is fubar | 14:08 |
trx | zeq, so where are you now? | 14:08 |
merlin1991 | zeq: could you pastebin me your debian/rules= | 14:09 |
merlin1991 | s/=/?/ | 14:09 |
infobot | merlin1991 meant: zeq: could you pastebin me your debian/rules? | 14:09 |
zeq | merlin1991: sure. | 14:09 |
zeq | ah, I don't have it in my tree! | 14:10 |
zeq | merlin1991: as long as you have the correct mozconfig, you can use make deb | 14:10 |
zeq | http://pastebin.com/zNSPDK0Y | 14:11 |
merlin1991 | so just make deb and I should be good? | 14:11 |
zeq | just drop that into the source tree | 14:11 |
merlin1991 | top level? | 14:12 |
zeq | yep | 14:12 |
zeq | then create a build dir | 14:12 |
zeq | just like in the debian/rules you have | 14:12 |
trx | zeq i have to go for about 15 mins, try and do what freemangordon suggested, and also remeber to | 14:13 |
trx | set return false; in nsWindow::OnResizeEvent(QGraphicsSceneResizeEvent *aEvent) | 14:14 |
trx | so it always returns false, that way it wont eat the event | 14:14 |
trx | maybe thats the bottom problem | 14:14 |
*** totalizator has joined #maemo | 14:14 | |
trx | brb | 14:14 |
zeq | ok trx | 14:15 |
merlin1991 | autoconf --> build/autoconf/mozcommonheader.m4:6: error: m4_defn: undefined macro: _m4_divert_diversion | 14:15 |
* merlin1991 headdesks | 14:15 | |
zeq | do you have autoconf? | 14:15 |
zeq | autoconf=2.61-4maemo1+0m5 | 14:16 |
merlin1991 | k will get that then | 14:16 |
merlin1991 | [sbox-FREMANTLE_EXTRAS: ~/n900/fennec/fennec-qt-maemo5] > apt-cache policy autoconf | 14:17 |
merlin1991 | autoconf: | 14:17 |
merlin1991 | Installed: 2.61-4maemo1+0m5 | 14:17 |
merlin1991 | sry bout the spam | 14:17 |
*** murrayc has quit IRC | 14:17 | |
zeq | merlin1991: m4? | 14:17 |
merlin1991 | 1.4.8-2 | 14:18 |
zeq | I have autotools-legacy devkit too, but it shouldn't be that...? | 14:18 |
merlin1991 | and automake I have automake1.9=1.9.5-1oss3 | 14:18 |
zeq | I don't have automake installed as it happens | 14:19 |
zeq | oh apparently I do... | 14:19 |
merlin1991 | the package name in my case is automake1.9 | 14:19 |
zeq | but it's automake1.10-autoconf264 | 14:19 |
merlin1991 | let's try that | 14:19 |
zeq | maybe that's it | 14:19 |
zeq | make sure you have libqtm-12-dev too | 14:20 |
merlin1991 | build/autoconf/mozcommonheader.m4:6: error: AC_LANG_COMPILER: unknown language: _AC_LANG | 14:20 |
merlin1991 | this is getting better and better | 14:20 |
zeq | LOL | 14:20 |
zeq | do you have all the other deps in the control file? | 14:21 |
merlin1991 | yes | 14:21 |
*** jluisn has joined #maemo | 14:21 | |
zeq | hang on | 14:21 |
zeq | ??? | 14:22 |
zeq | I don't know... | 14:22 |
merlin1991 | m4 --version? | 14:22 |
zeq | GNU M4 1.4.8 | 14:22 |
zeq | aclocal (GNU automake) 1.8.5 | 14:23 |
zeq | autoconf --version | 14:23 |
zeq | Autoconf version 2.13 | 14:23 |
merlin1991 | hm aclocal is missing --> dpkg-query -S `which aclocal` | 14:23 |
merlin1991 | and same for autoconf please | 14:23 |
merlin1991 | because mine is 2.64 | 14:23 |
*** freemangordon_ has joined #maemo | 14:24 | |
zeq | merlin1991: mines from autotools-legacy devkit | 14:24 |
zeq | apparently | 14:24 |
zeq | /scratchbox/devkits/autotools-legacy/bin/aclocal | 14:24 |
merlin1991 | is that a host scrachbox-something package? | 14:24 |
merlin1991 | ah yeah | 14:24 |
zeq | could be it :) | 14:25 |
merlin1991 | hm how did one again put that into sb? | 14:25 |
*** valeriusN has left #maemo | 14:26 | |
zeq | I'm on Gentoo with updated local scratch ebuilds | 14:26 |
zeq | doesn't help | 14:26 |
*** Psi_ has joined #maemo | 14:26 | |
zeq | can't you just apt-get the package from the host | 14:26 |
zeq | ? | 14:26 |
merlin1991 | yeah, only have to enable the repo again | 14:26 |
zeq | assuming you're debian based | 14:26 |
merlin1991 | buntkuh disabled all additional repos last system upgrade | 14:26 |
freemangordon_ | merlin: you need gcc 4.6.2 too | 14:27 |
zeq | or 4.6.3 :) | 14:27 |
merlin1991 | well I should be able to build it (not run) with the regular one right= | 14:27 |
merlin1991 | *?* | 14:27 |
zeq | who knows | 14:27 |
zeq | probably | 14:28 |
merlin1991 | hm I have the system package already | 14:29 |
merlin1991 | now I just need to add it to the target | 14:29 |
* merlin1991 reads sb-conf output | 14:29 | |
freemangordon_ | thumb? neon? | 14:30 |
merlin1991 | freemangordon: I don't want to run it, only build it and see how long it takes :D | 14:30 |
freemangordon_ | don't think it will work | 14:30 |
merlin1991 | but we'll see | 14:30 |
merlin1991 | for now I need to add a devkit to a sb target | 14:31 |
freemangordon_ | yep, i don't think you'll be able to build it | 14:31 |
freemangordon_ | ok | 14:31 |
*** brzys has quit IRC | 14:32 | |
zeq | you should be able to just drop a new compiler into /scratchbox/compilers and reconfigure the target | 14:32 |
merlin1991 | yeah atm I fail to reconfigure the target | 14:33 |
zeq | you could use sb-menu if you can't figure it out, or edit the config file directly | 14:34 |
merlin1991 | sb-menu and sb-conf have no options to edit the config, only options to add new ones / remove ones | 14:34 |
freemangordon_ | zeq: any news? | 14:35 |
zeq | freemangordon_: sorry, distracted trying to help merlin1991 | 14:35 |
merlin1991 | zeq: manual edit of the .config fixed it for now | 14:35 |
zeq | freemangordon_: we want to call NativeResize with values from where exactly? | 14:36 |
merlin1991 | hm got past the autoconf step now, but this is hilarious: | 14:37 |
merlin1991 | configure: error: installation or configuration problem: C compiler cannot create executables. | 14:37 |
*** atlas has joined #maemo | 14:37 | |
freemangordon_ | screengeometry | 14:37 |
DocScrutinizer51 | the linker is creating executables ;-P | 14:37 |
zeq | ok, from screenSize, extract the height and width | 14:37 |
zeq | right? | 14:37 |
freemangordon_ | merlin: check your mozconfig, there are some compiler swithes gcc 4.2.1 does not grok | 14:38 |
freemangordon_ | zeq yep | 14:38 |
zeq | freemangordon_: ok | 14:38 |
merlin1991 | freemangordon: fastest way to proper gcc? wget your tar untar to /scrachtbox/compilers and edit config? | 14:39 |
zeq | merlin1991: personally I'd advise you to use my one, but that's just me ;) | 14:41 |
merlin1991 | linky? | 14:41 |
zeq | http://www.snewbury.org.uk/maemo | 14:42 |
merlin1991 | you should edit your apache config | 14:42 |
merlin1991 | the file names are so truncated :D | 14:42 |
zeq | true | 14:43 |
zeq | don't use the either linaro one though | 14:43 |
japh | uhm.. I'm doing just that now as well... | 14:43 |
zeq | s/the // | 14:43 |
infobot | zeq meant: don't use either linaro one though | 14:43 |
japh | what takes time isn't the building but the *searching* grr | 14:44 |
japh | there's no make. no gmake. there's cmake and pmake and fakemake and... | 14:44 |
zeq | freemangordon_: I've been sent to make lunch, it'll take a extra few minutes to complete the next build | 14:44 |
japh | 'make lunch' | 14:44 |
Dr_I | maemo is such a great love of my time | 14:45 |
merlin1991 | zeq: hm where in /scratchbox are the .environment files? | 14:45 |
*** rzr is now known as rZr | 14:45 | |
merlin1991 | okay compile seems to run now | 14:46 |
zeq | merlin1991: you're ok? | 14:46 |
merlin1991 | seems like | 14:47 |
merlin1991 | gotta love the compile scripts | 14:48 |
merlin1991 | halfway in it finds out there is no "python" executeable | 14:48 |
zeq | LOL | 14:49 |
zeq | I made a symlink to python2.5 | 14:49 |
merlin1991 | I installed *python* | 14:49 |
merlin1991 | which probably does exactly that | 14:50 |
zeq | could be :) | 14:50 |
merlin1991 | dang I should have added -j4 somehow | 14:50 |
zeq | make -j4 | 14:50 |
merlin1991 | but I forgot how to tell debhelper make options | 14:50 |
merlin1991 | ah wait, maemo debhelper can't even do that | 14:51 |
*** croppa has quit IRC | 14:52 | |
merlin1991 | /home/christian/n900/fennec/fennec-qt-maemo5/js/src/assembler/assembler/MacroAssemblerARM.cpp:48:26: fatal error: asm/procinfo.h: No such file or directory | 14:52 |
zeq | you need to update your kernel headers | 14:53 |
merlin1991 | so you need a depends on kernel-headers aswell :D | 14:54 |
zeq | unfortunately I used the same kernel headers in my gcc builds as freemangordon_ | 14:54 |
merlin1991 | hm installing kernel-headers didn't help, what todo? | 14:55 |
*** Hurrian has quit IRC | 14:55 | |
*** Hurrian has joined #maemo | 14:55 | |
zeq | merlin1991: I found I had to remove and then reinstall them. don't know why | 14:56 |
merlin1991 | ah yeah I remember that from building some cssu package | 14:56 |
merlin1991 | kernel-headers in sb are kinda wtf | 14:56 |
zeq | probably the toolchain version taking precidence | 14:57 |
zeq | yeah, I need to redo the toolchains at some point | 14:57 |
zeq | I will get around to updating the scratchbox sb-toolchain-extras to build a current toolchian, but it would take some time | 14:58 |
merlin1991 | hm purge -> install and still the same error | 14:58 |
zeq | make sure you remove all the kernel-headers packages and then install the cssu headers | 14:59 |
zeq | it's weird | 14:59 |
trx | zeq any news? | 14:59 |
zeq | trx: having lunch :) | 14:59 |
freemangordon_ | merlin:install kernel-power-headers | 15:00 |
trx | oh :) well have a good lunch :) | 15:00 |
*** Hurrian has quit IRC | 15:00 | |
freemangordon_ | or kernel-cssu-headers | 15:00 |
*** Hurrian has joined #maemo | 15:02 | |
*** norayr has joined #maemo | 15:02 | |
zeq | trx: error: cannot convert 'bool' to 'nsEventStatus' in return | 15:02 |
zeq | should I cast it? | 15:02 |
trx | return 0; then | 15:02 |
zeq | error: invalid conversion from 'int' to 'nsEventStatus' | 15:03 |
trx | sec | 15:03 |
trx | let me check | 15:03 |
trx | retrun nsEventStatus_eIgnore; | 15:04 |
trx | return* | 15:04 |
* merlin1991 stops for now, more compile fun tomorrow | 15:04 | |
zeq | NativeResize isn't static | 15:11 |
freemangordon_ | hmm, what is the original return statement | 15:12 |
zeq | freemangordon_: return status | 15:12 |
zeq | qDebug; | 15:12 |
zeq | QRect screenGeometry = QApplication::desktop()->screenGeometry(); | 15:12 |
zeq | int screenWidth = screenGeometry.size().width(); | 15:12 |
zeq | int screenHeight = screenGeometry.size().height(); | 15:12 |
zeq | nsWindow::NativeResize(screenWidth, screenHeight, false); | 15:12 |
freemangordon_ | see what trx said, should be correct | 15:12 |
zeq | I did that. That compiles | 15:13 |
zeq | the code above doesn't though | 15:13 |
freemangordon_ | zeq what is this qDebug; | 15:14 |
zeq | freemangordon_: it's nothing yet, the NativeResize isn't working (qDebug shouldn't bet there) | 15:14 |
zeq | s/bet/be/ | 15:14 |
infobot | zeq meant: freemangordon_: it's nothing yet, the NativeResize isn't working (qDebug shouldn't be there) | 15:14 |
zeq | ignore it :) | 15:15 |
*** Zahra has joined #maemo | 15:15 | |
freemangordon_ | but what is the compiler error? | 15:15 |
zeq | cannot call member function 'void nsWindow::NativeResize(PRInt32, PRInt32, bool)' without object | 15:15 |
freemangordon_ | try with mWidget-> | 15:16 |
zeq | ok | 15:17 |
*** edheldil has quit IRC | 15:17 | |
trx | yeah, mWidget->nativeResize | 15:17 |
zeq | ok | 15:17 |
*** maybeArgh has quit IRC | 15:17 | |
*** dos1 has quit IRC | 15:19 | |
*** dos1 has joined #maemo | 15:19 | |
zeq | if (mIsTopLevel) { | 15:19 |
zeq | QRect screenGeometry = QApplication::desktop()->screenGeometry(); | 15:19 |
zeq | int screenWidth = screenGeometry.size().width(); | 15:19 |
zeq | int screenHeight = screenGeometry.size().height(); | 15:19 |
zeq | mWidget->nativeResize(screenWidth, screenHeight, false); | 15:19 |
zeq | } | 15:19 |
*** maybeArgh has joined #maemo | 15:20 | |
trx | actually, i dont think that will work, you need to cast "this" to nsWindow and then call its nativeresize | 15:20 |
trx | i doesnt compile, right? | 15:20 |
zeq | right | 15:20 |
zeq | mIsTopLevel and mWidget aren't in the scope of this file | 15:20 |
freemangordon_ | which file is that? | 15:20 |
zeq | mozqwidget.cpp | 15:21 |
freemangordon_ | mozqwidget? | 15:21 |
freemangordon_ | hmm | 15:21 |
*** vi_ has quit IRC | 15:21 | |
freemangordon_ | sorry, typing from myn900, don't have access to source code :-( | 15:21 |
zeq | trx: any ideas? | 15:22 |
*** edheldil has joined #maemo | 15:22 | |
zeq | rather ironic the guy with the least c++ experience doing the coding ;) | 15:22 |
freemangordon_ | :-D | 15:22 |
freemangordon_ | but you will gain a lot | 15:22 |
zeq | that's true :D | 15:23 |
trx | zeq try mReceiver | 15:23 |
freemangordon_ | aah | 15:23 |
freemangordon_ | yes | 15:23 |
zeq | trx: example? | 15:23 |
freemangordon_ | instead of mWidget | 15:23 |
trx | if (mReceiver->mIsTopLevel) | 15:23 |
zeq | ok | 15:23 |
trx | mReceiver->nativeResize(screenWidth, screenHeight, false); | 15:23 |
trx | also add some debug lines | 15:24 |
trx | so we can know if it goes in | 15:24 |
zeq | ok | 15:24 |
freemangordon_ | using qDebug() <<"whatever you want to say" | 15:24 |
freemangordon_ | ; | 15:25 |
zeq | ok | 15:25 |
trx | brb, out of cigaretes :/ | 15:25 |
freemangordon_ | :-D | 15:25 |
*** norayr has quit IRC | 15:25 | |
zeq | formatted string? | 15:26 |
*** dos1 has quit IRC | 15:26 | |
zeq | I guess it doesn't matter, nativeResize is intrumented anyway, we just need to know what's calling it... | 15:27 |
*** vi_ has joined #maemo | 15:27 | |
zeq | error: 'class nsWindow' has no member named 'nativeResize' | 15:28 |
zeq | have I typo'd | 15:28 |
zeq | ? | 15:28 |
zeq | if (mReceiver->mIsTopLevel) { | 15:28 |
zeq | QRect screenGeometry = QApplication::desktop()->screenGeometry(); | 15:28 |
zeq | int screenWidth = screenGeometry.size().width(); | 15:28 |
zeq | int screenHeight = screenGeometry.size().height(); | 15:28 |
zeq | qDebug() <<"Calling nativeResize() from orientationChanged"; | 15:28 |
zeq | mReceiver->nativeResize(screenWidth, screenHeight, false); | 15:28 |
zeq | } | 15:28 |
trx | you didnt | 15:30 |
trx | its a protected procedure :/ | 15:30 |
freemangordon_ | aah, damn | 15:30 |
freemangordon_ | hmm, what about Resize? | 15:30 |
freemangordon_ | is it public? | 15:30 |
trx | yeap | 15:31 |
trx | use Resize instead | 15:31 |
zeq | ok | 15:31 |
*** brzys has joined #maemo | 15:31 | |
freemangordon_ | what Resize does, generates resizeEvent? | 15:31 |
zeq | no errors | 15:31 |
zeq | building | 15:31 |
trx | it calls native resize among other things | 15:32 |
trx | it also generates DispatchResizeEvent | 15:32 |
zeq | should be fun | 15:32 |
trx | do you want me to paste it freemangordon_? | 15:32 |
zeq | can do | 15:32 |
*** dos1 has joined #maemo | 15:32 | |
freemangordon_ | trx no | 15:33 |
trx | ok | 15:33 |
freemangordon_ | trx I am using my n900, it is not fun :-D | 15:34 |
freemangordon_ | irc client i mean | 15:34 |
trx | i believe you :) | 15:34 |
trx | what i meant is to pastebin it tho | 15:35 |
*** GNUton-BNC has joined #maemo | 15:35 | |
trx | but it doesnt matter, it will do the job | 15:35 |
freemangordon_ | yeah | 15:35 |
*** _berto_ has quit IRC | 15:37 | |
*** NGNUton-BC has quit IRC | 15:37 | |
*** Dr_I has quit IRC | 15:37 | |
*** dos11 has joined #maemo | 15:38 | |
*** dos1 has quit IRC | 15:38 | |
*** _berto_ has joined #maemo | 15:39 | |
*** trx has quit IRC | 15:40 | |
*** delphi has joined #maemo | 15:40 | |
*** guerby has quit IRC | 15:42 | |
zeq | installing | 15:42 |
*** maybeHere has joined #maemo | 15:43 | |
*** delphi has quit IRC | 15:45 | |
zeq | crap! forgot to re-enable the resize signal | 15:45 |
zeq | :( | 15:45 |
freemangordon_ | :-D | 15:45 |
*** maybeArgh has quit IRC | 15:45 | |
zeq | I would remember only *after* it'd built and installed! | 15:46 |
zeq | oh well ... | 15:46 |
*** trx has joined #maemo | 15:49 | |
*** Dr_I has joined #maemo | 15:53 | |
*** valerius has quit IRC | 15:54 | |
*** _berto_ has quit IRC | 15:55 | |
*** sq-one has joined #maemo | 15:55 | |
*** _berto_ has joined #maemo | 15:56 | |
zeq | installed | 15:57 |
*** guerby has joined #maemo | 15:58 | |
*** maybeWTF has joined #maemo | 15:58 | |
*** chenca has joined #maemo | 15:59 | |
vi_ | zeq: c'mon baby, don't quit on me no! | 15:59 |
vi_ | ^no/now | 15:59 |
freemangordon_ | :-D | 16:00 |
*** trx has quit IRC | 16:00 | |
*** delphi has joined #maemo | 16:00 | |
freemangordon_ | what a drama :-P | 16:00 |
zeq | I know... | 16:00 |
zeq | well, I've got a new debug output | 16:00 |
*** maybeHere has quit IRC | 16:00 | |
freemangordon_ | does it work? | 16:01 |
zeq | same | 16:01 |
freemangordon_ | what? | 16:02 |
zeq | http://pastebin.com/CRkPH9a0 | 16:02 |
zeq | behaviour is the same despite the changes to the debug output | 16:03 |
zeq | excuse the Calling NativeResize, it's obviously Resize now | 16:04 |
freemangordon_ | seems we get closer | 16:04 |
zeq | In understanding maybe | 16:05 |
zeq | at least we know it isn't because NativeResize isn't being called for the new dimensions | 16:06 |
freemangordon_ | now we miss the call to resize and setSceneRect before calling Resize | 16:06 |
freemangordon_ | ;-) | 16:07 |
zeq | do you want me to put those back in? | 16:07 |
zeq | in orientationChanged | 16:07 |
zeq | ? | 16:08 |
freemangordon_ | yes | 16:08 |
zeq | ok | 16:08 |
freemangordon_ | but only for top level | 16:08 |
zeq | ok | 16:09 |
freemangordon_ | lets see, sorry for those shots in the dark :-( | 16:09 |
zeq | what else can we do? | 16:11 |
*** eMHa has quit IRC | 16:12 | |
zeq | new build started | 16:12 |
*** eMHa_ has joined #maemo | 16:12 | |
freemangordon_ | zeq the problem as i see it, is that even we call nativeresize with the correct dimension, cene mapping returns old dimensions of the view, see it in the logs | 16:12 |
freemangordon_ | so, if we resize the view before calling native resize, it should be ok | 16:13 |
freemangordon_ | at least i hope so | 16:13 |
zeq | we'll see... | 16:13 |
zeq | it feels very hacky :P | 16:13 |
freemangordon_ | otherwise you shloud wait ntill i am back home to write a new method in nsWindow which does the right thing | 16:13 |
*** valerius has joined #maemo | 16:14 | |
freemangordon_ | :-P | 16:14 |
zeq | like we're giving it a whack | 16:14 |
zeq | freemangordon_: do you think you've grokked now what it's supposed to be doing? | 16:14 |
freemangordon_ | the other thing you could try (if the last one oes not work) is to call Show(false);Show(true); | 16:15 |
*** Dr_I has quit IRC | 16:15 | |
freemangordon_ | I think so, at least I am near | 16:15 |
zeq | that makes at least one of us! | 16:16 |
zeq | it all seems very fishy to me | 16:16 |
freemangordon_ | should be enough, but lets see | 16:16 |
zeq | as in suspicious | 16:16 |
zeq | it doesn't smell right ;) | 16:17 |
freemangordon_ | i could be totally wrong as well | 16:17 |
freemangordon_ | yeah, i told you, this code is fubar | 16:17 |
freemangordon_ | which one? | 16:17 |
zeq | it's the whole randomness | 16:17 |
zeq | code shouldn't be random! :D | 16:17 |
freemangordon_ | well, that is the theory :-D | 16:18 |
zeq | this whole phase of the moon stuff... | 16:18 |
freemangordon_ | i have a coleague of mine who has a theory about "quantum programming" | 16:18 |
zeq | If this makes it work, I feel it's despite what it is supposed to be doing | 16:18 |
freemangordon_ | :-D | 16:18 |
zeq | :D | 16:18 |
*** DocScrutinizer has quit IRC | 16:19 | |
freemangordon_ | :nod: | 16:19 |
freemangordon_ | once we have it working, i'll do a second assembler pass ;-) | 16:19 |
zeq | :) | 16:19 |
freemangordon_ | removing maybe about 50 percent of the code | 16:20 |
zeq | there does seem to be an awful lot for what it does | 16:20 |
*** DocScrutinizer has joined #maemo | 16:20 | |
freemangordon_ | yep | 16:20 |
zeq | It's like everybody who's ever hacked on it has added code to work around what it should be doing | 16:22 |
*** M4rtinK has quit IRC | 16:22 | |
zeq | it's built | 16:22 |
zeq | installing | 16:22 |
freemangordon_ | exatly | 16:22 |
*** Zahra has quit IRC | 16:25 | |
*** RiD has joined #maemo | 16:25 | |
*** nsuffys has joined #maemo | 16:27 | |
*** Dynamit has quit IRC | 16:28 | |
zeq | http://pastebin.com/M6pq74MT | 16:30 |
zeq | (still broken btw) | 16:30 |
*** snoopy_ has joined #maemo | 16:30 | |
*** leochencipher has joined #maemo | 16:30 | |
zeq | freemangordon_: I in some extra qDebug()'s | 16:31 |
zeq | put* | 16:32 |
zeq | it's a bit unclear, but the QRect, resize, setSceneRec, Calling... are all in orientationChanged | 16:33 |
zeq | (the other QRect is the one from earlier and appears on its own) | 16:34 |
freemangordon_ | will continue when i am back home | 16:37 |
zeq | ok | 16:37 |
*** dos11 is now known as dos1 | 16:38 | |
*** theheadofabroom has quit IRC | 16:38 | |
*** maybeArgh has joined #maemo | 16:43 | |
*** maybeWTF has quit IRC | 16:44 | |
*** Dynamit has joined #maemo | 16:45 | |
*** eMHa_ has quit IRC | 16:52 | |
*** GNUton-BNC has quit IRC | 16:52 | |
*** GNUton-BNC has joined #maemo | 16:53 | |
*** lxp1 has joined #maemo | 16:53 | |
*** eMHa_ has joined #maemo | 16:54 | |
*** lxp has quit IRC | 16:56 | |
*** andre__ has joined #maemo | 16:58 | |
*** andre__ has quit IRC | 16:58 | |
*** andre__ has joined #maemo | 16:58 | |
*** sq-one has quit IRC | 17:02 | |
*** valerius has quit IRC | 17:05 | |
*** guampa has joined #maemo | 17:11 | |
*** ArkanoiD_ has quit IRC | 17:16 | |
*** teotwaki has joined #maemo | 17:17 | |
*** jluisn_ has joined #maemo | 17:18 | |
*** jluisn has quit IRC | 17:19 | |
*** setanta has joined #maemo | 17:22 | |
*** _berto_ has quit IRC | 17:22 | |
*** valerius has joined #maemo | 17:24 | |
*** guampa has quit IRC | 17:25 | |
*** guampa has joined #maemo | 17:28 | |
*** jluisn_ has quit IRC | 17:47 | |
*** eijk has joined #maemo | 17:48 | |
*** ZogG_lap1op has quit IRC | 17:48 | |
*** ZogG_laptop has joined #maemo | 17:48 | |
*** valerius has quit IRC | 18:00 | |
*** OkropNick has quit IRC | 18:01 | |
*** OkropNick has joined #maemo | 18:05 | |
*** dos1 has quit IRC | 18:05 | |
*** jrocha has quit IRC | 18:06 | |
*** dos1 has joined #maemo | 18:06 | |
delphi | zeq | 18:08 |
*** delphi is now known as trxz | 18:09 | |
*** trxz is now known as trx | 18:09 | |
trx | you arround? | 18:09 |
trx | seems to me that nsWindow::OnResizeEvent(QGraphicsSceneResizeEvent *aEvent) always has the correct dimensions | 18:10 |
trx | you should call NativeResize (or Resize) from there | 18:10 |
trx | using those dimensions | 18:10 |
trx | this will work finally :) | 18:10 |
*** psycho_oreos has quit IRC | 18:10 | |
trx | this way the last event which has the proper dimensions will resize the view | 18:12 |
trx | and so there will be no race conditions | 18:13 |
trx | freemangordon_ what do you think? | 18:13 |
freemangordon_ | on my way home :-) | 18:14 |
freemangordon_ | but zeq could try it in the meanwhile | 18:14 |
* DocScrutinizer51 idly wonders WTF (if anybody) wrote those doscs | 18:15 | |
*** OkropNick has quit IRC | 18:15 | |
DocScrutinizer51 | if only my input history was long enough, I could repost a comment as of ~2 weeks ago. Source without propewr doc is udeless, even when it works absolutely bugfree | 18:16 |
DocScrutinizer51 | grrr typos | 18:17 |
DocScrutinizer51 | or did I post that in another channel? | 18:17 |
*** tanty has quit IRC | 18:18 | |
*** valerius has joined #maemo | 18:19 | |
*** thuttu77 has quit IRC | 18:20 | |
ZogG_laptop | it's true to any channel | 18:20 |
*** vi__ has joined #maemo | 18:21 | |
vi__ | has anyone heard anything about the CA address f'up? | 18:22 |
*** OkropNick has joined #maemo | 18:23 | |
freemangordon_ | nope | 18:24 |
*** Ian--- has joined #maemo | 18:29 | |
vi__ | what a ballbag. | 18:29 |
vi__ | Woody14619: ping | 18:30 |
*** Ian-- has quit IRC | 18:30 | |
*** norayr has joined #maemo | 18:32 | |
*** freemangordon_ has quit IRC | 18:34 | |
ThreeM | Sc0rpius ? | 18:35 |
ThreeM | in groupchats, yappari shows some names as groupname not with there nickname | 18:35 |
freemangordon | ok, going to try some hacks | 18:36 |
*** xkr47 has quit IRC | 18:37 | |
Sc0rpius | huh | 18:38 |
*** zap_ has quit IRC | 18:39 | |
Woody14619 | vi__: pong | 18:40 |
*** norayr has quit IRC | 18:42 | |
*** Pahan has joined #maemo | 18:43 | |
*** Pahan is now known as Pavel | 18:44 | |
*** eijk_ has joined #maemo | 18:44 | |
*** eijk has quit IRC | 18:45 | |
*** sge has joined #maemo | 18:46 | |
freemangordon | Woody14619: I suspect vi_ is going to ask do you have some feedback frow quim re CA Nokia Developer addresses mess. | 18:48 |
Hurrian | speaking of which, I assume nobody got their CA device mails yet? | 18:49 |
Woody14619 | still catching up on things right now. :P Generally, Community finds stuff out half the time at the same time (or before) we do. | 18:50 |
freemangordon | Hurrian: it seems ZogG_laptop: has received something, but it is not clear to me what exactly :D | 18:50 |
DocScrutinizer51 | ~weather eddn | 18:51 |
infobot | Nuernberg, Germany; (EDDN) 49-30N 011-03E 318M; last updated: 2012.06.29 1520 UTC; Dew Point: 51 F (11 C); Pressure (altimeter): 29.80 in. Hg (1009 hPa); Relative Humidity: 26%; Temperature: 91 F (33 C); Visibility: greater than 7 mile(s); Wind: from the W (280 degrees) at 3 MPH (3 KT) | 18:51 |
DocScrutinizer51 | that's at airport | 18:52 |
DocScrutinizer51 | downtown a tad hotter | 18:52 |
Hurrian | freemangordon, I don't remember ZogG being a CA awardee though | 18:52 |
Sc0rpius | ThreeM, huh? | 18:53 |
Woody14619 | We're slated to hit 100 most of the next week Doc. (>37C) | 18:53 |
*** StyXman has quit IRC | 18:54 | |
*** StyXman has joined #maemo | 18:54 | |
*** StyXman has joined #maemo | 18:54 | |
vi__ | Woody14619: meanwhile, in scotland it did not rain all day. | 18:54 |
vi__ | Woody14619: FMG was right. Are you aware of the situation and do you know WTF we are supposed to do? | 18:55 |
*** valerius has quit IRC | 18:55 | |
Woody14619 | Yeah.. We're to get a few clouds with the chance of being spit on most of the day, but then nothing through next weekend | 18:56 |
ThreeM | Sc0rpius when im on a groupchat, some nicknames are shown corretly, and some chatpartners has no nick, yappari shows groupchatname instead | 18:58 |
*** Saviq_ has joined #maemo | 18:58 | |
Woody14619 | vi__: where are we getting this info? As to date, I've had nothing from Quim nor do I see anything in TMO/mailing list on this. | 18:59 |
*** Saviq_ has quit IRC | 18:59 | |
Woody14619 | vi__:I recall chem|st mumbling about some screw up yesterday, but that was TMO side AFAIK | 18:59 |
*** Dynamit has quit IRC | 19:00 | |
Sc0rpius | add me to that group | 19:00 |
ThreeM | how? | 19:01 |
Sc0rpius | :( true there's no way to do that yet | 19:01 |
ThreeM | :) | 19:01 |
ThreeM | there are <5 users on that group | 19:02 |
Sc0rpius | well can you show me the XML message in the log from people that has no nickname or group subject as a nickname? (pastebin is fine or something) | 19:02 |
*** ArGGu^^ has quit IRC | 19:02 | |
*** ychavan has quit IRC | 19:02 | |
ThreeM | path to the logfile? | 19:02 |
Sc0rpius | /home/user/.config/scorpius/yappari.log | 19:03 |
ThreeM | give me a second | 19:03 |
ZogG_laptop | freemangordon: i didn't, it's on the way. it's n950 | 19:04 |
ThreeM | Sc0rpius the hole 7,5MB Log? | 19:06 |
ThreeM | its quite big :) | 19:06 |
Sc0rpius | no just the XML part of the last message from somebody who has no nickname or subject as a nickname | 19:06 |
Sc0rpius | starts with <message> | 19:06 |
ThreeM | k | 19:06 |
ZogG_laptop | freemangordon: i checked again info of account just after merge, as i knew it might srew things up | 19:07 |
Sc0rpius | you can search the last thing that person said in the log | 19:07 |
Sc0rpius | and you should delete your log from time to time :) | 19:07 |
freemangordon | ZogG_laptop: so no mail? | 19:07 |
ThreeM | ahh interesting | 19:08 |
ThreeM | in the log file, the name is shown corretly | 19:08 |
ThreeM | Sc0rpius : http://pastebin.com/C6LdL9zq | 19:08 |
*** pcfe has quit IRC | 19:12 | |
ZogG_laptop | freemangordon: i got mail with tracking number | 19:12 |
freemangordon | hmm, so it is only you | 19:12 |
freemangordon | ZogG_laptop ^^^ | 19:13 |
ZogG_laptop | freemangordon: all i gave quim is developer id and nickname | 19:13 |
freemangordon | you gave it? | 19:13 |
ZogG_laptop | freemangordon: i didn't win in CA | 19:13 |
freemangordon | aaah, ok | 19:13 |
freemangordon | :) | 19:13 |
ZogG_laptop | but it shouldn't matter | 19:14 |
Sc0rpius | ThreeM, and when she said that, her name was empty or was it the group subject ? | 19:14 |
ZogG_laptop | freemangordon: afaik jonni got device without mail, but most people got mail | 19:14 |
ThreeM | it was group subject | 19:14 |
Sc0rpius | that message was two days ago | 19:14 |
ThreeM | no empty names never. Right nicknames, or group subjectname | 19:15 |
*** valerius has joined #maemo | 19:15 | |
*** ArGGu^^ has joined #maemo | 19:15 | |
ThreeM | Sc0rpius yep | 19:15 |
Sc0rpius | and all of her messages were like that or just that one? | 19:16 |
*** jean_brat has joined #maemo | 19:16 | |
ThreeM | some of them | 19:16 |
ThreeM | sometimes her nickname was shown correctly | 19:17 |
Sc0rpius | what version and build are you running? | 19:19 |
*** NIN101 has joined #maemo | 19:20 | |
ZogG_laptop | freemangordon: jonni = ranistro or what is his nick on TMO, you should join #harmattan btw, as there are interesting discussions sometimes harmattan only related | 19:20 |
ThreeM | Sc0rpius 0.0.13 | 19:21 |
*** FIQ has quit IRC | 19:21 | |
ThreeM | build 1581 | 19:21 |
*** ced117 has joined #maemo | 19:22 | |
*** FIQ has joined #maemo | 19:22 | |
jean_brat | hi DocScrutinizer | 19:24 |
*** user__ has joined #maemo | 19:25 | |
vi__ | Woody14619: sorry. I fell asleep. | 19:25 |
*** user__ has quit IRC | 19:25 | |
*** Dr_I has joined #maemo | 19:26 | |
DocScrutinizer | sorry, throttling on severe CPU overthemp | 19:26 |
*** Proteous has quit IRC | 19:26 | |
freemangordon | ZogG_laptop: well, noone from CA winners got either mail or device, so I assume nothing is sent | 19:26 |
jean_brat | 5 keys on the left most bottom corner of my n900 is not working and 2 buttons in the middle E and T | 19:26 |
DocScrutinizer | sounds like domesheet fsckup | 19:26 |
*** PeterWolf has quit IRC | 19:27 | |
jean_brat | i managed to rip off the N900 yet keeping the display Frc and removed the keyboard and lifted the white cover of the keyboard | 19:27 |
jean_brat | yet keeping it on | 19:27 |
jean_brat | now even if i try to look at some black rust on the contact.. it seems ok there is no rust at all | 19:28 |
DocScrutinizer | get a new domesheet | 19:28 |
jean_brat | but if i short inner and outer circle on the board.. they key should work rt? | 19:28 |
jean_brat | thats how the doom sheet does i suppose? | 19:28 |
DocScrutinizer | probably | 19:29 |
jean_brat | but it does not work.. | 19:29 |
jean_brat | for any key | 19:29 |
*** BCMM has joined #maemo | 19:29 | |
DocScrutinizer | sorry, I never removed domesheet | 19:30 |
DocScrutinizer | and I just can't find my bare PCB | 19:30 |
trx | zeq, freemangordon any news? | 19:31 |
vi__ | trx: yes. | 19:31 |
vi__ | trx: FMG is now a father. | 19:32 |
vi__ | trx: his girlfriend went into labour last night. | 19:32 |
vi__ | trx: we are all very excited for him. | 19:33 |
jean_brat | my question is whats the logic here.. how does it work? | 19:33 |
jean_brat | domesheet apples some kinda different voltage? | 19:33 |
SpeedEvil | Domesheet connects two bits of the PCB together | 19:34 |
DocScrutinizer | check wiki where I elaborated about key matrix in 'n-key rollover' | 19:34 |
vi__ | jean_brat: wut? | 19:34 |
SpeedEvil | it's the moving part of a switch comprised of the bit on the domesheet, and teh PCB contacts | 19:34 |
vi__ | jean_brat: dome sheet makes a contact. | 19:34 |
vi__ | probably a pull down or up. | 19:34 |
jean_brat | if you lift the domesheet.. you see 2 circle for every key? | 19:34 |
jean_brat | and the button press will short these circles correct? | 19:35 |
DocScrutinizer | I *dunno* - told ya I never removed domesheet | 19:35 |
vi__ | if you search the net you will find some hi-res photos, they will show what it looks like under there. | 19:36 |
DocScrutinizer | usually removing domesheet means you wanna (and need to) apply a new swap domesheet | 19:36 |
DocScrutinizer | yeah, I got hires scans of my bare PCB | 19:36 |
DocScrutinizer | checkout maemo.cloud-7.de | 19:37 |
*** tanty has joined #maemo | 19:37 | |
DocScrutinizer | gallery or "*exploded*" | 19:37 |
*** githogori has quit IRC | 19:37 | |
DocScrutinizer | vi__: it's a row/col matrix | 19:38 |
jean_brat | any ling? | 19:38 |
jean_brat | *link | 19:38 |
DocScrutinizer | this WAS a link! | 19:38 |
jean_brat | i din get 1 thing...that how it works.. coz there is no connect of this sheet to the board.. if you lift the sheet and try to short the circles button is not pressed.. but if you press on top of the sheet .. it get pressed | 19:39 |
DocScrutinizer | http://maemo.cloud-7.de/Gallery-N900-exploded/ | 19:39 |
vi__ | mother of god. | 19:40 |
vi__ | I need some coffee. | 19:40 |
DocScrutinizer | I need a break, in a beergarden | 19:40 |
trx | vi__ great :) | 19:40 |
DocScrutinizer | http://wiki.maemo.org/N900_Hardware_Subsystems#Keyboard | 19:41 |
vi__ | DocScrutinizer: cheers. | 19:42 |
RiD | i cried when i saw this image http://maemo.cloud-7.de/Gallery-N900-exploded/n900_01.jpeg´ | 19:42 |
*** ArGGu^^ has quit IRC | 19:43 | |
RiD | http://maemo.cloud-7.de/Gallery-N900-exploded/n900_01.jpeg * | 19:43 |
vi__ | RiD: the work of a twisted deviant. | 19:43 |
DocScrutinizer | http://maemo.cloud-7.de/Gallery-N900-exploded/platine_01.jpeg | 19:43 |
jean_brat | fellas.. where to find domesheet? i assume nokia does not see then i guess | 19:43 |
DocScrutinizer | RiD: why? | 19:43 |
*** xkr47 has joined #maemo | 19:44 | |
*** jargon- has quit IRC | 19:44 | |
DocScrutinizer | jean_brat: you're talking english like a damn French | 19:44 |
DocScrutinizer | ;-P | 19:44 |
RiD | DocScrutinizer i am not supposed to see the N900 without the clothes. | 19:44 |
freemangordon | vi__: you're sure you're not sleeping still? | 19:44 |
RiD | i bet he hates the keyboard, though | 19:45 |
ThreeM | Sc0rpius i have an actual log to. Logfile Shows name=Elena , client shows goupchat subject instead of name=Elena : http://pastebin.com/E07XnhGN | 19:45 |
DocScrutinizer | RiD: who? | 19:45 |
RiD | DocScrutinizer "joerg" | 19:45 |
jean_brat | *Sell | 19:46 |
DocScrutinizer | eh? | 19:46 |
Sc0rpius | ok | 19:46 |
RiD | the arrows on the keyboard. you need to use the blue arrow to be able to press up or down. That's terrible | 19:46 |
RiD | I have to do that, thanks to my little neighbour called spain. | 19:46 |
jean_brat | my bad.. i was looking at the images.. any one knows where to get a spare? | 19:46 |
jean_brat | ? | 19:46 |
*** teotwaki has quit IRC | 19:47 | |
DocScrutinizer | google for N900 domesheet | 19:47 |
DocScrutinizer | RiD: you're talking about that poor guy why had that german kbd on his N900 which he scanned and took some photos of? | 19:48 |
Sc0rpius | I think I've fixed it | 19:48 |
ThreeM | oh, that was quick | 19:49 |
*** darkschneider has quit IRC | 19:49 | |
RiD | DocScrutinizer i guess. I hate the Spanish/Portuguese keyboard too | 19:49 |
DocScrutinizer | welll..... | 19:50 |
*** SpeedEvil has quit IRC | 19:50 | |
RiD | i have a completely useless key added there, in the place of the up arrow lol | 19:50 |
DocScrutinizer | ~ DocScrutinizer | 19:50 |
infobot | from memory, docscrutinizer is jOERG, a HW-developer and engineer of Openmoko | 19:50 |
*** Proteous has joined #maemo | 19:50 | |
RiD | its you? :D | 19:50 |
*** valerius has quit IRC | 19:50 | |
RiD | oh nvm lol infobot | 19:50 |
RiD | jesus i need glasses | 19:50 |
* DocScrutinizer tosses a /whois at RiD, use it wisely! | 19:51 | |
vi__ | switch to english keyboard. | 19:53 |
vi__ | put your special keys on the 4th layer. | 19:54 |
vi__ | Never look back. | 19:54 |
RiD | 4th? | 19:54 |
vi__ | Blue+shift | 19:55 |
RiD | oh, yes. The only one i need is ç anyways. | 19:55 |
vi__ | lets you add a whole extra set of characters. | 19:56 |
vi__ | you do not even have to use that retarded sym menu anymore. | 19:56 |
Sc0rpius | ThreeM, try this for a while: http://uppit.com/ktbx28tsxq3u/yappari_PRE3-0.0.14_armel.deb | 19:56 |
*** ArGGu^^ has joined #maemo | 19:56 | |
DocScrutinizer | RiD: btw: http://wiki.maemo.org/index.php?title=N900_Hardware_Subsystems&diff=37619&oldid=35939 | 19:57 |
RiD | vi__ but where would you find a *legit* english keyboard for n900? Not those chinese ripoffs | 19:57 |
*** SpeedEvil has joined #maemo | 19:57 | |
vi__ | Rid that is not so easy. | 19:57 |
ZogG_laptop | vi__: you can make custom language | 19:57 |
ZogG_laptop | RiD: ^ | 19:57 |
RiD | Well, i'll leave that for later lol | 19:57 |
DocScrutinizer | RiD: I got mine from saremi | 19:57 |
ZogG_laptop | btw noone tried to use/port composite on n900? | 19:57 |
vi__ | Nokia service centres can still buy them. | 19:57 |
* SpeedEvil arghs at DocScrutinizer's overly large images, intel, and X. | 19:57 | |
*** mvp_ has joined #maemo | 19:58 | |
SpeedEvil | (a moderate fraction of the time, it hangs my GPU, in that combination) | 19:58 |
ThreeM | i try :) | 19:58 |
DocScrutinizer | SpeedEvil: the purpose of that gallery been explicitly to provide max highres stuff ;-) | 19:59 |
SpeedEvil | And yeah. | 19:59 |
SpeedEvil | I should report the bug, but doubt anyone cares. | 19:59 |
*** mardi has joined #maemo | 20:00 | |
DocScrutinizer | anyway, afk to chillout | 20:01 |
vi__ | http://wiki.maemo.org/Remapping_keyboard/user_vis_awesome_kbdmapping | 20:01 |
*** florian has quit IRC | 20:01 | |
DocScrutinizer | literally | 20:01 |
vi__ | RiD: ^ | 20:01 |
DocScrutinizer | I doubt he's interested until he fixed his domesheet | 20:02 |
DocScrutinizer | or whatever the actual issue | 20:02 |
vi__ | oh | 20:02 |
DocScrutinizer | ooops, that's not been RiD | 20:02 |
DocScrutinizer | o/ | 20:02 |
*** calvaris has quit IRC | 20:02 | |
RiD | not me lol | 20:02 |
DocScrutinizer | oo | 20:02 |
RiD | I will do that IF the phone comes back from nokia idon'tcare working | 20:03 |
RiD | IF it ever comes back | 20:03 |
*** teotwaki has joined #maemo | 20:05 | |
*** teotwaki has joined #maemo | 20:05 | |
*** Zahra has joined #maemo | 20:06 | |
*** valerius has joined #maemo | 20:09 | |
*** BCMM has quit IRC | 20:11 | |
*** jluisn has joined #maemo | 20:12 | |
*** geaaru has quit IRC | 20:14 | |
*** markinfo has joined #maemo | 20:21 | |
*** Darkchaos has joined #maemo | 20:27 | |
*** jargon- has joined #maemo | 20:30 | |
freemangordon | Pali, ping | 20:32 |
*** TriztAway is now known as Trizt | 20:40 | |
*** eMHa_ has quit IRC | 20:41 | |
*** qwazix_ has joined #maemo | 20:46 | |
*** _federico3 has joined #maemo | 20:50 | |
*** rZr is now known as rzr | 20:53 | |
*** vi__ has quit IRC | 20:56 | |
*** sge has quit IRC | 20:59 | |
*** brzys has quit IRC | 21:00 | |
*** florian has joined #maemo | 21:02 | |
*** tanty has quit IRC | 21:05 | |
*** Atarii has joined #maemo | 21:06 | |
*** Atarii has quit IRC | 21:06 | |
*** Atarii has joined #maemo | 21:06 | |
*** hurbu has joined #maemo | 21:07 | |
*** vi__ has joined #maemo | 21:14 | |
*** zeq has quit IRC | 21:14 | |
*** githogori has joined #maemo | 21:15 | |
*** zeq has joined #maemo | 21:16 | |
*** hurbu has quit IRC | 21:17 | |
*** thuttu77 has joined #maemo | 21:17 | |
*** eMHa_ has joined #maemo | 21:22 | |
*** johnsu01 has quit IRC | 21:28 | |
*** johnsu01` has joined #maemo | 21:28 | |
*** hurbu has joined #maemo | 21:29 | |
zeq | freemangordon: I tried again with availableSize, restored the return status. I have a log of it "working" now, no reason it should be ofc... ;) | 21:30 |
zeq | http://pastebin.com/iz8GeT9N | 21:32 |
*** piggz has joined #maemo | 21:34 | |
*** Zahra has quit IRC | 21:35 | |
zeq | trx: new log up ^ | 21:35 |
*** Darkchaos has quit IRC | 21:36 | |
jean_brat | hi DocScrutinizer, | 21:46 |
jean_brat | i think it may not be the domesheet issue | 21:47 |
jean_brat | keys corresponding to row 4 5 and 2 are not working | 21:47 |
jean_brat | translation.. these rows are not powered at all.. in order to scan the output voltage | 21:48 |
trx | zeq always working? | 21:48 |
zeq | yes, but it's quite slow to adjust | 21:49 |
*** Kowalczyk has quit IRC | 21:49 | |
trx | is repaint = false in Resize? | 21:50 |
zeq | yes | 21:50 |
trx | does it rotate, but it takes a while to update or something else? | 21:51 |
zeq | I don't' think that's actually the thing making it work though. | 21:51 |
trx | try to rotate and the scroll right away | 21:51 |
trx | if it updates, then make that repaint = true | 21:51 |
zeq | it rotates, then most of the widgets are resized, then the view is resized too | 21:51 |
trx | also, did you read what i wrote about onResizeEvent ? | 21:51 |
zeq | we had it kind of working like this before | 21:52 |
zeq | without so much code, although it now uses the full height, whereas before it didn't. | 21:52 |
zeq | if you look a the log OnResizeEvent gets triggered ron resize() | 21:52 |
zeq | s/ron/on/ | 21:52 |
infobot | zeq meant: if you look a the log OnResizeEvent gets triggered on resize() | 21:52 |
trx | onResizeEvent is the "last" event that gets called | 21:53 |
trx | thats why i believe that you should move that code to OnResizeEvent | 21:53 |
zeq | Orientation changed! | 21:53 |
zeq | QRect(0,56 800x424) | 21:53 |
zeq | resize() | 21:53 |
zeq | OnResizeEvent: mBounds.width=800, mBounds.height=424 | 21:53 |
zeq | DispatchResizeEvent: event.refPoint.x=0, event.refPoint.y=0, event.mWinWidth=800, event.mWinHeight=424 .. | 21:53 |
zeq | NativeResize: aWidth=800, aHeight=424 | 21:53 |
zeq | OnResizeEvent: mBounds.width=800, mBounds.height=424 | 21:53 |
zeq | DispatchResizeEvent: event.refPoint.x=0, event.refPoint.y=0, event.mWinWidth=800, event.mWinHeight=424 .. | 21:53 |
zeq | GetRect: outTop=0 outLeft=0 outwidth=800 outHeight=480 | 21:53 |
zeq | GetRect: outTop=0 outLeft=0 outwidth=800 outHeight=480 | 21:54 |
zeq | GetRect: outTop=0 outLeft=0 outwidth=800 outHeight=480 | 21:54 |
zeq | GetRect: outTop=0 outLeft=0 outwidth=800 outHeight=480 | 21:54 |
zeq | GetRect: outTop=0 outLeft=0 outwidth=800 outHeight=480 | 21:54 |
zeq | GetRect: outTop=0 outLeft=0 outwidth=800 outHeight=480 | 21:54 |
*** bburhans has joined #maemo | 21:54 | |
zeq | setSceneRect() | 21:54 |
zeq | mReceiver->Resize() | 21:54 |
zeq | sorry about the noise | 21:54 |
Sc0rpius | what are you trying to do? | 21:54 |
*** Kowalczyk has joined #maemo | 21:54 | |
trx | on OnResizeEvent creates DispatchResize event | 21:54 |
trx | the problem is, DispatchResizeEvent does not update the view | 21:54 |
zeq | but something is | 21:55 |
trx | thats why OnResizeEvent should also resize the view | 21:55 |
Sc0rpius | http://doc.qt.nokia.com/qt-maemo-4.6/maemo5-rotation.html | 21:55 |
*** livelace has joined #maemo | 21:55 | |
zeq | Sc0rpius: I've read that :) | 21:55 |
trx | zeq i would still try to put it there as its the most logical place for that code to be | 21:55 |
trx | it always has the correct values | 21:56 |
trx | and is last in event chain | 21:56 |
zeq | trx: I want to understand why using values from availableSize triggers the display to resize | 21:56 |
*** ArGGu^^ has quit IRC | 21:56 | |
zeq | whereas it doesn't for screenSize | 21:56 |
trx | i would assume that screenSize returns the screen size while availableSize returns usable space | 21:57 |
zeq | if we can understand that, I think we will know what's going on | 21:57 |
trx | screenSize would then be updated when eg, you hide and show the system status bar | 21:58 |
zeq | trx: it does | 21:58 |
trx | it should work in both cases | 21:58 |
zeq | except fennec is running fullscreen/maximized | 21:58 |
trx | but my guess is there is a bug somewhere | 21:58 |
zeq | it *doesn't* work in both cases | 21:58 |
trx | between like X and Qt | 21:59 |
zeq | you can see the differnt values from the earier debugs | 21:59 |
trx | yeah | 21:59 |
zeq | Sc0rpius: you any good at debugging these things? | 21:59 |
trx | but still, i am pretty sure that if you use QGraphicsView you need to use its values | 21:59 |
Sc0rpius | what are you trying to do exactly? make fennec rotate? | 21:59 |
trx | i have read that in the docs | 22:00 |
Sc0rpius | I thought fennec already rotated. | 22:00 |
zeq | Sc0rpius: yes | 22:00 |
zeq | Sc0rpius: that was gtk2 fennec ;) | 22:00 |
Sc0rpius | is there a Qt fennec? | 22:00 |
Sc0rpius | must be hell slow | 22:00 |
zeq | trx: so QGraphicsView should know the viewport dimensions already? | 22:01 |
zeq | Sc0rpius: it's serveral times faster than the gtk verion | 22:01 |
Sc0rpius | that's weird. | 22:01 |
zeq | s/verion/version/ | 22:01 |
trx | yes, those values in its ResizeEvent should be used | 22:01 |
infobot | zeq meant: Sc0rpius: it's serveral times faster than the gtk version | 22:01 |
Sc0rpius | when you get the resized(int) event from desktop you already have the new size calling desktop()->screenGeometry() | 22:02 |
trx | and are correct | 22:02 |
Sc0rpius | then you have to resize all widgets and call update to each | 22:02 |
Sc0rpius | and that's it, right? I see no complications. | 22:02 |
zeq | Sc0rpius: you obviously haven't seen the code ;) | 22:02 |
trx | Sc0rpius thats the problem, they do but the top level widget does not | 22:02 |
trx | zeq, thats only thing that i have to offer atm | 22:03 |
*** vi__ has quit IRC | 22:04 | |
zeq | Sc0rpius: https://github.com/sjnewbury/fennec-qt-maemo5/tree/master/widget/qt | 22:04 |
Sc0rpius | the top level widget has the Qt::WA_Maemo4AutoOrientation attribute on true? | 22:04 |
* Sc0rpius clicks | 22:04 | |
trx | Sc0rpius check the code ;) | 22:04 |
zeq | Sc0rpius: yes. | 22:04 |
zeq | The code currently in master doesn't work. I'll push something that kind of does... | 22:05 |
*** johnsu01` has quit IRC | 22:05 | |
*** johnsu01` has joined #maemo | 22:05 | |
*** johnsu01` is now known as johnsu01 | 22:05 | |
Dr_I | Maemo is my pride and settlement | 22:07 |
Sc0rpius | well I'd have to checkout the code since I can't see it on the web ("Blob takes too much time too generate") | 22:07 |
zeq | Sc0rpius: I'm going to hold off pushing for now, there's enough in there to get the idea | 22:07 |
zeq | weird | 22:07 |
zeq | WFM | 22:07 |
trx | zeq, please try? :) | 22:09 |
zeq | trx: so what do you want me to add exactly? | 22:09 |
trx | the code that we have put in orientation changed | 22:09 |
trx | move it to nsWindow::onResizeEvent | 22:10 |
zeq | ok | 22:10 |
trx | before it sends DispatchResizeEvent | 22:10 |
zeq | with the screenSize instead of availableSize | 22:10 |
zeq | ? | 22:10 |
trx | no, use the values from the parameter | 22:10 |
zeq | ok | 22:10 |
trx | rect.width = aEvent->newSize().width(); | 22:11 |
trx | rect.height = aEvent->newSize().height() | 22:11 |
trx | reuse that | 22:11 |
zeq | ok | 22:11 |
zeq | just creating a debugging branch | 22:11 |
trx | ok | 22:11 |
zeq | so I can keep the semi-working version | 22:11 |
trx | let me know what happens | 22:12 |
trx | but i expect it to work | 22:12 |
trx | its about time :) | 22:12 |
zeq | no kidding! :) | 22:12 |
zeq | this is really tiring! | 22:13 |
zeq | do we need the setSceneRect? | 22:14 |
trx | doesn't hurt | 22:16 |
zeq | aEvent->newSize()? | 22:16 |
trx | yeah | 22:17 |
zeq | scene() isn't available | 22:20 |
trx | let me check | 22:21 |
zeq | nor is resize() | 22:21 |
zeq | I'll try with MozQWidget:: | 22:22 |
*** jean_brat has quit IRC | 22:23 | |
zeq | that seemed to fix resize() | 22:23 |
trx | yeah | 22:24 |
Woody14619 | Ok... I'm off and will probably not be back on IRC (execept for OSB/Council meetings if I can make it) till July 9th. (Happy 4th to those in the US!) | 22:24 |
trx | its a friend class | 22:24 |
zeq | Woody14619: Holidays? | 22:25 |
trx | Woody14619 have fun, bye.. | 22:25 |
zeq | Woody14619: bye | 22:25 |
zeq | trx: how do I call them (was mistaken about resize() too) | 22:25 |
*** Woody14619 has quit IRC | 22:25 | |
trx | you dont need anything for resize, just call Resize | 22:26 |
zeq | ok | 22:26 |
zeq | that gets called anyway | 22:26 |
trx | mIsTopLevel also | 22:26 |
trx | what else? | 22:26 |
zeq | isTopLevel is fine | 22:27 |
zeq | sscene()->setSceneRect() | 22:27 |
zeq | s/ss/s/ | 22:27 |
infobot | zeq meant: scene()->setSceneRect() | 22:27 |
trx | oh, that | 22:27 |
zeq | skip it? | 22:28 |
trx | can you cast "this" as QGraphicsView ? | 22:28 |
zeq | please give example | 22:29 |
*** teotwaki has quit IRC | 22:29 | |
trx | thats the problem, i can't :) | 22:29 |
trx | skip it then | 22:29 |
zeq | :) | 22:29 |
zeq | yep | 22:30 |
zeq | building | 22:30 |
*** livelace has quit IRC | 22:31 | |
trx | ok, going to eat something, brb | 22:31 |
zeq | ok enjoy | 22:32 |
zeq | :) | 22:32 |
*** NIN101 has quit IRC | 22:35 | |
*** Woody14619 has joined #maemo | 22:35 | |
*** Woody14619 has quit IRC | 22:35 | |
*** Woody14619 has joined #maemo | 22:35 | |
*** Woody14619 has left #maemo | 22:35 | |
*** chenca has quit IRC | 22:41 | |
*** rm_you has joined #maemo | 22:41 | |
*** rm_you has joined #maemo | 22:41 | |
*** snoopy_ has quit IRC | 22:45 | |
*** sq-one has joined #maemo | 22:48 | |
zeq | trx: http://pastebin.com/dXnWLNB0 | 22:51 |
zeq | trx: nope :( | 22:51 |
*** sLumPia has joined #maemo | 22:53 | |
zeq | trx: I accidently left the resize() and setSceneRec() debug messages in there | 22:53 |
trx | zeq you removed that code from orientationChanged() right? | 22:58 |
zeq | yes | 22:59 |
trx | we need setSceneRec then too | 22:59 |
zeq | the Orientation changed! is the only thing now in there | 22:59 |
trx | but i don't know how to access it from there | 22:59 |
trx | :( | 22:59 |
zeq | It's not that which is making it work though.... hang on | 22:59 |
trx | the object that receives OnSceneRect is a QGraphicsView | 23:00 |
trx | ups | 23:00 |
trx | i meant : | 23:00 |
trx | the object that receives OnResizeEvent is a QGraphicsView | 23:00 |
trx | but i dont know how to cast it | 23:00 |
zeq | it was the extra resize() to a smaller than screen size which somehow made it "notice" | 23:00 |
*** vi__ has joined #maemo | 23:01 | |
vi__ | ping...anyone | 23:01 |
trx | then rect.adjust(0, 0, -1, -1); | 23:02 |
trx | before you resize | 23:02 |
trx | vi__ pong | 23:02 |
zeq | trx: in OnResize ? | 23:03 |
trx | no, before you call Resize | 23:03 |
zeq | which function? | 23:04 |
trx | you pass rect.width and rect.height as parameters for Resize | 23:04 |
*** sLumPia has quit IRC | 23:04 | |
trx | can you pastebin that unit please? | 23:04 |
zeq | OnResizeEvent() ? | 23:04 |
trx | yeah | 23:05 |
zeq | ok | 23:05 |
Viltzu | zeq, how the gcc 4.6+ howto is going? :) | 23:05 |
*** sLumPia has joined #maemo | 23:06 | |
zeq | Viltzu: do you have SDK set up? | 23:06 |
Viltzu | afaik yes.. I'm just using the all-done image from Nokia. | 23:07 |
Viltzu | And it has SDK, yes? :P | 23:07 |
zeq | trx: http://pastebin.com/KfWueATf | 23:07 |
trx | ty | 23:07 |
zeq | Viltzu: you can drop the gcc-4.6.3 toolchain from here: http://www.snewbury.org.uk/maemo into /scratchbox/compilers | 23:08 |
zeq | just unpack into there, you can then select it when setting up a target | 23:08 |
zeq | ^ short HOWTO ;) | 23:09 |
*** erkules has joined #maemo | 23:11 | |
vi__ | can someone paste me a link to the las irc meeting log? | 23:11 |
Viltzu | Ok. | 23:11 |
trx | zeq : http://pastebin.com/fn5HTeFj | 23:11 |
trx | try this, it will make the rect smaller too, as you suggested | 23:12 |
trx | also, i have moved it after DispatchResizeEvent | 23:12 |
trx | now it has to be the last one in the chain | 23:13 |
trx | zeq try it like that, if it doesnt work i give up :) | 23:14 |
trx | also, i must go, i will be back in 30 mins or so | 23:14 |
trx | bbl | 23:14 |
zeq | trx: error: 'struct nsIntRect' has no member named 'adjuct' | 23:16 |
zeq | I tried adjust too | 23:16 |
*** sLumPia__ has joined #maemo | 23:17 | |
*** sLumPia has quit IRC | 23:17 | |
*** githogori has quit IRC | 23:17 | |
*** qwazix_ has quit IRC | 23:19 | |
zeq | trx: I used SetRect() since it's the only member function with suitable arguments. | 23:22 |
*** Darkchaos has joined #maemo | 23:23 | |
zeq | if this doesn't work I'm going to try minimizing the inexplicable working case from earlier. | 23:23 |
*** sLumPia__ has quit IRC | 23:23 | |
*** jhb has quit IRC | 23:23 | |
*** Muelli has joined #maemo | 23:25 | |
*** M4rtinK has joined #maemo | 23:27 | |
*** RiD has quit IRC | 23:28 | |
*** githogori has joined #maemo | 23:30 | |
*** sethstorm has quit IRC | 23:32 | |
*** maybeHere has joined #maemo | 23:34 | |
*** maybeArgh has quit IRC | 23:36 | |
*** rzr is now known as rZr | 23:36 | |
*** maybeWTF has joined #maemo | 23:37 | |
*** brzys has joined #maemo | 23:38 | |
*** maybeHere has quit IRC | 23:39 | |
*** ArGGu^^ has joined #maemo | 23:44 | |
*** vi__ has quit IRC | 23:45 | |
*** [XeN] has joined #maemo | 23:51 | |
zeq | trx: nope didn't work | 23:52 |
*** jluisn has quit IRC | 23:53 | |
*** snoopy_ has joined #maemo | 23:53 | |
*** nox- has joined #maemo | 23:55 | |
*** snoopy_ has quit IRC | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!