Cruisers Forum
 


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 29-05-2014, 23:30   #181
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,432
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.
seandepagnier is offline   Reply With Quote
Old 30-05-2014, 04:02   #182
Registered User
 
sailorF54's Avatar

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 999
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:	108
Size:	118.9 KB
ID:	82104  
sailorF54 is offline   Reply With Quote
Old 30-05-2014, 05:14   #183
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 844
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, 06:04   #184
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
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, 07: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, 09:59   #186
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
Re: Sean's Optimum Branch Merge

Chuck...

OpenGL? What chart type?

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 30-05-2014, 10: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, 12: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, 12:54   #189
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
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, 13:22   #190
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
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, 14: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, 18:11   #192
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,432
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_" )
seandepagnier is offline   Reply With Quote
Old 30-05-2014, 18:40   #193
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
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, 04:29   #194
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,786
Images: 2
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, 06:06   #195
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,514
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


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

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 00:38.


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.