I am trying to use user-defined manifest files with a couple of Portable Apps, but I don't get them to work.
The setup:
I use a computer with HDPi screen, Windows 10, scaling set to 200%. Most of my programs are aware of the high resolution and the Windows setting and scale correctly. Some programs don't (icons and text are tiny). The usual fix is to place an additional manifest file in the folder where the executable sits, named executable.exe.manifest, example given: https://blog.brankovucinec.com/2016/03/19/fix-remote-desktop-dpi-scaling...
The problem:
This fix doesn't work with Portable Apps started from the Platform Launcher. When I start the program directly from the filesystem (not the Portable.exe but the actual original .exe in the folder App) the manifest file is loaded correctly and the program scales well. Starting the same app from the Platform launcher, the manifest file is ignored and the UI-elements are tiny. I have tested with eclipse Mars (self packaged) and GIMP 2.8.
Since it doesn't work with both of them I suppose, it's a general issue of the platform.
Is there a way to force loading the manifest file?
Any help is appreciated,
sil
I think Windows won't use a manifest unless you are specifically launching the app the manifest is used with. What happens if you put the GIMP manifest alongside GIMPPortable.exe? If that fails, what if you name it GIMPPortable.exe.manifest?
Sometimes, the impossible can become possible, if you're awesome!
I have tried all possible combinations of naming the manifest files and placing them in both directories.
In terms of GIMP:
- I created both GIMPPortable.exe.manifest and gimp-2.8.exe.manifest
- I placed gimp... in bin and GIMP... in GIMPPortable
- I placed gimp... in bin and in GIMPPortable as well
- I placed GIMP... in bin and in GIMPPortable as well
- I placed both files in both folders
- I placed them crossover
- I even tried all possible combinations of one and two files in both folders
Regardless of the file names and the folder placements, starting GIMP from the Platform Launcher the manifest file is always ignored.
Do you have any further idea?
Thanks in advance,
sil
What if you try editing the internal manifest?
Note that this would be a temporary fix, and, just like adding a manifest file, would need to be done until the problem is solved by the application's developers themselves. In the case of GIMP, the developers are aware of the concern.
Edit: I was too euphoric. It only works if I start from the filesystem (just as with the usual user-compiled manifest). If started from the Launcher, it doesn't work. Sorry for the confusion.
Any more suggestions?
My original reply (before I tested from the Launcher):
Gord's advise (almost) did the trick. I had to replace the original
by:
Thanks a lot!!!
sil
Did either of you happen to get in touch with the GIMP folks regarding this? Gord mentioned they were aware of the issue. Perhaps they're waiting because certain features break at this high DPI. I know in our case for the PA.c Platform's menu, it currently messes things up which is why I'm reworking the theme engine to be high DPI aware.
Sometimes, the impossible can become possible, if you're awesome!
I have searched many web sources regarding this. All they currently state is, that one should switch to another theme (which is painful and only helps partly). Rumors are that GIMP 2.9 solves the issue, but it's currently not available for Windows. Note, that Gord's suggestion also didn't help, I was too euphoric with my first reply.
Icons don't scale well, but are being reworked.
I have not contacted the GIMP folks myself, however I note there are two bugs open - one for the current release stream, and one for the eventual GTK3-based stream.
https://bugzilla.gnome.org/show_bug.cgi?id=725263
https://bugzilla.gnome.org/show_bug.cgi?id=725464
For the current release, the relevant bug states that the manifest needs to be changed.