libera/#maemo-leste/ Friday, 2023-10-06

uvosmaybe they could check thair inventory and tell us what cell they have that is the largest that fits into the d4's battery bay01:15
uvosthen they could sell us the bare cell with maybe some nickle stips attached for us to solder to the original bsm/my pcb01:16
uvossince unfortinatly parametic search on li-ion cells is not something you can just do as a consumer01:17
uvoseven selling us the bare cell from the e960 battery without the nexus bms would be a start01:18
WizzupI am not sure if they would be willing, but we could try02:24
Wizzupuvos: actually I kind of like it03:11
WizzupI guess they could get the droid4 size easily from a eb41 search03:18
WizzupI asked him03:25
freemangordonuvos__: do we want osso-abook(the library) to do   hildon_uri_open()? I guess yes, but just to confirm.09:14
freemangordonI know addressbook (the application) should do, albeit using hildon_uri_open_filter()09:14
freemangordonhmm, no, lib should not try anything but TP09:22
freemangordonor not?09:44
uvos__why not? the lib is bound to be used in other applications where this is usefull09:57
uvos__not least sphone itself09:57
freemangordonso you expect abook lib to call sphone back to dial a number?10:18
freemangordonI am trying to make the big picture clear to myself10:18
freemangordonand more or less agree lib shall do hildon_uri_open() calls10:19
freemangordonbut that will not work properly without some sane defaults10:19
freemangordonor sphone registering itself as osso service10:19
freemangordon(in case of sphone)10:19
freemangordonimagine:10:19
freemangordonwe don't tha TP ting account10:20
freemangordonuser wants to dial a phone through sphone abook lib contacts chooser10:20
freemangordonsorry for the typos10:20
freemangordon"we don't have TP ring account"10:21
freemangordonso, she presses the phone field, lib sees there is no ring account and calls hildon_uri_open()10:21
freemangordonthis will open osso-addressbook by default :)10:21
freemangordonOTOH, I don't think XDG shall be primary and osso fallback10:23
freemangordonBTW, I don;t think we shall limit hildon_uri_open() fallback logic to tel/sms only10:24
freemangordonwe may want to fallback to pidgin (for example) for chats etc10:24
uvos__freemangordon: it dose that allready for everthing except tel and sms10:25
uvos__pidgen should work ever since we added xdg support to libhildonmime10:25
freemangordonumm, where did you see that?10:25
freemangordonin abook lib I mean10:25
uvos__sec10:25
uvos__ok looks like its only for mail which makes sense, yeah chat is tp only10:30
uvos__freemangordon: to the above10:32
freemangordonmhm10:32
freemangordonso no fallback currently10:32
uvos__freemangordon: frankly i dont see the usecase of abook-lib ever calling osso-addressbook to handle anything10:32
freemangordonhildon_uri_open() will do it10:33
uvos__so we can just hardcode abook-lib to ignore osso-addressbook10:33
freemangordonno10:33
uvos__why not?10:33
freemangordonbecause this might be a valid use-case10:33
uvos__i dont see how a hildon_uri_open from abook-lib should ever end up in osso-addressbook10:33
freemangordoncan't imagine now, but that looks like a huge hack10:33
freemangordonbecause osso-abook is registered as soos service10:34
freemangordonsec10:34
uvos__i know why it dose it10:34
freemangordonhttps://github.com/maemo-leste/osso-addressbook/blob/master/data/osso-addressbook.desktop10:34
uvos__but i mean there is no usecase for a abook widget to ever open osso-addressbook to handle a url10:34
uvos__since osso-addressbook then pops up the "add contact" dialog10:34
freemangordonexactly10:34
uvos__and that makes no sense if the user clicked on the link inside the abook in the firstplace10:34
uvos__so just filter away the osso-addressbook in every uri_open call in abook10:35
freemangordonosso-addressbook is just an application10:35
freemangordonand there is no issue when user clicks link from it (already added filter)10:35
uvos__its an application that registers a osso-service10:35
freemangordonbut if it is not osso-addressbook that uses the lib10:36
freemangordonthen we have an issue10:36
uvos__i dont see why, every call to libhildonmime from abook-lib simply filters away the osso-addressbook service and everything works fine10:36
freemangordonno, we can't do that10:36
uvos__why not?10:36
freemangordonI mean - this is ugly hack10:36
uvos__i dont think its that ugly really10:37
freemangordonwhat about abook applet then?10:37
freemangordonumm...10:37
freemangordonwait10:37
uvos__what about it?10:37
freemangordonscratch that10:37
uvos__a bigger problem i see is the other direction10:37
freemangordonwhy should be osso-addressbook any special?10:37
uvos__i mean if you dont want it to be special10:38
uvos__you can implement something like android intents10:38
freemangordonno idea what it is10:38
uvos__android intents allow handlers to have specific purposes10:39
uvos__ie the dispach can give a hint that: this schal be used to communicate10:39
uvos__or: this shal be stored in some address book10:39
uvos__etc10:39
freemangordonwe have similar already10:39
freemangordonnot same, but similar10:39
uvos__well the services dont work that way10:40
freemangordonhildon-uri actions10:40
freemangordonthey do10:40
uvos__afaik libhildonmime has no way of being told to only consider handlers of a certain type10:40
freemangordonyes, see the second parameter of  hildon_uri_get_actions_by_uri()10:41
freemangordonso there seems to be some idea we can extend10:42
uvos__well that10:42
freemangordonbut, I don't really want to go into that10:42
uvos__dosent really have that kind of granularity that android intents have at all10:42
freemangordonsure10:42
uvos__like what dose NORMAL and NEUTRAL even supposed to mean10:43
freemangordonstill trying to grok :)10:43
uvos__anyhow the clean solution would be to have "open" and "store" be different actions10:43
uvos__and xdg-open only responds to "open" (obviously) and osso-addressbook only to "store"10:44
uvos__that would be copying android essentally10:44
uvos__the sliglty less clean solution (but imo not bad) would be to just hardcode filter away osso-addressbook in abook-lib10:44
freemangordondunno, really sounds like a hack to me. that way we say osso-addressbook is the only addressbook on the system, which contradicts to what you are fighting for all the time :p10:47
uvos__this is true, and i use gnome contacts some10:48
* freemangordon puts his devil's advocate hat on10:48
uvos__but in the end gnome-contacts dosent use libhildonmime anyhow10:48
uvos__so it has no effect10:48
freemangordonright, but we limit osso addressbook provider10:49
uvos__this is another big problem for this whole construction of course, firefox will never choose a osso-service to handle something10:49
freemangordonit shall never I think10:50
uvos__why not?10:50
uvos__we could have speical .desktop files for osso-services10:50
freemangordondialer shall register with xdg, no?10:50
uvos__that call libhildonmime with some parameters10:50
uvos__that then are registered with xdg10:50
uvos__anyhow not important right now10:51
freemangordonright10:51
freemangordonhmm, I wonder why is not osso-addressbook kalled for emails10:52
freemangordon*called10:52
uvos__probubly modest is just head of it in the list10:54
uvos__*ahead10:54
freemangordonThat'd be really crazy if Nokia counted on that10:55
freemangordonok, will check that when I have some time, have to run now. ttyl10:56
arno11Wizzup: sicelo: i tweaked transition.ini a bit (a lot in fact) and result is crazy: the UI is now really fast (even without overclock)11:57
arno11apt-worker is a big concern too. must be disabled i think, without overclock n900 is unusable for 5 min at least when apt-worker is running...12:10
Wizzuparno11: what kind of changes?14:20
maxwelldi am sorry for this but why are they writing fremantle under this video? https://invidious.protokolla.fi/watch?v=liaaYHuQmf014:27
maxwelldisn't it the name of the wind?14:27
maxwelldomg14:28
maxwelldthey are writing it under all videos.14:28
maxwelldsorry.14:28
arno11Wizzup: almost every 250 ms parameters to 50ms and disabling all zoom and animations (which are already not really working)14:57
Wizzupcare to share the diff14:58
Wizzup?14:58
arno11of course14:58
Wizzupwell, actually, take your time, I'm going to sleep soon :)14:58
arno11ok no probs man :)14:58
Guest224arnoll: how much it would save memory of N900, if there is solid background and only one desktop screen?19:03
Guest224*arno1119:04
Guest224maybe not much, but even 1 MB counts. I think it is something between from 1,1 to 3,3 MB.19:11
arno11Guest224: yes between 1 and 3MB21:00

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