HydrogenAudio

Lossless Audio Compression => Lossless / Other Codecs => Topic started by: MonkeysAudio on 2022-06-04 19:28:13

Title: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-04 19:28:13
Hi all,

I just released a new Monkey's Audio that now says it is DPI aware and handles all the DPI scaling by itself instead of letting Windows do it.

I got a high DPI display from work, and it kind of sent me down a wormhole!

I had scale code, but it was detecting 100% even on my new monitor.

So now I use a new Windows API to get the DPI and try to update as you size from monitor to monitor.  I added a manifest to the program to say I'm doing the DPI scaling.

The new build is available here:
https://monkeysaudio.com/download.html

It would be great to get any feedback by email, or just here.

Thanks for helping.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-04 21:07:51
I realized the font size wasn't getting set nicely on high DPI for the options dialog.

I'm working on another update and will release it later today.

Cheers.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-04 21:26:15
Updated again:
https://monkeysaudio.com/download.html

I just leave extra space in the options dialog for the font to grow the size.  It would also be possible to do a separate layout as the font size changes, but I went the easy route  :P

Thanks again for any help.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 01:40:16
Updated yet again to fix a crash switching monitors while processing:
https://monkeysaudio.com/download.html

Also retooled the Options dialog a little.

Thanks again for any help.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 01:41:00
Here's the history so far:

Version 8.03

Fixed: Moving the window between different DPIs while processing could crash as the statusbar was rebuilt.
Changed: Resized the options dialog a little to put items below the text labels instead of to the right.

Version 8.02

Changed: Set the font size in the options dialog to account for high DPI.

Version 8.01

Changed: The program reports itself as DPI aware and does all the DPI scaling independently (instead of leaning on the OS).  It should rescale dragging between monitors of different DPI (feedback appreciated).
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 11:08:02
Updated again.

I got the options dialog to look pretty good even up to 2.0 scale for the DPI.  My high DPI monitor is 1.5.

I'll plan to switch this to the main download this week unless I hear otherwise.

Thanks again for any help.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 13:23:22
One more update.

Full history:

Version 8.05

Fixed: When Windows doesn't have the new DPI calls, the program nicely defaults to a scale of 1.0 (the call requires Windows 10).
Changed: The high DPI font is set in the file information dialogs as well.
Fixed: The file list was not saving between runs.

Version 8.04

Changed: Options should look good up to a 2.0 scale and the high DPI monitor I have is 1.5.

Version 8.03

Fixed: Moving the window between different DPIs while processing could crash as the statusbar was rebuilt.
Changed: Resized the options dialog a little to put items below the text labels instead of to the right.

Version 8.02

Changed: Set the font size in the options dialog to account for high DPI.

Version 8.01

Changed: The program reports itself as DPI aware and does all the DPI scaling independently (instead of leaning on the OS).  It should rescale dragging between monitors of different DPI (<a href="contact.html">feedback</a> appreciated).
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 15:20:53
Another update.

Version 8.06

Fixed: The font could grow over and over sizing between low and high DPI because the original wasn't stored.
Changed: The scale is loaded on WM_DPICHANGED instead of during size of the window.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-05 17:08:55
Hi,

A quick glance from Windows 10 on a 4K monitor, DELL P2415Q Color Profile, D6500, 200%, 3840 x 2160 (recommended).
Monkey's Audio 7.81 (2696888 bytes, SHA256: 2F212DCCB5520B7B7A9B98FFAAACD1461F8706C34776CC96746C184CE3C9713A): Nothing seems to be wrong and it is properly 2x resolution.
Monkey's Audio 8.06 (2698680 bytes SHA256: 440DF6250719F3EDE4B368176AAA4B45512C7D2FB0B3FD5D0DE218EF685B5991): One obvious problem: The Help > About The Monkey's Audio window, is too small for the big credit font.

https://listening-test.coresv.net/img2/Monkeysaudio806.png
https://listening-test.coresv.net/img2/Monkeysaudio806-2.png
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 18:05:31
Thanks for the feedback.

I've attached a screenshot of the about box on my high DPI display.  It seems alright.

I get that things are under maintenance when I click your links, so maybe email me a screen at mail at monkeysaudio.

Thanks again.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 18:07:34
It looks like it overflows when the scale is 2x.  I'll fix in a bit and upload again.  Thanks!
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-05 18:26:12
Updated again.  Thanks for the help :)

Version 8.07

Fixed: At 2x (or more) scale the about box would be cropped.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-06 00:47:07
Thank you.
I cannot load Monkey's Audio 8.07 (https://monkeysaudio.com/files/MAC_807_x64.exe).

Quote
Problem Loading Page
There was a problem loading the selected page. Please use the links at the top of this page to view other Monkey's Audio pages.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-06 00:49:26
Please try again.  I had only uploaded the 32-bit build, but my link was to the 64-bit.  Thanks again!
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-06 13:42:01
Thanks for the help everyone.

