Re: [wsjt-devel] The #$&% Windows 10 audio issue, and a proposal

2022-01-15 Thread Paul Kube via wsjt-devel
On Fri, Jan 7, 2022 at 1:25 AM Fons Adriaensen via wsjt-devel <
wsjt-devel@lists.sourceforge.net> wrote:

> On Thu, Jan 06, 2022 at 09:48:22PM -0800, Paul Kube via wsjt-devel wrote:
>
> > Any change to audio device availability on MS Windows is likely to
> renumber
> > the indexes of other devices, when this happens WSJT-X gets no
> notification
> > that it has happened.
>
> So does this mean that when a new audio device becomes available
> while a music app is playing some file, the output from that
> app would be redirected to some other device ?
>

No, rather it seems to be a result of what happens when an audio device in
use becomes unavailable. For example, headphones get unplugged, or an HDMI
monitor goes into sleep mode, etc. Then it kind of makes sense that Windows
would try to find another device that applications can use. Of course, it
does this badly, not always correctly restoring connections when the device
becomes available again.

Isn't the real issue here that WSJT is opening and closing the audio
> devices again and again for each RX or TX cycle ?
>

I don't think so; have you looked at the source code, or traced audio
subsystem calls?

73, Paul K6PO


>
>
>
> ___
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>
___
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


Re: [wsjt-devel] Additional info on WSJT-X arrow size discrepancy

2022-01-15 Thread David Tiller via wsjt-devel
Very interesting. I have these font-y lines in my .ini file. I take it the 
first is for astronomical data, the second for the RX lists, and the last for 
the rest of the UI. 

Now that I know where I can manually revert things, I'll try a few fonts.

Thanks!

[Astro]
font="Courier,18,-1,5,50,0,0,0,0,0"

[Configuration]
DecodedTextFont="Courier,10,-1,5,50,0,0,0,0,0"
Font=".Lucida Grande UI,13,-1,5,50,0,0,0,0,0"


> On Jan 15, 2022, at 3:30 PM, Alex Lelievre via wsjt-devel 
>  wrote:
> 
> Hi David,
> 
> I think that the font panel doesn’t show the font when .AppleSystemUIFont is 
> the selected font.  You can look inside the WSJT-X.ini file to see what font 
> you have selected.  Offhand, I have it set to 12 point.   The ini file is in 
> ~/Library/Preferences/WSJT-X.ini.
> 
> alex K6LOT
> 
> 
>> On Jan 15, 2022, at 5:08 AM, David Tiller via wsjt-devel 
>>  wrote:
>> 
>> Alex,
>> 
>> Thanks again for the reply - I must be an idiot; I searched for a font 
>> chooser in WSJT-X before I went on the OS font wild goose chase. I didn't 
>> even see that!
>> 
>> Interestingly, when I click on 'Font', it shows the following - note that no 
>> Family is selected (I scrolled all the way down - nada)!!! Do you know what 
>> it's supposed to be, or at least what you have selected for a font?
>> 
>> 73, K4DET
>> 
>> 
>> 
>>> On Jan 14, 2022, at 9:53 PM, Alex Lelievre via wsjt-devel 
>>>  wrote:
>>> 
>>> Hi David,
>>> 
>>> You want to take a look at the font for WSJT-X, I was thinking perhaps you 
>>> changed it in order to reproduce this bug.
>>> 
>>> Here’s where to look (in the Preferences for WSJT-X):
>>> 
>>> 
>>> 
>>> alex K6LOT
>>> 
 On Jan 14, 2022, at 6:13 PM, David Tiller via wsjt-devel 
  wrote:
 
 Alex,
 
 Thanks for the reply. 
 
 I'm not sure where in OSX 10.13.6 to look, but according to this page ( 
 https://apple.stackexchange.com/questions/12661/whats-the-font-in-mac-os-xs-gui
  ) the default font is San Francisco. I don't think I've changed it.
 
 I cannot find SanFrancisco listed anywhere in the choices available to 
 TextEdit, but I do see a lot of files named SF*.otf in 
 /System/Library/Fonts which I assume are San Francisco OpenType font 
 files. I also see SF OpenType fonts listed in SystemInformation/Fonts with 
 many in the family "System Font" - all mention SanFrancisco in the 
 Copyright.
 
 Lucida Grande displays the two arrows with different sizes.
 
 If you'd like to take this offline from the group, email me at mycall @ 
 arrl . net.
 
 Thanks!
 
 
 
