Wrong font-size after startup
29 January, 2022 at 9:21 pm #5024
first, the expected Metadata:
Windows: Windows 10 20H2
Desktop Info: 3.3.1
Snippet from config.ini: (complete options block)1234567891011121314151617181920212223242526[options]font-face=Arialfont-size=11#cleartype=1# size and positionmonitor-mode=1top=0right=0nav=0#formcolor=501020# logginglog=desktopinfo.loglog-level=debugonerror# misc#ignore-setting-change=1#[screen-saver]#font-size=16#centerv=1#centerh=1#formcolor=501020
I put a link of Desktop Info in the autostart folder of Windows for automatic startup. The program comes up with the wrong font-size. I guess it must be 14 or 16. Too big to fit. If i resave the desktopinfo.ini (inserting or deleting a blank) it reconfigure to the expected font-size of 11. Thats a pesky workaround.
I work with a external Monitor and the Notebook display.
Any help/tips are really appreciated.
29 January, 2022 at 9:23 pm #5025
PS.: I tried the commented options active/inactive no change of the behaviour.
2 February, 2022 at 9:14 am #5026
That’s a curious issue. Which startup folder are you using? Have you tried starting it from Task Scheduler?
3 February, 2022 at 4:56 am #5027
Indeed curious and annyoing.
I used [win] + r -> shell:startup
that brings up the folder:
I will explore the Task Scheduler way and report the outcome.
5 February, 2022 at 12:07 am #5028
The results after some further tests.
Using Task Sheduler = same result.
I can reproduce it on every restart of the DesktopInfo Process. It comes up with the wrong font-size after saving the ini file again – redraw to correct font-size.
I have recorded it, with debug option on. But i fear there is nothing unusal to see?
5 February, 2022 at 12:08 am #5029
7 February, 2022 at 8:51 am #5034
It is related to font scaling on a high dpi monitor. I notice your monitor is set to 125% which causes the font size to scale up. This is how it is supposed to work. I think the actual bug is that it scales back down again when you save/reload, it shouldn’t do this, it should remain scaled up.
If you need it to look the same as it would on a 100% monitor then you probably want to disable automatic scaling, page 14:
7 February, 2022 at 5:56 pm #5036
That was it. If i set the option you mentioned it works.
Reading the manual carefully could help. I read it, but oversee this option, or didn´t bring it together with my issue.
Anyway, thank you for your support. Great tool, keep it running.
PS.: To my complete luck, i looking for an option to show the acutal outgoing tcp connections.
aka: netstat -f – Would be the CMD item the right way to realize it?
8 February, 2022 at 8:13 am #5037
yes. be careful, this command can take a long time to return if using the -f switch.INI1CMD=interval:600,code-page:65001,file:cmd.exe,parameters:/C netstat -f,wide:1
You can filter on the external host by using the “find” pipe command:INI1CMD=interval:600,code-page:65001,file:cmd.exe,parameters:/C netstat -f | find "10.0.0",wide:1
8 February, 2022 at 6:01 pm #5063
I tried it out. But it seems thats not a practical way. As you said it took a long time to execute the command. Meanwhile the charts are frezed and it looks like the Monitor hangs.
Its obviously a problem of the netstat command and it implementation. (Not performance trimmed)
A solution might be, if the Montior load the CMD item asynchronously. But i am happy as it.
- You must be logged in to reply to this topic.