Opened 5 months ago
Closed 13 days ago
#144 closed defect (fixed)
Hi screen res issue WIndows 11
| Reported by: | Juan Corrin | Owned by: | Olly Betts |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4.18 |
| Component: | aven | Version: | 1.4.17 |
| Keywords: | Cc: |
Description
On a donated Windows 11 laptop, using the recommended screen of 3200 x 1800 px, I find the compass and direction indicators and the altitude numbers too small to read. The pixel res is being crammed into 294 x 164mm. The text in the left pane is OK. Screen shot attached which needs to be viewed at about 294mm across to give the correct impression.
Attachments (3)
Change History (13)
Changed 5 months ago by
| Attachment: | Screenshot 2025-07-01 135543.png added |
|---|
comment:1 Changed 5 months ago by
comment:2 Changed 5 months ago by
This is meant to work, but it looks like there was an incompatible change in the wx support for it during the 3.1.x development series:
https://docs.wxwidgets.org/trunk/classwx_window.html#a89cbf94bc15d4e8cb5b1e7db85225577
So we probably just need to use GetDPIScaleFactor() instead of GetContentScaleFactor() (and we no longer support wx < 3.2 so we can do so unconditionally).
comment:3 Changed 5 months ago by
| Component: | Other → aven |
|---|---|
| Milestone: | → 1.4.18 |
| Status: | new → assigned |
| Version: | → 1.4.17 |
comment:5 Changed 5 months ago by
Juan: https://survex.com/software/microsoft-windows-installer-1.2.17-plus-hidpi.zip is a build with the change if you're able to test.
Changed 5 months ago by
| Attachment: | HiRes-errors.jpg added |
|---|
Changed 5 months ago by
| Attachment: | HiRes-errors.2.jpg added |
|---|
comment:6 Changed 5 months ago by
Hi Olly, Didn't work - 4 error messages on black screen, as attached, order top to bottom. Survex then closed down. It may be relevant that, on the same laptop, Adobe Photoshop CS5 starts up with tiny, illegible icons and text around the central pane. (Excuse my confusion with attachment uploading)
comment:7 Changed 5 months ago by
It may also be relevant that the laptop was "cleaned" before being donated, so there are components missing for Survex to work?
comment:8 Changed 4 months ago by
It looks to me like there's a DLL missing.
I'm not sure if those symbols should be in Microsoft's C library or if they're extra ones from mingw though. If the latter then it's a DLL missing from our installer. We attempt to walk the dependency tree to find all the necessary DLLs but perhaps there's a problem with that.
It could be you're missing the required Microsoft DLL though. We use the UCRT C runtime which it seems means DLL ucrtbase.dll which is supposed to be a system component starting from version 10. Do you have a ucrtbase.dll?
comment:9 Changed 4 months ago by
Plenty of examples of ucrtbase.dll on the offending W11 machine, many have different sizes. (Also plenty on my W10 desktop)
comment:10 Changed 13 days ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
I got a chance to test on a Microsoft Windows 11 laptop which had 1.5* hidpi scaling.
My adjustment to the hidpi scaling wasn't quite right as the opengl view was rendered 1.5* too big so the rotation centre was offset up and right and the depth bar and compass/clino indicators were hidden off to the right of the visible area. I have fixed that.
I couldn't reproduce your problem with the missing symbols - it just worked for me.
I've confirmed the hidpi problem which was the original one reported here is fixed, and it seems the missing symbols are likely due to something important having been "cleaned" before the laptop was donated, so not a Survex problem and I'm really not the right person to help resolve that, so I'm going to close this.

Other survey components are also too small, e.g. entrances just a pin-point; station text very small.