libera/#maemo-leste/ Friday, 2024-05-17

freemangordonarno11: "using chmod +r in MyDocs/.sound solved the issue (at least on my device)"12:29
freemangordonis that a typo (.sound->.sounds)?12:30
freemangordonalso, I see no ringtones in MyDocs/.sounds at all, only in /usr/share/sounds12:33
freemangordonWizzup: whoever develops conversations - notifications shall be suppressed if message comes for the currently active chat12:53
freemangordonalso, it seems conversations is still not registered as chat handler12:55
Wizzuphi12:57
Wizzupso the last version indeed doesn't seem to work when going from contacts -> sms or something12:57
Wizzupwhich surprised me because it worked before12:57
WizzupI am at the conference right now but I will look tomorrow12:57
Wizzupas for notification, yeah, for the current one it should be :)12:57
Wizzupalso, many people are trying to get/buy a droid4 from me here12:57
WizzupI only brought a few to give away but the demand is way higher than what I brought :)12:58
Wizzupso that's cool12:58
freemangordon:D12:59
Wizzupfreemangordon: btw if you see the problem as to why it's not registered somehow for chat handler then please do fix13:05
WizzupI am sure it used to work13:05
freemangordonnever worked for me without empathy installed13:20
freemangordonbut ok, will check13:21
Wizzupif you're busy with other things then do not worry13:22
freemangordonWizzup: I don;t see any chat handler that's registered13:52
freemangordonI don't see https://github.com/maemo-leste/conversations/blob/master/telepathy/Conversations.client installed13:53
freemangordonbuilding the package atm, lemme see what happens13:56
freemangordonyep, this is not installed13:58
freemangordonWizzup: I guess it is missing add_subdirectory(telepathy) :), will try it14:01
freemangordonWizzup: yep, that fixes the missing file, however, conversations seems to ignore the request14:10
freemangordon[D] [::0] handleChannels14:14
freemangordon[D] [::0] handleChannels: channel exists already? QObject(0x0)14:14
freemangordon[D] [::0] onChannelReady, isError: false14:14
freemangordonWizzup: fixed file install, issuing build14:22
freemangordonWizzup: oh, regarding this https://github.com/maemo-leste/conversations/blob/maemo/chimaera-devel/src/lib/tp.cpp#L195 - we have https://doc.qt.io/qt-6/qsharedpointer.html#isNull :)14:30
freemangordonso, with the change I see channel got created14:34
freemangordonbut UI just does not pop14:34
WizzupI see14:36
Wizzupthat also used to work for sure14:36
Wizzupso there's logic that decides whether or not to create a window when a channel is created14:36
Wizzupfor example for an incoming sms we don't want to create a ui window for a channel14:36
Wizzupwe just want a notification14:37
Wizzupso the channel ui does not pop up for you when exactly?14:37
Wizzupalso thx for finding the missing file install14:37
freemangordonwhen I select chat action from addressbook or contact widget14:37
freemangordonin dbus-monitor I see "signal time=1715949390.869503 sender=:1.139 -> destination=(null destination) serial=235 path=/org/freedesktop/Telepathy/ChannelDispatcher/Request1; interface=org.freedesktop.Telepathy.ChannelRequest; member=SucceededWithChannel14:38
freemangordon"14:38
freemangordonand then: signal time=1715949578.004879 sender=:1.139 -> destination=(null destination) serial=278 path=/org/freedesktop/Telepathy/ChannelDispatcher/Request6; interface=org.freedesktop.Telepathy.ChannelRequest; member=Succeeded14:40
freemangordonmaybe conversations are not properly registered for new channels14:40
freemangordonWizzup: right now I am logged to your jabber server from the VM, so you can try to start a chat with me there14:42
Wizzupok14:45
WizzupI am still at the conf but let me check14:45
freemangordonI'll leave it like that14:45
WizzupI see you online but indeed no window is opened14:45
freemangordonso you can try whenever have time14:45
Wizzupok14:46
Wizzupcool14:46
freemangordonyeah, that's the issue14:46
freemangordonbut seems TP channel is properly created, so it is UI issue14:46
freemangordonwell, looks like14:47
freemangordonhmm, wait, why we don;t want window for SMS?14:47
freemangordonhow it is different?14:47
freemangordonah, *incomming*14:48
freemangordonbut, it is the same for all other chats, on *incomming* message no window shall be created14:48
Wizzupright14:50
Wizzupso there's some logic in handleChannels I think that needs to indicate a window needs to be opened14:52
WizzupI think it got removd since 0.6.414:59
Wizzupgetting closer to figuring this out14:59
Wizzup"tp: dont request to open chatwindows from tp" removes this14:59
Wizzupit reverts cleanly15:00
arno11freemangordon: oops indeed i meant 'MyDocs/.sounds'15:07
arno11and ofc there is no ringtone here15:07
dsc_Re tp: was removed because otherwise conversations automatically spawns all groupchat windows on startup15:07
dsc_not 100% sure but I think that was it15:07
dsc_either way revert is fine for now, ill fix the auto-spawn on startup15:08
arno11freemangordon: ringtones, on N900, only work if they are added in .sounds folder15:08
arno11(with chmod +r)15:08
arno11and chmod is reset on reboot15:09
arno11this way i have all kind of sound working on my device15:09
arno11*when i say 'only work' i mean only work from a MyDocs directory15:11
arno11and ofc i have to select a ringtone from settings/profiles/general/ringing tone/more/ and then choose a ringtone (from audio clips folder for example)15:15
arno11ringtones from /usr/share/sounds usually don't work (or randomly, maybe 10% of time)15:17
arno11working 100% of time from MyDocs (but needs chmod +r)15:18
freemangordonwhy would ringtones in /usr/share don;t work?!?15:29
freemangordonhmm, will check that15:29
arno11they never worked correctly afaik15:41
arno11from a fresh install i mean15:41
arno11Wizzup said it works on D4 but never worked correctly on N900 (and proot) and Pinephone iirc15:50
arno11bbl15:50
freemangordondsc_: please do, being able to start chat/call/etc from addressbook(or desktop contact) is one of the most useful things in maemo for me17:05
dsc_cool, building atm17:37
dsc_not tested though.. im also at the conference17:37
Wizzup(he's not, he's just lazy :P)17:37
dsc_yes, I'm not at the afterparty :D17:38
freemangordon:D17:39
freemangordonugh, how was I able to build it without tag?!?17:42
dsc_i was actually wondering that also17:44
freemangordondsc_: did you see https://github.com/maemo-leste/conversations/blob/master/src/lib/tp.cpp#L257 ?17:45
dsc_yes, was going to see if this currently works, if not then look at what exactly is that line17:46
dsc_since `emit openChannelWindow()` does exist right now17:47
freemangordonit does not work currently, I suspect because that commented out code17:47
freemangordon*because of17:47
dsc_ehm17:47
dsc_i think you are right yeah17:47
dsc_sec17:47
freemangordondsc_: will uncomment it and will report17:49
dsc_alright thanks17:49
freemangordonstill does not17:50
freemangordonthe last I see is "[D] [::0] "0x0 (3.86876e-301 DPI)""17:50
dsc_-DCMAKE_BUILD_TYPE=Debug to make [::0] show filename/linenumber btw17:51
freemangordonhmm, wait17:51
dsc_but thats just the DPI stuff in main.cpp17:51
freemangordonit didn;'t work only the first time17:51
freemangordonweird17:51
freemangordonlemme reboot the vm to see17:51
freemangordondsc_: yep, after reboot it works right away17:54
freemangordonwill try on my d4 where I have group chats17:54
dsc_alright17:55
freemangordonwill take a while till I build it though17:55
freemangordonon d4 that is17:55
dsc_conversations doesnt take that long :D17:56
dsc_thx 4 testing17:56
dsc_i need to properly look a this though17:56
dsc_will be back home tomorrow17:56
freemangordonok18:00
freemangordondsc_: one more note: on incomming message, main UI should not be made visible21:36
arno11could also save some RAM21:43
dsc_cool22:02
sicelobtw, how to rename wlan1 back to wlan0?22:13
sicelowas playing with my n900 here and somehow ended up with that22:14
siceloah, ftr, `sudo ip link set wlan1 name wlan0`22:19
arno11sicelo: do you have ringtones working on your N900 btw ?22:26
Wizzupsicelo: either that or delete some autogenerated udev net name rukes22:32

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