Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 27-01-2016, 21:43   #166
Marine Service Provider
 
bdbcat's Avatar

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

Folks...

Status report:
We are very nearly ready for RC3, which is to be a simple "smoke test", validating the build process for the various platforms one last time. Then, a day of quick sanity testing, we modify the Release number in the code, and publish O4.2

However, I'm stuck on a low bandwidth connection right now, so it may be a few days before this happens.

Just thought you might want to know what the plan is.

Thanks for your help
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 22:01   #167
ejs
Registered User

Join Date: Mar 2013
Location: From San Francisco
Boat: Able Apogee 50
Posts: 106
Re: OpenCPN RC(2) 4.1.1317 Release

Dave,

Was the CTL-G test supposed to be done on 4.1.1317?

If so, with OpenGL-off nothing happens on Win XP on a Lenovo X301 laptop.
with OpenGL-on, the screen flashes brighter for a fraction of a second every third time you press CTL-G but nothing permanent changes like you would want for night mode.

Eric
__________________

__________________
ejs is offline   Reply With Quote
Old 27-01-2016, 22:09   #168
Marine Service Provider
 
bdbcat's Avatar

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

Eric...

Thanks for the report.

Yes, I failed to mention that the test applies to 4.1.1317.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 27-01-2016, 22:14   #169
Registered User
 
transmitterdan's Avatar

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

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

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

Environment: Windows
OpenGL: test on and off.

Test: Keyboard character CTRL-g
Ctrl-g doen't seem to do anything with or without OpenGL.

Start of opencpn.log (OpenGL ON):

Code:
23:01:28: 2016-01-27
23:01:28:  ------- Starting OpenCPN -------
23:01:28: Version 4.1.1317 Build 2016-01-17
23:01:28: wxWidgets version: wxWidgets 3.0.2 Microsoft Windows NT 64 bit wxMSW
23:01:28: MemoryStatus:  mem_total: 5080 mb,  mem_initial: 13 mb
23:01:28: SData_Locn is C:\Program Files (x86)\OpenCPN\
23:01:28: PrivateDataDir is C:\ProgramData\opencpn\
23:01:28: Using existing Config_File: C:\ProgramData\opencpn\opencpn.ini
23:01:28: Setting Viewpoint Lat/Lon -41.7432, -73.4389
23:01:28: Setting Ownship Lat/Lon -41.6523, -73.0604
23:01:28: Styles loading from C:\Program Files (x86)\OpenCPN\uidata\styles.xml
23:01:28: No styles found at: C:\ProgramData\opencpn\
23:01:28: No styles found at: C:\ProgramData\opencpn\.opencpn\
23:01:28: Using SVG Icons
23:01:28: Detected display size (horizontal): 344 mm
23:01:28: System default Language:  en_GB
11:01:28 PM: Opencpn language set to:  en_US
11:01:28 PM: Creating MyFrame...size(956, 509)  position(-8, -8)
11:01:28 PM: Creating glChartCanvas
11:01:29 PM: OpenGL-> Renderer String: AMD Radeon(TM) R5 Graphics
11:01:29 PM: OpenGL-> Version reported:  4.5.13399 Compatibility Profile Context 15.201.1151.1008
11:01:29 PM: OpenGL-> Texture rectangle format: de1
11:01:29 PM: OpenGL-> glGenerateMipmap unavailable
11:01:29 PM: OpenGL-> Using Vertexbuffer Objects
11:01:29 PM: OpenGL-> Using Framebuffer Objects
11:01:29 PM: OpenGL-> Using FBO Stencil buffer
11:01:29 PM: OpenGL-> Using Stencil buffer clipping
11:01:29 PM: OpenGL-> Using Scissor Clipping
11:01:29 PM: OpenGL-> Not Using compression
11:01:29 PM: OpenGL-> Minimum cartographic line width:  1.0
11:01:29 PM: OpenGL-> Minimum symbol line width:  1.0
11:01:29 PM: ChartDB Cache policy:  Application target is 1024 MBytes
11:01:29 PM: Loading chart db version: V018
11:01:29 PM: Chartdb: Chart directory list follows
__________________
transmitterdan is online now   Reply With Quote
Old 27-01-2016, 23:14   #170
Registered User

Join Date: May 2010
Posts: 81
Re: OpenCPN RC(2) 4.1.1317 Release

Same here. Nothing happens when hitting ctrl-g. However, I just noticed that O has two windows when it is minimized and I hover over the task bar. Not sure if it was there before I hit ctrl-g.

Using Windows 10 on a Lenovo X240 laptop. O 1317.

Cheers, ....Erik.
__________________
ve7mdl is offline   Reply With Quote
Old 28-01-2016, 03:54   #171
Registered User

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

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

A little bit bigger, maybe better for tired eyes.

Dave
Your commits haven't solved the problem. Somewhere defines for "ocpnUSE_SVG" are missing in your code for wmm_pi.

Gerhard
__________________
CarCode is online now   Reply With Quote
Old 28-01-2016, 07:34   #172
Marine Service Provider
 
bdbcat's Avatar

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

Gerhard...

What problem, in detail, please? Maybe a picture?
As a test, I built without SVG, and it looks fine though fuzzy as expected.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 28-01-2016, 08:09   #173
Registered User

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

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

What problem, in detail, please? Maybe a picture?
As a test, I built without SVG, and it looks fine though fuzzy as expected.

Dave
Your wmm_pi code is the only plugin which uses the SetToolbarToolBitmapsSVG() function, no matter if "ocpnUSE_SVG" is true or false. I always build without SVG because I don't need it and its only benefit is to avoid the warning "iCCP: known incorrect sRGB profile" in the log for old PNG files.
If you want to have no fuzzy results for your builds simply insert ifdefs for "ocpnUSE_SVG" somewhere in your wmm_pi code.

Gerhard
__________________
CarCode is online now   Reply With Quote
Old 28-01-2016, 09:05   #174
Registered User

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

Quote:
Originally Posted by cagney View Post
Dave

I found the culprit to my sound problem, and it's workin,g again.
I deleted this line in my opencpn.ini

(line 475 by the way).

Thew question is now where did that line come from?

Thomas
Dave

I can see were the SoundDeviceIndex comes from in the code.
I had no sound on boot today again. Today the line was " SoundDeviceIndex=9" in the opencpn.conf file.
By experimenting I found that if SoundDeviceIndex is 3,6,9 or 12 the alarmsounds does not work on my acer laptop. Do you think that this a bug, or is it my computer settings or hardware?

Thomas
__________________
cagney is offline   Reply With Quote
Old 28-01-2016, 13:13   #175
Registered User

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

Dave,
Because the plugins get the keyboard before OCPN they get the first pick of what to do. I looked in the mainline and found that really it does not use the shift versions and probably most users would rather use the two key combination. So I picked:
Ctrl-Shift-B - Start creating a boundary
Ctrl-Shift-P - Start placing boundary points
Ctrl-Shift-T - Start placing Text points
Ctrl-Shift-E - Start creating EBL's
Ctrl-Shift-D - Start creating DR's

I am not sure how useful these key combinations are, but they can be changed easily, it is the logic behind them I was trying to get in place.

I think we are going to have to have a file containing all the key combinations and who is using them so that we can pick ones that are free. With wxWidgets 3.0 all the keycodes are given enums so they are easier to pick and understand. This is not for 4.2, but it probably needs to be there for 4.4, for sanity if nothing else.

I think the core needs to be a bit more explicit about what it is looking for, but as the plugins get to decide what to do with key combinations before the core it is not really important, it would just help readability.

Jon

Quote:
Originally Posted by bdbcat View Post
@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
__________________
jongough is offline   Reply With Quote
Old 28-01-2016, 13:48   #176
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: OpenCPN RC(2) 4.1.1317 Release

bdbcat control-g test

Quote:
Environment: Windows
OpenGL: test on and off.
Test: Keyboard character CTRL-g
Windows 10
No effect, both Opengl on and Opengl off
__________________
rgleason is offline   Reply With Quote
Old 28-01-2016, 14:45   #177
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,320
Re: OpenCPN RC(2) 4.1.1317 Release

I hope some Mac and Linux users have tested all the Keyboard Shortcuts.
http://opencpn.org/ocpn/Adv_keyboard-shortcuts

Here is what I found for Windows 10

F9 seems to page through charts rather than shut down O

Ctrl + does not open options window, seems to be using + to zoom.

Ctrl N could not confirm it goes to next wp, does not seem to, then later once I picked next waypoint in Right-click, the Ctrl N started working.

Right Click - Pick Center View OpenCPN bombs.

Left Click - No longer centers chart on that point.

For some reason the Green arrows were not showing.

Note I have not exercised all the Right Click selections. All of us should be trying them comprehensively
__________________
rgleason is offline   Reply With Quote
Old 28-01-2016, 15:30   #178
Marine Service Provider
 
bdbcat's Avatar

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

Gerhard....

re:
If you want to have no fuzzy results for your builds simply insert ifdefs for "ocpnUSE_SVG" somewhere in your wmm_pi code.

1. The bitmaps, including WMM data overlay, are not fuzzy if using normal (0) scale on slider. They look like they always did on O4. They are fuzzy if amplified without using SVG.

2. There is an advantage to not using "#ifdef ocpnUSE_SVG" in a PlugIn. It means that there only need to be one build of a PlugIn that will work correctly with both kinds of core build. And this can simply distribution, and reduce user confusion. Might not matter on WMM, since it is bundled in the Release. But could be important for other third-party PlugIns.

So, if there is a problem with either the planned Release mode (SVG) or private build without SVG, I still don't see it.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 28-01-2016, 15:47   #179
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

hello Dave, Hello Jean Pierre,

W 8.1.

Using Grib plugin. I display a particle map. Then I try directly to shutdown O by clic on red cross.

Not shutdown. The closure process begins. The stripes are visible.
But that does not go away.
It is necessary, at this point, to clic on grib icon and then, O shutdown.

And then, once, crash but not every time.

But not sure that this little bug is the cause of the crash. Indeed, I had stored O without the close and I had sent my post before returning to O. This is clicking the icon grib that the crash has triggered. But it is at the grib plugin or what is still one of those unpredictable crash that took place?
Attached Thumbnails
Click image for larger version

Name:	2016-01-28-OpenCPN 4.1.1317_Particle_map.jpg
Views:	58
Size:	366.1 KB
ID:	117863  
__________________
Gilletarom is offline   Reply With Quote
Old 28-01-2016, 16:22   #180
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 Gilletarom View Post
hello Dave, Hello Jean Pierre,
W 8.1.
Using Grib plugin. I display a particle map. Then I try directly to shutdown O by clic on red cross.
Not shutdown. The closure process begins. The stripes are visible.
But that does not go away.
It is necessary, at this point, to clic on grib icon and then, O shutdown.
....
My previous post was a test with : opencpn_4.1.1317_setup-release-svg-5af5a23(1) and with ocpn_draw_pi-0.4.631-win32

It was possible to repeat the problem easily.

Then I un-install all.

I checked all installation folder of all versions of O were removed.
I checked that the initialization file was deleted.
I used CCleaner to clean the registry.

I installed this version of O: opencpn_4.1.1317_svg-0b54e85-CorWMMToolico (more recent)

I again tried the grib plugin, and with the same grib file.
This time I see the problems with svg icon were resolved.
I have not had a problem closing O.

I install also this : ocpn_draw_pi-0.4.631-win32

I try another. No problem. The grib icon problem no present. So all seem Ok.
__________________

__________________
Gilletarom 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 03:30.


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.