Thank you Stellian,
Last night I revised my PR to Sean. This morning I made a two adjustments to apply the libaudio\config.h to remove the duplicate define of snprintf with appveyor ov50 instead of before that, which fixed the appveyor builds in my repository. I tested both the ov42 and ov50 versions and with the exception of the decoder second screen problem, they work. I have 3 PR's to Sean with these changes. https://github.com/seandepagnier/weatherfax_pi/pulls
just tried it and downloaded from the link provided.
The file is weatherfax_pu-1.8002h-ov50-new-xml-win32.exe
The issue persists.
Btw, I am using an audio file sample from the web.
If I retrieve a file directly via the web it displays fine.
Still, in a way that defeats my objective. If I have web access I'd be using primarily Gribs.
Without web it would be weatherfax as audio over the air.
I'm on a Dell Latitude E7240 with Win10Pro (64Bit).
Resolution is 1366x768 OpenCPN is release 9065270.
Regards,
Franziska
Thank you Franziska, that is very helpful. We know there are some problems, and Stelian and I are working on some of them concurrently.
I am afraid we are still in the testing stage and you are one of our testers now!
Can you please describe with words, stating the steps you are taking, the menu and command selections being made and one or two screenshots showing what the problem is? -I now think your problem is something new we were not aware of.
You need to rework this one because I properly fixed the list problem at the source (in the WeatherFax.fbp, instead of modifying WeatherFaxUI.cpp which will be regenerated by the wxFormBuilder tool).
Basically I start OpenCPN. Than I start a demo wav file of a weatherfax over the speaker(it's quiet around here apart from that) and run the weather fax Plug-in.
Once I have captured the file I hit next on the bottom.
I can only resize the main Plug-in windows on the right (see screenshot).
The window which displays the images can not be resized and so anything to the right of the word "Get" on the bottom stays hidden.
I am still trying to get a better image quality as well while playing with filters and threshold.
Hope that helps. Thanks for fixing this, sincerely Guinnpig Fran :-)
For whatever reason the maximum width was constrained to 320 pixels (but the constrain doesn't seem to work on Linux anyway, but it obviously works on Windows). This should also be fixed in my latest changes.
Good news to hear that.
Is that fixed file already available on the normal Plug-in download page?
I'm happy to try it.
What would be nice to have, would also be a way to show the complete image while decoding the audio stream.
Like a zoom button.
Last not least, I do not get to open the window which might need to show when I hit previous...
Not sure what I should expect there, but the arrow Prev results in no action.
One more, I do miss a way to reset/clear the image window button when I abort or stop the audio stream.
Should this not happen when I close the plugin? Right now I have to restart O to achieve this.
Apart from that I noticed the image quality gets much better with 265 colors. Could you adjust the default to this value? Min was automatically at something like 32000 colors, which resulted in a very dark image.
I did notice in SeaTTY that the image improved also a lot when I did open the audio file directly.
So best procedure is perhaps to record the audio stream separately to a file and than open it directly in the plugin.
And one more [emoji3]
Adjusting skew & phase on the short scale with a slider is a pain. A plus and minus button would perhaps work better. Especially on a rocking boat.
Stelian, I've compiled it for ov42-ov48 and run some tests on it.
1. The mouse controls seem to work well and we can adjust size from the menu for the first window, the second window.
2. We can select weatherfax urls from both the first two menus with mouse clicks or with keyboard arrows and holding down shift and pushing the up or down arrow.
4. InetRetireval Menu, Highlight urls to download and push the Selected button, it works.
5. InetRetrieval Menu, Check several boxes in the first column and push Scheduled, it works.
6. In the internet retrieval menu we can select all by selecting top box in the first row. Then try to push the "Scheduled" button, it does not work.
7. It would be nice to have these menu positions and sizes be remembered so we don't have to redo them every time.
Decoder-Fax Wizard, (File - Edit) We seem to be missing some of the steps previously taken with the Decoder and I am puzzled why. There only appears to be one screen, before there was:
1. an opening screen to adjust skew I think.
2. second screen to set and adjust coordinates, projection, etc.
3. third screen to see how the coordinateset was applied and give a chance to adjust further.
Please explain what has happened here.
The decoder window is not adjustable but is some size a bit smaller that the screen size I guess. When we are making these adjustments it would almost be best to have this adjustible from the corner and have the setting remembered. Maybe a full screen button or something? The problem is that we often need to see the small text in the fax to set coordinates. I guess we should be using Windows10's Handicapped Magnifier utility here? Just thought of that.
Now the real problem is that the coordinates are cut off and not big enough, and the space between the coordinates could be reduced a lot in favor of more space to show all the data. The guys maintaining the XML files really need to see these numbers or we cannot do a good job and have to go back to earlier versions which work better. Please see attached screenshot.
For those who would like to be testers, Stelian's file is attached. Please remove the pdf and install into Opencpn v4.8.8 and report your findings here.
Stelian, thank you so much for fixing these vexing problems. I know how wxFormBuilder can be very difficult to work with.
OK Stelian, I could do that, and maybe I should do so, but if your PR is accepted by Sean after my PR #127 I think your change will be applied, won't it?
If not, I will change it. Let me know.
Quote:
Originally Posted by stelian
You need to rework this one because I properly fixed the list problem at the source (in the WeatherFax.fbp, instead of modifying WeatherFaxUI.cpp which will be regenerated by the wxFormBuilder tool).
6. In the internet retrieval menu we can select all by selecting top box in the first row. Then try to push the "Scheduled" button, it does not work.
7. It would be nice to have these menu positions and sizes be remembered so we don't have to redo them every time.
I'll look at those.
Quote:
Originally Posted by rgleason
Decoder-Fax Wizard, (File - Edit) We seem to be missing some of the steps previously taken with the Decoder and I am puzzled why. There only appears to be one screen, before there was:
1. an opening screen to adjust skew I think.
2. second screen to set and adjust coordinates, projection, etc.
3. third screen to see how the coordinateset was applied and give a chance to adjust further.
Please explain what has happened here.
I do get the "skew" screen when I open a "wav" file or when I hit "Capture". However, when I open a "png" file or some other sort of image file I'll get to the second screen immediately. Isn't this the wanted behaviour ?
Quote:
Originally Posted by rgleason
The decoder window is not adjustable but is some size a bit smaller that the screen size I guess.
I assume you're talking about the graphic image being drawn while decoded from the audio stream. I'm not sure it's easy to resize, will look into the code.
Quote:
Originally Posted by rgleason
Now the real problem is that the coordinates are cut off and not big enough, and the space between the coordinates could be reduced a lot in favor of more space to show all the data. The guys maintaining the XML files really need to see these numbers or we cannot do a good job and have to go back to earlier versions which work better. Please see attached screenshot.
So you want me to make those coordinate fields a bit bigger. This will be easy.
Quote:
Originally Posted by rgleason
I know how wxFormBuilder can be very difficult to work with.
Ok I see what you've done. I think I will just undo the ifdef statements and we can just have your's applied in the order I outlined.
That way, there will also be a better working version for ov42--ov488 in Sean's repos, as well as ov50 following that.
I've removed my PR #127 for Win Changes and added a suggested order for Sean to merge.
Quote:
Originally Posted by rgleason
OK Stelian, I could do that, and maybe I should do so, but if your PR is accepted by Sean after my PR #127 I think your change will be applied, won't it?
6. In the internet retrieval menu we can select all by selecting top box in the first row. Then try to push the "Scheduled" button, it does not work.
I tested this and it does work for me: I go into the Internet retrieval dialog, select for example "DWD" and "All" faxes (there are about 10 entries), click on the header of the first column so I can get a "x" in the first column for all the faxes, then click the "Scheduled" button. This will retrieve all the faxes one after another.
Quote:
Originally Posted by stelian
I do get the "skew" screen when I open a "wav" file or when I hit "Capture". However, when I open a "png" file or some other sort of image file I'll get to the second screen immediately. Isn't this the wanted behaviour ?
Can you confirm it works correctly and I did not break up something here ?
Quote:
Originally Posted by stelian
So you want me to make those coordinate fields a bit bigger. This will be easy.
Stelian, I was testing in ov488 as that is my tablet compile setup. I will fetch and check again, this morning.
Then I'll make a new branch from my xml beanch, push it to my repos, pull your changes, and then make a new commit on that branch for appveyor ov50 and will test that in ov50