Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-05-2014, 07:39   #16
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Sean's Optimum branch merge

Serge...

Nope. Consider this thread and series to be a sort of Alpha+ test of the merged optimum branch. We are looking for build problems and big-picture regression issues. A smoke test, really.

A Beta incorporating all will be out pretty soon.

Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 11-05-2014, 08:07   #17
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,046
Re: Sean's Optimum branch merge

I. Pilliolpippiopploliolppiili 89l 9. 8htt"8""://www.zeit.de/2014/17/stimmts-nachts-pinkeln-" " 89""8"io8@**98"8""9@""lil oioiiiiili
__________________

__________________
LeaseOnLife is offline   Reply With Quote
Old 11-05-2014, 12:21   #18
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Sean's Optimum Branch Merge

???

Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-05-2014, 12:27   #19
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again
Boat: Sailboat
Posts: 1,046
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by bdbcat View Post
???

Dave
Amazing what an iphone in a butt pocket can do... sorry, disregard!

Dirk
__________________
LeaseOnLife is offline   Reply With Quote
Old 11-05-2014, 12:32   #20
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: Sean's Optimum Branch Merge

hi
3.3.1710 compiled OK
Tests running, no remark for the moment.
Except problem pending with dialog fonts, but it's not new in this version
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 11-05-2014, 13:25   #21
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: Sean's Optimum Branch Merge

Precisions about dialog font problem :
1) in default US language
when changing the dialog font, no update immediately ( more exactly, some dialogs have their font updated, others not) Exiting O and reopening allow to get the new font for all dialogs ( except settings dialog )
2) in local language
impossible to change dialog font. The "dialog" parameter is now in the list but changes are not taken. Only possible by typing directly in the config file
3) in any case the setting dialog font (all tabs) can,t be changed
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 11-05-2014, 15:34   #22
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Sean's Optimum branch merge

Quote:
Originally Posted by boat_alexandra View Post
Yes, there is, but the problem is I do not know the magic number to use. See chcanv.cpp line 1899. If you can set a breakpoint there, then press what key, then look at the value of key_char then you could provide the keycodes needed.
Yes, that's clear but the function GetKeyCode() checks every key stroke and will first see the Alt key and then the < sign. (If you try to check the char code for for your € or £ sign I think it's the same) Then you have to build a OCPN rule for that function like the wxMOD_CONTROL we use for small zoom steps. But when OCPN use the ctrl key it's a OCPN function similar for all keyboards. If you should find the | sign from all different keyboard you must check Win/OsX/Unix API for the actual keyboard and make all possible variants for that. Not very practical. But this must have been done before. How can for example Notepad++ find the correct sign?
I don't know if it's possible to understand my writing but I've tried.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 11-05-2014, 17:36   #23
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: Masachusetts
Boat: bristol 27
Posts: 2,803
Re: Sean's Optimum branch merge

Quote:
Originally Posted by Hakan View Post
Yes, that's clear but the function GetKeyCode() checks every key stroke and will first see the Alt key and then the < sign. (If you try to check the char code for for your € or £ sign I think it's the same) Then you have to build a OCPN rule for that function like the wxMOD_CONTROL we use for small zoom steps. But when OCPN use the ctrl key it's a OCPN function similar for all keyboards. If you should find the | sign from all different keyboard you must check Win/OsX/Unix API for the actual keyboard and make all possible variants for that. Not very practical. But this must have been done before. How can for example Notepad++ find the correct sign?
I don't know if it's possible to understand my writing but I've tried.
Håkan
I think we can use the same letters like 'a' 'b' etc.. or even '[' by going outside the qwerty test, but my concern is that these keys are not the best ones to use on your keyboard because you have to use a modifier to reach them.
__________________
boat_alexandra is offline   Reply With Quote
Old 11-05-2014, 18:37   #24
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Sean's Optimum Branch Merge

Hi Dave..
Compiled fine on OSX.7.5, wx2.95

Assert that was happening on launch has gone..good stuff
All appears normal & excellent when pushing all the buttons...
thats with an without Opengl enabled.

One issue however has become more aggressive the alpha assert that happens on launching Grib can no longer be Escaped an so O is locked at that point.... force quit the only option.

There is nothing in O's log,
the system log reveals....


