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 22-01-2012, 11:48   #1
Registered User

Join Date: Dec 2010
Posts: 68
No Cursor on Map in " Create Route "

To try and fix this I upgraded OS from Hardy to Lizard and upgraded OpenCPN from 2.1 to 2.5. I have tried new themes and several other things. I am running an old Vaio PGG 9201 laptop with a Neomagic MM2380 VGA chip. The cursor is invisible over the map when I am in "Create Route" mode but comes back when I end the route. Needless to say this makes it impossible to actually enter a route with the mouse. I have checked Ubuntu bugs and while I see bugs where the cursor disappears, it is a system wide thing and not a mode within a single program.

I consulted with someone more expert than I and he suggested I post on this forum.

I would appreciate any help I can get on this.

Allen
L-36.com
allene222 is offline   Reply With Quote
Old 22-01-2012, 12:10   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: No cursor on map in "Create Route"

Allen...
This one looks like a system problem beyond our reach. What I can tell you is what to do not to ever change the cursor from the default system one (needs a little modification and recompiling the source). Let me know if you are capable of compiling yourself...

Pavel
nohal is offline   Reply With Quote
Old 22-01-2012, 12:15   #3
Registered User

Join Date: Dec 2010
Posts: 68
Re: No cursor on map in "Create Route"

I do not understand what you are saying. What I can say is that I have the standard install and could probably compile myself if given detailed instructions. But I don't understand what you are suggesting I do.
allene222 is offline   Reply With Quote
Old 22-01-2012, 12:21   #4
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: No cursor on map in "Create Route"

Allen...
If Compiling - Linux | Official OpenCPN Homepage is not Chinese for you, edit chcanv.cpp in the source and replace the body of ChartCanvas::SetCursor function with
Code:
return true;
recompile and install. Unfortunately this is all help I can provide.

Good luck

Pavel
nohal is offline   Reply With Quote
Old 22-01-2012, 13:05   #5
Registered User

Join Date: Dec 2010
Posts: 68
Re: No cursor on map in "Create Route"

That looks straight forward. Could I ask what this change does? Are you sure this will work or is this just something to try?
allene222 is offline   Reply With Quote
Old 22-01-2012, 13:38   #6
Registered User

Join Date: Dec 2010
Posts: 68
Re: No cursor on map in "Create Route"

I see that on my desktop the cursor changes to a little pencil. You are suggesting I nook that function, which clearly should work. Thanks for your help.
allene222 is offline   Reply With Quote
Old 22-01-2012, 22:58   #7
Registered User

Join Date: Dec 2010
Posts: 68
Re: No cursor on map in "Create Route"

The program compile when smoothly and it did fix the problem of the cursor vanishing. The only thing that was not as the documentation said was that the executable was in the build directory and not in /usr/local as it stated.

I do have another issue but I will research it and post if I cannot find an answer.

Thank you for your help
allene222 is offline   Reply With Quote
Old 22-01-2012, 23:18   #8
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: No cursor on map in "Create Route"

Quote:
Originally Posted by allene222 View Post
The program compile when smoothly and it did fix the problem of the cursor vanishing. The only thing that was not as the documentation said was that the executable was in the build directory and not in /usr/local as it stated.

I do have another issue but I will research it and post if I cannot find an answer.

Thank you for your help
When you run "make" the executable is produced in the build directory. Then, when you run "make install", as the last step in the compilation, "opencpn" is moved to /usr/local/bin, with the default setup.

I often skip this last step if I'm testing a new build.

Thomas
cagney is offline   Reply With Quote
Old 23-01-2012, 07:42   #9
Registered User

Join Date: Dec 2010
Posts: 68
Re: No Cursor on Map in " Create Route "

I must have missed the make install step. My mistake then. I will fix that. Thanks for pointing that out.

Just for clarification for anyone reading this, here is what I did:

I Changed This code:

bool ChartCanvas::SetCursor ( const wxCursor &c )
{
if(g_bopengl)
return m_glcc->SetCursor (c);
else
return wxWindow::SetCursor ( c );
}

To this


bool ChartCanvas::SetCursor ( const wxCursor &c )
{
return true;
}

The end result is that I do not get either the little pencil or the invisible cursor, just the normal cursor.

It would be nice to know what was wrong with the system as I am assuming if the system every upgrades, this fix will need to be redone.

Allen
allene222 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
Waypoints Disappear when Route Eyeball Deselected ? iduff OpenCPN 6 25-08-2011 08:01
Route Planning Using Existing Waypoints edsailing OpenCPN 5 24-08-2011 02:38
Sending 'Go to Here' Active Route to an Autopilot Sail323 OpenCPN 11 01-08-2011 15:44
Creating Track / Route from Waypoints in OpenCPN sinbad7 OpenCPN 7 23-07-2011 08:15
iPad Route Navigation Cotemar Navigation 3 05-05-2011 06:25

Advertise Here


All times are GMT -7. The time now is 19:29.


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.