Skip to content
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

silx.gui.plot: Added workaround for erroneous DPI reported by Qt #4038

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Jan 9, 2024

This avoids display issues when the reported screen DPI is obviously wrong.

This has been seen with Dell U4919DW screen on ubuntu20.04 where xrandr reports a "physical" screen size of 1mm x 1mm leading to crazy dpi.

I set the threshold to 1000dpi which is higher than the highest smartphone screen resolution as of today.

@t20100 t20100 added this to the 2.0.0 milestone Jan 9, 2024
@t20100 t20100 requested a review from vallsv January 9, 2024 13:56
@vallsv vallsv merged commit 3c44420 into silx-kit:main Jan 11, 2024
6 of 8 checks passed
@t20100 t20100 deleted the workaround-wrong-dpi branch January 11, 2024 08:53
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