Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 28-02-2015, 09:51   #1
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Test note for the unreleased version 4.1

Problem with OCPN focus introduced in 4.1
OCPN version: 4.1
Last Git commit before build: "Initial Version 4.1.0"
Problem system: WinXP

Description:
"Focus" is when the program's frame is filled and keystrokes are reflected in OCPN.
"w.o. focus" is when OCPN is visible in front of other programs but without marked, colored, frame and not sensible for key strokes.
Scenario:
-Viewing OCPN with Focus.
-Shift to another program by Alt+Tab.
The other program is visible for less then a second and then OCPN is back in front but w.o. focus.
(Keystrokes are reflected by the other program. Mouse zooming are reflected by OCPN)
If I now use Alt+Tab again the other program is visible, stable with focus. Another Alt+Tab and I'm back on a visible OCPN but w.o focus...and so on.
-If I give focus back to OCPN, by a mouse click on the frame, everything is normal until next Alt+Tab when we're back from start again.

This behavior is introduced in 4.1. (Accidentally I reinstalled 4.0 for a double check.)
It's not a problem on my Win7 nor my Linux machines.
It's not OpenGL dependent.

As expected, from commit notes, this version, 4.1, has a different way of starting OCPN. First the last chart is rapidly shown and then all plugins are eventually coming up.
Also shut down is somewhat faster. Also as expected I suppose.

The log file is attached. In the first session I didn't use Alt+Tab but the in the second Alt+Tab is used several times.
(The file is a PDF!)

(Please ask for clarifications when my English is unclear.)
Håkan
Attached Files
File Type: pdf opencpn_log.pdf (34.5 KB, 56 views)
Hakan is offline   Reply With Quote
Old 03-03-2015, 09:30   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Test note for the unreleased version 4.1

Hi, for info...
To confirm that my above description wasn't limited to one (weird?) PC I've fetched my boat's XP machine for a second test.
The result is exactly the same for that WinXP as described in my above post.
Håkan
Hakan is offline   Reply With Quote
Old 03-03-2015, 23:08   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,245
Re: Test note for the unreleased version 4.1

I'm not sure you need my comments but some Win specific issues in last commits: (Until:"Complete initial implementation of PlugIn API 113")
(My assumption is that you for the moment build in Linux only?)
Build errors:
Code:
 chart1.cpp
..\src\chart1.cpp(2246): error C3861: 'crUninstall': identifier not found
  OCPNPlatform.cpp
..\src\OCPNPlatform.cpp(173): error C2065: 'str_version_major' : undeclared identifier
..\src\OCPNPlatform.cpp(173): error C2065: 'str_version_minor' : undeclared identifier
..\src\OCPNPlatform.cpp(173): error C2065: 'str_version_patch' : undeclared identifier
..\src\OCPNPlatform.cpp(196): error C2065: 'g_bEmailCrashReport' : undeclared identifier
..\src\OCPNPlatform.cpp(210): error C2352: 'wxAppConsole::GetTraits' : illegal call of non-static member function
Håkan
Hakan is offline   Reply With Quote
Reply

Tags
lease


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
Samsung Galaxy Note 10.1 3G Int'l Version jmo2011 Navigation 9 09-01-2014 14:09
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
To Test or Not to Test... hotspur Families, Kids and Pets Afloat 13 29-07-2010 04:43

Advertise Here


All times are GMT -7. The time now is 16:01.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.