Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 28-02-2015, 10:51   #1
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
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, 31 views)
__________________
Hakan is offline   Reply With Quote
Old 03-03-2015, 10:30   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
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 04-03-2015, 00:08   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
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

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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 18:14.


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.