Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 27-01-2016, 07:36   #151
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,294
Re: OpenCPN RC(2) 4.1.1317 Release

Dave,
Quote:
Originally Posted by jongough View Post
Hi,
I have just been using commit 5af5a23 from OCPN to test the OD plugin. There appears to be an issue with the setting of the SVG icons for plugins when the plugin changes its icons in the toolbar. At 0ed0915b it all works ....
Jon
Using the last version of O4111317 that was placed in OD thread, I see the same problem with the Grib ICON in icons bar O.
Attached Images
 
__________________

__________________
Gilletarom is offline   Reply With Quote
Old 27-01-2016, 09:32   #152
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,025
Re: OpenCPN RC(2) 4.1.1317 Release

Quote:
Originally Posted by alexej-osm View Post
Hi Dave,

(#122)
I have an additional question: 'The most recent (by date)'. Does that mean, the file with the most recent file-date (if so creation or modification?). Or do you use the tags in the bsb file or in the header, again in this case which one (CED/SE, CED/RE, CED/ED or else?). What if it is an older edition with a newer release and date?

The reason behind this question: do we need to preserve the file dates while copying and downloading?

Alexej
It means the file system file date not a date field somewhere inside the file. For this I think it doesn't matter whether creation or modification as they are usually the same. The chartdownloader sets the date on the file when it is expanded from the compressed archive. So the file date means the date when it was downloaded by the plugin.

It would be best to not have duplicate file names within a single type of chart file set. The usage of file dates presupposes that two duplicate name files are in fact the same chart just different versions. It is not robust to rely on file dates for differentiating files that contain completely different charts but have the same name.
__________________

__________________
transmitterdan is offline   Reply With Quote
Old 27-01-2016, 10:10   #153
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,249
Re: OpenCPN RC(2) 4.1.1317 Release

Quote:
Originally Posted by transmitterdan View Post
It means the file system file date not a date field somewhere inside the file. For this I think it doesn't matter whether creation or modification as they are usually the same. The chartdownloader sets the date on the file when it is expanded from the compressed archive. So the file date means the date when it was downloaded by the plugin.

It would be best to not have duplicate file names within a single type of chart file set. The usage of file dates presupposes that two duplicate name files are in fact the same chart just different versions. It is not robust to rely on file dates for differentiating files that contain completely different charts but have the same name.
Also...OpenCPN does not read any .bsb files, only the .kap files.
/Thomas
__________________
cagney is offline   Reply With Quote
Old 27-01-2016, 11:57   #154
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: OpenCPN RC(2) 4.1.1317 Release

As seen too often in the past: Each new commit results in a step backwards of functionality. Since introducing SVG type icons many people claim about it and the value display in the wmm_pi icon has gone. So I discarded SVG completely to get back the value display as shown in the attachment.

Gerhard
Attached Images
 
__________________
CarCode is offline   Reply With Quote
Old 27-01-2016, 13:03   #155
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

Gerhard...

I have no trouble with SVG on Mac, building from current (today) github.

Dave
Attached Thumbnails
Click image for larger version

Name:	mac.jpg
Views:	86
Size:	87.4 KB
ID:	117752  
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 13:05   #156
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

Littlechay...

Current github has Wind Speed dashboard compass display corrected for 999 display, and some other things.

Thanks to TDan for the analysis.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 13:21   #157
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 883
Re: OpenCPN RC(2) 4.1.1317 Release

Gilletarom,
I have found what is causing the issue, OCPN does not look for or handle the 'Shift' key so both Ctrl + b & Ctrl + B are used for the same function, i.e. toggle chart bar. OD is using Ctrl + Shift + B to start drawing a boundary. I can easily change OD to use whatever keys are needed, but without the Shift key or Meta key being trapped there are not many options left for plugins. I will need Dave to say how he wants OCPN to react and what keys should be available for plugins.

Dave, any comments?

Jon

Quote:
Originally Posted by Gilletarom View Post
Dave hello, hello Jongough,

Lenovo, U41, iCore 5-5200U, CPU @ 2.20Ghz, RAM 4 Gb, Graphic card : Intel HD Graphics 5500, W8.1

A small problem with keyboard shortcuts.
"Ctrl + b" hides the charts bar but does not reappear. by cons, after hiding the charts bar, the second use of "Ctrl + b" opens the OCPN Draw icons bar.

And then, impossible to display bar charts.

A second problem , probably specific this graphic card :
"Ctrl + g" or "Crtl + G" do not change from daylight to green and, see screen copy, a second window, black, appear but it is impossible to display this second window.
The only way is to shutdown O and re-run O to return normal situation.
__________________
jongough is offline   Reply With Quote
Old 27-01-2016, 14:02   #158
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,777
Re: OpenCPN RC(2) 4.1.1317 Release

Quote:
Originally Posted by bdbcat View Post
Gerhard...

I have no trouble with SVG on Mac, building from current (today) github.

Dave
You are joking, aren't you?
Even your icon is larger here below I can't read the value.

Gerhard
Attached Images
  
__________________
CarCode is offline   Reply With Quote
Old 27-01-2016, 15:27   #159
Registered User

Join Date: Nov 2014
Location: Netherlands
Posts: 179
Re: OpenCPN RC(2) 4.1.1317 Release

Quote:
Originally Posted by bdbcat View Post
I have no trouble with SVG on Mac, building from current (today) github.

Dave
Dave,

I see a problem when the svg files are not on the proper location.
Then the test in wmm_pi.cpp line 358 still seems to see that there is a svg file while it is not.
The return of function GetBitmapFromSVGFile seems to set live.IsOk always to true.
If the svg file is not present I see the strange effect on the icon and if the svg file is there everything is honkydory.

Peter
__________________
ptulp is offline   Reply With Quote
Old 27-01-2016, 16:49   #160
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

Peter...

And why would the SVG file be missing if OCPN was installed correctly?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 17:34   #161
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN RC(2) 4.1.1317 Release

Quote:
Originally Posted by bdbcat View Post
Littlechay...

Current github has Wind Speed dashboard compass display corrected for 999 display, and some other things.

Thanks to TDan for the analysis.

Dave

Thanks gents;

I'm away from the boat on an overland trip to renew my visa right now. Will be back Saturday and can test then.

It's not a big issue for me as I don't us wind instruments on the PC; was just reporting issues as I found them .

Cheers
Chris


SY Morgane
http://tweedsworld.com
__________________
Littlechay is offline   Reply With Quote
Old 27-01-2016, 17:54   #162
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

Gerhard...

A little bit bigger, maybe better for tired eyes.

Dave
Attached Thumbnails
Click image for larger version

Name:	mac1.jpg
Views:	65
Size:	18.6 KB
ID:	117806  
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 21:09   #163
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

@jon...

Re:
PlugIn hotkeys, ctrl, cap, etc...

We should of course be more explicit in the core regarding the exact shift states we expect. But we don't at this point. We also should probably have some registry methods for this. What happens if two PlugIns want CTRL-SHIF-B? More design work...

It's a bit late in the game to alter the hotkey logic for O4.2. You recall the aggravation earlier of establishing the hotkey list, and validating across all keyboards, worldwide? Was not a trivial exercise.

As a quick, relatively safe workaround, I can cherry-pick a few keys for you, if you give me a list. For example, CTRL-SHIFT-B could be made available to all PlugIns by explicitly ignoring it in the core.

Let me know
Dave
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 21:21   #164
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

Folks...

If you can, I need a quick specific test done.

Environment: Windows
OpenGL: test on and off.

Test: Keyboard character CTRL-g

This should toggle the entire display to a shade of green, then red, then back to normal. This is an alternative method of getting night vision colors according to user preference.

It is reported to be not so reliable, depending on the system hardware. We want to filter out the dysfunctional cases, so at least there is no hang or crash when pushing this key.

Please report Windows version and OpenGL status on success and failure.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 21:38   #165
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN RC(2) 4.1.1317 Release

Baikal...

re:
Dave here's a video with the identified problems
Error displaying names when creating a route in the Russian localization remains a problem in openGL
More details in the video
https://www.dropbox.com/s/o3o05bjfoy...error.mp4?dl=0


I reviewed the video, and corrected most of the errors noted.
Thanks.

Question:
What tool did you use to prepare the video after the screen capture? It seems to be ideal for making tutorial videos for specific OpenPCN functions and features. It looks like it supports drawing, overlay text boxes with effects, etc. I would like to use this tool, I think.

Thanks
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Version 2.3.1 Release cagney OpenCPN 14 02-04-2011 11:52
OpenCPN Version 2.3.0 Release bdbcat OpenCPN 74 31-12-2010 02:09
OpenCPN Version 1.3.6 Release bdbcat OpenCPN 32 30-01-2010 06:07



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 23:07.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.