Just released the build as my main download:
https://monkeysaudio.com/download.html

Cheers.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-06 14:20:35
Monkey's Audio 8.08 (2699104 bytes SHA256: 51832A5A6A4AC113ED66BD8ED4ABC0237DFA19039A85C10E14EA4C3D892147B2):
Still have problem: The Help > About The Monkey's Audio window, is too small for the big credit font. Many texts are too big.

https://listening-test.coresv.net/img2/Monkeysaudio808.png
https://listening-test.coresv.net/img2/Monkeysaudio808-2.png
https://listening-test.coresv.net/img2/Monkeysaudio808-3.png
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-06 14:39:22
I get that things are under maintenance when I click your links, so maybe email me a screen at mail at monkeysaudio.
Sorry for that. The maintenance is done, and all files should be accessible.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-06 14:52:11
Should totally size in both directions with the new build:
https://monkeysaudio.com/download.html

Maybe I should feel good if about box problems are my biggest issues!  Thanks again :)
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-06 15:41:05
Fixed a few more issues and released a new build:
https://monkeysaudio.com/download.html

Thanks again for any help.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-06 20:21:51
I made the footer below the list grow fields as necessary to hold the text.  I'll release that eventually (maybe after some more feedback).  Thanks.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-06 21:02:41
Just put out the update.  Now the statusbar will grow when necessary.  Thanks.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-07 22:01:06
Another update to fix statusbar spacing when processing starts.

Thanks.

https://monkeysaudio.com/download.html
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-10 14:30:46
Version 7.81 2696888 bytes, SHA256: 2F212DCCB5520B7B7A9B98FFAAACD1461F8706C34776CC96746C184CE3C9713A
https://listening-test.coresv.net/img2/Monkeysaudio781-11.png
https://listening-test.coresv.net/img2/Monkeysaudio781-12.png
https://listening-test.coresv.net/img2/Monkeysaudio781-13.png

Version 8.12 2698560 bytes, SHA256: 2EB5E4C8DD6E20DB789D028884CF86ADCD4FD3F96C33E7C6451C438B5D60EE54
https://listening-test.coresv.net/img2/Monkeysaudio812-1.png
https://listening-test.coresv.net/img2/Monkeysaudio812-2.png

I like the display of the version 7.81 because the size of the menu and bars are well balanced. Looks like any professional apps.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-10 20:43:51
Well 7.81 isn't DPI aware so Windows does the scaling.  Windows does a pretty good job.

I added this to the build I just uploaded so we can see the scale getting chosen for you.  My high DPI display is 1.5.

Changed: Added the scale to the about box.

Thanks.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-11 10:25:20
From Windows 10 on the same 4K monitor, DELL P2415Q Color Profile, D6500, 200%, 3840 x 2160 (recommended).
Monkey's Audio 8.13 (2699304 bytes, SHA256: A8A556E9435AE5CDE72BB41BDA32E6C7C9F09E75BE63E8BF10E0E6DBB1C8040C)
Scale: 2.0
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-12 12:30:04
I just released an update the builds the options dialogs totally on the fly instead of using stored things in the resource file.  That way they should work well at any scale.

https://monkeysaudio.com/download.html

Thanks again for the help.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: Kamedo2 on 2022-06-12 13:52:16
Version 8.15 2715608 bytes, SHA256: 1B3BABCFFA3E8B36F04285E4B60C8C27DD904B3A1AA7A2BB7F9566181FFE01CB

https://listening-test.coresv.net/img2/Monkeysaudio815-1.png
https://listening-test.coresv.net/img2/Monkeysaudio815-2.png
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-12 14:09:06
Thanks for the screenshots.  They look pretty good.

Next build I'll make this little tweak:
Changed: Made options a little wider and also the list of choices wider to avoid truncation on high DPI.

Cheers.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-12 19:20:20
I've got these changes slated to go out:
Changed: Made the options list a little wider to avoid truncation on high DPI.
Changed: Made output directory level recreation a combobox instead of an edit (since only a few values would be chosen, it seemed unnecessary to allow typing).
Changed: Put the browse directory button right next to the path selection in options instead of below it.
Changed: Put the APL naming help button back to the right of the combobox in Options.

I'll wait to release to see if there are any more suggestions.  Thanks again for the help.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-12 19:35:05
Just put another update out.  Thanks again.
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-13 11:39:48
There were reports that the options dialog looked too wide on regular DPI so I cut another update that adjusts the width using a scaled number (instead of the number just being baked in).
Title: Re: New High DPI Monkey's Audio Testers Wanted
Post by: MonkeysAudio on 2022-06-15 17:28:48
Did one more update today with pretty minor tuning:
https://monkeysaudio.com/download.html

Thanks again for all the help.