libera/#maemo-leste/ Thursday, 2022-01-27

huckguvos: I changed HiFi Playback Volume to 10. It is not at all excessive on the bionic. 5 was really very quiet.00:34
Wizzupmorn :)11:16
freemangordonWizzup: heh :)11:40
freemangordonuvos: autorelock is broken on n900 too11:40
uvosyes11:43
uvosthat is correct11:43
uvosits broken on every device that has a slider key11:43
uvosas i had to unfilter the slider key device class, as d4 dosent have a seperate device with the slider key on it that can be ignored11:44
uvos(it has buttons that cant be ignored too, like volume)11:44
uvoswe need to replace per device filtering with per keycode filtering as mentioned allready11:44
freemangordondo you plan to do that?11:45
uvosyes11:45
freemangordongreat!11:45
freemangordondid you try the new ddx?11:45
uvosbut i plan to replace mces custom input handling with libinput at the same time11:45
uvosso it will take some time11:45
freemangordonhmm, what advantages does it have?11:45
freemangordonless code to maintain?11:46
Wizzupuvos: thanks for the sphone fix11:46
uvosfreemangordon: yeah that but theres more11:46
uvoswe can share the filtering engine with of libinput with x11:46
uvosthis makes stuff more consistant11:46
Wizzupfreemangordon: I did try the new ddx, working well so far for me11:46
uvos(like ignoreing input devices in one place)11:46
uvosand we can use its transofrmations11:46
freemangordonuvos: but, woun;t that make mce depend on X?11:47
uvosfreemangordon: no it will make it depend on libinput11:47
uvosboth x and wayland use libinput11:47
freemangordonok11:47
uvos(like ignoreing the region outside of the display on mapphones)11:47
freemangordonWizzup: glad to hear. how is the handles count?11:47
freemangordonis it a sane value?11:48
freemangordonuvos: ok11:48
Wizzupfreemangordon: I need to look deeper before reporting back really, I thought I still saw something increase a bit after rotation, but that was just one time sampling, so let me just use it for a few days and we'll see11:49
uvosWizzup: morning11:49
uvosWizzup: yw @ sphhone11:50
uvoshuckg: idk 5 is really quite loud on my bionic11:58
uvosdepends on how sensetive your headphones are ofc11:58
uvosthere are also leagal limits to consider, but i dont know rn how those are messured, i mean its 85dba in eu, but that must be with some referance hp sensetivity.11:59
uvoswe can maybe up it a bit for now and think about what is the right value later12:00
uvosWizzup: freemangordon: so reverting to 71e6186e7a8ca675654bd9de9261aa067407c466 dosent help with special keys15:03
uvoscertenly this change is required https://github.com/IMbackK/hildon-input-method/commit/efdc6389e68b8c1e6b070ac96e7413021a9628a515:06
uvoshim never gets any events that satisfy https://github.com/IMbackK/hildon-input-method/blob/efdc6389e68b8c1e6b070ac96e7413021a9628a5/src/hildon-im-ui.c#L142515:08
uvosthus this is never called regardless15:08
uvosso its not sufficant15:08
uvoseverything downstream of this works fine15:09
uvosif you synthesize the event15:09
uvosso not sure where the problem is (maybe gtk changes)15:09
uvosside note: how this works is bad, and might warrent replaceing regardless of other factors15:10
uvosit requries the toolkit to redirect all input from x to him and then back to x again thugh custom atoms15:11
uvosin reality it would be sufficant if him registered the events as global shortcuts.15:11
uvosthis way it would work with even if some window other than a hildon hacked gtk2 window is focused15:12
uvosand it would not be so agressively x specific15:12
uvoshow this works is also a security violatio15:31
uvosn15:31
uvoshildon-gtk2 windows send all input to the root window via the custom atom15:31
uvosthis allows untrused x11 clients that are prohibited from getting keyboard input withut being focused by the xsecurity extension to grab input from these windows and implement keyloggers15:33
freemangordonuvos: why I agree that we shall fix all those issues, I think we have a higher priority things, like: "make it work first"15:34
freemangordonuvos: will have a look at it15:34
freemangordon(why it does not)15:34
freemangordons/why/while15:34
freemangordonuvos: BTW, how do you test if special keys VKB works or not?15:35
uvosi synthesied the event15:36
uvosit never gets any keyboard input at that point15:36
uvosso it cant work otherwise15:36
uvosso there is nothing to test15:36
uvosthe key combination is ctrl-space15:36
freemangordondid you try on n900?15:36
freemangordonno, ctrl-space is not special keys15:36
freemangordonit is layout swithing15:36
freemangordonspecial keys is 'blue arrow'-'ctrl' on n90015:37
freemangordonand 'blue-arrow' is 'alt' or somesuch, chek in kbd config15:38
uvosfreemangordon: https://github.com/maemo-leste/hildon-input-method-plugins/blob/c46e30149633317d38c5d826d5a363c191a9834d/hildon-im-keyboard-monitor/hildon-im-keyboard-monitor.c#L44815:38
uvoshttps://github.com/maemo-leste/hildon-input-method-plugins/blob/c46e30149633317d38c5d826d5a363c191a9834d/hildon-im-keyboard-monitor/hildon-im-keyboard-monitor.c#L46915:38
uvosnever gets there15:38
uvosor https://github.com/IMbackK/hildon-input-method/blob/efdc6389e68b8c1e6b070ac96e7413021a9628a5/src/hildon-im-ui.c#L142515:38
freemangordonso, for sure ctrl-space was working15:39
freemangordonso, we need to bisect15:39
uvosreverting to https://github.com/IMbackK/hildon-input-method/commit/efdc6389e68b8c1e6b070ac96e7413021a9628a5 dosent help15:39
uvosso its before that15:39
uvosidk where to start bisecting15:39
uvosmight not be in him at all15:39
uvos(could be gtk for instance)15:39
freemangordonneither do i15:39
freemangordonI doub;t15:40
freemangordonbecause HIM has gtk plugin and it still receives events15:40
freemangordonlemme see if it still works in my old VM15:40
uvos*revertng to 71e6186e7a8ca675654bd9de9261aa067407c46615:41
uvosi mean15:41
uvoshttps://github.com/maemo-leste/hildon-input-method/commit/71e6186e7a8ca675654bd9de9261aa067407c46615:41
uvosie nix my changes15:41
freemangordonI am not saying it is your commit15:41
uvosi know15:41
uvosbut it is15:41
uvosmy commit broke it aswell15:42
freemangordonah15:42
uvosfixing that is just not sufficant15:42
uvosthe fix is  https://github.com/IMbackK/hildon-input-method/commit/efdc6389e68b8c1e6b070ac96e7413021a9628a515:42
uvos(or revert to before the xkb backend was added ofc)15:42
freemangordonsorry, I am not sure I understand15:43
freemangordondo you say you know what broke it?15:43
uvosno, but i also broke it15:43
freemangordonah :)15:43
uvosthe above commit unbreaks that15:43
uvosbut it never gets there15:43
uvosso its broken somewhere upstream of that aswell15:44
freemangordonwell, as simple bisect will help I guess15:44
freemangordonjust find some commit at which it works15:44
freemangordonI can do it as well15:44
freemangordonnot now, have to do some RL work, ttyl15:45
Wizzupfreemangordon: ctrl-space on leste never worked for me in the sense that I don't think it ever actually *switched( btw17:59
Wizzup(mostly afk today, sry)17:59
Guest43hm20:27
freemangordonWizzup: yes, but it was showing a note at least21:12
Wizzupfreemangordon: right22:26

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