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.

DPI Settings not detected when scaling changes

See original GitHub issue

Description of your problem

I have had the (mis)fortune of getting laptop with high-dpi (250%) but having to work with monitors that are set to 100% scaling. The title bar scaling is a little off when changing DPI settings (aka changing monitors).

What steps will reproduce the problem?

  1. Use a monitor with only 100% scaling (Do not use your 250% monitor)
  2. Change monitors (to one that uses 250% scaling)
  3. Open spyder. The title bar will not be scaled well. image

Workaround: Log out and Log back into the windows.

What is the expected output? What do you see instead? Title bar should have correct scaling.

Versions and main components

  • Spyder Version: 3.2.6
  • Python Version: 3.6.3 64 bit
  • Qt Version: 5.6.2
  • PyQt Version: 5.6
  • Operating system: Windows

Dependencies

Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below: IPython >=4.0 : 6.2.1 (OK) cython >=0.21 : None (NOK) jedi >=0.9.0 : 0.11.0 (OK) nbconvert >=4.0 : 5.3.1 (OK) numpy >=1.7 : 1.14.0 (OK) pandas >=0.13.1 : 0.22.0 (OK) pycodestyle >=2.3: 2.3.1 (OK) pyflakes >=0.6.0 : 1.5.0 (OK) pygments >=2.0 : 2.2.0 (OK) pylint >=0.25 : 1.7.4 (OK) qtconsole >=4.2.0: 4.3.1 (OK) rope >=0.9.4 : 0.10.7 (OK) sphinx >=0.6.6 : 1.6.3 (OK) sympy >=0.7.3 : None (NOK)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Jan 19, 2018

Thanks for reporting. Unfortunately, none of us have a high dpi screen to test this.

0reactions
JialongJiangcommented, Aug 2, 2019

I had a very similar issue with a high-dpi screen. Thank you so much for the workaround method. It works in my case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows scaling issues for high-DPI devices - Microsoft Support
Right-click the application, select Properties, select the Compatibility tab, and then select the Disable display scaling on high DPI settings check box.
Read more >
How to Fix Scaling Issues for High-DPI Devices In Windows ...
Another cause of this problem is the change in the hardware configuration. This tutorial will apply for computers, laptops, desktops, ...
Read more >
Troubleshooting IDE scaling (DPI) issues on Windows
The DPI scaling is not working on a 4K monitor since 2018.3.1 with Windows 10 when a scale factor ... "Change high DPI...
Read more >
How to Adjust High-DPI Scaling in Windows 10 | Digital Trends
1. Click the Notification icon on the Taskbar and select the All Settings tile in the Action Center. Alternatively, click the Start button...
Read more >
How to change DPI Scaling Level for displays in Windows 10.
Open Registry Editor and make the changes as described above in first step. · Open the Control Panel (icons view)and select Display. ·...
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