libera/#maemo-leste/ Wednesday, 2021-07-21

parazydWizzup: pong08:22
sicelohttps://github.com/robertkirkman/SDL2-bbb-sgx may, or may not be useful here ... dunno09:32
Wizzupsicelo: I assume that's without X then14:46
uvossdl2 on x works fine for me (for eg. charging-sdl) so idk why we would need anything else18:34
uvosim not sure there is a good testcase for sdl2 on leste18:34
uvoseg. a gles client18:34
uvosmaybe we could try compileing supertuxkart with the gles2 backend18:35
uvosor something along those lines18:35
uvosto have a good sdl2 test case18:35
uvosactually neverball uses sdl2 - and i have a gles version that works fine for me18:37
Wizzupuvos: cool, yeah the debian one is not gles iirc20:30
inkyuvos, what if you disallow typing several strings with the keyboard?20:53
inkyi cannot use pidgin with pinephone20:53
inkyit is impossible to send messafe20:54
inkyenter does eol in current text, doesnt send pidgin message20:54
inkywhat if you wait for the first enter and close the keyboard?20:55
inkyand send also enter to the window?20:55
uvos"uvos, what if you disallow typing several strings with the keyboard?" not sure what this is supposed to mean20:59
uvosenter types a new line in the vkb, him then sends XK_Return to the application for eatch '\n' in the utf string21:00
uvosso idk why pidgin wouldent work21:00
inkyif i type in pidgin window21:00
inkywell i dont type right in window, right?21:01
inkyi type in onscreen kbd window21:01
inkyit allows me to press enter21:01
inkythen i get miltiline text21:01
uvosinky: yes21:01
uvosin the vkb you type a string21:01
uvosthis string can include '\n'21:01
inkyif i get out of vkb21:01
inkyi see in pidgin window21:02
inkytdat i typed several lines21:02
inkybut i need enter to send it21:02
uvosonce you close the vkb that string gets sent to the application by decomposing it into several x keycodes21:02
uvosthe '\n' in the string gets decomposed to XK_Return21:02
inkypidgin gets the whole bufyer with lines21:02
uvosno21:02
uvosit dosent21:02
uvosso pidgen gets XK_Return21:03
uvosand lots of other key presses21:03
inkyit gets several lines21:03
inkyand no way to send the message21:03
uvosno21:03
inkyshell i make a video? (:21:03
uvosno21:03
uvosit gets XK_Return how it reacts is a different story...21:04
uvosit might react by adding a newline to its input field21:04
uvosor sending the message21:04
uvosthis has nothing to do with the vkb21:04
inkybut on droid if i press enter on hwkbd21:05
inkyit sends the message21:05
uvosso if i type "ab\nc" the app gets sent XK_A down, XK_A up, XK_B down, XK_B up, XK_Return down, XK_Return up, XK_C down, XK_C up21:05
uvosyou can see this in xev21:05
inkywait21:05
uvosinky: https://pastebin.com/BmWzMXvs21:13
uvoshere is what xev gets from him for ab\nc21:14
uvosas you can see if your app isent registering enter as you would like it dosent look like it could possibly be hims fault21:14
inkyi understand, what is the difference then between droid hwkbd and vkbd?21:14
inkywhen the enter gets send?21:14
inkyyou say that pidgin21:15
inkywould send severar messages21:15
uvosdepends on your pidgin config21:15
uvosyou can have it send on shift+enter i think21:15
uvoshavent used pidgin in a long time21:15
inkyno config for that, seriosly21:15
inkyminute21:16
uvosif it works with just return on the hwkbd21:16
uvosthen idk21:16
uvoshttps://pastebin.com/Z5V9cNa221:17
uvosthats me typing a b return c on the d4 hwkbd21:18
uvosits the same as the him output21:18
uvosexcept him types veery fast ofc21:18
uvosthere might be bug in pidigin21:18
uvosthat triggers when you type so fast that the timestamps dont change21:18
uvossince the timestamps are in ms you cant ever press and release enter within on ms in normal cases21:19
uvosbut him can21:19
uvosbut thats not hims fault either really21:19
uvosthats the only thing i can think off21:20
inkyhttps://m.youtube.com/watch?v=IT59Mt5IiGQ21:20
inkyplease look at it21:20
uvosinky: oh your using the hildon backend21:21
uvosyeah thats buggy with apps not desinged for it21:21
uvosuse the x11 backend21:21
inkyoh how?21:21
uvosopen the vkb with search21:21
uvosmaybe you cant get to the input field tho21:21
inkywaih21:21
inkyits default21:21
inkyi just reflashed droid's sdcard21:22
uvoshmm what is default?21:22
inkybackend21:22
inkyyessss21:23
inkywhen opened with search21:23
inkyit sends enter21:23
uvosright21:23
inkybut when i touch the text box21:23
inkyit doesnt21:23
uvosit uses the libhildon him backend if you touch the box21:23
inkyhow to change the kbd to always use x11 backend?21:23
uvosand uses the x11 backend if you use search21:23
uvosthe way normal hildon him works is pretty fundamentaly broken21:24
uvosit wont work right if the app wasent designed with it in mind21:24
inkyon pinephone i hope it'll use the volume button21:24
uvosyeah should work21:24
inkywelr if i use the volume button21:24
uvosright21:24
inkyit would open vkbd wihh x11 backend21:24
uvosyes21:24
inkywhy are you keeping hildon backend?21:24
inkywhy not get cid of it and always use x11 backend?21:25
inkycid/rid21:25
uvosthe x11 backend has no way of opening on touch21:25
uvos(of an input field)21:25
uvosatho you could implement this21:25
uvosno way i could ever remove the backend either way, every one here will be out for my head for breaking legacy maemo applications21:26
uvosdesktop gtk2 apps will just be sorta broken forever21:26
inkyok i see21:26
inkydont know what to do21:26
inkybut cannot imagine that cegular user may want to be informed about two different backends21:27
uvosif you wait long enough desktop gtk2 apps will all disapear21:27
uvosand the problem goes away21:27
uvosor you can go around patching absouly everthing like they did on fremantle21:29
marexhey, I was going through the wiki, but there is one thing I cannot find23:35
marexis there some howto or some such thing on building the whole maemo from scratch ?23:35
marexsay, I have a stock debian installation with build-essentials, so, I would like to download the sources and build the packages, likely in some order ?23:36
marexwhy I'm asking is because I was pondering whether it would be possible to build maemo with OE, there is some meta-maemo already, it is just for maemo4 (i.e. ancient)23:36
marexso, I was pondering whether there is some document where to start with such a build23:37

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