IRC log of #maemo for Sunday, 2020-09-13

*** norayr has quit IRC00:43
*** norayr has joined #maemo01:05
*** florian has quit IRC01:50
*** ced117 has joined #maemo02:03
*** phlixi_ has joined #maemo02:07
*** phlixi has quit IRC02:09
*** norayr has quit IRC04:28
*** tm has quit IRC05:34
*** tm has joined #maemo05:37
*** phlixi_ has quit IRC06:42
*** phlixi has joined #maemo06:42
*** bencoh has quit IRC06:43
*** ced117 has quit IRC06:43
*** ced117 has joined #maemo06:46
*** geaaru has quit IRC06:48
*** bencoh has joined #maemo06:51
*** infobot has quit IRC06:56
*** infobot has joined #maemo06:58
*** ChanServ sets mode: +v infobot06:58
*** geaaru has joined #maemo07:03
*** luke-jr has quit IRC07:15
*** luke-jr has joined #maemo07:16
*** norayr has joined #maemo07:42
*** DocScrutinizer05 has quit IRC08:00
*** DocScrutinizer05 has joined #maemo08:00
*** infobot has quit IRC09:16
*** Kilroo has quit IRC09:32
*** r00t|home has quit IRC09:47
*** r00t|home has joined #maemo09:47
*** drathir_tor has quit IRC09:48
*** infobot has joined #maemo10:16
*** ChanServ sets mode: +v infobot10:16
*** drathir_tor has joined #maemo10:27
*** norayr has quit IRC10:28
*** Oksana has joined #maemo10:42
*** norayr has joined #maemo10:51
*** Oksana has quit IRC11:04
*** norayr has quit IRC11:12
*** norayr has joined #maemo11:19
*** norayr has quit IRC11:49
*** florian has joined #maemo12:09
WizzupDoes anyone know how fremantle rotates its input device (touchscreen) when the device orientation changes?12:25
*** florian has quit IRC12:34
*** norayr has joined #maemo13:30
MaxdamantusWizzup: my guess would be using randr.13:30
MaxdamantusWizzup: `xrandr --output LCD --rotate right` seems to work for me.13:30
WizzupMaxdamantus: right, but what component does that?13:30
MaxdamantusOh, hildon-desktop iirc13:30
WizzupThat rotates the screen, I don't think that rotates input13:30
WizzupThat is usually done via xinput13:30
MaxdamantusThe input seems to be rotated when I do that too.13:31
Wizzupyes, but this is not 'normal' on Linux13:31
Maxdamantus(I've disabled the rotation functionality in hildon-desktop)13:31
MaxdamantusWhat do you mean? xrandr is how I've always rotated screens in Linux.13:32
Wizzupyes, but it won't rotate your input devices for you, at least not touch screens13:32
Maxdamantushaven't really used any other devices with touchscreens, but I would expect Xorg will know to transform the touchscreen inputs appropriately.13:32
*** norayr is now known as inky13:32
WizzupIt doesn't, I can assure you13:33
Wizzupthat's why stuff like this exists https://gist.github.com/mildmojo/48e9025070a2ba40795c13:33
WizzupMaybe they patched X to do that or something, but it doesn't work like this on X in that last 10 years13:36
Wizzup(I've dealt with lots of touchscreen devices, and they're separate entities from the screen, and there is not necessarily a way to tell X that they belong together13:36
WizzupSo usually they have to be rotated separately13:36
* Wizzup back later13:37
*** bencoh has quit IRC13:55
*** bencoh has joined #maemo13:55
*** Oksana has joined #maemo13:59
*** phlixi has quit IRC14:29
*** phlixi has joined #maemo14:30
*** inky is now known as inky^off14:30
*** inky^off is now known as _inky14:31
sixwheeledbeastThe way I remember it all windows have an extra flag that permits rotation and the whole window is redrawn by hildon. It's not a rotation as such everything is flexible and just redrawn. There wasn't much to enable it from the CSSU guys back in the day, Nokia had purposely not made it a thing as not everything would be able to play nice.14:41
Wizzupsixwheeledbeast: right, that is for windows, but not the input layer14:46
WizzupI know how that works, but that's not what I mean14:46
Wizzupbasically, if you take any modern linux, and a device with a touchscreen, if you rotate the screen with xrandr, the touch device won't follow implicitly14:47
Wizzupso all input will be wrong until you make the touch input device match the screen14:47
Wizzup(this is what 'xinput map-to-output' does)14:47
sixwheeledbeasti don't really understand it in depth it's just what I recall. if the window is just redrawn instead of "rotated" then why does input layer matter? to the touchscreen nothing is different?14:51
Wizzupthe window isn't drawn rotated, the screen is rotated14:52
Wizzupand the window properties do not relate here: they just tell hildon is it needs to force a certain screen rotation14:53
Wizzup(I know, because I just finished porting them to leste qt 5)14:53
*** _inky has quit IRC15:02
*** inky has joined #maemo15:02
*** phlixi has quit IRC15:10
sixwheeledbeastoh not sure then15:12
sixwheeledbeastMaybe something in the xserver-xomap metapackage has some answers? that was a package modified by the community for rotation support15:16
*** infobot has quit IRC16:29
*** inky has quit IRC16:59
*** inky has joined #maemo17:04
*** infobot has joined #maemo17:28
*** ChanServ sets mode: +v infobot17:28
*** phlixi has joined #maemo18:01
*** inky has quit IRC18:34
*** florian has joined #maemo19:58
*** florian has quit IRC20:34
*** jskarvad has joined #maemo20:55
*** jskarvad_ has joined #maemo20:58
*** jskarvad has quit IRC21:02
*** florian has joined #maemo21:45
*** florian has quit IRC21:53
*** florian has joined #maemo22:13
*** jskarvad_ has quit IRC22:30
*** infobot has quit IRC23:38

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!