Add custom on-screen keyboard feature and fix installation

- Added custom half-width on-screen keyboard widget (keyboard_widget.py)
- Keyboard appears at bottom center when input fields are active
- Integrated keyboard in exit popup and settings popup
- Fixed install.sh: added --break-system-packages flag for pip3
- Fixed install.sh: added fallback to online installation for version mismatches
- Removed old Kivy 2.1.0 tar.gz that was causing conflicts
- Keyboard includes close button for intuitive dismissal
- All input fields trigger keyboard on touch
- Keyboard automatically cleans up on popup dismiss
This commit is contained in:
Kiwy Signage Player
2025-12-04 22:17:57 +02:00
parent 744681bb20
commit 07b7e96edd
4 changed files with 579 additions and 5 deletions

View File

@@ -83,13 +83,18 @@ if [ "$OFFLINE_MODE" = true ] && [ -d "$WHEELS_DIR" ] && [ "$(ls -A $WHEELS_DIR/
echo "Installing from offline Python wheels..."
echo "Wheel files found: $(ls -1 $WHEELS_DIR/*.whl 2>/dev/null | wc -l)"
pip3 install --no-index --find-links="$WHEELS_DIR" -r requirements.txt
echo "Python packages installed from offline repository"
if pip3 install --break-system-packages --no-index --find-links="$WHEELS_DIR" -r requirements.txt 2>&1 | tee /tmp/pip_install.log; then
echo "Python packages installed from offline repository"
else
echo "Warning: Offline installation failed (possibly due to Python version mismatch)"
echo "Falling back to online installation..."
pip3 install --break-system-packages -r requirements.txt
echo "Python packages installed from PyPI"
fi
else
# Online: Use pip from PyPI
echo "Installing from PyPI..."
pip3 install -r requirements.txt
pip3 install --break-system-packages -r requirements.txt
echo "Python packages installed successfully"
fi