Re: [Tuxpaint-devel] Question about aspect ratio on Android
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2022-04-27 21:44:13
|
On Wed, Mar 30, 2022 at 01:39:14AM +0200, Pere Pujal i Carabantes wrote: > El dt. 29 de 03 de 2022 a les 00:49 -0700, en/na Bill Kendrick va escriure: > > On Sun, Mar 27, 2022 at 11:55:41PM +0200, Pere Pujal i Carabantes wrote: > > > El dg. 27 de 03 de 2022 a les 12:44 -0700, en/na Bill Kendrick va escriure: > > > > Hi all (esp. Pere), > > > > > > > > This question came in via Twitter: > > > > > > > > I'd like to ask why I can't force the app into a 16:9 aspect ratio > > > > on these new, wider-than-wide phones > > > > > > > > Any ideas? Thanks in advance, > > > > > > > > > > Tuxpaint on Android runs with --fullscreen native, so it gets what SDL2 passes on. > > > > > > I've never tried to launch it windowed(if that is possible in Android), > > > and the small configuration tool for Android doesn't handle window size. > > > Anyway one could manually edit the config file in > > > /sdcard/Android/data/org.tuxpaint/files/tuxpaint.cfg and try that. > > > > > > That said, IIRC the SDL2 version used in the builds is the 2.0.14, not sure if a newer version would help with wider screens. > > > > > > A screenshot of the problem? > > > > They wrote back: > > > > I can test out a sorta Windowed mode on my phone > > > > I wonder if perhaps we should open a ticket at SourceForge for this? > > Can you? Shall I? Or should I ask them to? (I hate being the > > middleman :-) ) > > > > -bill! > > I've made some tests in a emulator, about 2:1 ratio, and tuxpaint perfoms fine using all availabe space. > Re-reading the question seems they want to _discard_ some of the wide space in order to get a 16:9 ratio. That's an interesting thought. > If that is what they want, they need to modify the fullscreen line to read something like > fullscreen=1600x900 > then change the native line to > native=no > With that in place I get two black bands at each side of the tuxpaint window. > > > > It is not obvious to manually change/edit the config file in Android, > one must 'su' to the user who owns the tuxpaint.cfg file(u0_a153 in the case of my emulator) > and edit the file as that user, so I don't expect any non rooted phone being able to do this. > > Is it worth to extend the config tool to be able to cope with this requirement? > Looks doable but it will take some time... > > About the ticket at SF I was going to open it when I re-readed the message, > I'd want to be sure I do not missunderstand the problem :) It sounds like it would make sense to add some options to the Android mini-version of Tux Paint Config. to support some of these kinds of settings. That said, this has been the one and only time anyone has asked about this. *shrug* Sorry it took me a month to finally remember to come back and reply to this! -- -bill! Sent from my computer |