Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 30-05-2014, 00:30   #181
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by sailorF54 View Post
- There must be a way to access some W parameter that tells which kind of keyboard is used
Do you think there must (actually is), or there should be a way?

I am thinking of cases where a french person uses a computer that is not from france, or a non-french person uses a computer from france etc...

There are also other languages we didn't even consider, ie: swedish.
__________________

__________________
boat_alexandra is online now   Reply With Quote
Old 30-05-2014, 05:02   #182
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 829
Re: Sean's Optimum Branch Merge

Quote:
Originally Posted by boat_alexandra View Post
Do you think there must (actually is), or there should be a way?

I kind of remember so called environment variables, but that was a long time ago

I am thinking of cases where a french person uses a computer that is not from france, or a non-french person uses a computer from france etc...
This person will know he has to adapt...

There are also other languages we didn't even consider, ie: swedish.
.One way would be to let the user choose...
That's even what W does: you can select the key shortcuts for e.g. switching between the qwerty and azerty layouts (see pic)
Attached Thumbnails
Click image for larger version

Name:	Image002.jpg
Views:	56
Size:	118.9 KB
ID:	82104  
__________________

__________________
sailorF54 is offline   Reply With Quote
Old 30-05-2014, 06:14   #183
Registered User

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

Compiled today's Git
test zoom : (French and AZERTY keyboard with numeric panel )
-smooth zoom :
mouse wheel still not usable - same behavior : a single step rotation = maximum zoom
"+" and "-" keys OK (normal and numeric panel)
-no smooth zoom :
OK
In both case ALT + "-" and "+" numeric panel keys is a nightmare

A new point : start O with smooth zoom checked. uncheck it : mouse wheel zoom no longer works. You have to exit and restart O

JP
__________________
Ptizef is offline   Reply With Quote
Old 30-05-2014, 07:04   #184
Marine Service Provider
 
bdbcat's Avatar

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

Folks...

re:

Code:
-smooth zoom : 
mouse wheel still not usable - same behavior : a single step rotation = maximum zoom
A new point : start O with smooth zoom checked. uncheck it : mouse wheel zoom no longer works. You have to exit and restart O
On current github master, this all works fine for me, all 3 platforms, all chart types, OpenGL or not.

I need to know if this is systematic problem, or an isolated one.
Is anyone else besides JP having trouble with smooth zoom on current github?

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-05-2014, 08:49   #185
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Sean's Optimum Branch Merge

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

re:

Code:
-smooth zoom : 
mouse wheel still not usable - same behavior : a single step rotation = maximum zoom
A new point : start O with smooth zoom checked. uncheck it : mouse wheel zoom no longer works. You have to exit and restart O
On current github master, this all works fine for me, all 3 platforms, all chart types, OpenGL or not.

I need to know if this is systematic problem, or an isolated one.
Is anyone else besides JP having trouble with smooth zoom on current github?

Thanks
Dave
Dave

With smooth panning and zooming disabled, mouse wheel zoom seems to work fine. With smooth panning and zooming enabled, mouse wheel zoom runs to full zoom out or full zoom in.

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 30-05-2014, 10:59   #186
Marine Service Provider
 
bdbcat's Avatar

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

Chuck...

OpenGL? What chart type?

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-05-2014, 11:38   #187
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Sean's Optimum Branch Merge

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

OpenGL? What chart type?

Thanks
Dave
All chart types. With OpenGL wheel zoom is all in or all out. Without is OK.
__________________
ChuckSK is offline   Reply With Quote
Old 30-05-2014, 13:31   #188
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Sean's Optimum Branch Merge

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

Texture symbols should be OK now in github. Problem was in Windows OpenGL canvas sequencing, somewhat different than linux.

Thanks
Dave
Dave

That commit blocks the chart piano at start-up.

chart1.cpp line 1915: Yield();

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 30-05-2014, 13:54   #189
Marine Service Provider
 
bdbcat's Avatar

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

Chuck...

Ackkk

I really need to fix this OpenGL symbol texture initialization problem correctly, and stop hacking at it. It behaves differently on all platforms.

I have a plan....

Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-05-2014, 14:22   #190
Marine Service Provider
 
bdbcat's Avatar

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

Chuck...

I guess I don't know what you mean by "blocks the chart piano"...

Looks and works OK for me on Win7, linux.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 30-05-2014, 15:38   #191
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Sean's Optimum Branch Merge

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

I guess I don't know what you mean by "blocks the chart piano"...

Looks and works OK for me on Win7, linux.

Dave
Dave

On start-up the chart piano is not displayed. A couple of F11 presses restores it.

Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 30-05-2014, 19:11   #192
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: Sean's Optimum Branch Merge

The definition needed to build on osx using wxwidgets 3.0:
ADD_DEFINITIONS( " -D_WCHAR_H_CPLUSPLUS_98_CONFORMANCE_" )
__________________
boat_alexandra is online now   Reply With Quote
Old 30-05-2014, 19:40   #193
Marine Service Provider
 
bdbcat's Avatar

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

Sean...

Here is a stumper...

re: The runaway smoothzoom on OpenGL bug reported in this thread.

1. Only happens on Windows, XP and Win7 to my testing.

2. Proximal cause: It seems that the completion event for m_WheelZoomStopTimer somehow gets lost. The event never happens, so DoTimedMove() runs over and over. If you put code like this in the (say) mouse wheel event handler, it always hits.

Code:
        if( m_WheelZoomStopTimer.IsRunning()  ) {
            int yyp = 4;
        }
Once started, m_WheelZoomStopTimer runs forever. The event loop is running, and other events get processed normally.

Does not happen in dc mode, only OpenGL.

Windows bug? wxWidgets bug? Memory corruption in OpenGL code path? I dunno.


Any ideas?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 31-05-2014, 05:29   #194
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,392
Re: Sean's Optimum Branch Merge

Don't know if this is any help, but earlier I reported wheel zoom issues. Have not testedcurrent beta. Will do so. Win 7 machine.

Sent from my GT-N5110 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 31-05-2014, 07:06   #195
Marine Service Provider
 
bdbcat's Avatar

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

Chuck...

Another approach to OpenGL startup committed to github now. I modified the initialization sequence again, so that chartsymbols are not loaded until needed, by which time the OpenGL system is fully initialized. Chartsymbols won't be loaded at all if only raster charts are used, which will help performance and memory footprint.

Still working the smooth zoom runaway issue. Mysterious....

Good Luck
Dave
__________________

__________________
bdbcat is offline   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 13:37.


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.