This project has moved and is read-only. For the latest updates, please go here.
4
Vote

The AppChooser does not support Hi-DPI Displays

description

Two very simple fixes are required for the Window Chooser as it does not size correctly plus the Finder Window dog glyph does not display in the correct position when the Windows DPI >96

Fix 1.
AppChooser.xaml
Line 18
Change

Fix 2.
FinderWindow.xaml.cs Line 164

Change
SizeToContent="Width"
To
SizeToContent="WidthAndHeight"

Change
var mouse = NativeMethods.GetCursorPosition();

To
var mouse = Mouse.GetPosition(this);// NativeMethods.GetCursorPosition();
    mouse = this.PointToScreen(mouse);

    var transform = PresentationSource.FromVisual(this).CompositionTarget.TransformFromDevice;
    mouse = transform.Transform(mouse);
Tested in Windows 8.1 at 192DPI (200%)

comments

maciekrakowski wrote Nov 7, 2013 at 5:23 PM

This is interesting stuff. Thank you for taking due diligence to not only diagnose the problem, but come up with a solution as well. We will test this feature, and assuming it works for our normal scenarios (which I'm sure it probably will), we will integrate this into the next release of Snoop.

alimbada wrote Feb 23, 2015 at 3:02 PM

I could do with this fix on my new 3200x1800 resolution laptop screen...

Nine unmerged pull requests on Github and one on Codeplex, no commits since June 2013... Has this project been abandoned?