question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`A monitor scale changed was detected` message blocks the window

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Using spyder on a Windows 10 laptop connected to a bigger monitor with an HDMI connection. When I disconnect it, there is message window that appears with the message: “A monitor scale changed was detected. We recommend restarting spyder…” The issue is that this window appears behind the main spyder window and so cannot be dismissed as it is a blocking window. To dismiss it, you need to reconnect the monitor. Second, the window suggests to “Enable auto high DPI Scaling” which I did but the behavior remains the same.

What steps reproduce the problem?

  1. Open spyder with a laptop connect with HDMI to a monitor
  2. Disconnect the laptop from the monitor
  3. The spyder window is moved to the latpop’s screen but it is blocked as there’s an erro message window behind the main window that cannot be dismissed

What is the expected output? What do you see instead?

1- The error message should be in front of the main window 2- if we tick the preferences / General / Interface / Auto high DPI scaling, the error window should not even open

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 4.2.2, installed with the Windows installer
  • Python version: 3.9.2
  • Qt version:
  • PyQt version:
  • Operating System name/version: Windows 10

Dependencies

PASTE DEPENDENCIES HERE

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
raphaelquastcommented, May 12, 2022

@dalthviz I’m using spyder 5.3.0. Concerning the resolution, unfortunately I can’t say at the moment (it was not my screen and it might take some time till I get back there)

0reactions
dalthvizcommented, May 10, 2022

Thank you for the feedback @raphaelquast ! That makes things even worse 😨 (although not totally sure why the dialog layout would mess up in that way) What Spyder version are you using? Also could you share the resolutions you were using when this happened? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disabling monitor scale change warning when using ... - GitHub
When I drag the Spyder window from one screen to the other, the following message appears: "A monitor scale change was detected.
Read more >
display scaling suddenly changed - Microsoft Community
Make sure recommended settings are selected for Scale and Layout and Screen resolution. ... Right click it then click uninstall. Restart then see ......
Read more >
The most common multi-monitor problems and how to fix them
In the following window, click the Detect button located under the display diagram.
Read more >
How to Fix the “Custom Scale Factor Is Set” Error on Windows
Option One: Change the Setting Manually. While you may not be able to change the setting in Windows' Display Settings, there is a...
Read more >
How to fix Google Chrome Scaling in Windows 10
That tab includes a Override High DPI Scaling Behaviour option. Select that option's check box. If you don't see this checkbox, you should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found