flet-dev / flet-dev/flet

Moving browser from retina to non retina screen redraws incorrectly

Open
#923 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17k
Forks
694
Avg merge
1d 14h
Merged PRs (30d)
33

Description

This occurs 100% of the time for Safari on macOS 13.1 and about 50 percent of the time on Firefox.

Moving the browser window from retina to non retina screen or vice versa cause the screen to redraw incorrectly, It is either very compressed or very blown up depending on direction

You can use the responsive_menu_layout.py in the examples repository

Describe the results you expected:

Normal on app opening:
Screenshot 2023-01-19 at 14 19 26

wrong resolution on move from retina to non-retina screen
Screenshot 2023-01-19 at 14 19 26

moving from non-retina to retina screen
Screenshot 2023-01-19 at 14 27 40

Flet version 0.3.2:

MaxOS 13..1

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 running responsive_menu_layout.py from the examples repository and reproduce the transition between retina and non-retina screens on macOS 13.1, especially in Safari and Firefox. Compare the rendering after each screen move with the initial layout; done means the app redraws at the correct resolution in both directions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.