Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 22-01-2012, 12:48   #1
Registered User

Join Date: Dec 2010
Posts: 44
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, 13:10   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 online now   Reply With Quote
Old 22-01-2012, 13:15   #3
Registered User

Join Date: Dec 2010
Posts: 44
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, 13:21   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
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 online now   Reply With Quote
Old 22-01-2012, 14:05   #5
Registered User

Join Date: Dec 2010
Posts: 44
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, 14:38   #6
Registered User

Join Date: Dec 2010
Posts: 44
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, 23:58   #7
Registered User

Join Date: Dec 2010
Posts: 44
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 23-01-2012, 00:18   #8
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,247
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, 08:42   #9
Registered User

Join Date: Dec 2010
Posts: 44
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

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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.