libera/#maemo-leste/ Wednesday, 2023-10-04

freemangordonuvos: is there any particular reason error is not passed here https://github.com/maemo-leste/libhildonmime/blob/master/libhildonmime/hildon-uri.c#L1341 ?09:01
uvosno10:02
uvoser yes10:03
uvosits pointless as the error would be overwritten later anyhow10:03
uvosyou could maybe improve it by combineing the g_app_info_launch_uris error string with the one set later, but thats the reason.10:05
tmlindphew finally got some kind of mz617 with lcd branch pushed out https://github.com/tmlind/linux/commits/mapphone-v6.6-mz617-hacks118:29
tmlinduvos: did you have some ideas on what partition to flash droid4-kexecboot stuff to other than cache parition?18:30
tmlindlooks like at least the tc358775 driver dts binding patch is missing18:31
freemangordonuvos: what about https://pastebin.com/NtdMLmWy ?21:03
freemangordonhmm, I am missing userdata, going to fix that21:04
uvos__freemangordon: looks good21:34
uvos__but maybe hildon_uri_get_actions_by_uri should also return the special xdg action in its list21:34
uvos__there seams to be a lot of mucking around the xdg action being a special case21:34
uvos__in both this function and uri_open21:34
uvos__tmlind: yeah i moved kexecboot somewhere else (but you have to do this via android or so since you cant fastboot flash there)21:36
uvos__dont quite remember what partition i used21:36
uvos__have to dig out the device21:36
uvos__not sure if its realy viable for genral consumption21:36
uvos__i think we should just accept that android gets nuked on mz6xx21:36
uvos__(well it sortof works without cache)21:37
freemangordonuvos__: I was thinking about that (including xdg also), but xdg is really a special case21:58
freemangordonold API users have no idea about it21:59
freemangordonso I prefer to leave it as it is22:01
uvos__ok22:11
freemangordonuvos__: please have a look at the last 4 commits https://github.com/maemo-leste/libhildonmime/commits/master22:13
freemangordonif you see nothing wrong, I'll make a release22:13
uvos__so you seam to have changed the behavior when the xdg action is set but xdg cant serve the request but a osso-service is availbe22:16
uvos__during cleanup22:17
uvos__previously the the service was chosen22:17
freemangordonthat's on purpose22:17
uvos__now it fails22:17
uvos__ok22:17
freemangordonbecause if you request an action, there should be no fallback or something22:17
freemangordonit either fails or not22:17
freemangordonthat's why we made  hildon_uri_open_filter()22:18
freemangordonalso, if you want xdg first and then DBUS, you just call hildon_uri_open() twice22:19
freemangordonagree?22:19
uvos__not sure, again i did it this way because it makes allowing xdg to be the default later easier22:20
uvos__but ok22:20
freemangordonok, if we decide to default to 'xdg first' we can easily change that later22:21
freemangordonbut I think for now we shall keep osso as default22:21
uvos__sure22:21
uvos__well the idea is to add the ability for the user to choose per sheme22:22
uvos__and add some gui that manages the order of osso services and the xdg desktop files so that transperantly any application can be choosen for any mime by the user22:22
uvos__anyhow - future stuff22:22
freemangordonI think we already have some config file22:23
uvos__right - we do22:23
uvos__but it can have an xdg application at the top22:23
uvos__*cant22:23
uvos__anyhow its fine, we just have to figure out how to handle this when it comes to it22:23
freemangordon$home/.local/share/applications/defaults.list22:24
freemangordonwe can teach it to handle xdg as default22:25
freemangordonbut yeah, future stuff22:25
freemangordonsee /usr/share/applications/defaults.list on fremantle22:27

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