I cannot do anything with the fonts at the moment, but I made some changes to the dialog boxes to try and get them to size correctly. Are you saying that the dialog boxes still have the issue of only half displaying various objects?
Progress on the blinking objects, its much better selecting the objects that are being worked on only.
There are some additional improvements needed however, the text points, boundary points, and other points all seem to blink whenever any object is selected. I think that is correct how I described it. They stop blinking after the object is not select anymore.
I haven't seen any improvement on the outlines in this lastest one... I am sorry. I've tried to check all settings yet again... but perhaps I am not doing something correctly.
I've attached a couple of screenshots of settings.
One other problem I had was when entering a Boundary, after entering 3 pts (actually) I hit escape and Opencpn froze. And then tried to load Opencpn again it the timer just spins.
Here we can open the file and indeed the objects in question do show up without borders as well.
How are they wrong? Shall see, but anyhow: creating stuff with former versions will always have the risk to break something...
After the glitch created by starting to enter a boundary, (two to three points) then hit escape.... it froze. I eventuallly found
C:\ProgramData\opencpn\plugins\ocpn_draw_pi\data (to other empty one was bogus)
and I deleted the first two ocpn_drawnavobj.xml
and tried loading Opencpn and starting ocpn_draw and everything worked ok. There were no old objects in the Manager, so I loaded the ones I had just saved out.
Of course they have no outline.... I will have to go in and fix these objects.
Wonder how they got that way.
PS: I deleted the changes file, too. But I can retrieve it and look.
I changed one by hand in the xml, then was able to change the other outline by just going into properties and reasserting the color, then the outlines showed up.
For some reason, whenever I am entering a Boundary Inclusive the Outline does not show, even though under properties it shows and indicates as "Black" color.... even then the outline does not show as black.... So I just go into "Boundary Properties" and click on the "Black Line" to reassert the proper RGB settings.
I think there is some default RGB setup that is not initialized properly for Lines. I can't understand why it would show as black under properties, when it does not show at all when the boundary is draw...
This is working much better now. I just wonder about the initialization of Line Color. Still have to enter Boundry Inclusive and then Boundary Properties and pick Line and reset to proper initial values. Then it works. This is for even new Boundary Inclusive.
Good catch Hubert with the xml. I found that the initialisation of the inactive colours used an invalid colour name and this lead to the rgba(0,0,0,0.000), i.e. transparent black. I have now fixed this initialisation.
Rick, to fix your issue, either, go into the opencpn.ini file and remove all references to colours with rgba(0,0,0,0.000) or go into the main preferences and reset the inactive colours. As for your objects, if you look in the current ODnavobj.xml file and see any colours that have a 0.000 transparency you can change these by changing the colours from the individual items properties. This should avoid you having to redraw them.
I have put up patch 570 which should fix the issue.
Patch 570 contains the range ring width and style.
The next patch will require a recompile of OCPN as I am going to use two new API calls to see if I can set the font size correctly for high resolution screens. This will require commit bd28b2c of OpenCPN as a minimum. There is no new version number to go with this commit.
Patch 571 contains the new code for scaled fonts. This may help with the issue on high res screens. Hubert can you please test and see if it is any better?
Remember you will need to get the latest version of OCPN from git, build it, then copy the resulting 'lib' file to OD and rebuild it. The code works on my machine, but it is not high res. So I don't think I have made it worse.
Newly compiled Ocpn4.1.1108 + Ocpn_Draw_pi (used new opencpn.lib from main program) Usingnewly compiled ocpn_draw_pi #571.
Attached are corrected .GPX file for the objects so that the outline does draw. These are working now from the start of drawing a Boundary object, due to I went back to Preferences and reset the colors, so they are no longer hidden black.
Note: The linetypes for Boundary Points must be working but they look like solid lines. Is there any way to improve the drawing of say dashed Boundary Point outlines ?
Thanks Bcn and Jon this is much better and working better.
-Note: The watchman alarms don't seem to be working at all. The Boundary alarm notice does not change from "Anchor inside of ......" at all when the boat has been moved out using "Move boat here"