> On Jan 14, 2022, at 2:58 PM, Alex Lelievre via wsjt-devel 
>  wrote:
> 
> Hi David,
> 
> What font do you have your UI set to?  That could have some effect.
> 
> alex K6LOT
> 
>> On Jan 14, 2022, at 11:00 AM, David Tiller via wsjt-devel 
>>  wrote:
>> 
>> Dear devs,
>> 
>> I know this is a very minor issue, but I'd like to pass on some 
>> additional info I've found.
>> 
>> The issue is this: Using WSJT-X 2.5.4 under OSX 10.13.6, the arrows on 
>> the 'Set TX freq to RX freq' and 'Set RX freq to TX freq' buttons are 
>> not the same size.
>> 
>> 
>> 
>> As you can see, the up-arrow button is much larger than the down-arrow, 
>> even though the arrow glyph itself seems smaller.
>> 
>> I found the definitions of the buttons 'pbT2R' and 'pbR2T' in 
>> https://sourceforge.net/p/wsjt/wsjtx/ci/master/tree/widgets/mainwindow.ui
>>  - the definitions are identical except that on my Mac, the UTF-8 
>> characters used to represent the arrows are not rendering to the same 
>> size. The misrendering shows on the page at SF in chrome and Safari as 
>> well as if you cut-and-paste into a unicode-aware editor (TextEdit, 
>> Pages, etc).
>> 
>> I also noted that when the text from the above page (rendered in chrome) 
>> is pasted into TextEdit, the font used for the majority of the text is 
>> Courier/Regular/14. The font for the up-arrow character switches to 
>> Courier New/Regular/14. The down-arrow, however, does NOT seem to 
>> trigger a switch to Courier New/Regular 14, rather it shows as 
>> 'Fixed/14' with no typeface chosen. If I force the down-arrow font to 
>> Courier New/Regular/14, the glyph changes to the same size as the up 
>> arrow. I cannot force the down-arrow font to Courier/Regular/14 - it 
>> will not accept that, as if the glyph is not in that font.
>> 
>> Something is afoot with font handling on OSX. I tried a few other fonts 
>> in TextEdit:
>> 
>> Fonts that render the arrows with different sizes: American Typewriter, 
>> Avenir, Courier, Bank Gothic, Baskerville, Bodoni, Cochin, Copperplate, 
>> etc
>> 
>> Fonts that render the arrows with the same size: Andale Mono, Arial, 
>> Chalkboard, Comic Sans, Courier New, T

Re: [wsjt-devel] Additional info on WSJT-X arrow size discrepancy

2022-01-15 Thread Alex Lelievre via wsjt-devel
Hi David,

I think that the font panel doesn’t show the font when .AppleSystemUIFont is 
the selected font.  You can look inside the WSJT-X.ini file to see what font 
you have selected.  Offhand, I have it set to 12 point.   The ini file is in 
~/Library/Preferences/WSJT-X.ini.

alex K6LOT


