RL Vision Knowledge Base

Support questions and answers for software by RL Vision.

Note: This is an archived discussion. Any bug, problem or suggestion mentioned here is likely to have been fixed since it was written.

Subject: Re: GUI-problems in Windows 7

Date: Thu, 03 Dec 2009 18:05:37 +0100

FR is probably near 40-50,000 lines.

// Dan


Ole wrote:
>
> Yes, it was solved thanks to the article you sent me. I should be thanking you J
>
>
>
> To get you started:
>
> - It only occurs on Windows 7 (possibly also Vista, XP?) that initially had DPI set to 125% when Windows was installed.
>
> - I believe it is irrelevant what the DPI setting is now; I tried a bunch of combinations of resolution and DPI settings, both in the VM and in the host OS, and the problem never appeared. Or reappeared, for that matter, after the registry keys were corrected.
>
> - You can check the registry for the values mentioned in the article.
>
> - I donít think you need to take into account the current resolution since FR scaled nicely on whatever resolution I set the computers to (both laptop, desktop, and VM).
>
> - It doesnít seem reproducible unless you edit the registry to point to the wrong font sizes, I could not reproduce it no matter how I set resolutions and DPI.
>
>
>
> Good luck!
>
>
>
> Just out of curiosity (again), how large is a program like this, in code lines? Iím a bit interested since I occasionally do a little programming myself, mostly for my clients, and then only in VB 2008/.NET/Office as add-ins to Word, Outlook, etc.
>
>
>
> Kind regards,
>
> Ole
>
> Bergen, Norway
>
>
>
> From: Dan
> Sent: 02. desember 2009 18:34
> To: Ole
> Subject: Re: GUI-problems in Windows 7
>
>
>
>
> Glad to hear that you solved it. Thank you very much for you help! I will have to think about a way to reproduce this and detect it, and then somehow fix it.
>
> // Dan
>
>
> Ole wrote:
>
> Solved!
>
>
>
> As the article you sent me points out, the laptop has a native screen resolution of 1680x1050, which apparently ďis over a certain resolution to default the font size 120 DPIĒ, and that caused it to default to 125% DPI when freshly installed. This did not occur on my desktop (1280x1024) nor on my VM (1024x768) because those Windowses defaulted to 100% DPI, i.e. no problems there.
>
>
>
> The article says this affects systems that initially is set to 125% DPI, but it fails to mention that this is not reproducible without explicitly hacking the registry by setting the registry values in question to the wrong values. Also, on a system that was not initially at 125% DPI, adjusting DPI from 100% to 125% and back to 100% again makes no difference Ė FR looks okay at all DPI settings. The DPI changes themselves do not mess up the font names, only the fact that a system started out at 125% DPI does.
>
>
>
> I will definitely incorporate the regfile from the article into all my Windows 7-setups (both at home and at clients) from now on. Maybe it needs to be adjusted for a Norwegian Windows 7 (or other languages), I donít know, Iím only running English Windowses.
>
>
>
> Thanks a bunch for pointing me in the right direction! J
>
>
>
> Kind regards,
>
> Ole
>
> Bergen, Norway
>
>
>
> From: Dan
> Sent: 01. desember 2009 22:46
> To: Ole
> Subject: Re: GUI-problems in Windows 7
>
>
>
>
> I found a page talking about this problem:
>
> http://community.dynamics.com/blogs/developingforgp/archive/2009/11/24/windows-7-bitmap-fonts-and-microsoft-dynamics-gp.aspx
>
> Almost seems like a bug in Windows 7 if you ask me. There is a possible solution too, that you can try.
>
> Not sure of how I will solve this for FR yet.
>
> // Dan
>
>
> Ole wrote:
>
> Try VMware, that rocks. Tried VirtualBox, Parallels and some other thing I canít remember the name of, but VMware Workstation is in my opinion simply the best. No driver problems whatsoever.
>
>
>
> I will try FR in a couple of different resolutions and DPI settings in VMware and get back to you with my findings, if that will be of any help. Iíll be running those tests on my laptop since thatís the box with the largest screen resolution possible, so the resolutions Iíll test will be 1680x1050 and less.
>
>
>
> Just out of curiosity, do you program this in .NET?
>
>
>
> Kind regards,
>
> Ole
>
> Bergen, Norway
>
>
>
> From: Dan
> Sent: 01. desember 2009 19:21
> To: Ole
> Subject: Re: GUI-problems in Windows 7
>
>
>
>
> Right now I'm running Win7 in a VirtualBox environment. Unfortunately I have not yet been able to get the graphics drives to work properly, so I'm only running 800x600 in Non-Aero mode. I'm working on getting full graphics support to see if it helps. But the size of the controls have in all other Windows version only depended on the DPI settings, not the resolution. This is what I don't understand yet.
>
> // Dan
>
>
> Ole wrote:
>
> No, I have the default settings on both computers, which is why I thought this was rather strange. Highest possible resolution (1280x1024 desktop/OK, 1680x1050 laptop/wrong), smallest possible font size (100% on both computers).
>
>
>
> You say this doesnít happen on your test machine, what resolution does that box run?
>
>
>
> Kind regards,
>
> Ole
>
> Bergen, Norway
>
>
>
> From: Dan
> Sent: 30. november 2009 19:57
> To: Ole
> Subject: Re: GUI-problems in Windows 7
>
>
>
>
> Stupid Windows forces the text in FR to resize itself, but as you can see it does not work as intended always. I will have a look at it and try to fix it for the next version.
>
> One question: Did you change any font settings, or is this the default settings for Win7? (On my Win7 testing machine this does not happen.)
>
> // Dan
>
>
>
> Ole wrote:
>
> Hi,
>
>
>
> Flash Renamerís GUI on my laptop running Windows 7 x64 looks like this:
>
>
>
> cid:*****@*****
>
>
>
> Screen resolution 1680x1050, DPI 96 pixels/inch (text size 100% in Control Panel | Display).
>
>
>
> This was not a problem when I ran Windows XP Professional on the same computer. Iíve tested Flash Renamer on my old desktop computer, also running Windows 7 x64, but with a screen resolution of 1280x1024 and the same DPI-settings, and there it looks great.
>
>
>
> It looks like the fonts are too big for the controls in the GUI.
>
>
>
> Any ideas?
>
>
>
>
>
> Kind regards,
>
> Ole
>
> Bergen, Norway
>
>


Back to Knowledge Base


 · Software
 · Download
 · Order



 RL Vision
 · About
 · Contact
 · News
 · Blog



 Shareware
 · Flash Renamer
 · PDF Img Extract
 · Exif Tag Remover
 · Dupli Find



 Freeware
 · Replace Genius
 · Office Img Extract
 · Notepad2 BE
 · PhotoSift
 · Hot Spot Studio
 · Snap2HTML
 · Snap2IMG
 · Bubble Math
 · DinnerWiz
 · NSF Tool
 · Beep.Exe



 Misc.
 · Get Source Code
 · Changelogs
 · TitleQ
 · ArtGem
 · Graphics Tutorials
 · Win7 Font Bug
 · KB


Like my Freeware?

I'm on GitHub too!



 © 1998-2017 RL Vision