PySolFC icon indicating copy to clipboard operation
PySolFC copied to clipboard

Feature request: Set game number on android

Open zettelmuseum opened this issue 9 months ago • 3 comments

I don't see an option to set the game number (e.g. 1-32000 for freecell) on the android version?

I'm already looking at the source trying to to it myself, should be fairly easy to add?

zettelmuseum avatar Mar 15 '25 18:03 zettelmuseum

No, that option isn't currently present.

To add it, we'd need to add the option to the Kivy UI component - a menu option would need to be added to kivy/menubar.py, replicating the logic from the desktop version (tktile/menubar.py, line 508). I don't think we've added a Kivy component yet to take a text prompt from the user.

PRs are always welcome.

joeraz avatar Mar 16 '25 01:03 joeraz

Sorry, I'm not a programmer at all. I came up with a very ugly hack, just by adding a textinput widget to menubar, a global string for the number, and a modified mselectgamebyid.

UGLY HACK DO NOT USE.txt

zettelmuseum avatar Mar 16 '25 10:03 zettelmuseum

I'll take a look. No promises, but maybe I can clean it up a bit.

joeraz avatar Mar 17 '25 00:03 joeraz