libera/#maemo-leste/ Wednesday, 2021-11-17

mighty17[m]<tmlind> "mighty17: no that's old legacy..." <- Should being the keyword, I'm trying to forward port the sound stuff (omap4_wm8994)05:11
dreamerWizzup: why on earth would I want t-mobile? :P07:32
Wizzupdreamer: don't know, I don't prefer one over the other really09:35
d4irct-mobile rules....15:35
dsc_just some chats, bla bla15:36
dsc_look guiz I made whatsapp https://plak.infrapuin.nl/selif/1q40k4xn.png15:37
dsc_:P15:37
dsc_(pls now lawsuits)15:38
dsc_no*15:38
mighty17[m]Now* :P15:42
dsc_noes15:42
dreamerwhat's app about it? the theming?16:34
dsc_> what's app16:38
dreamersorry I don't use facebook. sue me.16:39
dsc_no, I just like the world play :P16:40
dsc_word play*16:40
dsc_but yeah the theme looks like whatsapp16:40
Wizzup:)16:41
dsc_https://plak.infrapuin.nl/selif/rsbwyhmf.png16:46
dsc_darker background now16:46
dsc_i declare this theme done16:47
dsc_Wizzup: we'll have to look at rtcom/telepathy stuff soon16:47
Wizzupyep16:47
bencohthis all looks very cool and promising :)16:48
uvosallso needs discussion about other things16:51
Wizzuphm?16:52
uvoslike notification esp the light, how mces state is to be managed wrt rinnger, display behvior etc.16:52
uvoslike i know your going to say telepathy handles everything, but thats a _terrible_ solution16:53
uvostake for instance the light16:53
uvossome app enables the notification pattern16:53
uvossome other app also wants to notify and and toggels it on16:53
uvosmce just ignores that16:53
uvosnow who is repsonable for turning off the light?16:54
uvosright16:54
WizzupI'll look in ida and see what fremantle does16:54
uvosso on sane operating systems the gobal notification que takes care of this16:54
uvosevery notification being taged with "wants a pattern"16:54
uvosand the light stays on as long as at least one notification is in the que16:55
uvosWizzup: ok16:56
Wizzupit'll probably be similar to what modest does too16:56
Wizzupsince that cooperates already in fremantle afaik16:57
uvoswell...16:57
uvosWizzup: but looking at how maemo lacks stuch a que, and also looking at how suspiciously modest is the only thing not telephathy and gets its own special pattern, it seams the solution they have16:57
uvosis just telepathy handels everything16:57
uvosand other applications are impossible16:57
Wizzupoh, chat/im pattern being different from email? maybe yeah16:57
uvosis what i suspect16:57
uvosyeh16:57
uvosits just broken i think16:57
uvosarchitecturally16:57
Wizzupin any case I think we can just postpone this for a bit since we need to get the backend working before we worry about this detail16:57
uvos(the way notifications work in general)16:57
bencohuvos: I have notifications and custom led status working for pidgin on fremantle16:58
uvosbencoh: ok well wheres the code to hildonized pidign then?16:58
uvosyour not just adding another pattern are you?16:58
uvoslike modest dose16:58
d4ircthink ill make an irssi theme next17:05
uvosnot to be a drag here but is theaming really important?17:05
d4ircnot really :P17:06
Wizzupas long as he has fun doing it I think it's great17:06
asrieljust found a cheap n900 on the internet, going to buy it tomorrow and get maemo leste on it :D17:06
uvosasriel: great :)17:06
asrielthose things are somehow expensive now17:06
uvosyeah a d4 is cheaper and mutch better ususally17:07
uvosor a pp even17:07
uvosunless you get a very good deal17:07
asrielpp is nice, i've seen that keyboard :P17:07
asrielstill yet to hold it17:07
asrielthe d4 is nice, but it's verizon exclusive so can't even find a listing here :\17:08
uvosyou can often buy it on us ebay and have it shiped17:08
uvosat least in germany this comes out cheeper than a local n90017:08
Wizzupright yeah all the ones I get I either carried with me or shipped17:09
Wizzups/get/got/17:09
Wizzupuvos but yes in general there is a lot to figure out tp wise as well17:10
Wizzupnotifications is just scratching the surface I think17:10
uvosyeah17:10
uvosbut my immidate concern is shareing state with sphone ofc17:10
Wizzupthere's sending messages, making sure the ui knows when to show new messages, account management, etc17:10
uvosthis mostly touches nottifications17:11
Wizzupright, but conversations sending I don't think will go through the sphone sms layer, but rather the standard tp layer since then it's the same code for all protocols17:11
Danct12asriel: i can give you my n900 but i'm using it as a email client :P17:12
Wizzupotherwise there needs to be special sphone case and then other protocols17:12
Danct12also the keyboard membrane is a bit messed up too :)17:12
WizzupI'm going to make sure I don't miss my bus, bbl17:12
Danct12also i have the pinephone keyboard17:12
Danct12does any of the ml devs have the pinephone pro/keyboard offer?17:13
uvosno17:13
uvosi think parazyd was thinking about buying17:14
dsc_i want a pinephone pro :(17:14
asrielsadly we'll have to wait for a few months for the explorer edition :(17:17
Danct12who doesn't? i personally like it because it's my pinebook pro inside a phone, and i use it as my on the go laptop so i know how powerful the thing is17:18
Danct12a weird thing pine64 does but at least it's done17:18
Danct12asriel, if you're gonna buy it.. watch out for the keyboard and the magnet :P17:20
Danct12i recommend bringing a fridge magnet with you, as well as a fat32 formatted sd card, that should help to determine if there is a magnet on the back case17:22
Danct12the keyboard one is unfortunately hard to watch out, but maybe try to touch buttons or something and see if it wobbles a lot17:22
asrielDanct12: i'll let you know when i buy it, thanks for the tips!17:26
bencohuvos: the pidgin notify plugin send an IM notification17:26
bencohor at least I had it set that way17:26
bencoh(I don't remember if it was by default)17:26
bencohuvos: pidgin itself comes from the maemo (extras iirc) repository17:26
bencohuvos: as for the pidgin-notify, I patched it, lemme check17:27
WizzupDanct12: we didn't ask I think17:35
bencohuvos: looks like I used notify_send_dbus_mce_message(MCE_ACTIVATE_VIBRATOR_PATTERN,"PatternChatAndEmail");18:08
bencohand notify_send_dbus_mce_message(MCE_ACTIVATE_LED_PATTERN,"PatternCommunicationIM");18:08
bencohI wonder where I got that from though18:10
uvosbencoh: right18:10
uvosbencoh: but doing so is broken18:11
bencohprobably, but why?18:11
bencohI mean, I guess there is a reason why I didn't commit that yet :D18:11
Wizzupso they override is the problem18:11
bencohs/yet/back then/18:11
uvosbecasue this activates a pattern in mce, until you call DeactivatePattern on the same pattern18:11
Wizzupin general 5 diff apps cannot all have their own pattern state if they share a pattern18:11
uvosbut there is nothing telling oyu you own this pattern18:11
Wizzupis uvos' point18:11
bencohhmm18:12
uvosso if some other app activated the pattern too18:12
uvosand then deactivates it18:12
uvosthe pattern wont show while the message is still unread18:12
bencohah18:12
Wizzupthat said I do not have a good sense od how this works exactly in fremantle18:12
bencohI see18:12
uvosi gues mce could do what is esseantly refererance counting18:13
bencohI'm not certain the pattern is supposed to still show once there was any user activity actually18:13
uvosand only deactivate the pattern when its been deactivated as often as it has been activated18:13
uvosbut thats not how it works atm or histroricly18:13
bencohI mean, I think the devs had in mind that user would take his phone, check notifications, and ... basically that's it18:13
uvosbencoh: a app disables the pattern for any number of reason18:14
uvoss18:14
uvosyou could have looked at the message on a different device for instane18:14
bencohso basically once you open the window mosaic (forgot how that thing is called ... launcher?), it goes off18:14
bencoh(I think)18:14
uvosthe notfications are hidden as soon as you enable the display anyhow18:14
uvosbut thats not the point18:14
bencohuvos: in theory yeah18:14
bencohah, so that happens once you enable display? :)18:15
uvosno18:15
uvosmce just stops showing it then18:15
bencohyeah18:15
uvosits still activated18:15
bencoh*nods*18:15
uvosthe only real way to solve it in all cases is to have a gobal notification que18:15
bencohI just mean that it being activated or not doesn't really bear any sense hildon-wise18:15
bencohbut now I see what you meant by "it's broken"18:16
bencohit basically forbids any external (remote) action18:16
bencoh(like a message being read from another device)18:16
uvosi also think its broken that the device cant continue to notfy untill all notifications are cleared18:17
bencohdunno18:17
bencohthe notifications stay there18:17
bencohbut the light goes off18:17
uvosright i mean the light18:17
uvosnot the windows18:17
bencohI think that part is fine, kinda18:17
bencohthe point is to get the user to "check his phone"18:18
Wizzupit depends on what you expect yeah18:18
bencohup to him to read everything (or not)18:18
uvoseven then its incosistant18:18
Wizzupyou do not want blinkie blinkie after turning/unlocking once18:18
bencohI wouldn't want it at least18:18
uvoseven if you do expect that (i dont) becasue there are several notification classes its broken18:18
uvosbecause you have to check on im message18:18
uvosbut also one email18:18
uvosetc18:19
bencohI mean, maybe I left that notification there on purpose, because I wanna get back to it18:19
uvosfor the light to turn off18:19
uvosbecause some stuff is a different pattern (farily randomly really)18:19
bencohbut I still want to notice that I received *another* notification18:19
bencohhere I have a different light pattern for IM/phone/sms18:19
bencoh(purple / blue / cyan)18:19
bencoh(more pink than purple)18:20
bencohin that regard it's pretty effective18:20
uvosthere is also email18:20
bencohemail == chat I think18:20
uvosand "PatternCommonNotification"18:20
bencohbut I might be wrong18:20
uvosthat looks teh same as PatternCommunicationIM18:20
bencoh(maybe that's only for vibrations)18:20
bencohah18:20
uvosot the behavior is very inconsistant18:20
uvosdepending on what the app decides to use18:20
uvosno PatternCommunicationIM and PatternCommunicationEmail are seperate18:21
bencohanyway, hildon offers a way to configure every of those patterns, and applications are supposed to choose a class that matches them the most18:21
bencohit might be the same for leds, yeah18:21
uvosso worst case you have to clear one of eatch PatternCommunicationIM PatternCommunicationSMS PatternCommunicationEmail PatternCommonNotification18:21
uvosbefore the light turns off18:21
bencoherr different* I meant18:21
uvosif you have one sms one email and one im message and one something18:21
bencohuvos: I'm pretty certain we wouldn't want that as a user18:22
uvosyou have to clear all of those18:22
bencohhonestly I want my phone to just go back to no-led-state until the next event happens18:22
uvosif you have one telegram message one irc message one whatsapp message and one skype message18:22
uvosyou have to clear one one18:22
uvosthis is terrible imo18:22
* bencoh headscratches18:22
uvos*only one18:22
bencohuvos: leds are just a mean of saying to the user "something happened, check it up"18:24
uvosbencoh: sure if you want to use it like that thats fine18:24
bencohwith the exception that we have some order of precedence18:25
uvoswhat im saying it works like this in the current system _sometimes_ depending on the type of message you got18:25
bencohie phone > sms > im18:25
uvoseven ignoreing sms and phone there are still 3 seperate patterns to contend with18:25
bencohso receiving an event with a higher priority will override the pattern18:25
uvosno it wont18:26
bencohit does18:26
bencohI mean, I use it as a daily phone18:26
uvosit will _hide_ the lower priorty pattern18:26
bencohyeah18:26
uvosnot remove it18:26
bencohsorry18:26
uvosso you have to clear every pattern18:26
bencohit disappears once I open my phone18:26
bencohso the user doesn't really care18:26
bencohagain, the desactive thing isn't really visible to the user because there is no other application to it18:26
bencohdeactivate*18:27
bencoh(admittedly this is bad for multi-device apps)18:27
uvoseither your missundersanding me18:27
uvosor leste is missing a piece18:27
uvosok lets say you get an sms and an email and an im message.18:28
uvosthen the pattern sms will show18:28
bencohomdeed18:28
bencohindeed*18:28
uvosyou turn on the device18:29
uvosall patterns are hidden18:29
* bencoh nods18:29
uvosthen you click the sms notification18:29
uvossms pattern is deactivated18:29
uvosyou lock the device18:29
uvosnow the im will show18:29
bencohI dont think it does18:29
WizzupI don't think it does on fremantle18:29
bencohI'm pretty sure it doesn't18:29
uvosok18:29
Wizzupbut it might be the case on leste18:29
uvosthen something is missing18:29
Wizzupor something sphone does or does not do :p18:29
bencohyeah18:29
Wizzupconversations on leste is a _big_ program18:29
uvossphone isent involved :P18:29
uvosit dosent even do the light yet18:30
bencohI might be wrong, but I don't think so, because I often leave notifications open18:30
Wizzupah ok then, where do you see this problem then?18:30
Wizzupbencoh: yeah no, I know this is how it works18:30
bencohlike, not long ago I didn't open the Phone notification, it still showed in that lockscreen under the slider18:30
bencohbut I got no light18:30
uvosyeah with modest + updates18:30
uvos@wizzup18:31
Wizzupok, so it might be a modest porting problem causing it not to behave like fremantle18:31
Wizzupthat said I don't use modest on fremantle (anymore)18:31
uvosor something is supposed to clear all notifications18:31
uvoswhen something happens18:31
uvoswould make more sense18:31
uvosbecause otherwise modest would have to clear all patterns18:31
uvosthat sounds very broken18:31
bencoheither that, or one of the closed apps on fremantle deactivate led patterns altogether18:31
bencoh(closed and/or not ported)18:32
uvosyeah no way modest calling deactivate on all possible patterns is the plan here :P18:32
bencohnah :)18:32
Wizzupthere is rtcom notifications ui that we lack entirely18:32
bencohit should be one of the UI daemons anyway, if at all (like mce)18:32
bencoh(not necessarily UI, but you got my point)18:32
bencoh(I really wonder what does it on fremantle though, assuming we understand it properly)18:35
uvosdbus-montior -s18:35
uvos:P18:35
Wizzupwe can find out using dbus -- yeah uvos beat me ot it18:35
Wizzupunless mce does it internally in some tklock stuff18:35
uvosno18:35
uvosi changed mces internal api18:36
uvosso i was forced to look at everything that touches it18:36
uvoswe could have mce do this ofc18:37
uvosbut i dont think is a great solution18:37
uvos(clearing the notification on a different device or the remote party deleating the message that caused the notfication is sill broken_18:37
uvos)18:37
uvosif we do18:37
WizzupI agree that some other place for notifications is useful, but I also think (like I said before) I'd rather tackle it when we're ready for it18:40
uvosidk i kinda think implementing something new is easier than implementing the same misake and then implementing something new anyways18:43
uvosbut sure...18:43
WizzupI agree yes, but I'm not at that point yet I mean18:49
Wizzupwe might run into more info a month from now18:49
uvosok18:49
uvosi might end up just doing it anyways for telegram-desktop and sphones benefit18:49
Wizzupalso with many different chat programs I'd probably want to silence some altogether18:49
uvos(ie implement a notification deamon/window that implements the xdg apis)18:50
Wizzupwho knows, I might get you on the telepathy (or libpurple) train eventually :P18:50
bencohif anything we could even move to growl (or any other notification system)18:50
uvosheh18:50
uvosim not opossed to to telepathy at all18:50
bencohbut I doubt we'll go that way18:50
uvosjust to depending to hard on _anything_18:50
uvosyou could say i have fear of abandoment :P18:51
bencohI'd love to see everything integrated with telepathy, but I still have doubts regarding how it would handle medias (ie, anything beyond text and audio/video calls)18:51
uvos bencoh: this? Growl is a deprecated[1] global notification system and pop-up notification implementation for the Mac OS X and Windows[2] operating systems.18:51
bencohuvos: oh, I thought it had been ported to linux, my bad18:52
bencohI think I had https://github.com/mattn/growl-for-linux in mind18:53
uvosbencoh: ok18:53
bencohanyway, that's just an example18:53
uvosi think implementing https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/ and https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html18:53
uvosmakes more sense18:53
uvossince thats what existing sutff uses18:53
uvosone problem is that hildon dose implement https://specifications.freedesktop.org/notification-spec/notification-spec-latest.html sorta kinda18:54
uvosin a way that breaks spec18:54
bencohhttps://wiki.archlinux.org/title/Desktop_notifications#Notification_servers18:54
uvoswitch would make it hard to make old maemo apps and stardart useage of that api work at the same time18:54
bencohyeah, hildon doesn't do it properly18:54
bencohwell, fremantle's hildon is over 10y old18:54
bencohand something tells me that spec wasn't exactly complete back then18:55
uvospossible, but nokia has a really poor track record of compatability18:56
WizzupI think they often worked on the standards18:56
uvosi mean hildon-desktop makes a mockery of ICCCM too18:56
Wizzuptbh18:56
bencohslightly unrelated, but https://github.com/sboli/twmn seems interesting for us tilingwm-users :)18:56
bencohyeah, usually nokia was among the ones writing it18:56
bencohor trying to push it forward18:56
bencoh(unfortunately they stopped in the middle, but that's another story)18:57
uvoseither way supporting now non standard maemo stuff and standart xdg suff at the same time is hard/impossible when they both expect the same dbus call to do different things18:57
Wizzupyes, we can work on fixing that of course18:58
Wizzupwrt notify18:58
sicelobencoh: that twmn really looks nice! wonder how/if it would work on wayland21:27
sicelodsc_: looks really great - i only miss the timestamp, i.e. i'd rather have time instead of date, if i couldn't have both21:29
dsc_sicelo: thanks, I accidentally typed `datestr` instead of `hourstr`, as such there is a date there that should be `hh:mm` instead :P21:31
dsc_ill change it21:31
dsc_I also need to make it so that it *does* show the date on day changes (just how whatsapp does it)21:31
dsc_(nobody is telling me what to make in terms of UI, if anyone has an idea/example I'd be happy to re-create it)21:34
uvosi think the ui is fine21:36
siceloi think you've done a great job with being 'true' to hildon styling that we're used to.21:36
uvosboth what you showed origionally and the whatsapp clone21:37
dsc_cool21:37
uvosbtw21:40
uvoshow are you handling having multiple chats open at the same time21:40
uvoswith sphone i ran into the issue that libhildon uses a global for the stacked windows stack21:40
uvosso an application can have only one stack21:40
dsc_uvos: right, but I dont think you, or me, have to do anything to facilitate hildon in supporting multiple stacked windows, other than spawning mulitple QMainWindow's of course22:00
dsc_it just doesnt work right now because Wizzup messed up somewhere (c)(tm)22:00
dsc_i.e: if your application spawns X windows, and sets the 'stacked window property', it should work, I think...22:00
dsc_X amount of windows*22:00
uvosdsc_: well i my case i use libhildon122:01
uvosnot qt22:01
uvosso they also messed up22:01
uvosyeah in theroy there is no reason for this in h-d itself22:01
dsc_but to answer your question: I'm not spawning multiple windows currently22:01
uvosok22:01
dsc_but I do plan to after Wizzup says it is fixed :P22:02

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