mathoudebine / mathoudebine/turing-smart-screen-python

Support arbitrary screen resolution/sizes for theme editor / simulator / emulator

Open
#648 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rich Text Format
Stars
2.3k
Forks
412
Avg merge
21h 10m
Merged PRs (30d)
7

Description

Is your feature request related to a problem? If so, please describe the problem.

I want to simulate / edit themes for screen sizes that are not supported by the current code.

Describe the feature / solution to your problem you'd like

I'd like to be able to specify the screen resolution if the device to simulate, without code changes and writing a driver class.

Options for setting resolution:

  • config file, currently ignored by theme editor
  • theme.yaml
  • environment variable

Describe alternatives you've considered / and or tested

Writing a driver class for hardware that may not exist yet is onerous.

Screenshots / photos & mockups of the Turing screen
Add screenshots or photos/mockups of the rendering on the Turing screen to help explain your request.

Image

Environment:

  • Revision of this project: main
    commit 2fcdeb12f4f9a01d0968e98255818fb62fa1540b (HEAD -> simulate_arbitrary_screen_size, origin/main, origin/HEAD, main)
    Merge: c48637c 7aeed84
    Author: Matthieu Houdebine mat.houdebine@wanadoo.fr
    Date: Wed Jan 8 08:58:39 2025 +0100
  • OS with version: Windows 10
  • Python version: Python 3.12.1 (tags/v3.12.1:2305ca5, Dec 7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)] on win32
  • Hardware: NA, happens to be using Intel CPU, see above

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the theme editor and simulator/emulator entry points, then trace how the currently ignored config file and theme.yaml are read. Compare config-file, theme.yaml, and environment-variable options for specifying resolution. Done means arbitrary screen sizes work in the theme editor, simulator, and emulator without code changes or a driver class.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.