> On Jan 15, 2022, at 5:08 AM, David Tiller via wsjt-devel 
>  wrote:
> 
> Alex,
> 
> Thanks again for the reply - I must be an idiot; I searched for a font 
> chooser in WSJT-X before I went on the OS font wild goose chase. I didn't 
> even see that!
> 
> Interestingly, when I click on 'Font', it shows the following - note that no 
> Family is selected (I scrolled all the way down - nada)!!! Do you know what 
> it's supposed to be, or at least what you have selected for a font?
> 
> 73, K4DET
> 
> 
> 
>> On Jan 14, 2022, at 9:53 PM, Alex Lelievre via wsjt-devel 
>>  wrote:
>> 
>> Hi David,
>> 
>> You want to take a look at the font for WSJT-X, I was thinking perhaps you 
>> changed it in order to reproduce this bug.
>> 
>> Here’s where to look (in the Preferences for WSJT-X):
>> 
>> 
>> 
>> alex K6LOT
>> 
>>> On Jan 14, 2022, at 6:13 PM, David Tiller via wsjt-devel 
>>>  wrote:
>>> 
>>> Alex,
>>> 
>>> Thanks for the reply. 
>>> 
>>> I'm not sure where in OSX 10.13.6 to look, but according to this page ( 
>>> https://apple.stackexchange.com/questions/12661/whats-the-font-in-mac-os-xs-gui
>>>  ) the default font is San Francisco. I don't think I've changed it.
>>> 
>>> I cannot find SanFrancisco listed anywhere in the choices available to 
>>> TextEdit, but I do see a lot of files named SF*.otf in 
>>> /System/Library/Fonts which I assume are San Francisco OpenType font files. 
>>> I also see SF OpenType fonts listed in SystemInformation/Fonts with many in 
>>> the family "System Font" - all mention SanFrancisco in the Copyright.
>>> 
>>> Lucida Grande displays the two arrows with different sizes.
>>> 
>>> If you'd like to take this offline from the group, email me at mycall @ 
>>> arrl . net.
>>> 
>>> Thanks!
>>> 
>>> 
>>> 
 On Jan 14, 2022, at 2:58 PM, Alex Lelievre via wsjt-devel 
  wrote:
 
 Hi David,
 
 What font do you have your UI set to?  That could have some effect.
 
 alex K6LOT
 
> On Jan 14, 2022, at 11:00 AM, David Tiller via wsjt-devel 
>  wrote:
> 
> Dear devs,
> 
> I know this is a very minor issue, but I'd like to pass on some 
> additional info I've found.
> 
> The issue is this: Using WSJT-X 2.5.4 under OSX 10.13.6, the arrows on 
> the 'Set TX freq to RX freq' and 'Set RX freq to TX freq' buttons are not 
> the same size.
> 
> 
> 
> As you can see, the up-arrow button is much larger than the down-arrow, 
> even though the arrow glyph itself seems smaller.
> 
> I found the definitions of the buttons 'pbT2R' and 'pbR2T' in 
> https://sourceforge.net/p/wsjt/wsjtx/ci/master/tree/widgets/mainwindow.ui 
> - the definitions are identical except that on my Mac, the UTF-8 
> characters used to represent the arrows are not rendering to the same 
> size. The misrendering shows on the page at SF in chrome and Safari as 
> well as if you cut-and-paste into a unicode-aware editor (TextEdit, 
> Pages, etc).
> 
> I also noted that when the text from the above page (rendered in chrome) 
> is pasted into TextEdit, the font used for the majority of the text is 
> Courier/Regular/14. The font for the up-arrow character switches to 
> Courier New/Regular/14. The down-arrow, however, does NOT seem to trigger 
> a switch to Courier New/Regular 14, rather it shows as 'Fixed/14' with no 
> typeface chosen. If I force the down-arrow font to Courier 
> New/Regular/14, the glyph changes to the same size as the up arrow. I 
> cannot force the down-arrow font to Courier/Regular/14 - it will not 
> accept that, as if the glyph is not in that font.
> 
> Something is afoot with font handling on OSX. I tried a few other fonts 
> in TextEdit:
> 
> Fonts that render the arrows with different sizes: American Typewriter, 
> Avenir, Courier, Bank Gothic, Baskerville, Bodoni, Cochin, Copperplate, 
> etc
> 
> Fonts that render the arrows with the same size: Andale Mono, Arial, 
> Chalkboard, Comic Sans, Courier New, Times New Roman, etc
> 
> Unfortunately the other up- and down-arrows in the unicode space (23F6, 
> 23F7, 2BC5, 2BC6) are in miscellaneous pages that are seemingly not 
> present in many fonts. 
> 
> Image clip of definition of the SMALL UP ARROW:
> 
> 
> 
> Image clip of definition of the LARGE DOWN ARROW:
> 
> 
> 
> Thanks for reading this far!
> 
> 73, K4DET
> ___
> wsjt-devel mailing list
> wsjt-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
 
 ___