12/05/14 10:09:07.884 AM OpenCPN: This application is trying to draw a very large combo box, 30 points tall. Vertically resizable combo boxes are not supported, but it happens that 10.4 and previous drew something that looked kind of sort of okay. The art in 10.5 does not break up in a way that supports that drawing. To avoid breaking existing apps, NSComboBox in 10.5 will use the 10.4 art for large combo boxes, but it won't exactly match the rest of the system. This application should be revised to stop using large combo boxes. This warning will appear once per app launch.

12/05/14 10:09:09.515 AM [0x0-0xd70d7].org.opencpn: ../src/common/image.cpp(1901): assert "!HasAlpha()" failed in InitAlpha(): image already has an alpha channel

The assert is still the same as the previous screen shot i posted

Hope all that is of some use

Mo
__________________
Icnoships is offline   Reply With Quote
Old 11-05-2014, 19:01   #25
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Sean's Optimum Branch Merge

Dave further testing...
with opengl turned off, produces a different assert this can be dismissed..
resulting in an instant crash

Here's a copy of backtrace/crashreport....
Attached Files
File Type: pdf crash report.pdf (45.7 KB, 24 views)
__________________
Icnoships is offline   Reply With Quote
Old 11-05-2014, 20:34   #26
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Sean's Optimum Branch Merge

Icnoships...

I must have missed this crash report posting:

Code:
12/05/14 10:09:09.515 AM [0x0-0xd70d7].org.opencpn:  ../src/common/image.cpp(1901): assert "!HasAlpha()" failed in  InitAlpha(): image already has an alpha channel

The assert is still the same as the previous screen shot i posted
Link, please?
I need the stack trace...

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-05-2014, 20:45   #27
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: Sean's Optimum Branch Merge

Ptizef...

Corrected dialog font setting trouble in github now.

Root cause of trouble was that "Dialog" is spelled the same in English and German...Go figure...

Please test,if possible.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-05-2014, 20:55   #28
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Sean's Optimum Branch Merge

Dave
here's the same screen shot i posted previously of the assert, this is with opengl enabled & can only be got round with a force quit....

re the stack trace, it appears there is a complete lockup when the assert triggers as the system log says....

12/05/14 12:43:09.830 PM [0x0-0xea0ea].org.opencpn: Collecting stack trace information, please wait...

then nothing happens, waited 5 minutes but no trace and had to force quit

thanks Mo
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2014-05-12 at 12.43.24 PM.png
Views:	94
Size:	292.2 KB
ID:	81007  
__________________
Icnoships is offline   Reply With Quote
Old 12-05-2014, 01:33   #29
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Sean's Optimum Branch Merge

None of the issues above happens here with OS X 10.9.2, wxWidgets 3.1.0 and Xcode 5.1.1. But InitAlpha() has been commented out:
Code:
#ifndef __WXOSX__
    gr_image.InitAlpha();
#endif
Gerhard
__________________
CarCode is online now   Reply With Quote
Old 12-05-2014, 02:20   #30
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Sean's Optimum Branch Merge

BTW
Since todays diffs wxWidgets 3.1.0 supports now also full screen mode for OS X:

Code:
/**
        Adds or removes a full screen button to the right upper corner of a
        window's title bar under OS X 10.7 and later.

        Currently only available for wxOSX/Cocoa.

        @param enable
            If @true (default) adds the full screen button in the title bar;
            if @false the button is removed.

        @return @true if the button was added or removed, @false if running
        under a pre-OS X 10.7 system or another OS.

        @note Having the button is also required to let ShowFullScreen()
        make use of the full screen API available since OS X 10.7: a full
        screen window gets its own space and entering and exiting the mode
        is animated.
        If the button is not present the old way of switching to full screen
        is used.

        @onlyfor{wxosx}

        @see ShowFullScreen()

        @since 3.1.0
    */
    virtual bool EnableFullScreenView(bool enable = true);

    /**
Gerhard
__________________

__________________
CarCode is online now   Reply With Quote
Reply

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
Two-pole branch protection witzgall Electrical: Batteries, Generators & Solar 12 19-11-2013 09:53
Optimum Dagger Board Use solarbri Multihull Sailboats 15 03-03-2013 14:56
Linux link error on master branch teotwawki OpenCPN 4 19-10-2012 07:13
VHF antenna optimum height bobalpep Marine Electronics 13 04-03-2009 10:38
Marine Accident Investigation Branch (UK Govt) David_Old_Jersey Health, Safety & Related Gear 3 05-02-2007 16:30



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 12:49.


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.