IRC log of #maemo for Friday, 2012-06-29

*** kraft has quit IRC00:00
*** infobot has quit IRC00:02
*** Darkchaos has joined #maemo00:02
*** ArGGu^^ has quit IRC00:02
*** rlinfati has quit IRC00:03
*** Guest42465 has quit IRC00:05
*** Guest42465 has joined #maemo00:05
*** Guest42465 is now known as MrOpposite00:05
*** kraft has joined #maemo00:06
*** Muelli has quit IRC00:07
*** ArGGu^^ has joined #maemo00:08
*** heroux has quit IRC00:10
*** leochencipher has quit IRC00:10
*** heroux has joined #maemo00:12
*** leochencipher has joined #maemo00:12
*** tanty has quit IRC00:13
*** Pali has quit IRC00:13
*** heroux has quit IRC00:16
*** leochencipher has quit IRC00:18
*** jluisn has quit IRC00:19
Estel_chem|st, ping00: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_oh00:20
*** valerius has joined #maemo00:20
Estel_fuck copy and paste00:20
Estel_xsorry, it's some scam, I mean:00:21
Estel_http://talk.maemo.org/showpost.php?p=1228753&postcount=20100:21
Estel_chem|st^^^00:21
*** kerio92 has joined #maemo00:22
*** kraft has quit IRC00:22
*** kerio92 has joined #maemo00:23
*** kerio has quit IRC00:24
*** kerio92 is now known as kerio00:24
*** kraft has joined #maemo00:25
*** Darkchaos has quit IRC00:26
*** valeriusN has left #maemo00:28
*** valeriusN has joined #maemo00:28
*** zeq1 has quit IRC00:33
*** kraft has quit IRC00:34
*** heroux has joined #maemo00:38
*** trbs has quit IRC00:46
*** _nicolai_ has quit IRC00:48
*** _nicolai_ has joined #maemo00:49
*** _nicolai_ has quit IRC00:50
*** perlite_ has joined #maemo00:51
*** _nicolai_ has joined #maemo00:51
*** perlite has quit IRC00:52
*** perlite_ is now known as perlite00:52
*** kraft has joined #maemo00:52
*** _nicolai_ has quit IRC00:54
*** konelix has quit IRC00:55
*** konelix has joined #maemo00:56
ShadowJKDocScrutinizer; 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 :P00:57
*** _nicolai_ has joined #maemo00:57
Estel_ShadowJK, do you live in Australia centralland, with next post office being 100 miles away?00:58
ShadowJKno00:59
skopedoes turning only 2G on reduce battery usage much in n900?00:59
Estel_sometimes, I wonder how they handle avizo's there00:59
Estel_skope, not much. It depends on network coverage00:59
Estel_poor signal of either 3G and 2G kills battery00:59
skopei changed only 2G and i think battery lasts longer00:59
skopebut it might be placebo00:59
*** konelix has quit IRC01:00
Estel_might be, I also use 2G only, except for when 3G is needed01:00
ShadowJKAlthough any sort of IM, and IRC, and you'll see 16+ h life on 2g and 4h on 3g :P01:00
skopei've had it unplugged like 12 hours now and almost full battery01:00
Estel_anyway, I've tested it, and it don't show different battery life, most of the times01:00
*** konelix has joined #maemo01:00
skopeokay01:00
Estel_ShadowJK, of course01:00
RiD[22:59] <hairlessmangina> all the women i've been with preffered it hairless01:00
Estel_i'm  talking about idle01:00
RiDsh.t sorry wrong channel01:01
Estel_no, seriously?01:01
skopeRiD: haha01:01
ShadowJKYeah I just tested 3g idle actually, got 4 days01:01
Estel_You should put it in middle of CA results discussion01:01
*** NMJNB is now known as nmjnb01:01
*** _federico3 has quit IRC01:01
ShadowJKalmost-idle anyway, running charge*.sh instead of bme01: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 idle01:03
Estel_i.e. without anything I have 7-8 mA power draw when idle01:03
Estel_and with bq27200.sh running in loop, or charge sh, I have 25-2701:03
Estel_mA01:03
Estel_power draw01:03
ShadowJKi think it was showing 6ma most of the time01:04
SpeedEvilThat seems high.01:04
*** OkropNick has quit IRC01:04
SpeedEvilIs that through screen, disconnected?01:04
Estel_hm, or was it bq27200.sh only?01:04
ShadowJKwell with 5 sec interval it could be01:04
*** utanapischti has quit IRC01:04
Estel_yea01:04
skopeso, what's the deal about that xxx_battery kernel module?01:04
*** utanapischti has joined #maemo01:04
skoperead it, but didn't quite got it01:04
Estel_skope, nothing now, but Pali is working hard to bring it as proper bme replacement (not only Pali)01:04
ShadowJKthough the charge.sh that I use goes to 15s after unplugging charger, iirc01:04
Estel_I see01:05
ShadowJKwhich gives significantly better C4 times01:05
*** RiD is now known as no-hair-on-anus01:05
*** M4rtinK has quit IRC01:05
*** no-hair-on-anus is now known as hairymangina01:05
ShadowJKAnd yeah, I typically run charge*sh continously so I can just plug in whatever whenever to charge01:05
Estel_sounds cool.01:06
*** hairymangina is now known as RiD01:06
Estel_well, we have only few minor things left, until proper bmke replacement could be introduced01:06
* ShadowJK has about 6 different things updating in screen in xterm01:06
Estel_s/bmke/bme/01:06
ShadowJKusually either charge or bq is up01:06
ShadowJKbq, charge, root, data transfer minute by minute, wifi rate/quality/signal/noise/snr01:07
*** ChikuLinu__ has joined #maemo01:08
*** Chiku|dc has quit IRC01:09
RiDhttp://www.craigslist.org/about/best/lax/35274458.html - interesting read01:13
*** atlas has quit IRC01:17
*** dos1 has quit IRC01:20
*** ALoGeNo has joined #maemo01:23
*** ALoGeNo has joined #maemo01:23
*** dos1 has joined #maemo01:23
ShadowJK... wrong channel again?01:24
*** florian has quit IRC01:25
trxlol01:28
RiDnope01:30
RiDit's very interesting01:30
rzrRiD, I learnt lot of vocabulary in it01:34
*** setanta has quit IRC01:35
*** dhbiker has quit IRC01:37
*** jrocha has quit IRC01:38
*** totalizator has quit IRC01:39
*** rm_work has quit IRC01:47
*** vi__ has joined #maemo01:48
*** andre__ has quit IRC01:51
*** chenca has quit IRC01:54
*** vi__ has quit IRC01:58
*** RiD has quit IRC01:59
*** eijk_ has quit IRC02:02
*** M4rtinK has joined #maemo02:03
*** lardman has quit IRC02:03
*** lardman has joined #maemo02:03
*** _nicolai_ has quit IRC02:07
*** konelix has quit IRC02:10
*** konelix has joined #maemo02:11
Viltzuzeq: How is the gcc 4.6+ howto going? ;D02:15
*** hurbu has quit IRC02:28
*** dos1 has quit IRC02:30
*** SmilybOrg has joined #maemo02:31
*** SmilybOrg is now known as Guest3914002:31
*** rzr is now known as rZr02:33
*** SmilyOrg has quit IRC02:35
*** jhb has quit IRC02:38
*** hurbu has joined #maemo02:41
*** ekze has quit IRC02:45
*** ekze has joined #maemo02:46
*** PeterWolf has joined #maemo02:51
*** Atarii has quit IRC02:52
*** luke-jr has quit IRC02:59
*** luke-jr has joined #maemo02:59
*** uen| has joined #maemo03:02
*** otep has quit IRC03:02
*** otep has joined #maemo03:04
*** uen has quit IRC03:05
*** thomas has quit IRC03:09
*** vblazquez has quit IRC03:17
*** vblazquez has joined #maemo03:19
*** Saviq_ has joined #maemo03:31
*** internetishard has joined #maemo03:39
internetishardcan you switch your sim between an n900 and an iphone?03:39
nox-doesnt iphone take microsim?03:42
ZogG_lap1opinternetishard: if you have dual sim or you cutted your sim by yourself than you can "puzle" it to iriginal size03:45
ZogG_lap1opn9 has microsim03:45
internetishardSo, can I can put my n900 sim in an iphone 3gs, and just have it work?03:48
nox-no n900 doesnt have microsim03:54
*** vblazquez has quit IRC03:55
*** githogori has quit IRC03:55
internetishardnox-: 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 IRC04:03
SpeedEvilUnless you cut the SIM, and use an adaptor in the n90004:03
*** joga has joined #maemo04:06
ZogG_lap1opinternetishard: if you cut it with the sim cutter you can kinda put it inside the part you cut it from04:18
ZogG_lap1opso you can enlarge it like it's promissed in the spam msgs04:18
*** konelix has quit IRC04:21
internetishardsounds a little dangerous, like I should have a backup sim for phone calls before I do it...04:23
ZogG_lap1ophmm if you have iphone you would be able to call04:27
ZogG_lap1opinternetishard: i cut mine myself with knife and friends sim as an example04:27
*** Saviq_ has quit IRC04:27
ZogG_lap1opinternetishard: ut watch this http://www.youtube.com/watch?v=lXiqclOVwmY&feature=related04:28
*** M4rtinK has quit IRC04:28
*** kwtm2 has joined #maemo04:30
*** kwtm has quit IRC04:30
*** M4rtinK has joined #maemo04:31
*** brzys has quit IRC04:32
*** nox- has quit IRC04:40
*** robbiethe1st has joined #maemo04:40
*** Ian-- has joined #maemo04:42
*** Wolli_ has joined #maemo04:43
*** TriztAway has joined #maemo04:43
*** fortytwo_ has joined #maemo04:43
*** guly_ has joined #maemo04:45
*** pronto_ has joined #maemo04:45
*** fortytwo has quit IRC04:45
*** mk8 has quit IRC04:45
*** rZr has quit IRC04:45
*** Wolli has quit IRC04:45
*** M4rtinK has quit IRC04:45
*** heroux has quit IRC04:45
*** Ian--- has quit IRC04:45
*** Trizt has quit IRC04:45
*** mavhc has quit IRC04:45
*** ludens has quit IRC04:45
*** pronto has quit IRC04:45
*** guly has quit IRC04:45
*** r00t|home has quit IRC04:45
*** mva has quit IRC04:45
*** fortytwo_ is now known as fortytwo04:46
*** heroux_ has joined #maemo04:46
*** r00t|home has joined #maemo04:46
*** M4rtinK has joined #maemo04:46
*** ludens has joined #maemo04:47
*** mavhc has joined #maemo04:48
*** pronto_ is now known as pronto04:55
*** kwtm2 has quit IRC04:57
*** M4rtinK has quit IRC04:57
*** radic has quit IRC05:08
*** radic_ has joined #maemo05:08
*** radic_ is now known as radic05:09
*** FIQ|n900 has quit IRC05:10
*** kwtm2 has joined #maemo05:10
*** kwtm2 has quit IRC05:13
*** kwtm2 has joined #maemo05:14
*** kwtm2 has quit IRC05:19
*** rm_you has joined #maemo05:24
*** valerius has quit IRC05:46
*** valerius has joined #maemo05:54
*** dockane has quit IRC06:03
*** dockane has joined #maemo06:05
*** mvp_ has quit IRC06:08
*** Estel_ has quit IRC06:30
*** ferdna has joined #maemo06:30
*** infobot has joined #maemo06:32
infobotDocScrutinizer: infobot joined!06:32
*** ChanServ sets mode: +v infobot06:32
*** rZr has joined #maemo06:33
*** kimitake_idle has quit IRC06:33
*** kimitake has joined #maemo06:35
*** infobot has quit IRC06:38
*** Estel_ has joined #maemo06:39
*** infobot has joined #maemo07:11
*** valdyn has quit IRC07:13
*** infobot has quit IRC07:14
*** infobot has joined #maemo07:15
*** infobot has quit IRC07:21
*** infobot has joined #maemo07:23
infobotDocScrutinizer: infobot joined!07:23
*** ChanServ sets mode: +v infobot07:23
*** valdyn has joined #maemo07:23
*** Muelli has joined #maemo07:36
*** robbiethe1st has quit IRC07:36
*** Kowalczyk has quit IRC07:44
*** Kowalczyk has joined #maemo07:45
*** rm_you has quit IRC07:48
*** DrGrov has left #maemo07:57
*** jargon- has quit IRC08:02
*** Muelli has quit IRC08:03
*** githogori has joined #maemo08:07
*** otep has quit IRC08:15
*** eMHa has quit IRC08:18
*** Dr_I has joined #maemo08:35
*** otep has joined #maemo08:42
*** eMHa has joined #maemo08:52
*** sge has joined #maemo09:02
*** otep_ has joined #maemo09:12
*** otep has quit IRC09:13
*** kimitake is now known as kimitake_idle09:40
*** OkropNick has joined #maemo09:46
*** loganbr has quit IRC09:55
*** murrayc has joined #maemo09:57
*** _berto_ has joined #maemo09:57
*** jargon- has joined #maemo09:57
*** Pavel has quit IRC10:02
*** valerius has quit IRC10:04
*** tanty has joined #maemo10:06
*** valeriusN has left #maemo10:12
*** valeriusN has joined #maemo10:12
*** ferdna has quit IRC10:12
*** jrocha has joined #maemo10:16
*** Zahra has joined #maemo10: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 #maemo10:28
*** utanapischti has quit IRC10:29
*** utanapischti has joined #maemo10:29
*** hazchemix has quit IRC10:35
*** robink_ has quit IRC10:38
*** Zahra has quit IRC10:39
*** rcg has joined #maemo10:41
*** dhbiker has joined #maemo10:45
*** robink_ has joined #maemo10:48
*** geaaru has joined #maemo10:48
*** calvaris has joined #maemo10:50
*** eijk has joined #maemo10:51
*** Zahra has joined #maemo10:58
*** norayr has joined #maemo11:03
*** loganbr has joined #maemo11:07
*** jhb has joined #maemo11:08
*** Zahra has quit IRC11:10
vi__freemangordon: Is modest included in your thumb repo?11:15
*** ychavan has joined #maemo11:22
zeqvi_: I can answer that, yes it is: modest=3.90.7-11.1-thumb311:25
*** hurbu has quit IRC11:30
*** Dr_I has quit IRC11:32
*** hurbu has joined #maemo11:33
*** rosseaux has quit IRC11:33
*** hurbu has quit IRC11:34
*** norayr has quit IRC11:44
*** rosseaux has joined #maemo11:45
*** LJL is now known as LjL11:46
*** drussell has joined #maemo11:50
*** Zahra has joined #maemo11:54
*** esfraga has joined #maemo11:57
*** Dr_I has joined #maemo11:59
*** dhbiker has quit IRC12:01
*** florian_kc has joined #maemo12:02
Dr_IHappy with current Maemo vr12: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 IRC12:04
*** tanty has quit IRC12:05
*** maybeArgh has joined #maemo12:05
*** tanty has joined #maemo12:05
*** sge has quit IRC12:05
*** pcfe has joined #maemo12:06
*** tanty has quit IRC12:07
*** tanty has joined #maemo12:08
*** lbt has quit IRC12:08
*** qwazix has joined #maemo12:08
*** lbt has joined #maemo12:09
*** lbt has quit IRC12:09
*** lbt has joined #maemo12:09
qwazixyay! 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
_freemangordonqwazix:conngrats12:10
*** uen| is now known as uen12:11
_freemangordonzeq: what is that suppsed to mean12:11
*** _freemangordon is now known as freemangordon12:11
Dr_Inot fare thou just12:12
qwazixfreemangordon, thanks12:12
qwazixtime to try cssu-thumb12:12
freemangordoni.e. that GetAvailRect is not called. Sorry, I just woke up and my brain needs some coffee12:12
*** trbs has joined #maemo12:12
*** croppa has joined #maemo12:12
*** florian_kc is now known as florian12:13
Dr_INow the origin of N9-OO is simple as it stands who say you Nokist of my right12:18
*** dhbiker has joined #maemo12:20
Dr_IOriginal programme sit as it stands and OS of simple manner12:21
zeqfreemangordon: I've been trying to debug it with romaxa12:21
freemangordongot that12:22
*** norayr has joined #maemo12:22
zeqfreemangordon: I actually need a little help:12:22
zeq09:51 < romaxa> zeq: that is why disabling if (mIsTopLevel ||12:22
zeq                mListenForResizes) { condition helps a bit in your case12:22
zeq09:52 -!- Yoric [Yoric@moz-920DB13B.fbx.proxad.net] has quit [Input/output12:22
zeq          error]12:22
zeq09:56 < romaxa> zeq: does it fix rendering if you in nsWindow::NativeResize12:22
zeq                just hardcode size for topLevel QGV up to value from12:22
zeq                nsScreenQt::GetRect?12:22
zeq09:56 -!- firebot [firebot@moz-F8C1AF63.carolina.res.rr.com] has quit [Quit: I12:22
zeq          was told to shutdown by Wolf. :-( ]12:22
zeq09: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
zeqfreemangordon: unfortunately my lack of c++ skills are hampering me.  I don't seem to be able to call nsScreenQt functions without instantiating nsScreenQt12:23
*** M4rtinK has joined #maemo12:24
zeqI added include nsScreenQt.h to nsWindow.cpp12:24
freemangordonis it static>12:24
freemangordon?12:24
*** norayr has quit IRC12:24
freemangordonhold on to open the header12:24
zeqfreemangordon: you should take a look, I'm stubling in the dark here12:24
zeqI'll remember it once I understand it ;)12:25
freemangordonok12:25
freemangordon:)12:25
freemangordonzeq: GetAvailRect does exactly what we do , i.e. QRect r = QApplication::desktop()->screenGeometry(mScreen);12:26
zeqIt's GetRect that gets called12:27
freemangordonand, yes, from what I see in the code, you should instantiate nsScreenQt, there are no static methods12:27
zeqbut yes, I saw that12:27
zeqSo, I'm getting there re. c++? :P12:28
freemangordonyep12:28
freemangordonlemme see the code you wre discussing12:28
Dr_Ifair use and mode of new Vr maemo12:29
zeq09: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 good12:29
zeq09:47 < zeq> yep12:29
zeq09:47 < zeq> that's how I interpreted it12:29
zeqromaxa agreed with my analysis yesterday12:30
freemangordonaah, yes12:30
freemangordonbut it does not make sense12:30
zeqdesign or coding?12:30
zeqor how it can happen...?12:31
freemangordonzeq: hmm I disagree, see the condition:if (mIsTopLevel)12:31
freemangordononly then global window gets resized12:31
freemangordonotherwise it is mWidget to be resized12:32
zeqbut what does mapToScene() do?12:32
freemangordonhave QtCreator?12:32
freemangordonReturns the viewport coordinate point mapped to scene coordinates.12:33
zeqok12:33
freemangordonNote: 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
freemangordonhmm12:34
zeqI won't claim to fully understand, is vitual vs descrete coordinates or something?12:34
freemangordonbut in case of top level widget , mWidget is not resized12:34
freemangordonnot sure12:34
zeqin any case, I'm not sure why that would be triggering the observered behaviour12:35
*** brzys has joined #maemo12:35
zeqhang on, I'll give you the link to my latest debug output12:35
freemangordonzeq: I still want your printf logs12:35
freemangordon:)12:35
zeq http://pastebin.com/KDZXag7E12:36
freemangordonwithout getting the whole picture... you know12:36
zeqthis isn't quite as much fun as the log from yesterday12:36
freemangordonthanks, giime some 5 minutes12:36
zeqin this case the resize wasn't being triggered12:36
zeqbut it has extra info from GetRect12:36
zeqI'll find the link for yesterday's12:37
freemangordonok12:37
*** eMHa has quit IRC12:38
*** Dynamit has joined #maemo12:40
zeqhttps://www.google.com/url?q=http://pastebin.com/ajb5ne99&sa=U&ei=83ftT7W2KOGa1AXbzqWQDg&ved=0CAcQFjAB&client=internal-uds-cse&usg=AFQjCNE2TqLUqCyQ9zR98tWbt7p5lD2pRg12:40
freemangordonzeq: BTW I'd rather support your yesterday's theory that there is a race conditions12:40
zeqsorry about that link12:40
freemangordon?12:41
freemangordonwhy sorry12:41
freemangordonso,:12:42
freemangordonOnResizeEvent: mBounds.width=480, mBounds.height=80012:42
*** eMHa has joined #maemo12:42
freemangordonOnResizeEvent: mBounds.width=480, mBounds.height=74412:42
freemangordonzeq: is that our issue?12:42
zeqyeah, that's another issue ;)12:42
freemangordonanother?12:43
freemangordonwhy another issue?12:43
zeqwhen it's "working" the height somehow gets messed up12:43
zeqit might be that which makes it work???12:43
zeqI don't know.  There is a pattern12:43
freemangordontell me12:43
zeqif you look at the output you'll notice that landscape->portrait it's correct,correct,wrong,wrong,wrong,wrong12:44
zeqand for portriat->landscape wrong,wrong,wrong,wrong,right,right12:45
freemangordonnice :)12:45
zeq(in portrait it has that missing strip at the bottom)12:45
zeqit was only a fluke that it was "working" yesterday though.12:45
freemangordonzeq: are you using availablegeometry?12:46
zeqdamn races12:46
zeqnope12:46
zeqnot using orientationChanged at all12:46
freemangordonand it still has missing stripe?12:46
freemangordonaah, ok12:46
zeqromaxa actually confirmed all the code is actually in place12:46
zeq(he was wrong)12:46
freemangordonwhere is that code?12:46
freemangordon:)12:46
freemangordonok12:46
zeqI meant when he said we had to do it all ourselves12:46
zeqit *should* work for resizes12:47
freemangordonzeq: I think I know what is going on12:47
zeqobviously it's broken, but that's another matter12:47
zeqyou do?12:47
zeq:)12:47
freemangordonresizeEvent MUST NOT be used for rotation, lemme find what Nokia says12:48
*** vi_ has quit IRC12:48
zeqok12:48
zeqI'm not using the hildon resize event though ...12:48
*** Dynamit has quit IRC12:48
freemangordonzeq: I meant Qt widget resize event12:49
*** Dynamit has joined #maemo12:49
zeqah ok12:49
freemangordonlemme google a bit12:49
zeqsure12:49
trxif the window is a QGraphicsView, you need to use its values and its onResizeEvent12:51
zeqtrx: have you looked at the debug output ^12:52
zeq?12:52
freemangordontrx: but we should wait everything to settle down before doing the resize12:52
trxas i remember that event is called several times12:52
trxon a single rotate12:52
freemangordonnow we call resize from within resizeevent, which generates another resizeevent, etc12:53
trxwith 4 diffrent values12:53
zeqbang12:53
trxand the last ones being correct12:53
trxill look at the log12:53
zeqsometimes12:53
freemangordontrx: lemme check my code which works everytime (it is from QTM Browser)12:54
freemangordonthat:12:54
freemangordonvoid BrowserMainWindow::resizeEvent ( QResizeEvent * event )12:54
freemangordon{12:54
freemangordon}12:54
zeqLOL12:54
freemangordon BrowserMainWindow is a subclass of QWidget12:56
*** psycho_oreos has joined #maemo12:57
*** kwtm2 has joined #maemo12:59
trxzeq where did the last two lines come from? who called DispatchResizeEvent with those values?12:59
freemangordonwell, in my deode QGraphicsWidget is containe in a QTabPage and is wesized from within its (container) resize event13:00
freemangordons/deode/code/13:00
infobotfreemangordon meant: well, in my code QGraphicsWidget is containe in a QTabPage and is wesized from within its (container) resize event13:00
trxwho contains the nsWindow here?13:01
zeqtrx: 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 multithreaded13:02
freemangordonhard to say who contains it, I guess it is the main widget13:02
freemangordoni.e. the one that is  created in nsfaststartqt13:03
zeqfreemangordon: 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 completes13:04
trxnsWindow::Resize(PRInt32 aX, PRInt32 aY, PRInt32 aWidth, PRInt32 aHeight,13:04
trx                 bool aRepaint)13:04
trxthats who produced the last 2 llines in the log13:04
freemangordonzeq: hard to say, it seems to me the design is broken13:04
zeqdesign? ;)13:05
freemangordontrx: which log?13:06
freemangordonzeq: without full understanding what is going on, every fix will be shot in the dark13:06
freemangordoneven the wotking one13:07
zeqI suspect that's how the code ended up in the current state13:07
freemangordon:nod:13:07
trxfreemangordon zeq's debug output13:07
freemangordonthere are 2 of them13: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=AFQjCNE2TqLUqCyQ9zR98tWbt7p5lD2pRg13:08
freemangordonhmm, zero width and height?13:09
*** marainein has joined #maemo13:09
trxzeq which NativeResize did you monitor?13:09
trxthere are two of them13:09
*** Zahra has quit IRC13:10
zeqboth13:10
zeqyou should be able to tell the difference since they have a different number of paramaters13:10
trxok, ty13:10
zeqI think the startup resizing is interesting too13:11
freemangordonzeq: do you log the result of QRect r = widget->mapFromScene(mWidget->mapToScene(QRect(aX, aY, aWidth, aHeight))).boundingRect();13:11
zeqlet me check13:11
trxyes, that is what i suspect is sending zeros13:12
zeqI output the values used, but you know what, I made an error13:13
zeqI managed to miss aX, aY13:13
zeqso it's actually not clear which NativeResize is being called13:14
trxexactly13:14
zeqI'll fix that and produce another log... it'll take a few minutes...13:15
zeqbuilding now13:17
zeqfreemangordon: how do you want me to log the result?13:18
freemangordonzeq: please log QRect r = widget->mapFromScene(mWidget->mapToScene(QRect(aX, aY, aWidth, aHeight))).boundingRect(); too13:18
*** vi_ has joined #maemo13:19
zeqfreemangordon: how do you want me to log r?13:19
freemangordonqDebug() << r;13:19
freemangordon:P13:19
trxin both of NativeResize13:19
freemangordondont forget to #include <QDebug>13:20
zeqok13:20
* freemangordon idly wonders why romaxa told zeq to use printf13:20
* zeq has no idea13:21
* vi_ by talking like this are we using telepathy?13:21
* freemangordon is using telepathy-idle13:21
*** zap_ has joined #maemo13:22
*** dos1 has joined #maemo13:22
zeqit's building again13:23
* merlin1991 thinks #maemo went bonkers13:23
freemangordonmerlin1991: you missed luf again :(13:24
merlin1991yeah I noticed13:24
merlin1991but he pmed me on tmo, thus I could email him back13:24
freemangordon~bonkers13:24
merlin1991though no response from him so far13:25
freemangordon~bonker13:25
freemangordonmerlin1991: WTF that means?13:25
merlin1991it means going nuts13:25
freemangordon~bonkers is going nuts13:25
infobotfreemangordon: okay13:25
merlin1991~wiki bonkers13:26
* merlin1991 wonderes13:26
merlin1991-e13:26
infobotAt 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 (compil13:26
merlin1991hm it's more of an adjective13:27
merlin1991~bonkers is insane13:27
infobot...but bonkers is already something else...13:27
merlin1991~forget bonkers13:27
infobotmerlin1991: i forgot bonkers13:27
merlin1991~bonkers is insane13:27
infobotmerlin1991: okay13:27
merlin1991~bonkers13:27
infobotbonkers is probably insane13:27
merlin1991there we go :)13:27
freemangordonmuch better :)13:28
merlin1991dunno how to directly overwrite a factoid13:28
* zeq is installing the new fennec deb13:31
* freemangordon hands zeq a beer13:32
zeq:(13:32
zeqI can't reach it13:33
*** marainein has quit IRC13:33
merlin1991transfering beer through the interwebz, yep #maemo is a crazy place ;)13:33
freemangordonmerlin1991: why?13:33
freemangordonI missed your point13:34
*** marainein has joined #maemo13:34
zeqinstalled13:34
merlin1991freemangordon: one could take you serious, or take your statements as yet another joke :D13:34
freemangordonmerlin1991: have in mind that libxul likning we're all wating for takes a good couple of minutes ;)13:34
*** eijk has quit IRC13:34
merlin1991ouch13:35
merlin1991on what hw?13:35
freemangordonmerlin1991: and noone can take both?13:35
*** ELFIX is now known as Elfix13:35
freemangordonmerlin1991: does not matter13:35
zeqmerlin1991: my hw is pretty quick, but it's ARMulated13:35
freemangordonit takes 10-15 mintes here, and you know my HW13:36
zeqmine did it in 9mins which is pretty impressive ;)13:36
merlin1991zeq: that is strange, sb should run a x86 linker even in the arm target to speed things up13:36
freemangordonyep, but you're not using vmware image, so not ntfs file overhead :P13:37
freemangordonmerlin1991: thish shit is HUUUGE13:37
zeqmerlin1991: it's not just linking13:37
zeqmerlin1991: there are other build time tools in the mozilla buildsystem13:37
* merlin1991 wants to give it a go, where can I clone the code?13:37
freemangordonhttps://github.com/sjnewbury/fennec-qt-maemo513:38
merlin1991hm is there a nice and great tool to put in front of the build command in order to time it?13:39
merlin1991first time I'd need such a thing :D13:39
freemangordontime?13:39
zeq:)13:39
freemangordonmerlin1991: how many cores?13:40
merlin1991413:40
freemangordonsame here13:40
zeqhttp://pastebin.com/PxfSiv9Y13:40
zeqand here13:41
* merlin1991 is scraed of all the build debs this is going to need13:41
zeqfreemangordon: I don't see "r" anywhere...?13:42
freemangordonWTF, top-level widget code is called only once13:42
freemangordon#13:42
freemangordonQRect(0,0 801x481)13:42
*** valerius has quit IRC13:42
zeqok13:42
zeq:)13:43
merlin1991holy shit the code base is huge, it's still "counting remote objects"13:43
zeqmerlin1991: mega13:43
freemangordonmerlin1991: toldya :P13:43
zeqprobably why it broke garage when I tried to upload it there ;)13:43
freemangordonzeq: you rotated only once?13:43
zeqno, I did it a couple of times13:44
merlin1991hm vlc on kde is not exactly well integrated13:44
zeqit should be clear13:44
freemangordonit is easy to ask :D13:44
freemangordon*easier13:44
merlin1991tried to open 11 files to have a playlist --> 11 instances playing at the same time13:44
*** internetishard has left #maemo13:44
zeqso why is QRect 801x481???13:45
trxyou mean why is there +1 ?13:46
freemangordonzeq: why mIsTopLevel is empty in NativeResize: mIsTopLevel: aX=0 aY=0 aWidth=800, aHeight=48013:46
*** lizardo has joined #maemo13:46
freemangordonor it is because that function is called only once?13:47
freemangordonthat code if FUBAR13:47
trxits not called only once13:47
trxyou get NativeResize everytime13:47
freemangordonthe second one ;)13:48
trxzeq did you add debug rect to both functions?13:48
zeqI thought so... hang on13:48
zeqyes13:48
trxok13:48
zeqfreemangordon: what do you mean "why mIsTopLevel is empty"13:49
freemangordonfor some reason NativeResize for the top level widget is called only once13:49
* merlin1991 ponders, git gc or not?13:49
freemangordonNativeResize: mIsTopLevel: aX13:49
freemangordonzeq: ^^^13:49
freemangordonot that means mIsTopLevel is true?13:50
zeqthat means mIsTopLevel is true13:50
freemangordonok13:50
freemangordonso, we got NativeResize for the top level widget only once13:51
freemangordonfor landscape13:51
zeqlet me look...13:51
freemangordonwhen rotated in portrait only child windows are resized, but top level remains 800x48013:52
freemangordonthus our fucked up layout13:52
merlin1991freemangordon: is there a debian/ somewhere I could use?13:53
zeqhrmmm13:53
freemangordonmerlin1991: yep, checkout maemo5 branch13:53
zeqyeah, except with the debugging from yesterday when it randommly worked13:53
freemangordoncopy ./debian somewhere, checkout master branch, and copy ./debian back13:54
freemangordonmerlin1991: ^^^13:54
zeqor you could just create a working branch and merge debian into it13:54
zeqthat's what I did13:54
zeqmerge maemo5 branch I mean13:55
freemangordonzeq: could you please restore QObject::connect(QApplication::desktop(), SIGNAL(resized(int)),13:55
freemangordon                         mWidget, SLOT(orientationChanged()));13:55
freemangordonand call nsWindow::Resize from the slot function13:55
zeqfreemangordon: romaxa mentioned that there is code which checks whether the geometry has changed13:55
freemangordonzeq: where?13:55
zeqand only calls resize if it has13:55
freemangordonI don't see it13:56
zeqI don't know13:56
zeqit might be deeper into the core13:56
zeq???13:56
freemangordonno way13:56
zeqromaxa is asleep now13:56
freemangordonzeq: no way NS code is aware if geometry changes by any other means but Qt to tell him13:56
zeqit's funny how it works for portrait->landscape every time13:57
freemangordonzeq: because your top level widget is 800x48013:57
freemangordonagree?13:57
freemangordonit never changes13:57
zeqwe know the code is aware though, even without calls to GetRect or NativeResize13:57
freemangordonit is aware through resizeEvent13:57
zeqDispatchResizeEvent has the dimensions13:57
trxyeah13:57
vi_Woody14619: ping?13:58
trxno one notifies the top level widget that dimensions are changed13:58
merlin1991rofl client.mk:263: *** Could not find autoconf 2.13.  Stop13:58
freemangordonzeq, look at nsWindow::Show(bool aState)13:58
zeqok13:58
vi_So do we have to make new developer.nokia.com accounts or what?13:58
freemangordonit is the code that calls nativeresize for the first time13:59
trxzeq it is aware, actually but it never reaches the NativeResize for the top level widget13:59
trxdoes that mean that the event is eaten somewhere else before it reaches the top level widget?13:59
trxdo we know which widget gets the NativeResize ?14:00
zeqsomething weird is happening14:00
merlin1991freemangordon, zeq the debian control file is missing the dependncy on automake14:00
zeqI still think it's because of all the events firing at once14:00
freemangordonzeq: just copy the code from ::Show into orientationChanged with check for top level widget14:00
freemangordonmerlin1991: well, it is not complete14:01
merlin1991also which automake package has autoconf 2.13?14:01
merlin1991automake1.9 has 2.61 but the build scripts wants 2.13 explecitely14:01
zeqmerlin1991: you'll also need qtm-12-dev not qtm-dev14:01
zeqlibqtm-12-dev I mean, I think14:02
merlin1991which automake though?14:02
freemangordonzeq: would you do that?14:02
zeqfreemangordon: you just mean the NativeResize part?14:02
freemangordonyep14:02
trxalso,14:02
trxi would try and return false; in nsWindow::OnResizeEvent(QGraphicsSceneResizeEvent *aEvent)14:03
freemangordonNativeResize(mBounds.width, mBounds.height, false);14:03
freemangordontrx: hmm, good catch14:03
freemangordonzeq: with correct parameters of course, and only if the widget is top level14:04
zeqok14:04
*** valerius has joined #maemo14:04
freemangordonI have to go to do some job duties, bbl14:04
zeqyou mean to pull the parameters from screenSize?14:04
*** Zahra has joined #maemo14:05
*** Zahra has quit IRC14:05
*** Zahra has joined #maemo14:05
trxzeq, also add a debug line before you call NativeResize so we can know that it is us who called it14:05
*** Zahra has quit IRC14:05
freemangordonzeq:14:05
freemangordonqDebug() << "romaxa: do not use printf when you have qDebug()";14:06
merlin1991zeq, freemangordon: http://paste.debian.net/176906/14:06
freemangordon:P14:06
merlin1991I can't find out what I need to provide autoconf 2.13 :/14:06
zeqmerlin1991: you obviously did it wrong :P14:06
freemangordonmerlin1991: change "mozilla-beta/" with "" in debian/rulse14:07
*** rZr is now known as rzr14:07
freemangordon*rulse14:07
freemangordondaaamn14:07
freemangordonrules14:07
freemangordonanyway, i really gtg14:07
freemangordonbb14:07
trxbye14:07
zeqsee you later freemangordon14:07
zeqjust us then trx14:07
zeqand merlin1991 once he gets it compiling ;)14:08
merlin1991ffs I followed fmgs advice about mozilla-beta but it still is fubar14:08
trxzeq, so where are you now?14:08
merlin1991zeq: could you pastebin me your debian/rules=14:09
merlin1991s/=/?/14:09
infobotmerlin1991 meant: zeq: could you pastebin me your debian/rules?14:09
zeqmerlin1991: sure.14:09
zeqah, I don't have it in my tree!14:10
zeqmerlin1991: as long as you have the correct mozconfig, you can use make deb14:10
zeqhttp://pastebin.com/zNSPDK0Y14:11
merlin1991so just make deb and I should be good?14:11
zeqjust drop that into the source tree14:11
merlin1991top level?14:12
zeqyep14:12
zeqthen create a build dir14:12
zeqjust like in the debian/rules you have14:12
trxzeq i have to go for about 15 mins, try and do what freemangordon suggested, and also remeber to14:13
trxset return false; in nsWindow::OnResizeEvent(QGraphicsSceneResizeEvent *aEvent)14:14
trxso it always returns false, that way it wont eat the event14:14
trxmaybe thats the bottom problem14:14
*** totalizator has joined #maemo14:14
trxbrb14:14
zeqok trx14:15
merlin1991autoconf --> build/autoconf/mozcommonheader.m4:6: error: m4_defn: undefined macro: _m4_divert_diversion14:15
* merlin1991 headdesks14:15
zeqdo you have autoconf?14:15
zeqautoconf=2.61-4maemo1+0m514:16
merlin1991k will get that then14:16
merlin1991[sbox-FREMANTLE_EXTRAS: ~/n900/fennec/fennec-qt-maemo5] > apt-cache policy autoconf14:17
merlin1991autoconf:14:17
merlin1991  Installed: 2.61-4maemo1+0m514:17
merlin1991sry bout the spam14:17
*** murrayc has quit IRC14:17
zeqmerlin1991: m4?14:17
merlin19911.4.8-214:18
zeqI have autotools-legacy devkit too, but it shouldn't be that...?14:18
merlin1991and automake I have automake1.9=1.9.5-1oss314:18
zeqI don't have automake installed as it happens14:19
zeqoh apparently I do...14:19
merlin1991the package name in my case is automake1.914:19
zeqbut it's automake1.10-autoconf26414:19
merlin1991let's try that14:19
zeqmaybe that's it14:19
zeqmake sure you have libqtm-12-dev too14:20
merlin1991build/autoconf/mozcommonheader.m4:6: error: AC_LANG_COMPILER: unknown language: _AC_LANG14:20
merlin1991this is getting better and better14:20
zeqLOL14:20
zeqdo you have all the other deps in the control file?14:21
merlin1991yes14:21
*** jluisn has joined #maemo14:21
zeqhang on14:21
zeq???14:22
zeqI don't know...14:22
merlin1991m4 --version?14:22
zeqGNU M4 1.4.814:22
zeqaclocal (GNU automake) 1.8.514:23
zeqautoconf --version14:23
zeqAutoconf version 2.1314:23
merlin1991hm aclocal is missing --> dpkg-query -S `which aclocal`14:23
merlin1991and same for autoconf please14:23
merlin1991because mine is 2.6414:23
*** freemangordon_ has joined #maemo14:24
zeqmerlin1991: mines from autotools-legacy devkit14:24
zeqapparently14:24
zeq/scratchbox/devkits/autotools-legacy/bin/aclocal14:24
merlin1991is that a host scrachbox-something package?14:24
merlin1991ah yeah14:24
zeqcould be it :)14:25
merlin1991hm how did one again put that into sb?14:25
*** valeriusN has left #maemo14:26
zeqI'm on Gentoo with updated local scratch ebuilds14:26
zeqdoesn't help14:26
*** Psi_ has joined #maemo14:26
zeqcan't you just apt-get the package from the host14:26
zeq?14:26
merlin1991yeah, only have to enable the repo again14:26
zeqassuming you're debian based14:26
merlin1991buntkuh disabled all additional repos last system upgrade14:26
freemangordon_merlin: you need gcc 4.6.2 too14:27
zeqor 4.6.3 :)14:27
merlin1991well I should be able to build it (not run) with the regular one right=14:27
merlin1991*?*14:27
zeqwho knows14:27
zeqprobably14:28
merlin1991hm I have the system package already14:29
merlin1991now I just need to add it to the target14:29
* merlin1991 reads sb-conf output14:29
freemangordon_thumb? neon?14:30
merlin1991freemangordon: I don't want to run it, only build it and see how long it takes :D14:30
freemangordon_don't think it will work14:30
merlin1991but we'll see14:30
merlin1991for now I need to add a devkit to a sb target14:31
freemangordon_yep, i don't think you'll be able to build it14:31
freemangordon_ok14:31
*** brzys has quit IRC14:32
zeqyou should be able to just drop a new compiler into /scratchbox/compilers and reconfigure the target14:32
merlin1991yeah atm I fail to reconfigure the target14:33
zeqyou could use sb-menu if you can't figure it out, or edit the config file directly14:34
merlin1991sb-menu and sb-conf have no options to edit the config, only options to add new ones / remove ones14:34
freemangordon_zeq: any news?14:35
zeqfreemangordon_: sorry, distracted trying to help merlin199114:35
merlin1991zeq: manual edit of the .config fixed it for now14:35
zeqfreemangordon_: we want to call NativeResize with values from where exactly?14:36
merlin1991hm got past the autoconf step now, but this is hilarious:14:37
merlin1991configure: error: installation or configuration problem: C compiler cannot create executables.14:37
*** atlas has joined #maemo14:37
freemangordon_screengeometry14:37
DocScrutinizer51the linker is creating executables ;-P14:37
zeqok, from screenSize, extract the height and width14:37
zeqright?14:37
freemangordon_merlin: check your mozconfig, there are some compiler swithes gcc 4.2.1 does not grok14:38
freemangordon_zeq yep14:38
zeqfreemangordon_: ok14:38
merlin1991freemangordon: fastest way to proper gcc? wget your tar untar to /scrachtbox/compilers and edit config?14:39
zeqmerlin1991: personally I'd advise you to use my one, but that's just me ;)14:41
merlin1991linky?14:41
zeqhttp://www.snewbury.org.uk/maemo14:42
merlin1991you should edit your apache config14:42
merlin1991the file names are so truncated :D14:42
zeqtrue14:43
zeqdon't use the either linaro one though14:43
japhuhm.. I'm doing just that now as well...14:43
zeqs/the //14:43
infobotzeq meant: don't use either linaro one though14:43
japhwhat takes time isn't the building but the *searching* grr14:44
japhthere's no make. no gmake. there's cmake and pmake and fakemake and...14:44
zeqfreemangordon_: I've been sent to make lunch, it'll take a extra few minutes to complete the next build14:44
japh'make lunch'14:44
Dr_Imaemo is such a great love of my time14:45
merlin1991zeq: hm where in /scratchbox are the .environment files?14:45
*** rzr is now known as rZr14:45
merlin1991okay compile seems to run now14:46
zeqmerlin1991: you're ok?14:46
merlin1991seems like14:47
merlin1991gotta love the compile scripts14:48
merlin1991halfway in it finds out there is no "python" executeable14:48
zeqLOL14:49
zeqI made a symlink to python2.514:49
merlin1991I installed *python*14:49
merlin1991which probably does exactly that14:50
zeqcould be :)14:50
merlin1991dang I should have added -j4 somehow14:50
zeqmake -j414:50
merlin1991but I forgot how to tell debhelper make options14:50
merlin1991ah wait, maemo debhelper can't even do that14:51
*** croppa has quit IRC14: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 directory14:52
zeqyou need to update your kernel headers14:53
merlin1991so you need a depends on kernel-headers aswell :D14:54
zequnfortunately I used the same kernel headers in my gcc builds as freemangordon_14:54
merlin1991hm installing kernel-headers didn't help, what todo?14:55
*** Hurrian has quit IRC14:55
*** Hurrian has joined #maemo14:55
zeqmerlin1991: I found I had to remove and then reinstall them. don't know why14:56
merlin1991ah yeah I remember that from building some cssu package14:56
merlin1991kernel-headers in sb are kinda wtf14:56
zeqprobably the toolchain version taking precidence14:57
zeqyeah, I need to redo the toolchains at some point14:57
zeqI will get around to updating the scratchbox sb-toolchain-extras to build a current toolchian, but it would take some time14:58
merlin1991hm purge -> install and still the same error14:58
zeqmake sure you remove all the kernel-headers packages and then install the cssu headers14:59
zeqit's weird14:59
trxzeq any news?14:59
zeqtrx: having lunch :)14:59
freemangordon_merlin:install kernel-power-headers15:00
trxoh :) well have a good lunch :)15:00
*** Hurrian has quit IRC15:00
freemangordon_or kernel-cssu-headers15:00
*** Hurrian has joined #maemo15:02
*** norayr has joined #maemo15:02
zeqtrx: error: cannot convert 'bool' to 'nsEventStatus' in return15:02
zeqshould I cast it?15:02
trxreturn 0; then15:02
zeqerror: invalid conversion from 'int' to 'nsEventStatus'15:03
trxsec15:03
trxlet me check15:03
trxretrun nsEventStatus_eIgnore;15:04
trxreturn*15:04
* merlin1991 stops for now, more compile fun tomorrow15:04
zeqNativeResize isn't static15:11
freemangordon_hmm, what is the original return statement15:12
zeqfreemangordon_: return status15: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 correct15:12
zeqI did that. That compiles15:13
zeqthe code above doesn't though15:13
freemangordon_zeq what is this qDebug;15:14
zeqfreemangordon_: it's nothing yet, the NativeResize isn't working (qDebug shouldn't bet there)15:14
zeqs/bet/be/15:14
infobotzeq meant: freemangordon_: it's nothing yet, the NativeResize isn't working (qDebug shouldn't be there)15:14
zeqignore it :)15:15
*** Zahra has joined #maemo15:15
freemangordon_but what is the compiler error?15:15
zeqcannot call member function 'void nsWindow::NativeResize(PRInt32, PRInt32, bool)' without object15:15
freemangordon_try with mWidget->15:16
zeqok15:17
*** edheldil has quit IRC15:17
trxyeah, mWidget->nativeResize15:17
zeqok15:17
*** maybeArgh has quit IRC15:17
*** dos1 has quit IRC15:19
*** dos1 has joined #maemo15: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 #maemo15:20
trxactually, i dont think that will work, you need to cast "this" to nsWindow and then call its nativeresize15:20
trxi doesnt compile, right?15:20
zeqright15:20
zeqmIsTopLevel and mWidget aren't in the scope of this file15:20
freemangordon_which file is that?15:20
zeqmozqwidget.cpp15:21
freemangordon_mozqwidget?15:21
freemangordon_hmm15:21
*** vi_ has quit IRC15:21
freemangordon_sorry, typing from myn900, don't have access to source code :-(15:21
zeqtrx: any ideas?15:22
*** edheldil has joined #maemo15:22
zeqrather ironic the guy with the least c++ experience doing the coding ;)15:22
freemangordon_:-D15:22
freemangordon_but you will gain a lot15:22
zeqthat's true :D15:23
trxzeq try mReceiver15:23
freemangordon_aah15:23
freemangordon_yes15:23
zeqtrx: example?15:23
freemangordon_instead of mWidget15:23
trxif (mReceiver->mIsTopLevel)15:23
zeqok15:23
trxmReceiver->nativeResize(screenWidth, screenHeight, false);15:23
trxalso add some debug lines15:24
trxso we can know if it goes in15:24
zeqok15:24
freemangordon_using qDebug() <<"whatever you want to say"15:24
freemangordon_;15:25
zeqok15:25
trxbrb, out of cigaretes :/15:25
freemangordon_:-D15:25
*** norayr has quit IRC15:25
zeqformatted string?15:26
*** dos1 has quit IRC15:26
zeqI guess it doesn't matter, nativeResize is intrumented anyway, we just need to know what's calling it...15:27
*** vi_ has joined #maemo15:27
zeqerror: 'class nsWindow' has no member named 'nativeResize'15:28
zeqhave I typo'd15: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
trxyou didnt15:30
trxits a protected procedure :/15:30
freemangordon_aah, damn15:30
freemangordon_hmm, what about Resize?15:30
freemangordon_is it public?15:30
trxyeap15:31
trxuse Resize instead15:31
zeqok15:31
*** brzys has joined #maemo15:31
freemangordon_what Resize does, generates resizeEvent?15:31
zeqno errors15:31
zeqbuilding15:31
trxit calls native resize among other things15:32
trxit also generates DispatchResizeEvent15:32
zeqshould be fun15:32
trxdo you want me to paste it freemangordon_?15:32
zeqcan do15:32
*** dos1 has joined #maemo15:32
freemangordon_trx no15:33
trxok15:33
freemangordon_trx I am using my n900, it is not fun :-D15:34
freemangordon_irc client i mean15:34
trxi believe you :)15:34
trxwhat i meant is to pastebin it tho15:35
*** GNUton-BNC has joined #maemo15:35
trxbut it doesnt matter, it will do the job15:35
freemangordon_yeah15:35
*** _berto_ has quit IRC15:37
*** NGNUton-BC has quit IRC15:37
*** Dr_I has quit IRC15:37
*** dos11 has joined #maemo15:38
*** dos1 has quit IRC15:38
*** _berto_ has joined #maemo15:39
*** trx has quit IRC15:40
*** delphi has joined #maemo15:40
*** guerby has quit IRC15:42
zeqinstalling15:42
*** maybeHere has joined #maemo15:43
*** delphi has quit IRC15:45
zeqcrap! forgot to re-enable the resize signal15:45
zeq:(15:45
freemangordon_:-D15:45
*** maybeArgh has quit IRC15:45
zeqI would remember only *after* it'd built and installed!15:46
zeqoh well ...15:46
*** trx has joined #maemo15:49
*** Dr_I has joined #maemo15:53
*** valerius has quit IRC15:54
*** _berto_ has quit IRC15:55
*** sq-one has joined #maemo15:55
*** _berto_ has joined #maemo15:56
zeqinstalled15:57
*** guerby has joined #maemo15:58
*** maybeWTF has joined #maemo15:58
*** chenca has joined #maemo15:59
vi_zeq: c'mon baby, don't quit on me no!15:59
vi_^no/now15:59
freemangordon_:-D16:00
*** trx has quit IRC16:00
*** delphi has joined #maemo16:00
freemangordon_what a drama :-P16:00
zeqI know...16:00
zeqwell, I've got a new debug output16:00
*** maybeHere has quit IRC16:00
freemangordon_does it work?16:01
zeqsame16:01
freemangordon_what?16:02
zeqhttp://pastebin.com/CRkPH9a016:02
zeqbehaviour is the same despite the changes to the debug output16:03
zeqexcuse the Calling NativeResize, it's obviously Resize now16:04
freemangordon_seems we get closer16:04
zeqIn understanding maybe16:05
zeqat least we know it isn't because NativeResize isn't being called for the new dimensions16:06
freemangordon_now we miss the call to resize and setSceneRect before calling Resize16:06
freemangordon_;-)16:07
zeqdo you want me to put those back in?16:07
zeqin orientationChanged16:07
zeq?16:08
freemangordon_yes16:08
zeqok16:08
freemangordon_but only for top level16:08
zeqok16:09
freemangordon_lets see, sorry for those shots in the dark :-(16:09
zeqwhat else can we do?16:11
*** eMHa has quit IRC16:12
zeqnew build started16:12
*** eMHa_ has joined #maemo16: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 logs16:12
freemangordon_so, if we resize the view before calling native resize, it should be ok16:13
freemangordon_at least i hope so16:13
zeqwe'll see...16:13
zeqit feels very hacky :P16:13
freemangordon_otherwise you shloud wait ntill i am back home to write a new method in nsWindow which does the right thing16:13
*** valerius has joined #maemo16:14
freemangordon_:-P16:14
zeqlike we're giving it a whack16:14
zeqfreemangordon_: 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 IRC16:15
freemangordon_I think so, at least I am near16:15
zeqthat makes at least one of us!16:16
zeqit all seems very fishy to me16:16
freemangordon_should be enough, but lets see16:16
zeqas in suspicious16:16
zeqit doesn't smell right ;)16:17
freemangordon_i could be totally wrong as well16:17
freemangordon_yeah, i told you, this code is fubar16:17
freemangordon_which one?16:17
zeqit's the whole randomness16:17
zeqcode shouldn't be random! :D16:17
freemangordon_well, that is the theory :-D16:18
zeqthis whole phase of the moon stuff...16:18
freemangordon_i have a coleague of mine who has a theory about "quantum programming"16:18
zeqIf this makes it work, I feel it's despite what it is supposed to be doing16:18
freemangordon_:-D16:18
zeq:D16:18
*** DocScrutinizer has quit IRC16: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 code16:20
zeqthere does seem to be an awful lot for what it does16:20
*** DocScrutinizer has joined #maemo16:20
freemangordon_yep16:20
zeqIt's like everybody who's ever hacked on it has added code to work around what it should be doing16:22
*** M4rtinK has quit IRC16:22
zeqit's built16:22
zeqinstalling16:22
freemangordon_exatly16:22
*** Zahra has quit IRC16:25
*** RiD has joined #maemo16:25
*** nsuffys has joined #maemo16:27
*** Dynamit has quit IRC16:28
zeqhttp://pastebin.com/M6pq74MT16:30
zeq(still broken btw)16:30
*** snoopy_ has joined #maemo16:30
*** leochencipher has joined #maemo16:30
zeqfreemangordon_: I in some extra qDebug()'s16:31
zeqput*16:32
zeqit's a bit unclear, but the QRect, resize, setSceneRec, Calling... are all in orientationChanged16:33
zeq(the other QRect is the one from earlier and appears on its own)16:34
freemangordon_will continue when i am back home16:37
zeqok16:37
*** dos11 is now known as dos116:38
*** theheadofabroom has quit IRC16:38
*** maybeArgh has joined #maemo16:43
*** maybeWTF has quit IRC16:44
*** Dynamit has joined #maemo16:45
*** eMHa_ has quit IRC16:52
*** GNUton-BNC has quit IRC16:52
*** GNUton-BNC has joined #maemo16:53
*** lxp1 has joined #maemo16:53
*** eMHa_ has joined #maemo16:54
*** lxp has quit IRC16:56
*** andre__ has joined #maemo16:58
*** andre__ has quit IRC16:58
*** andre__ has joined #maemo16:58
*** sq-one has quit IRC17:02
*** valerius has quit IRC17:05
*** guampa has joined #maemo17:11
*** ArkanoiD_ has quit IRC17:16
*** teotwaki has joined #maemo17:17
*** jluisn_ has joined #maemo17:18
*** jluisn has quit IRC17:19
*** setanta has joined #maemo17:22
*** _berto_ has quit IRC17:22
*** valerius has joined #maemo17:24
*** guampa has quit IRC17:25
*** guampa has joined #maemo17:28
*** jluisn_ has quit IRC17:47
*** eijk has joined #maemo17:48
*** ZogG_lap1op has quit IRC17:48
*** ZogG_laptop has joined #maemo17:48
*** valerius has quit IRC18:00
*** OkropNick has quit IRC18:01
*** OkropNick has joined #maemo18:05
*** dos1 has quit IRC18:05
*** jrocha has quit IRC18:06
*** dos1 has joined #maemo18:06
delphizeq18:08
*** delphi is now known as trxz18:09
*** trxz is now known as trx18:09
trxyou arround?18:09
trxseems to me that nsWindow::OnResizeEvent(QGraphicsSceneResizeEvent *aEvent) always has the correct dimensions18:10
trxyou should call NativeResize (or Resize) from there18:10
trxusing those dimensions18:10
trxthis will work finally :)18:10
*** psycho_oreos has quit IRC18:10
trxthis way the last event which has the proper dimensions will resize the view18:12
trxand so there will be no race conditions18:13
trxfreemangordon_ what do you think?18:13
freemangordon_on my way home :-)18:14
freemangordon_but zeq could try it in the meanwhile18:14
* DocScrutinizer51 idly wonders WTF (if anybody) wrote those doscs18:15
*** OkropNick has quit IRC18:15
DocScrutinizer51if 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 bugfree18:16
DocScrutinizer51grrr typos18:17
DocScrutinizer51or did I post that in another channel?18:17
*** tanty has quit IRC18:18
*** valerius has joined #maemo18:19
*** thuttu77 has quit IRC18:20
ZogG_laptopit's true to any channel18:20
*** vi__ has joined #maemo18:21
vi__has anyone heard anything about the CA address f'up?18:22
*** OkropNick has joined #maemo18:23
freemangordon_nope18:24
*** Ian--- has joined #maemo18:29
vi__what a ballbag.18:29
vi__Woody14619: ping18:30
*** Ian-- has quit IRC18:30
*** norayr has joined #maemo18:32
*** freemangordon_ has quit IRC18:34
ThreeMSc0rpius ?18:35
ThreeMin groupchats, yappari shows some names as groupname not with there nickname18:35
freemangordonok, going to try some hacks18:36
*** xkr47 has quit IRC18:37
Sc0rpiushuh18:38
*** zap_ has quit IRC18:39
Woody14619vi__: pong18:40
*** norayr has quit IRC18:42
*** Pahan has joined #maemo18:43
*** Pahan is now known as Pavel18:44
*** eijk_ has joined #maemo18:44
*** eijk has quit IRC18:45
*** sge has joined #maemo18:46
freemangordonWoody14619: I suspect vi_ is going to ask do you have some feedback frow quim re CA Nokia Developer addresses mess.18:48
Hurrianspeaking of which, I assume nobody got their CA device mails yet?18:49
Woody14619still 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
freemangordonHurrian: it seems ZogG_laptop: has received something, but it is not clear to me what exactly :D18:50
DocScrutinizer51~weather eddn18:51
infobotNuernberg, 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
DocScrutinizer51that's at airport18:52
DocScrutinizer51downtown a tad hotter18:52
Hurrianfreemangordon, I don't remember ZogG being a CA awardee though18:52
Sc0rpiusThreeM, huh?18:53
Woody14619We're slated to hit 100 most of the next week Doc.  (>37C)18:53
*** StyXman has quit IRC18:54
*** StyXman has joined #maemo18:54
*** StyXman has joined #maemo18: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 IRC18:55
Woody14619Yeah.. We're to get a few clouds with the chance of being spit on most of the day, but then nothing through next weekend18:56
ThreeMSc0rpius when im on a groupchat, some nicknames are shown corretly, and some chatpartners has no nick, yappari shows groupchatname instead18:58
*** Saviq_ has joined #maemo18:58
Woody14619vi__: 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 IRC18:59
Woody14619vi__:I recall chem|st mumbling about some screw up yesterday, but that was TMO side AFAIK18:59
*** Dynamit has quit IRC19:00
Sc0rpiusadd me to that group19:00
ThreeMhow?19:01
Sc0rpius:( true there's no way to do that yet19:01
ThreeM:)19:01
ThreeMthere are <5 users on that group19:02
Sc0rpiuswell 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 IRC19:02
*** ychavan has quit IRC19:02
ThreeMpath to the logfile?19:02
Sc0rpius /home/user/.config/scorpius/yappari.log19:03
ThreeMgive me a second19:03
ZogG_laptopfreemangordon: i didn't, it's on the way. it's n95019:04
ThreeMSc0rpius the hole 7,5MB Log?19:06
ThreeMits quite big :)19:06
Sc0rpiusno just the XML part of the last message from somebody who has no nickname or subject as a nickname19:06
Sc0rpiusstarts with <message>19:06
ThreeMk19:06
ZogG_laptopfreemangordon: i checked again info of account just after merge, as i knew it might srew things up19:07
Sc0rpiusyou can search the last thing that person said in the log19:07
Sc0rpiusand you should delete your log from time to time :)19:07
freemangordonZogG_laptop: so no mail?19:07
ThreeMahh interesting19:08
ThreeMin the log file, the name is shown corretly19:08
ThreeMSc0rpius : http://pastebin.com/C6LdL9zq19:08
*** pcfe has quit IRC19:12
ZogG_laptopfreemangordon: i got mail with tracking number19:12
freemangordonhmm, so it is only you19:12
freemangordonZogG_laptop ^^^19:13
ZogG_laptopfreemangordon: all i gave quim is developer id and nickname19:13
freemangordonyou gave it?19:13
ZogG_laptopfreemangordon: i didn't win in CA19:13
freemangordonaaah, ok19:13
freemangordon:)19:13
ZogG_laptopbut it shouldn't matter19:14
Sc0rpiusThreeM, and when she said that, her name was empty or was it the group subject ?19:14
ZogG_laptopfreemangordon: afaik jonni got device without mail, but most people got mail19:14
ThreeMit was group subject19:14
Sc0rpiusthat message was two days ago19:14
ThreeMno empty names never. Right nicknames, or group subjectname19:15
*** valerius has joined #maemo19:15
*** ArGGu^^ has joined #maemo19:15
ThreeMSc0rpius yep19:15
Sc0rpiusand all of her messages were like that or just that one?19:16
*** jean_brat has joined #maemo19:16
ThreeMsome of them19:16
ThreeMsometimes her nickname was shown correctly19:17
Sc0rpiuswhat version and build are you running?19:19
*** NIN101 has joined #maemo19:20
ZogG_laptopfreemangordon: jonni = ranistro or what is his nick on TMO, you should join #harmattan btw, as there are interesting discussions sometimes harmattan only related19:20
ThreeMSc0rpius 0.0.1319:21
*** FIQ has quit IRC19:21
ThreeMbuild 158119:21
*** ced117 has joined #maemo19:22
*** FIQ has joined #maemo19:22
jean_brathi DocScrutinizer19:24
*** user__ has joined #maemo19:25
vi__Woody14619: sorry.  I fell asleep.19:25
*** user__ has quit IRC19:25
*** Dr_I has joined #maemo19:26
DocScrutinizersorry, throttling on severe CPU overthemp19:26
*** Proteous has quit IRC19:26
freemangordonZogG_laptop: well, noone from CA winners got either mail or device, so I assume nothing is sent19:26
jean_brat5 keys on the left most bottom corner of my n900 is not working and 2 buttons in the middle E and T19:26
DocScrutinizersounds like domesheet fsckup19:26
*** PeterWolf has quit IRC19:27
jean_brati managed to rip off the N900 yet keeping the display Frc and removed the keyboard and lifted the white cover of the keyboard19:27
jean_bratyet keeping it on19:27
jean_bratnow even if i try to look at some black rust on the contact.. it seems ok there is no rust at all19:28
DocScrutinizerget a new domesheet19:28
jean_bratbut if i short inner and outer circle on the board.. they key should work rt?19:28
jean_bratthats how the doom sheet does i suppose?19:28
DocScrutinizerprobably19:29
jean_bratbut it does not work..19:29
jean_bratfor any key19:29
*** BCMM has joined #maemo19:29
DocScrutinizersorry, I never removed domesheet19:30
DocScrutinizerand I just can't find my bare PCB19:30
trxzeq, 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_bratmy question is whats the logic here.. how does it work?19:33
jean_bratdomesheet apples some kinda different voltage?19:33
SpeedEvilDomesheet connects two bits of the PCB together19:34
DocScrutinizercheck wiki where I elaborated about key matrix in 'n-key rollover'19:34
vi__jean_brat: wut?19:34
SpeedEvilit's the moving part of a switch comprised of the bit on the domesheet, and teh PCB contacts19:34
vi__jean_brat: dome sheet makes a contact.19:34
vi__probably a pull down or up.19:34
jean_bratif you lift the domesheet.. you see 2 circle for every key?19:34
jean_bratand the button press will short these circles correct?19:35
DocScrutinizerI *dunno* - told ya I never removed domesheet19: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
DocScrutinizerusually removing domesheet means you wanna (and need to) apply a new swap domesheet19:36
DocScrutinizeryeah, I got hires scans of my bare PCB19:36
DocScrutinizercheckout maemo.cloud-7.de19:37
*** tanty has joined #maemo19:37
DocScrutinizergallery or "*exploded*"19:37
*** githogori has quit IRC19:37
DocScrutinizervi__: it's a row/col matrix19:38
jean_bratany ling?19:38
jean_brat*link19:38
DocScrutinizerthis WAS a link!19:38
jean_brati 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 pressed19:39
DocScrutinizerhttp://maemo.cloud-7.de/Gallery-N900-exploded/19:39
vi__mother of god.19:40
vi__I need some coffee.19:40
DocScrutinizerI need a break, in a beergarden19:40
trxvi__ great :)19:40
DocScrutinizerhttp://wiki.maemo.org/N900_Hardware_Subsystems#Keyboard19:41
vi__DocScrutinizer: cheers.19:42
RiDi cried when i saw this image http://maemo.cloud-7.de/Gallery-N900-exploded/n900_01.jpeg´19:42
*** ArGGu^^ has quit IRC19:43
RiDhttp://maemo.cloud-7.de/Gallery-N900-exploded/n900_01.jpeg *19:43
vi__RiD: the work of a twisted deviant.19:43
DocScrutinizerhttp://maemo.cloud-7.de/Gallery-N900-exploded/platine_01.jpeg19:43
jean_bratfellas.. where to find domesheet? i assume nokia does not see then i guess19:43
DocScrutinizerRiD: why?19:43
*** xkr47 has joined #maemo19:44
*** jargon- has quit IRC19:44
DocScrutinizerjean_brat: you're talking english like a damn French19:44
DocScrutinizer;-P19:44
RiDDocScrutinizer i am not supposed to see the N900 without the clothes.19:44
freemangordonvi__: you're sure you're not sleeping still?19:44
RiDi bet he hates the keyboard, though19:45
ThreeMSc0rpius i have an actual log to. Logfile Shows name=Elena , client shows goupchat subject instead of name=Elena :  http://pastebin.com/E07XnhGN19:45
DocScrutinizerRiD: who?19:45
RiDDocScrutinizer "joerg"19:45
jean_brat*Sell19:46
DocScrutinizereh?19:46
Sc0rpiusok19:46
RiDthe arrows on the keyboard. you need to use the blue arrow to be able to press up or down. That's terrible19:46
RiDI have to do that, thanks to my little neighbour called spain.19:46
jean_bratmy bad.. i was looking at the images.. any one knows where to get a spare?19:46
jean_brat?19:46
*** teotwaki has quit IRC19:47
DocScrutinizergoogle for N900 domesheet19:47
DocScrutinizerRiD: 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
Sc0rpiusI think I've fixed it19:48
ThreeMoh, that was quick19:49
*** darkschneider has quit IRC19:49
RiDDocScrutinizer i guess. I hate the Spanish/Portuguese keyboard too19:49
DocScrutinizerwelll.....19:50
*** SpeedEvil has quit IRC19:50
RiDi have a completely useless key added there, in the place of the up arrow lol19:50
DocScrutinizer~ DocScrutinizer19:50
infobotfrom memory, docscrutinizer is jOERG, a HW-developer and engineer of Openmoko19:50
*** Proteous has joined #maemo19:50
RiDits you? :D19:50
*** valerius has quit IRC19:50
RiDoh nvm lol infobot19:50
RiDjesus i need glasses19: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
RiD4th?19:54
vi__Blue+shift19:55
RiDoh, 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
Sc0rpiusThreeM, try this for a while: http://uppit.com/ktbx28tsxq3u/yappari_PRE3-0.0.14_armel.deb19:56
*** ArGGu^^ has joined #maemo19:56
DocScrutinizerRiD: btw: http://wiki.maemo.org/index.php?title=N900_Hardware_Subsystems&diff=37619&oldid=3593919:57
RiDvi__ but where would you find a *legit* english keyboard for n900? Not those chinese ripoffs19:57
*** SpeedEvil has joined #maemo19:57
vi__Rid that is not so easy.19:57
ZogG_laptopvi__: you can make custom language19:57
ZogG_laptopRiD: ^19:57
RiDWell, i'll leave that for later lol19:57
DocScrutinizerRiD: I got mine from saremi19:57
ZogG_laptopbtw 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 #maemo19:58
SpeedEvil(a moderate fraction of the time, it hangs my GPU, in that combination)19:58
ThreeMi try :)19:58
DocScrutinizerSpeedEvil: the purpose of that gallery been explicitly to provide max highres stuff ;-)19:59
SpeedEvilAnd yeah.19:59
SpeedEvilI should report the bug, but doubt anyone cares.19:59
*** mardi has joined #maemo20:00
DocScrutinizeranyway, afk to chillout20:01
vi__http://wiki.maemo.org/Remapping_keyboard/user_vis_awesome_kbdmapping20:01
*** florian has quit IRC20:01
DocScrutinizerliterally20:01
vi__RiD: ^20:01
DocScrutinizerI doubt he's interested until he fixed his domesheet20:02
DocScrutinizeror whatever the actual issue20:02
vi__oh20:02
DocScrutinizerooops, that's not been RiD20:02
DocScrutinizero/20:02
*** calvaris has quit IRC20:02
RiDnot me lol20:02
DocScrutinizeroo20:02
RiDI will do that IF the phone comes back from nokia idon'tcare working20:03
RiDIF it ever comes back20:03
*** teotwaki has joined #maemo20:05
*** teotwaki has joined #maemo20:05
*** Zahra has joined #maemo20:06
*** valerius has joined #maemo20:09
*** BCMM has quit IRC20:11
*** jluisn has joined #maemo20:12
*** geaaru has quit IRC20:14
*** markinfo has joined #maemo20:21
*** Darkchaos has joined #maemo20:27
*** jargon- has joined #maemo20:30
freemangordonPali, ping20:32
*** TriztAway is now known as Trizt20:40
*** eMHa_ has quit IRC20:41
*** qwazix_ has joined #maemo20:46
*** _federico3 has joined #maemo20:50
*** rZr is now known as rzr20:53
*** vi__ has quit IRC20:56
*** sge has quit IRC20:59
*** brzys has quit IRC21:00
*** florian has joined #maemo21:02
*** tanty has quit IRC21:05
*** Atarii has joined #maemo21:06
*** Atarii has quit IRC21:06
*** Atarii has joined #maemo21:06
*** hurbu has joined #maemo21:07
*** vi__ has joined #maemo21:14
*** zeq has quit IRC21:14
*** githogori has joined #maemo21:15
*** zeq has joined #maemo21:16
*** hurbu has quit IRC21:17
*** thuttu77 has joined #maemo21:17
*** eMHa_ has joined #maemo21:22
*** johnsu01 has quit IRC21:28
*** johnsu01` has joined #maemo21:28
*** hurbu has joined #maemo21:29
zeqfreemangordon: 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
zeqhttp://pastebin.com/iz8GeT9N21:32
*** piggz has joined #maemo21:34
*** Zahra has quit IRC21:35
zeqtrx: new log up ^21:35
*** Darkchaos has quit IRC21:36
jean_brathi DocScrutinizer,21:46
jean_brati think it may not be the domesheet issue21:47
jean_bratkeys corresponding to row 4 5 and 2 are not working21:47
jean_brattranslation.. these rows are not powered at all.. in order to scan the output voltage21:48
trxzeq always working?21:48
zeqyes, but it's quite slow to adjust21:49
*** Kowalczyk has quit IRC21:49
trxis repaint = false in Resize?21:50
zeqyes21:50
trxdoes it rotate, but it takes a while to update or something else?21:51
zeqI don't' think that's actually the thing making it work though.21:51
trxtry to rotate and the scroll right away21:51
trxif it updates, then make that repaint = true21:51
zeqit rotates, then most of the widgets are resized, then the view is resized too21:51
trxalso, did you read what i wrote about onResizeEvent ?21:51
zeqwe had it kind of working like this before21:52
zeqwithout so much code, although it now uses the full height, whereas before it didn't.21:52
zeqif you look a the log OnResizeEvent gets triggered ron resize()21:52
zeqs/ron/on/21:52
infobotzeq meant: if you look a the log OnResizeEvent gets triggered on resize()21:52
trxonResizeEvent is the "last" event that gets called21:53
trxthats why i believe that you should move that code to OnResizeEvent21:53
zeqOrientation changed!21:53
zeqQRect(0,56 800x424)21:53
zeqresize()21:53
zeqOnResizeEvent: mBounds.width=800, mBounds.height=42421:53
zeqDispatchResizeEvent: event.refPoint.x=0, event.refPoint.y=0, event.mWinWidth=800, event.mWinHeight=424 ..21:53
zeqNativeResize: aWidth=800, aHeight=42421:53
zeqOnResizeEvent: mBounds.width=800, mBounds.height=42421:53
zeqDispatchResizeEvent: event.refPoint.x=0, event.refPoint.y=0, event.mWinWidth=800, event.mWinHeight=424 ..21:53
zeqGetRect: outTop=0 outLeft=0 outwidth=800 outHeight=48021:53
zeqGetRect: outTop=0 outLeft=0 outwidth=800 outHeight=48021:54
zeqGetRect: outTop=0 outLeft=0 outwidth=800 outHeight=48021:54
zeqGetRect: outTop=0 outLeft=0 outwidth=800 outHeight=48021:54
zeqGetRect: outTop=0 outLeft=0 outwidth=800 outHeight=48021:54
zeqGetRect: outTop=0 outLeft=0 outwidth=800 outHeight=48021:54
*** bburhans has joined #maemo21:54
zeqsetSceneRect()21:54
zeqmReceiver->Resize()21:54
zeqsorry about the noise21:54
Sc0rpiuswhat are you trying to do?21:54
*** Kowalczyk has joined #maemo21:54
trxon OnResizeEvent creates DispatchResize event21:54
trxthe problem is, DispatchResizeEvent does not update the view21:54
zeqbut something is21:55
trxthats why OnResizeEvent should also resize the view21:55
Sc0rpiushttp://doc.qt.nokia.com/qt-maemo-4.6/maemo5-rotation.html21:55
*** livelace has joined #maemo21:55
zeqSc0rpius: I've read that :)21:55
trxzeq i would still try to put it there as its the most logical place for that code to be21:55
trxit always has the correct values21:56
trxand is last in event chain21:56
zeqtrx: I want to understand why using values from availableSize triggers the display to resize21:56
*** ArGGu^^ has quit IRC21:56
zeqwhereas it doesn't for screenSize21:56
trxi would assume that screenSize returns the screen size while availableSize returns usable space21:57
zeqif we can understand that, I think we will know what's going on21:57
trxscreenSize would then be updated when eg, you hide and show the system status bar21:58
zeqtrx: it does21:58
trxit should work in both cases21:58
zeqexcept fennec is running fullscreen/maximized21:58
trxbut my guess is there is a bug somewhere21:58
zeqit *doesn't* work in both cases21:58
trxbetween like X and Qt21:59
zeqyou can see the differnt values from the earier debugs21:59
trxyeah21:59
zeqSc0rpius: you any good at debugging these things?21:59
trxbut still, i am pretty sure that if you use QGraphicsView you need to use its values21:59
Sc0rpiuswhat are you trying to do exactly? make fennec rotate?21:59
trxi have read that in the docs22:00
Sc0rpiusI thought fennec already rotated.22:00
zeqSc0rpius: yes22:00
zeqSc0rpius: that was gtk2 fennec ;)22:00
Sc0rpiusis there a Qt fennec?22:00
Sc0rpiusmust be hell slow22:00
zeqtrx: so QGraphicsView should know the viewport dimensions already?22:01
zeqSc0rpius: it's serveral times faster than the gtk verion22:01
Sc0rpiusthat's weird.22:01
zeqs/verion/version/22:01
trxyes, those values in its ResizeEvent should be used22:01
infobotzeq meant: Sc0rpius: it's serveral times faster than the gtk version22:01
Sc0rpiuswhen you get the resized(int) event from desktop you already have the new size calling desktop()->screenGeometry()22:02
trxand are correct22:02
Sc0rpiusthen you have to resize all widgets and call update to each22:02
Sc0rpiusand that's it, right? I see no complications.22:02
zeqSc0rpius: you obviously haven't seen the code ;)22:02
trxSc0rpius thats the problem, they do but the top level widget does not22:02
trxzeq, thats only thing that i have to offer atm22:03
*** vi__ has quit IRC22:04
zeqSc0rpius: https://github.com/sjnewbury/fennec-qt-maemo5/tree/master/widget/qt22:04
Sc0rpiusthe top level widget has the Qt::WA_Maemo4AutoOrientation attribute on true?22:04
* Sc0rpius clicks22:04
trxSc0rpius check the code ;)22:04
zeqSc0rpius: yes.22:04
zeqThe code currently in master doesn't work. I'll push something that kind of does...22:05
*** johnsu01` has quit IRC22:05
*** johnsu01` has joined #maemo22:05
*** johnsu01` is now known as johnsu0122:05
Dr_IMaemo is my pride and settlement22:07
Sc0rpiuswell 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
zeqSc0rpius: I'm going to hold off pushing for now, there's enough in there to get the idea22:07
zeqweird22:07
zeqWFM22:07
trxzeq, please try? :)22:09
zeqtrx: so what do you want me to add exactly?22:09
trxthe code that we have put in orientation changed22:09
trxmove it to nsWindow::onResizeEvent22:10
zeqok22:10
trxbefore it sends DispatchResizeEvent22:10
zeqwith the screenSize instead of availableSize22:10
zeq?22:10
trxno, use the values from the parameter22:10
zeqok22:10
trxrect.width = aEvent->newSize().width();22:11
trx    rect.height = aEvent->newSize().height()22:11
trxreuse that22:11
zeqok22:11
zeqjust creating a debugging branch22:11
trxok22:11
zeqso I can keep the semi-working version22:11
trxlet me know what happens22:12
trxbut i expect it to work22:12
trxits about time :)22:12
zeqno kidding! :)22:12
zeqthis is really tiring!22:13
zeqdo we need the setSceneRect?22:14
trxdoesn't hurt22:16
zeqaEvent->newSize()?22:16
trxyeah22:17
zeqscene() isn't available22:20
trxlet me check22:21
zeqnor is resize()22:21
zeqI'll try with MozQWidget::22:22
*** jean_brat has quit IRC22:23
zeqthat seemed to fix resize()22:23
trxyeah22:24
Woody14619Ok... 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
trxits a friend class22:24
zeqWoody14619: Holidays?22:25
trxWoody14619 have fun, bye..22:25
zeqWoody14619: bye22:25
zeqtrx: how do I call them (was mistaken about resize() too)22:25
*** Woody14619 has quit IRC22:25
trxyou dont need anything for resize, just call Resize22:26
zeqok22:26
zeqthat gets called anyway22:26
trxmIsTopLevel also22:26
trxwhat else?22:26
zeqisTopLevel is fine22:27
zeqsscene()->setSceneRect()22:27
zeqs/ss/s/22:27
infobotzeq meant: scene()->setSceneRect()22:27
trxoh, that22:27
zeqskip it?22:28
trxcan you cast "this" as QGraphicsView ?22:28
zeqplease give example22:29
*** teotwaki has quit IRC22:29
trxthats the problem, i can't :)22:29
trxskip it then22:29
zeq:)22:29
zeqyep22:30
zeqbuilding22:30
*** livelace has quit IRC22:31
trxok, going to eat something, brb22:31
zeqok enjoy22:32
zeq:)22:32
*** NIN101 has quit IRC22:35
*** Woody14619 has joined #maemo22:35
*** Woody14619 has quit IRC22:35
*** Woody14619 has joined #maemo22:35
*** Woody14619 has left #maemo22:35
*** chenca has quit IRC22:41
*** rm_you has joined #maemo22:41
*** rm_you has joined #maemo22:41
*** snoopy_ has quit IRC22:45
*** sq-one has joined #maemo22:48
zeqtrx: http://pastebin.com/dXnWLNB022:51
zeqtrx: nope :(22:51
*** sLumPia has joined #maemo22:53
zeqtrx: I accidently left the resize() and setSceneRec() debug messages in there22:53
trxzeq you removed that code from orientationChanged() right?22:58
zeqyes22:59
trxwe need setSceneRec then too22:59
zeqthe Orientation changed! is the only thing now in there22:59
trxbut i don't know how to access it from there22:59
trx:(22:59
zeqIt's not that which is making it work though.... hang on22:59
trxthe object that receives OnSceneRect is a QGraphicsView23:00
trxups23:00
trxi meant :23:00
trxthe object that receives OnResizeEvent is a QGraphicsView23:00
trxbut i dont know how to cast it23:00
zeqit was the extra resize() to a smaller than screen size which somehow made it "notice"23:00
*** vi__ has joined #maemo23:01
vi__ping...anyone23:01
trxthen rect.adjust(0, 0, -1, -1);23:02
trxbefore you resize23:02
trxvi__ pong23:02
zeqtrx: in OnResize ?23:03
trxno, before you call Resize23:03
zeqwhich function?23:04
trxyou pass rect.width and rect.height as parameters for Resize23:04
*** sLumPia has quit IRC23:04
trxcan you pastebin that unit please?23:04
zeqOnResizeEvent() ?23:04
trxyeah23:05
zeqok23:05
Viltzuzeq, how the gcc 4.6+ howto is going? :)23:05
*** sLumPia has joined #maemo23:06
zeqViltzu: do you have SDK set up?23:06
Viltzuafaik yes.. I'm just using the all-done image from Nokia.23:07
ViltzuAnd it has SDK, yes? :P23:07
zeqtrx: http://pastebin.com/KfWueATf23:07
trxty23:07
zeqViltzu: you can drop the gcc-4.6.3 toolchain from here: http://www.snewbury.org.uk/maemo into /scratchbox/compilers23:08
zeqjust unpack into there, you can then select it when setting up a target23:08
zeq^ short HOWTO ;)23:09
*** erkules has joined #maemo23:11
vi__can someone paste me a link to the las irc meeting log?23:11
ViltzuOk.23:11
trxzeq : http://pastebin.com/fn5HTeFj23:11
trxtry this, it will make the rect smaller too, as you suggested23:12
trxalso, i have moved it after DispatchResizeEvent23:12
trxnow it has to be the last one in the chain23:13
trxzeq try it like that, if it doesnt work i give up :)23:14
trxalso, i must go, i will be back in 30 mins or so23:14
trxbbl23:14
zeqtrx:  error: 'struct nsIntRect' has no member named 'adjuct'23:16
zeqI tried adjust too23:16
*** sLumPia__ has joined #maemo23:17
*** sLumPia has quit IRC23:17
*** githogori has quit IRC23:17
*** qwazix_ has quit IRC23:19
zeqtrx: I used SetRect() since it's the only member function with suitable arguments.23:22
*** Darkchaos has joined #maemo23:23
zeqif this doesn't work I'm going to try minimizing the inexplicable working case from earlier.23:23
*** sLumPia__ has quit IRC23:23
*** jhb has quit IRC23:23
*** Muelli has joined #maemo23:25
*** M4rtinK has joined #maemo23:27
*** RiD has quit IRC23:28
*** githogori has joined #maemo23:30
*** sethstorm has quit IRC23:32
*** maybeHere has joined #maemo23:34
*** maybeArgh has quit IRC23:36
*** rzr is now known as rZr23:36
*** maybeWTF has joined #maemo23:37
*** brzys has joined #maemo23:38
*** maybeHere has quit IRC23:39
*** ArGGu^^ has joined #maemo23:44
*** vi__ has quit IRC23:45
*** [XeN] has joined #maemo23:51
zeqtrx: nope didn't work23:52
*** jluisn has quit IRC23:53
*** snoopy_ has joined #maemo23:53
*** nox- has joined #maemo23:55
*** snoopy_ has quit IRC23:58

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!