Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.
Jautājums
SuperUser lasītājam curtis nepieciešama palīdzība, lai viņa pārlūkprogrammas izmantotu pilnīgu monitora izšķirtspēju:
My screen resolution is actually 3200*1800, but when I am using a browser, it acts like I have a smaller resolution. How do I get my browsers to use the full resolution of my monitor?
On Chrome it is showing as 1280*720, and on Internet Explorer it is showing as 1600*900. According to whatismyscreenresolution.com, it is showing different values for different browsers. I took a screenshot of both and verified that my resolution is 3200*1800 since that is the size of the image in pixels.
I am on a laptop with no monitor plugged in and my zoom setting for both browsers is set at 100%. I have tried zooming below 100%, but then the text is unreadable and pixellated. I have tried restarting Windows 8.1. I have tried the Chrome extension OptiZoom, but it does nothing. document.body.clientWidth makes the resolution 1247 pixels, but I want to make it 3200.
Vai Curtisam ir iespēja, lai viņa pārlūkprogrammas varētu izmantot monitora pilnu izšķirtspēju?
Atbilde
SuperUser atbalstītāji Boaz un Daniel B ir atbilde mums. Pirmkārt, Boaz:
Possible Problem
This is most likely an issue caused by the Window 8.1 “Display Scaling” feature. You can see a relevant post in the Google Chrome forum.
Possible Solution
Try disabling this feature for your browsers. For example, locate the Chrome executable which is commonly found in %ProgramFiles(x86)%/Google/Chrome/Application/. Right click on the file, select “Properties”, and then under the “Compatibility” tab tick the box saying “Disable display scaling on high DPI settings”.
Seko Daniela atbilde:
Well, it is pretty obvious this is yet another example of DPI scaling gone horribly wrong. Chrome is partly to blame too. According to this article, there are (well, were) some possible workarounds.
01. Disable DPI scaling in Chrome’s compatibility settings (Properties on executable or shortcuts) – a last resort “solution”.
02. Go to chrome://flags and enable experimental Windows HiDPI support. (Gone now, apparently.)
03. Load the following.reg file:
- Windows Registry Editor Version 5.00
- [HKEY_CURRENT_USERSoftwareGoogleChromeProfile] “high-dpi-support”=dword:00000001
A word of warning though. HiDPI is under development and has issues. If you can not live with that, I suggest you try an alternative browser like Firefox. It is supposed to have better DPI scaling support.
Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.