Frequently Asked Questions
Frequently Asked Questions: M-Files
4K UI Scaling Issues
Posted by Devansh Parekh (M-Files) on 28 February 2019 06:42 PM

Version 1.0 | Last Updated February 28, 2019

1     Overview

M-Files does not scale with 4K screen resolution. The following is a work around to this issue until a real solution is made in place.

2     Impacted Products and Versions

M-Files is the only impacted product.

  • M-Files, any version

3     Symptoms

Scaling issues with M-Files applications on screen with 4K resolutions such as

  • Microscopic text 
  • Preview pane zoomed in
  • Other 

4     Cause and Reason

This is caused simply by M-Files not supporting this resolution yet.

5     Solution / Workaround

Step 1: Create Manifest File

You will need to create a Manifest file for each application.

The file must be placed in the directory of the applications exe. 
(Usually found in C:/Program Files/(APPLICATION))

The manifest file must also contain the name of the application.exe. 
(Application.exe.manifest should be the name)

Example: Outlook.exe & Outlook.exe.manifest

Step 2: Edit the Manifest file and enter the section below. Save when complete.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">

<dependency> 
<dependentAssembly> 
<assemblyIdentity 
type="win32" 
name="Microsoft.Windows.Common-Controls" 
version="6.0.0.0" processorArchitecture="*" 
publicKeyToken="6595b64144ccf1df" 
language="*"> 
</assemblyIdentity> 
</dependentAssembly> 
</dependency>

<dependency> 
<dependentAssembly> 
<assemblyIdentity 
type="win32" 
name="Microsoft.VC90.CRT" 
version="9.0.21022.8" 
processorArchitecture="amd64" 
publicKeyToken="1fc8b3b9a1e18e3b"> 
</assemblyIdentity> 
</dependentAssembly> 
</dependency>

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> 
<security> 
<requestedPrivileges> 
<requestedExecutionLevel 
level="asInvoker" 
uiAccess="false"/> 
</requestedPrivileges> 
</security> 
</trustInfo>

<asmv3:application> 
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> 
<ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware> 
</asmv3:windowsSettings> 
</asmv3:application>

</assembly>

Step 3: Create Registry Entry to check for Manifest files

You will have to add a new D-word definition to your registry.

Location: HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySide

Registry: NEW > DWORD (32 bit)

Name:PreferExternalManifest 
Value: 1 (Decimal)

Step 4: Repeat for each application required.

Complete these steps for each application that will not scale in 4k.

REMEMBER: The manifest file must have the name of the EXE the program runs.

Make sure to restart your PC after making your registry changes, then launch each application to confirm this issue has been resolved.

Note: You may apply these registry changes VIA GPO, but I have not scripted or figured out another way to add the manifest automatically

 

The M-Files application to create the manifast file for is the MFStatus.exe file. MFStatus.exe.manifest
 
Then make sure to quit/restart the MFStatus.exe program
 
 
Note: this will result in a slightly blurry application, but it is the only work around for the scaling issues for the time being.

6     Reference Documents

Articles for additional information:
https://community.spiceworks.com/how_to/137758-4k-dpi-scaling-issues-solved 

(0 vote(s))
This article was helpful
This article was not helpful

Help Desk Software by Kayako case