Skip to content

Fix the scaling factor issue #439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

AsaMitakaIT
Copy link

@AsaMitakaIT AsaMitakaIT commented May 26, 2025

The issue occurs when using the --force-scale-factor=<value> startup parameter with the gbm backend.
IMG_3624
Before the modification, the logical size was incorrectly multiplied by the scaling factor, which caused the canvas to exceed the display.
IMG_3626
I am not familiar with C++, so I’m unsure whether this has led to other issues.

Commands:

sudo apt install libegl1-mesa-dev
cmake -DBUILD_ELINUX_SO=ON -DBACKEND_TYPE=DRM-GBM -DCMAKE_BUILD_TYPE=<Debug || Rlease> ..
mv libflutter_elinux_gbm.so .../flutter-elinux/flutter/bin/cache/artifacts/engine/elinux-<ARCH>-<debug || release>/libflutter_elinux_gbm.so

@HidenoriMatsubayashi
Copy link
Contributor

@taka-okayama could you watch the repos?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants