|
|
20-01-2014, 10:20
|
#106
|
Registered User
Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 492
|
Re: Optimized Opencpn: Testers Needed
Quote:
Originally Posted by boat_alexandra
...
Who supports me in moving ais support to a plugin? I honestly don't think it would change the user experience at all, and we could add more features without bloating the main program, so really slow computers who don't use ais will greatly benefit as well....
|
Hi Sean,
I do support you.
From my point of you all AIS features should be boundle in one plugin (delivered as the grib & Dashboard plugings).
It will simplify OpenCPN Core program, will simplify errrors detection and as i use to say : less complicated is the core program and better is the way it runs.
Serge
|
|
|
20-01-2014, 13:44
|
#107
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,359
|
Re: Optimized Opencpn: Testers Needed
Quote:
Originally Posted by Gilletarom
Hello Sean, Hello hakan,...This morning I try another your OCPN 331303.3. The first screen was the same black that I send you in the #93 post.
I click on the screen and then the black screen dispeared. But, the old track was visible (This is normal).
It seem that there is multiple old traks but there is only one track.
.......
What is the problem ? I use in this case CM93 with mosaïc ON. You see a great chart and a squerre with a little area with an other chart. This little area was the black area..............
B.R. Gilletarom.
|
Gille... I really don't know but I know from my first tests with this Sean_beta that there where some struggling when I used the .ini file from the original 1303.
That's why I made a new directory where I put a copy of all files and the new exe file. Then I run it as portable. Let the program make a new ini and maybe you can use a "clean" navobj.xml as well to not feed it with old routes and stuff?
I don't say this is a solution. Just a possible track?
Håkan
|
|
|
21-01-2014, 08:46
|
#108
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,050
|
Re: Optimized Opencpn: Testers Needed
Hello Sean, Hello Hakan,
Quote:
Originally Posted by curl
> StatusBar. Nothing occur !
Try to chance the Y value ( counts from bottom ).
|
First :
For your understanding, I have two installations OCPN on my PC.
- A new installation with O3.3.1303, clean, hard disk (see S63 plugin to understand if necessary)
- A portable installation on a USB stick with the version O3.3.1303.3
Second : With the portable version on USB key
Strangely ...
I just open your 03.3.1303.3. Same black screen ... Then I click on the screen ... And miraculous ... Your new status bar appears ... and I click in an other point of screen and it disappears .... And now it do not appears when I click on screeen..
I thing that this is the same problem that I speak in my post yesterday. It's just a matter of refreshing the screen.
Third :
Yesterday, running hard disk version, O3.3.1303, I install and activate your StatusBar plugin.
Same problem that with O3.3.1303.3.
Nothing accur. No icon on the icons bar.
Forth : @Hakan ...
You want me to clean the USB key. You want me to remove the boot files and navobjt.xml files. Why not, it's easy to do and I often do during test. I'll do it again.
B.R. Gilletarom.
|
|
|
21-01-2014, 08:57
|
#109
|
Registered User
Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 492
|
Re: Optimized Opencpn: Testers Needed
Quote:
Originally Posted by Gilletarom
...Third :
Yesterday, running hard disk version, O3.3.1303, I install and activate your StatusBar plugin.
Same problem that with O3.3.1303.3.
Nothing accur. No icon on the icons bar.
|
Hello Gerard,
I have tested the statusbar plugin (XP - O3.13.03) and it is working.
The X value has been set to 50 and Y to 15.
I agree with you there is no Icon on the IconsBar.
Serge
|
|
|
21-01-2014, 10:13
|
#110
|
Registered User
Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 492
|
Re: Optimized Opencpn: Testers Needed
Quote:
Originally Posted by AISEAG
...
The X value has been set to 50 and Y to 15.
|
With screenshots
Serge
|
|
|
21-01-2014, 15:58
|
#111
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,050
|
Re: Optimized Opencpn: Testers Needed
Hello Sean,
As said in a previous post, I clear the portable version that use 3.3.1303.3.
So on the USB key, I destroy opencpn.log, opencpn.ini, chartlist.dat, naobject.xml, and all other navobjectxx.xml. I destroy also senc folder and cm93 folder
Then I run opencpn portable .... And I see that opencpn display CM93 charts !!!!!
So I go on the new opencpn.log file and I see that at the first use, opencen 3.3.1303.3 go to thewindows registry and search the last chart folder used by the last instance of opencpn .... And this last instance was the hard disk version.
This is a bug. Here join the ini file and the log file.
B.R. Gilletarom.
|
|
|
21-01-2014, 18:52
|
#112
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,578
|
Re: Optimized Opencpn: Testers Needed
Gilletarom...
I acknowledge the bug concerning registry access on portable install.
Fix coming in next Beta.
Dave
|
|
|
21-01-2014, 23:26
|
#113
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,359
|
Re: Optimized Opencpn: Testers Needed
Sean..
I saw you've updated your git.
> The AIS functions are now back to normal.
> Nothing new on OpenGL raster charts handling. (It's still not useful)
> OpenGL Smooth mouse wheel zooming is still endless. I've tried in debug mode to trace the process but I'm lost in all calls. But there is a difference between mouse wheel smooth zooming and for example "+" sign smooth zooming. For the "+" there is one timer set for how to step the zooming. (I think?) But after the mouse wheel has initiated ZoomCanvas() the process also go trough a timer for the mouse wheel event in wxwidgets (Timer.cpp) Could those two disturb each others?
> My previous mystery with WPs disappearing while zooming is not there any more. (Was it my system dependent??)
|
|
|
22-01-2014, 05:51
|
#114
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,359
|
Re: Optimized Opencpn: Testers Needed
Sean..
Some funny? Win specific info --
See how Windows interpret the: "#define VERSION_PATCH 1303.3"
The pore Win really don't know how to handle the .3
|
|
|
22-01-2014, 15:10
|
#115
|
Registered User
Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 3,050
|
Re: Optimized Opencpn: Testers Needed
Hello Sean, hello Hakan,
I used statusbar in this portable version with O 3.3.1303.3.
I also installed statubar in the hard disk with O3.3.1303 release.
Now, actually, I can run the portable version statusbar and I can position the new status bar where I want.
I also able to change the color. but beware, there are two ways to change the color. The first with the dedicated button. In this case it works. The second through the change control font size and character. The it seems to work but in reality does not change color.
On the other hand, the command to write the new status bar, multiline, is used with 3.3.1303.3. But the two rows overlap.
On O3.3.1303, at the first use, the command multiline do not run. Then I shutdown OCPN and then I run another statusbar. And then, the commande multiline work ok ... Why ?
With the two version, there is no icon in the icons bar.
|
|
|
22-01-2014, 16:19
|
#116
|
Registered User
Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
|
Re: Optimized Opencpn: Testers Needed
This patch should fix the runaway zooming from the mouse wheel and also from the toolbar "+" and "-" icons. It also fixes the zoom to cursor.
I don't know if Sean approves, but it is a temporary fix for testing.
Code:
diff --git a/src/chart1.cpp b/src/chart1.cpp
index e6b7898..838a86e 100644
--- a/src/chart1.cpp
+++ b/src/chart1.cpp
@@ -3432,13 +3432,13 @@ void MyFrame::OnToolLeftClick( wxCommandEvent& event )
break;
case ID_ZOOMIN: {
- cc1->ZoomCanvas( 2.0 );
+ cc1->DoZoomCanvas( 2.0 );
DoChartUpdate();
break;
}
case ID_ZOOMOUT: {
- cc1->ZoomCanvas( 0.5 );
+ cc1->DoZoomCanvas( 0.5 );
DoChartUpdate();
break;
}
diff --git a/src/chcanv.cpp b/src/chcanv.cpp
index bacde52..266c637 100644
--- a/src/chcanv.cpp
+++ b/src/chcanv.cpp
@@ -5627,15 +5627,21 @@ void ChartCanvas::MouseEvent( wxMouseEvent& event )
if( !m_MouseWheelTimer.IsRunning() ) {
double factor = m_bmouse_key_mod ? 1.03 : 1.1;
- ZoomCanvas( factor, wheel_dir < 0 );
- if( g_bEnableZoomToCursor ) {
+
+ if( g_bEnableZoomToCursor ) {
// Capture current cursor position, as the zooms below may change it.
double zlat = m_cursor_lat;
double zlon = m_cursor_lon;
+
+ ZoomCanvas( factor, wheel_dir < 0 );
wxPoint r;
GetCanvasPointPix( zlat, zlon, &r );
PanCanvas( r.x - x, r.y - y );
+ }else{
+ ZoomCanvas( factor, wheel_dir < 0 );
+ DoMovement( m_mustmove );
+ m_zoom_factor = 1;
}
m_MouseWheelTimer.Start( m_mouse_wheel_oneshot, true ); // start timer
Chuck
|
|
|
22-01-2014, 21:21
|
#117
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,445
|
Re: Optimized Opencpn: Testers Needed
Sorry I have not had internet access for a few days. I am looking into the wifi dongle. I have made a few improvements as well and probably fixing the mouse wheel problem. Once there are no more problems I can finally break things down so this patch can be merged and reviewed properly.
|
|
|
22-01-2014, 21:31
|
#118
|
Registered User
Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,445
|
Re: Optimized Opencpn: Testers Needed
Quote:
Originally Posted by Gilletarom
Hello Sean, hello Hakan,
I used statusbar in this portable version with O 3.3.1303.3.
I also installed statubar in the hard disk with O3.3.1303 release.
Now, actually, I can run the portable version statusbar and I can position the new status bar where I want.
I also able to change the color. but beware, there are two ways to change the color. The first with the dedicated button. In this case it works. The second through the change control font size and character. The it seems to work but in reality does not change color.
On the other hand, the command to write the new status bar, multiline, is used with 3.3.1303.3. But the two rows overlap.
On O3.3.1303, at the first use, the command multiline do not run. Then I shutdown OCPN and then I run another statusbar. And then, the commande multiline work ok ... Why ?
With the two version, there is no icon in the icons bar.
|
Maybe best to post these in the statusbar page. Anyway, I do not know the multiline problem, but it is different for opengl vs non-gl.. or even for what font you use. patches welcome.
|
|
|
23-01-2014, 01:02
|
#119
|
Registered User
Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,359
|
Re: Optimized Opencpn: Testers Needed
Quote:
Originally Posted by boat_alexandra
Sorry I have not had internet access for a few days. I am looking into the wifi dongle. I have made a few improvements as well and probably fixing the mouse wheel problem. Once there are no more problems I can finally break things down so this patch can be merged and reviewed properly.
|
Sean..
Yes the wheel mouse zooming now works as expected using vector charts. The OpenGl options are not there as before but I assume smooth zooming is constantly on.
Vector charts performance is good but still OpenGl is not usable for raster charts on my machine. Every single zoom in/out operation takes between 5 and 8 seconds.
I Also tested on another machine. A rather old Lenovo R61 running Win7. There the raster charts is slightly faster but on the other side the vector charts is slower.
My personal conclusion is that I will still not use OpenGL when cruising. And also is that not a very big thing. The charts and all other needed information are there also without OpenGL.
I'll continue to run this version to check for more notes but so far I've nothing else.
Thanks Håkan
|
|
|
23-01-2014, 02:29
|
#120
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,860
|
Re: Optimized Opencpn: Testers Needed
Håkan ,
is the latest Win version available for download?
Hubert
|
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|