libera/#maemo-leste/ Wednesday, 2024-05-29

unic0rnare photos supported when importing contacts from vcf? and if so, in which format?02:16
Wizzupgood question, try to find out :D02:21
unic0rnoh, I will :P for now I know it doesn't handle urls from google. it's almost 3am though, and it's back to magento coding in the morning, so I might, with pain, take a break02:46
unic0rnbut after some experimenting, while it's clearly an alpha and not all puzzle pieces are yet in place, I love this system02:47
unic0rnsidenote, any recommendations for a d4 battery replacement?02:48
unic0rnmine isn't a total piece of crap, but so far it shows 730mAh max and it doesn't look like further calibration cycles will improve it - although it holds better than I expected anyway02:49
freemangordonunic0rn: most of us had implanted the cell from e960 while keeping the original battery electronics07:31
freemangordonand yes, photos are supported in vcf, at least when exported from n90007:32
freemangordonsicelo: oh, great (re ofono)07:33
freemangordonhttps://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=39fa992f074e1585b3786630f52f79085502932d :)07:43
freemangordonok, I think we can do some experimenting with upstream ofono soon07:44
freemangordonWizzup: https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=2da0527477383561ca476d738096145a5dab74d1 :)07:56
sicelounic0rn: photos should be in the vcf ... i believe b64 encoded (or similar)08:35
Wizzupfreemangordon: yes, sounds good @ ofono10:45
Wizzupunic0rn: glad you like it, and yes, te stoack batteries are pretty poor10:45
Wizzupthe stock*10:46
inkyfolks, i hope my mz617 will arrive soon, so if you find time to try to describe installation instructions on wiki, i'll try to follow them with less (hopefully no) questions in the chat.12:04
unic0rnfreemangordon: nexus 4, got it. I think I saw it mentioned. thanks12:18
unic0rnsicelo: yeah, I believe so, vcf works, just the urls that google generates don't. will check later12:18
unic0rnWizzup: yeah, the hacker in me got a "toy". it's a pitty that as far as qwerty is concerned, d4 is the best choice. pinephone with keyboard case is just... big. on the other hand, d4 seems built like a tank, it was a high end device back in the day12:20
unic0rnwhen I think how would a phone with qwerty and the specs of my main phone run maemo, I can only hope we'll get there one day12:21
Wizzupinky: I'm working on it, it's on my desk, but since I switched my main sim to leste I've been killing bugs :P12:21
unic0rnalso, 2 more questions. one, any reason I'm not getting sms notifications? they arrive, but there's nothing on the lock screen nor notification led (it's enabled in settings). is it related to conversations not being default app for sms perhaps? any way to change it?12:22
unic0rnand two, any reason phone settings hang? sim-related?12:22
unic0rnI would also ask if anyone happens to have an icc profile of d4's screen, but I guess not and I'll just toy with redshift ;) I've noticed how much colors are off when I've set terminal theme to solarized12:24
Wizzupthe -devel branch will give you notifications12:26
dsc_unic0rn: apt policy conversations12:26
Wizzupif you're not on devel, you will still be using sphone for sms which is limited in terms of maemo functionality12:26
unic0rnhow do I switch to devel?12:27
Wizzuphttps://leste.maemo.org/Development12:29
dsc_deb https://maedevu.maemo.org/leste chimaera-devel main contrib non-free  droid412:30
dsc_/etc/apt/sources.list12:30
Wizzupwell, that exact line depends on your device/setup12:30
Wizzupthe wiki above elaborates on this12:30
Wizzupjust keep in mind that when -devel breaks, well, that's expected from time to time12:31
unic0rngot it12:36
unic0rndist-upgrade it is12:38
unic0rnI assume backend is broken?12:48
Wizzupunic0rn: you need to reboot\12:50
unic0rnI did12:50
unic0rnconversations stopped seeing sms messages, sphone sms app crashes, dialer doesn't see ofono either12:52
unic0rnit's not a problem if it's a known issue, just wondering if there's something else I should do12:52
Wizzupwill need more info12:57
unic0rnMay 29 12:45:26 localhost ofonod[2343]: Requested file structure differs from SIM: 6fb712:57
unic0rncan this be an issue?12:57
unic0rnshouldn't be, it was there before.12:58
Wizzupsorry, I do want to help you with this but I can't troubleshoot this right this second12:59
Wizzupmaybe make sure you're fully up to date12:59
Wizzupunic0rn: one idea13:01
Wizzupcd /home/user/.rtcom-eventlogger13:01
Wizzupmv el-v1.db el-v1.db.old13:01
Wizzuptry this13:01
Wizzupand then reboot13:01
unic0rnrebooting13:02
unic0rnthat's a bit worse actually ;) same issues, but additionally conversations, instead of empty all, sms and I think commtest tabs, shows only empty all13:07
uvossphone absolutly dose notifications for sms13:09
uvosthere is something broken there if it dose not13:09
uvosand there is a good chance it isent sphone13:10
unic0rnuvos: on main branch? after unlocking the phone, I could see the notification, but there was none on the lock screen for sms, and no notification led13:10
uvosthe led should work13:11
unic0rnlock screen notifications worked fine for calls and email13:11
uvosthe lock screen dose not13:11
uvosthe lock screen should not work for calls either13:11
uvosso thats a bit wierd13:11
unic0rnthere are more weird things when I think about it. there's supposed to be a lock screen code, but it never asks for it13:11
unic0rnit's just swipe13:11
uvosthis is broken yes13:12
uvosthe way the lock screen works is specific to n900 hw13:12
unic0rnas for calls, when the phone is locked, a call lights it up as I recall13:12
uvosit cant work on anything else atm13:12
unic0rnI know I was surprised since it even switched orientation13:12
unic0rnfrom landscape to portrait13:12
uvossure thats as intended13:13
Wizzupuvos it does not show them on the lock screen13:13
unic0rnanyway, for now nothing works :D13:13
uvosdevel calls is really broken atm13:13
uvosi would stick to stable for that13:13
WizzupI use it daily and it works ok for me.13:14
uvosotherwise yeah its all wip still13:14
Wizzupunic0rn: is telepathy-ring running?13:14
unic0rnit is not13:14
Wizzupis it installed at least? dpkg -l | grep telepathy-ring ?13:14
Wizzupunic0rn: your phone is all kinds of special :)13:15
Wizzupseveral others have done this and I don't think they got this problem13:15
Wizzupg2g, bbl13:15
dsc_nobody ever calls me so I dont have any issues13:16
unic0rnit is installed13:16
Wizzupunic0rn: run mc-tool list13:30
Wizzupwhat does it show13:30
Wizzupalso is mission-control-5 running and is voicecall-manager running13:30
Wizzupuvos: so any diea what is up with headset?13:31
unic0rnmc-tool list shows nothing13:31
unic0rnmission-control-5 is running, twice13:32
freemangordontwice?13:32
unic0rnvoicecall-manager is also running13:32
unic0rnyes, twice13:32
unic0rnonce as user, once as root13:32
unic0rncould be a result of me doing something13:32
freemangordonseems like13:32
freemangordonmc should not run as root13:33
uvosWizzup: headset?13:33
freemangordonmc == mission-control-513:33
freemangordonunic0rn: after restart, without doing anything, how many mc instances there are?13:34
freemangordonalso, mc-tool should be run as user, not as root13:34
unic0rnI'll check in a sec, just wanted to add that I've found two things. in user.log, there are dbus errors like Error with DBUS: The name com.nokia.phone.net13:34
freemangordonthat's normal, those are remnants from old fremantle phone itnerfaces13:35
freemangordonI am on it, need some more time to finish that13:35
freemangordonsome parts are still not migrated to ofono13:35
unic0rnanother thing was similar, dbus-monitor was showing error regarding hildon desktop13:36
freemangordonwhat kind of errors?13:36
unic0rnsame thing, missing service13:36
unic0rnreboot in progress now13:37
freemangordonunic0rn: re lock screen notifications: those shall start working properly once rtcom database has proper data in it13:37
freemangordonWizzup: ^^^ does tp plugin logs missed calls/sms-es/etc?13:38
freemangordonhmm, scratch that13:40
Wizzupfreemangordon: no, the sphone rtcom part is severely limited for now13:40
Wizzupbu I am planning to look at this locally on my phone and see how far I can get it13:40
freemangordonit looks in .config/hildon-desktop/notifications.db13:40
freemangordonso this is not related to rtcom at all13:40
Wizzupuvos: headset in calls, I don't think I can select it somehow13:41
freemangordonbut to libnotify13:41
Wizzupfreemangordon: I know, I made this all work in conversations13:41
Wizzupjust not in the call side yet13:41
uvosWizzup: its autoselected on hp plug, but on d4 it cant possibly work13:41
Wizzupdidn't we figure out the regs for headset calls on d4?13:41
unic0rnfreemangordon: one mc instance13:41
uvoswe have, iirc but there is not support for a hp mic or the assoicated amps in the cpcap audio driver13:42
uvosthe output might work13:42
Wizzupso Mic1 and Mic2 are different mics, but none are headset?13:42
uvosyes13:43
Wizzupshit13:43
uvosmic 1 is the mic below the screen13:43
uvosand mic2 the one at the top next to the power button13:43
unic0rnas for dbus-monitor, it shows The name com.nokia.hildon-desktop was not provided by any .service files13:43
Wizzupunic0rn: I don't think is very relevant but yes if you ran various things as root that might have messed things up13:43
freemangordonyeah, ignore that13:43
Wizzupuvos: ok... darn13:43
freemangordonunic0rn: so, run mc-tool list as user13:44
unic0rnempty13:44
freemangordonwhat is telepathy-ring version?13:44
unic0rn2.3.24-213:45
freemangordonweird13:45
unic0rnweird version or weird that it doesn't work?13:45
freemangordonweird that it does not work13:46
freemangordonkillall mission-control-513:46
unic0rndone13:46
freemangordonMC_DEBUG=all MC_TP_DEBUG=all /usr/lib/telepathy/mission-control-513:47
freemangordonsec13:47
freemangordonG_MESSAGES_DEBUG=all MC_DEBUG=all MC_TP_DEBUG=all /usr/lib/telepathy/mission-control-513:47
freemangordonand check if there is some error message. or pastbin the output so I can look13:48
freemangordonunic0rn: I assume you use ssh :)13:48
freemangordonto the device that is13:48
unic0rnhttps://pastebin.com/D3vd2FFQ13:49
freemangordonFailed registering 'org.freedesktop.Telepathy.ChannelDispatcher'  service: Name 'org.freedesktop.Telepathy.ChannelDispatcher' already in  use by another process13:49
freemangordonI guess you should stop conversations and vcm firsrt13:50
freemangordon/usr/sbin/dsmetool -k "/usr/bin/conversations --background"13:50
freemangordonsimilar for vcm13:51
freemangordonso, stop conversations, vcm, make sure mc is not running and then start mc with debug output enabled13:51
freemangordonvcm is stopped with /usr/sbin/dsmetool -k /usr/bin/voicecall-manager13:52
unic0rnand, paste log or try launching sms app or conversations first?13:54
freemangordonjust mc log13:54
freemangordonwithout anything else running there must be ring account13:55
freemangordonwhich is missing on your device for some reason13:55
freemangordonbut we should be able to find it in mc startup log13:55
unic0rnhttps://pastebin.com/CuEEYrD013:56
freemangordonok, thanks13:57
freemangordongimme a minute13:57
freemangordonunic0rn: ldd /usr/lib/mission-control-plugins.0/mcp-account-manager-ring.so13:59
freemangordondo you have that at all?14:00
freemangordon/usr/lib/mission-control-plugins.0/mcp-account-manager-ring.so that is14:00
unic0rnapparently not14:01
freemangordonhow's that?14:01
freemangordondpkg -L telepathy-ring?14:01
unic0rnhttps://pastebin.com/g1bwm4Pv14:02
freemangordonwhat the?!?14:03
freemangordonunic0rn: apt-cache policy telepathy-ring14:03
unic0rnhttps://pastebin.com/dSHB0m3w14:04
freemangordonumm, did you enable the -devel repo?14:05
freemangordonin sorces.list, you should have:14:06
freemangordondeb https://maedevu.maemo.org/leste chimaera-devel main contrib non-free  droid414:06
freemangordonplease sudo apt update/apt upgrade aftre you are sure ^^^ is enabled14:07
unic0rnhttps://pastebin.com/04R9mDJQ14:07
freemangordonit is just that you are using wring telepathy-ring14:07
freemangordonok, now, apt update and then apt-upgrade14:08
WizzupI just realised, I didn't ask whether you did 'apt update', yeah14:08
freemangordonif that does not fix it, then it seems we have something broken in the repos14:08
unic0rnnothing was upgraded. I did dist-upgrade earlier.14:09
freemangordondid you do 'sudo apt update'?14:09
unic0rnyes14:09
freemangordonwas there any error?14:10
unic0rnnope14:10
freemangordonmaybe repo keys or something?14:10
unic0rnnope14:10
freemangordoncould you do sudo apt update now and pastebin the output14:10
unic0rnso, telepathy-ring should be installed from maemo repo, and I've got it from devuan?14:10
freemangordonand then sudo apt upgrade14:11
freemangordonyes14:11
Wizzuphttps://maedevu.maemo.org/pkgweb/chimaera/main/binary-armhf/telepathy-ring.html14:11
Wizzupunic0rn: yes but if that is the case there's probably a _lot_ more wrong14:11
freemangordon:nod:14:11
Wizzupit's not likely to be only that pkg14:11
freemangordonso yeah, please help us find if that;s te case14:11
WizzupI just linked tp-ring above to show what's in the repos14:11
unic0rnhttps://pastebin.com/XAs08vYT14:12
WizzupLOL14:13
Wizzupyou don't have the regular repo at all14:14
Wizzupyou nuked the line for the stable repo14:14
Wizzupthat explains it14:14
Wizzupso look at the wiki that I linked when you asked14:14
Wizzup(around when dsc gave some advice too)14:14
Wizzupthat says you need to copy the existing line14:14
freemangordonugh, yeah, I am blind14:14
Wizzupand add -devel to the copied line14:14
unic0rnah.14:14
freemangordonhttps://pastebin.com/04R9mDJQ14:14
freemangordonthis is wrong14:14
freemangordondeb https://maedevu.maemo.org/leste chimaera main contrib non-free  droid414:15
freemangordonthis14:15
Wizzupso this page explains how to do it: https://leste.maemo.org/Development14:15
WizzupDeveloping on a device14:16
WizzupAll development software and tests end up in 'chimaera-devel' apt source. For enabling this edit '/etc/apt/sources.list' and add this line:14:16
Wizzupdeb https://maedevu.maemo.org/leste chimaera-devel main contrib non-free droid414:16
WizzupThe exact line might depend on your device; just copy the maemo chimaera line and change chimaera to chimaera-devel - for example, if you're not on a mapphone (droid) device, you probably don't want the droid4 component in the line.14:16
unic0rnyeah, my mistake, sorry for the heart attack ;)14:16
freemangordonyeah, almost got one :D14:16
unic0rntoo much git, I figured "I'm just switching branches"14:17
freemangordonheh14:17
unic0rnhildon-desktop and telepathy-ring got an upgrade14:17
unic0rnwill reboot14:17
freemangordonunic0rn: about the browser - I am using chromium, but pinned 112.0.5615.138-1~deb11u114:19
freemangordonlater versions broke performance very badly14:19
unic0rninteresting14:19
freemangordondidn;t check the most recent though14:19
unic0rnI find chrome most usable on chromeos14:19
freemangordonbut 112 is absolutely usable on d4, even for FB and YT14:19
freemangordonFF runs like snail, unfortunately14:20
unic0rnI was about to ask about FF :D14:20
unic0rnto be fair, for yt and other stuff I have a phone with dimensity 810014:20
freemangordoncan you install ad-blocker there?14:21
Wizzupjust use jib14:22
Wizzupas browser14:22
unic0rnnot in chrome. didn't try ff. I don't use a phone for web browsing tbh. for yt there's the main app, I have yt premium so no ads14:22
freemangordonah, premium14:22
unic0rnyeah, since I use yt music as well14:22
unic0rnso I figured I'll just hit two birds with one brick14:23
freemangordonstill, last time I checked it was not possible to to lock the screen and have the music playing14:23
freemangordonnot in premium though14:23
freemangordonmaybe it is different14:23
unic0rnin premium it works just fine. yt music that is, should work for regular yt - I don't use it for music14:24
unic0rnbut regular yt premium supports background playback14:24
freemangordonok14:24
freemangordonalso, in case you use FB - we have FB chat working through haze/libpurple14:24
unic0rnit is what it is, I guess something has to pay for all that slow low-quality encodes ;)14:25
freemangordonUI (conversations) is still alpha, but not unusable14:25
unic0rnI don't really use FB, but the whole telepathy integration sounds great14:25
Wizzupunic0rn: so do things work now?14:26
freemangordonyeah, we aim to do the same as fremantle14:26
unic0rnWizzup: ...nope14:26
freemangordon:D14:26
freemangordondo you have ring account at least?14:26
unic0rnshould I remove that db again?14:26
Wizzupunic0rn: did you reboot?14:27
Wizzupplease do that first14:27
unic0rnI did reboot14:27
freemangordonmc-tool list14:28
Wizzup(as user)14:28
Wizzupnone of these things should go as root apart from like apt update14:28
unic0rnok, a moment. phone calling works14:29
unic0rnthat is, outgoing just went14:29
unic0rnbackend shows as /org/freedesktop/yaddayadda/ring/tel/account014:29
freemangordongreat14:30
freemangordonso everything works then14:30
unic0rnsms history crashes14:30
Wizzupdon't use it14:30
Wizzupuse conversations14:30
Wizzupsms history icon shouldn't even be installed in devel14:30
Wizzupbut that's complicated to solve currently14:30
unic0rnconversations doesn't show old messages14:30
Wizzupin devel sphone is not used for sms anymore14:31
unic0rnI'll try sending new one14:31
Wizzupthat is correct, it won't, because sphone doesn't log them well14:31
unic0rnfrom another number14:31
Wizzupyou can make a contact in the contacts app14:31
Wizzupenter a phone number14:31
Wizzupand then find it, click 'sms'14:31
Wizzupor the sms icon14:31
Wizzupand then conversations will open the window14:31
unic0rnworks14:31
Wizzupyeah so with some sql magic you can fix your old db and make the messages appear in conversations if that's of value to you14:32
WizzupI haven't written a postinst script yet to do this14:32
Wizzup(because, lack of time :))14:32
unic0rnlock screen disco works as well (green - charging, blue - sms)14:33
unic0rn\o/14:33
unic0rnthanks for all the help :)14:33
freemangordondo you see sms icon on the lock screen?14:33
unic0rnyes14:33
freemangordoncool14:33
unic0rnhonestly, I didn't have so much OS-related fun in ages. likely since the suse 10.0 and compiz days14:34
freemangordondsc_: BTW, I tried to join maemo-leste channel from d4. It looked like it joined, but as soon as I tried to send a message, it crashed14:35
freemangordondidn;t debug further as I was out, do you want me to provide anything else?14:35
dsc_freemangordon: did you actually join on IRC?14:35
dsc_timestamp?14:35
freemangordonlemme try again14:36
Wizzupit crashes if you're not actually in the channel, there's more work to do on the TP side14:36
dsc_ah yes, that must be it14:36
Wizzupunic0rn: :)14:36
freemangordonI see a notification "blah-blah joined the groupchat14:37
freemangordonoh14:38
freemangordonwait14:38
freemangordonsee ^14:39
dsc_it joins and leaves right after?14:39
freemangordonmhm14:39
d4dschello14:41
dsc_test successful ;p14:41
dsc_(with clean db, and no cfg)14:42
dsc_using idle14:42
unic0rnindeed CTCP VERSION reply from d4dsc: telepathy-idle 0.2.2 Telepathy IM/VoIP Framework http://telepathy.freedesktop.org14:42
WizzupI will look at tp group chat / channel stuff after I'm happy with calls on my main d414:42
freemangordondsc_: no idea, lemme try again14:43
freemangordonI can clean the db as well14:43
unic0rnregarding calls, one bug I think I've noticed, after I've called from another number and cancelled the call without answering, the dialer was still hanging around on d414:43
dsc_unic0rn: heh didnt know it responded to VERSION14:43
dsc_fmg_d4: welcome!14:44
unic0rnI could make another call this time from d4, cancel it, but something was hanging somewhere because the option to secure device was locked out due to call14:44
fmg_d4test14:44
dsc_group test114:44
dsc_group test214:44
dsc_bla14:44
unic0rn(not that it works anyway, it crashes the whole powerbutton UI, at least it did before devel)14:44
freemangordonno idea14:44
Wizzupunic0rn: yes, this is a known problem and I am going to fix it when I have some downtime14:45
unic0rndsc_: every well-behaved client has to14:45
fmg_d4it doesnot crashthis time14:45
dsc_freemangordon: but yes, I think the code may still need certain safegaurds to prevent stuffing messages through non-existent Tp channels14:45
Wizzupit will keep vibrating which is really annoying14:45
Wizzupyou can run 'sudo service mce restart' to make it stop vibration14:45
freemangordondsc_: yeah, please fix that14:45
unic0rnoh. I have vibrations off14:45
Wizzupok14:45
Wizzupluckly you14:45
Wizzuplucky* ;)14:45
unic0rn:D14:45
freemangordondsc_: do not call libnotify on chat window being active14:46
unic0rnnoone will call on that number anyway, it's for data transfer14:46
dsc_freemangordon: same with the setChatState btw :D14:46
dsc_but ill look at it14:46
freemangordonplease do, it is really annoying14:46
dsc_it didnt do that until Wizzup changed some stuff regarding notifications :P14:46
freemangordondsc_: oh, one more thing14:46
freemangordonsomehow 'my' messages sent from another channel are not recognized as mibne14:47
freemangordon*mine14:47
freemangordonthis is visible in facebook chat14:47
freemangordonI can look at it as well14:47
dsc_interesting14:48
freemangordonif you give me a hint where the decision about if message is mine or theirs is made14:48
dsc_https://github.com/maemo-leste/conversations/blob/master/src/models/ChatMessage.h#L2514:48
dsc_this one14:48
freemangordonok, will have a look14:48
dsc_from rtcom https://github.com/maemo-leste/conversations/blob/master/src/models/ChatMessage.cpp#L12814:48
dsc_which may indicate its not being inserted correctly into rtcom14:48
freemangordonmhm14:48
freemangordonwho inserts? conversations?14:49
dsc_tp.cpp14:49
freemangordonline?14:49
dsc_sec14:49
dsc_ah14:49
dsc_TelepathyAccount::onMessageReceived14:50
dsc_calls `log_event`14:50
Wizzupsee 8892ae3eef142f0ebe8c38a679e5a7aad739aa0e and 29c9bac138fb8e24a12583fdd2991b9d3fc8cca614:50
dsc_freemangordon: https://github.com/maemo-leste/conversations/blob/master/src/lib/tp.cpp#L46214:51
dsc_outgoing is hardcoded to False there14:51
freemangordonok, isScrollback() is ignored14:51
Wizzupyes currently14:51
freemangordonyeah14:51
dsc_it assumes onMessageReceived is incoming14:51
freemangordonok, will try to implement support for scrollback14:51
dsc_ty :)14:52
freemangordonalso, if remote_id matches local_id, that should be 'mine', no?14:52
freemangordonanyway, will fix that14:52
freemangordondsc_: do we support pictures/links?14:52
dsc_not yet, easy to add14:53
Wizzupwait how is this easy to add :D14:53
freemangordonplease do, when you are on it14:53
Wizzupthis is extremely hard14:53
freemangordonwhy?14:54
Wizzupsending photos through telepathy, and receiving them?14:54
Wizzupthat's a ton of extra APIs and TP work14:54
dsc_oh I meant just rendering rich text / media in QML14:54
dsc_yes its more work @ tp14:54
freemangordonmessages are multipart14:54
freemangordonwith mime type for each part14:54
Wizzupif you just want to render a url as clickable, yeah, but the rest is more work and honestly we need to make other things work well first IMO :D14:54
Wizzupand they also need to be stored in rtcom14:54
Wizzupor at least be pointers to a directory on the fs14:55
dsc_yes, I looked at some rtcom regarding media the other day, we'll need a bunch of changes here and there14:55
freemangordonok, but at least put some mark for unsupported content14:55
Wizzupcan you look at this?14:55
freemangordonwho, me?14:56
Wizzupdsc_: I don't think we really want all photos in the rtdom db either14:56
Wizzupfreemangordon: yes14:56
freemangordonok14:56
WizzupI don't send any photos at all currently over sms or xmpp so it's not high on my list at least14:56
freemangordonyeah, but my FB buddies do ;)14:56
Wizzup:P14:56
Wizzupwe also lack image viewer14:56
Wizzupbut we can fall back to xdg-open14:56
freemangordonnot really14:56
freemangordonat least modest somehow manages to open FF (or chromium) :D14:57
unic0rnthere's mihphoto14:57
unic0rnworks way better than opening a browser14:57
freemangordonright, but it does not seem to register itself as image viewer14:57
unic0rnit does?14:57
unic0rnit worked for me for email attachments14:58
freemangordonnot here14:58
unic0rnand from hamsterfiler i think14:58
dsc_before doing any crazy tp changes I first want to look at some memory stuff14:58
freemangordonhmm, weird14:58
dsc_Re: media14:58
freemangordondsc_: ok14:58
dsc_freemangordon: while you were away, I made conversations idle at 50mb14:58
dsc_@ startup14:58
dsc_(From 100mb)14:58
dsc_so its better now14:59
freemangordonyes, I saw your messgae14:59
dsc_still some leaks though14:59
freemangordonRES 12665614:59
freemangordonbut please, fix foreground notifications14:59
dsc_:P15:00
dsc_for the time being; go to settings and disable the notifications15:00
freemangordoncome-on15:00
dsc_this is all Wizzup's fault :P15:00
freemangordonI can go offline as well, no?15:01
freemangordonsure15:01
freemangordonwhom else's :p15:01
dsc_im just giving you a method to surpress it for the time being15:01
dsc_its on my #1 prio list15:01
freemangordonok, thanks15:01
freemangordondsc_: one more thing: seems wrong message timestamp is logged in the db (we shal log the sent TS, not received), will fix that as well15:05
Wizzupthis is for scrollback, yeah?15:06
Wizzup(the wrong timestamp?)15:06
freemangordonnot only15:06
freemangordonfor ordinary messages as well15:06
dsc_check15:06
freemangordonreceived() is when the message was received locally15:06
freemangordonwhich might be years after it was sent15:06
Wizzupyeah15:07
Wizzupthat all makes sense15:07
freemangordonok15:07
freemangordonttyl15:07
Wizzupunic0rn: we also need to decide what maemo apps to install by default - like mihphoto, hamsterfiles, etc15:08
Wizzupttyl15:08
unic0rnWizzup: yeah, figuring out the defaults for common tasks15:14
freemangordondsc_: is there a way to get to MainWindow from Conversations object?15:52
freemangordonstatic MainWindow *pMainWindow;15:53
freemangordonMainWindow::getInstance() I guess15:53
freemangordondsc_: Wizzup: what about https://pastebin.com/Pq4fTFQw16:08
fmg_leste_vmtest16:10
gnarfacetest acknowledged, fmg_leste_vm16:10
freemangordontest16:10
freemangordon:)16:10
gnarfacetest acknowledged, freemangordon16:10
freemangordonok, with that change there are no notifications when chat is active16:11
Wizzupgreat16:20
Wizzupbtw we have ##lestetest or something16:20
WizzupI don't remember the name of the channel16:20
Wizzupdsc_: ^^16:20
freemangordonWizzup: shall I push that?16:22
Wizzupyep please16:22
freemangordonalso, I am working on properly covering the chat window when opened but not active with the notification thumbnail16:22
Wizzuplet me check the diff16:22
freemangordonok, will do16:22
freemangordonyeah, please check it16:22
Wizzupcovering, as in, having the notification on top of it?16:22
freemangordonyes16:22
Wizzupyay :)16:22
freemangordonhave to set some x11 stuff16:23
freemangordonbut should not be that complicated16:23
Wizzupthis looks good to me16:23
freemangordonok, will push16:23
Wizzup(the pastebin)16:23
Wizzupuvos: so, I suppose for headset we'd have to add the various controls, have the ucm honour it, and then make sure we force the right dapm stuff in kernel?16:24
Wizzuphm16:27
freemangordonWizzup: do you know of a qt way to do XSetClassHint()?16:29
Wizzupuvos: what is the Left/Right capture route?16:29
Wizzupfreemangordon: not really, google doesn't help much either16:30
freemangordonmhm16:30
freemangordonalready asked :)16:30
Wizzupcan't even find it for xcb16:31
Wizzupdo you want to set WM_CLASS, or something else16:31
freemangordonoh, seems it does class_hint.res_class = const_cast<char *>(QX11Info::appClass());   // application class16:31
Wizzupis that qt4 or qt516:32
freemangordonhard to tell https://github.com/openwebos/qt/blob/master/src/gui/kernel/qapplication_x11.cpp#L280516:33
freemangordonhttps://github.com/openwebos/qt/blob/master/src/gui/kernel/qwidget_x11.cpp#L80116:33
freemangordonseems QX11Info is in 5.1516:34
Wizzupset but I looked at the qt doc of qx11info and it doesn't have anything for appclass16:34
Wizzuphttps://doc.qt.io/qt-5/qx11info.html16:34
freemangordonyeah16:34
WizzupI suspect you will have to just call Xlib16:35
freemangordonmhm16:35
freemangordon:(16:35
Wizzupor maybe ask in qt irc, they might have some ideas/hints16:35
freemangordonok16:35
Wizzupbut iirc they should at least set this internally no16:36
* Wizzup looks at xcb-maemo16:36
Wizzupfreemangordon: so what do you need to set exatly16:36
freemangordonXClassHint.res_class of the chat window16:37
Wizzupbecause we do manipulate WM_CLASS16:37
dsc_Wizzup: ##maemotest16:37
freemangordonI don't know if this can be set through WM_CLASS16:38
freemangordonhttps://linux.die.net/man/3/xclasshint16:38
Wizzupfreemangordon: see xcb-maemo/qxcbwindow.cpp line 438 for some hints16:38
freemangordonok16:38
Wizzupthat is qt-platform-maemo/src/plugins/platforms/xcb-maemo/qxcbwindow.cpp16:38
Wizzup    const QByteArray wmClass = QXcbIntegration::instance()->wmClass();16:39
Wizzup    if (!wmClass.isEmpty()) {16:39
Wizzup        xcb_change_property(xcb_connection(), XCB_PROP_MODE_REPLACE,16:39
Wizzup                            m_window, atom(QXcbAtom::WM_CLASS),16:39
Wizzup                            XCB_ATOM_STRING, 8, wmClass.size(), wmClass.constData());16:39
freemangordonok, but is this the same as XClassHint?16:39
Wizzup To set a window's WM_CLASS property, use XSetClassHint().16:39
WizzupTo read a window's WM_CLASS property, use XGetClassHint().16:39
Wizzupseems like it16:39
freemangordonah, right16:40
Wizzupok16:40
* Wizzup back to work16:40
freemangordonthanks!16:40
dsc_to confirm, `outgoing` is always True when `message.isScrollback()` ?16:41
dsc_re: pastebin link16:41
dsc_ehh let me think16:42
freemangordonumm, what is the question?16:42
dsc_is message.isScrollback() is some buffer from e.g xmpp?16:42
dsc_i.e: history16:42
dsc_so when you receive such scrollback message, its always 'outgoing' ?16:43
freemangordonhttps://telepathy.freedesktop.org/doc/telepathy-glib/TpMessage.html#tp-message-is-scrollback16:43
freemangordonthat's how I read the specs16:43
freemangordonhmm, actually you are right16:44
freemangordonthat might not be the case16:44
freemangordonI'll play a bit more with it when GF is back home16:44
dsc_perhaps you can prevent username/account matching if there is some `isSelf` method16:45
dsc_bbl16:45
freemangordonthere is no16:45
freemangordonso I don;t think we can avoid matching16:45
freemangordonWizzup: when you have time, look at https://github.com/maemo-leste/hildon-desktop/blob/master/src/home/hd-task-navigator.c#L323516:48
freemangordonwe shall set either  HD_ATOM_NOTIFICATION_THREAD or WM_CLASS hint16:48
freemangordonI guess HD_ATOM_NOTIFICATION_THREAD is the proper thing16:49
Wizzuphttps://github.com/maemo-leste/hildon-desktop/blob/master/src/home/hd-task-navigator.c#L44316:53
Wizzupprobably yeah16:53
freemangordonmhm16:53
dsc_also note, before it is mentioned: chat message fetching does not properly fetch messages (scrolling up in the chat) due to the more recent changes, ignore for now, easy fix16:55
freemangordonok16:56
dsc_Wizzup: maybe I can create milestones @ github/conversations16:56
dsc_and define to-do's for releases16:56
Wizzupsure16:57
unic0rnabout d4's screen - not sure about this, it's likely still wrong in a number of ways, but to my eyes looks a bit better: redshift -m randr -PO 6000 -g 0.95:1:0.916:57
unic0rnbut that's "by eye", will try to hit the proper gamma later16:59
arno11btw receiving img, video and audio, and playing them already work (kind of) with fb plugin and conversations :P17:03
arno11and sending stuff works through bitlbee/tp haze17:03
dsc_unic0rn: cool17:03
unic0rnactually, 1:0.95:0.9 is better17:03
unic0rnas for video, any chances to get hardware accelerated decode some day?17:04
dsc_thats a cool option for Settings->Display17:04
unic0rnfor d417:04
unic0rndsc_: proper calibration would be best, but I doubt anyone has icc profile for d4 screen17:04
unic0rnI have some gamma charts, will toy with it more later17:05
unic0rnother than that, it's a side-by side vs 3x IPS - chromebook, imac and another phone with a pretty decent screen17:06
freemangordonuvos: what about adding both 'thread17:13
freemangordon...17:13
Wizzupfreemangordon: hm?17:14
freemangordon'thread' and 'dbus-call' hints17:14
freemangordonto notifications17:14
Wizzupin sphone you mean?17:14
freemangordonWizzup: pressed ENTER by accident before finishing the sentence17:14
freemangordonno, in h-h17:14
Wizzupah17:14
Wizzupso the idea is to make it easier for clients to set this and have hildon home sort it out?17:15
freemangordonWizzup: the other option is to use /etc/hildon-desktop/notification-groups.conf17:16
freemangordonyes17:16
freemangordonseems we shall support the same hints in notification17:17
WizzupI'm a bit lost on this file, so what you think makes sense is good to me17:17
freemangordonsee https://github.com/maemo-leste/hildon-home/blob/master/src/hd-incoming-events.c#L5217:18
Wizzupsounds good to me (I'm a bit distracted atm)17:22
kivaIt seems that more and more people use this emoji in SMS messages: 👍19:28
dsc_https://plak.infrapuin.nl/selif/3bxw8qz4.png 👎19:30
kivaThey use that in MMS messages.19:31
kiva...the pictures in messages.19:34
arno11dsc_: is there a way to add a 'copy to clipboard' function in conversations ?19:34
kivaOriginal N900 (Maemo 5) Conversations had copy if you choose message.19:35
dsc_arno11: ill put it on the list19:36
kivachoose=touch19:36
dsc_for next release19:36
arno11dsc_: cool :)19:37
arno11i mean it is already possible using 'export chat' and copying the link19:39
kivadsc_: how hard would be support for that emoji, it has these bytes in message: 04,14,FD19:40
arno11and this way i'm able to play fb video/audio link/msg through mplayer19:40
dsc_:D19:40
dsc_arno11: so its just links to media?19:41
arno11exactly19:41
arno11sending media should be possible as well19:41
dsc_very doable19:41
dsc_sending via Tp is a bit harder though19:42
arno11maybe but already works with bitlbee19:42
arno11with a basic send command19:42
arno11i mean bitlbee/TP haze19:42
dsc_I think most work for that feature is figuring out how to store it in rtcom, if at all19:43
dsc_IIRC the default is media gets stored inside sqlite which seems a bit suspicious but yeah19:43
dsc_need to determine if this approach would be fine19:44
dsc_kiva: ill put it on the list19:46
arno11dsc_: imo we don't need to store any media, just the links, no ?19:48
dsc_sure, but some of these protocols also support sending/receiving media directly19:49
dsc_in the case of links, its easier for me to implement19:49
arno11ah ok, i see19:49
arno11yes indeed19:49
dsc_preferably we'd support both methods19:49
dsc_which we will eventually19:49
arno11ok19:50
kivadsc_: good19:50
dsc_arno11: im playing big buck bunny.mp4 from the internet in jib at 30fps19:52
dsc_but still, having multimedia go to mplayer instead would be better19:52
dsc_better hw accel and fullscreen mode (video sink)19:52
arno11indeed mplayer works very well in leste19:54
arno11i'm able to stream youtube video through it19:55
arno11on n900 ofc19:55
dsc_`mplayer <youtube_url>` ?19:55
arno11nope, using yt-dlp19:55
arno11to extract the real video link19:55
dsc_ah cool19:56
arno11even some live video/ tv channel work lol19:56
arno11i still have to test jib on my redmi btw20:00
freemangordondsc_: what about this: https://pastebin.com/Q9eR5nXv21:23
dsc_looks OK, did you check if it actually matches with remote_uid?21:26
freemangordonyes21:26
dsc_(Y)21:26
freemangordonat least for haze/purple-facebook :)21:26
freemangordonno idea what other protocol can be used to test21:27
Wizzuptelegram21:27
Wizzupxmpp with group chats21:27
Wizzupusing gabble (not haze)21:27
freemangordonI don;t have accounts to test with21:27
Wizzupand probably libpurple for xmpp with many plugins, for mam and such21:27
WizzupI think we have a test channel for xmpp21:27
Wizzupbrb21:27
freemangordonyes, but it does not aloow me to have 2 connections21:28
freemangordon*allow21:28
freemangordonI can have onlyh one device connected at a time21:28
Wizzupthat's buggy / a limitation on our client side, not server side21:28
freemangordonhow's that?21:28
Wizzupbut if you join a group chat it will give you the scroll back veery join21:28
Wizzupregardless of whether you saw it21:29
freemangordonif I connect from VM, my d4 gets disconnected21:29
Wizzupyes, again, this is the clients doing21:29
freemangordonok21:29
Wizzupi have many xmpp clients connected at the same time21:29
Wizzupthis is not a server limitation21:29
Wizzup(with the same accounts too)21:29
freemangordonso, how to join group chat on our server?21:29
WizzupXMPP is very multi device ready21:29
Wizzupwell, you can pick any21:29
WizzupI will DM21:29
freemangordonok21:29
freemangordonWizzup: what about pushing that to -devel, if it is broken or incomplete, we'll just fix it21:36
Wizzupfreemangordon: yeah I'm fine21:41
freemangordonhmm, seems gabble does not set scrollback flag on messages :(21:43
Wizzupyeah21:44
freemangordonhmm, I see in the code that it should do21:45
Wizzupfreemangordon: btw do you see contact widgets on h-h?21:51
Wizzupwhen I add them I don't see htem21:51
freemangordonWizzup: seems server does not send timestamps for the scrollback messages, which contradicts to the comments in code21:51
Wizzupand apparently there are a few there now21:51
freemangordonyes, I see them21:52
Wizzupok21:52
freemangordonWizzup: is it normal that complete chat history is sent?21:55
freemangordonsomething's buggy there, messages come without timestamp21:57
freemangordonscrollback messages that is21:57
freemangordonare you sure server is properly configured?21:57
Wizzupfreemangordon: it doesn't I think, it only sends a bit21:59
Wizzupfreemangordon: not 100% sure, but all modern clients love the server :)21:59
dsc_what should `X-Maemo-Orientation` be set to, to support auto-orientation22:01
dsc_landscape/portrait22:01
dsc_in Qt22:01
freemangordonWizzup: ok, perhaps I have to check what gabble does22:04
freemangordonWizzup: but still, missing timestamp leads to invalid message.sent() date being logged22:05
Wizzupdsc_: pls check some of the other apps22:14
freemangordongoing to make a new conversations release, any objections?22:16
Wizzupnot really, I'm running devel so I can't  complain :D22:17
WizzupI would like the font size to be slightly smaller to match n900/fremantle22:17
Wizzupbut that can be another day22:17
freemangordonheh, my aging eyes disagree :)22:17
arno11mee too lol22:18
Wizzupwell this should come by setting a different dpi then or some global scaling22:21
freemangordonyou can already change font size from settings22:21
Wizzupfreemangordon: yes but it doesn't work for the overview ;)22:29
freemangordonah22:29
freemangordonwell, this shall be reworked anyways22:29
Wizzupit's a known thing22:31
Wizzupfreemangordon: I think the scrollback fetching suddenly just fetched like 10 messages for me, some really old ones23:13
Wizzupon xmpp, on a 1:1 message23:13
WizzupI don't know why it suddenly did that23:14

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