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 20-04-2022, 09:32   #1
Registered User

Join Date: Aug 2019
Posts: 11
Mouse Curor Position is "off" on external monitors

I recently upgraded from 5.0.1 (IIRC) to 5.6.0, and then the latest 5.6.1-2 beta.


With my recent upgrade, I'm experiencing a "weird anomaly" ... The mouse cursor position is "off" by a bit. Where I have the mouse positioned on the screen is below and to the left of the actual point that is being referenced on the charts.


This means "zoom to cursor" actually zooms to a point above and right of the cursor ... and I have yet to be able to find the right "offset" in various zoom levels to be able to click on waypoints or track lines.


This only occurs when I move the OpenCPN window from the base laptop to an external monitor ... which is how I run the system onboard.


I am running the MacOS version, on a Mac Book Pro with external Dell monitors via the Lightning to HDMI connection.


Has anyone else observed this behavior? I did search through the forums, but was unable to find any other references to this.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2022-04-20 at 09.24.31.png
Views:	43
Size:	129.6 KB
ID:	256295  
sygibson is offline   Reply With Quote
Old 21-04-2022, 11:11   #2
Registered User

Join Date: Aug 2019
Posts: 11
Re: 5.61-4 (beta 4 / RC) - Mouse Curor Position is "off" on external monitors

For reference, the "red x" in the posted image is roughly the offset from the marked "cursor position".


This problem exhibits on 5.6.0, 5.6.1-2 (beta), and 5.6.1-4 (beta/RC).
sygibson is offline   Reply With Quote
Old 21-04-2022, 12:59   #3
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Mouse Curor Position is "off" on external monitors

Why this is an issue? Thinking about a practical scenario?
bcn is offline   Reply With Quote
Old 21-04-2022, 13:02   #4
Registered User

Join Date: Aug 2019
Posts: 11
Re: Mouse Curor Position is "off" on external monitors

I use an external monitor to the main laptop for navigation. I have an external Monitor in the pilothouse and an external monitor on the flybridge connected to the laptop via HDMI cables and USB cables for keyboard/mouse.



This means that I can not click on any Waypoints or Routes.


Zooming in and out behaves "erratically" - as the mouse cursor position is offset from "reality" - and as such, the charts zoom to a point my cursor is not pointing at - see the "offset" different that I roughly determined in the posted image.


It essentially makes OpenCPN unusable for interactive use on my external monitor setup. This only occurs in this Application - no other application or software behaves this way.



Quote:
Originally Posted by bcn View Post
Why this is an issue? Thinking about a practical scenario?
sygibson is offline   Reply With Quote
Old 21-04-2022, 13:59   #5
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Mouse Curor Position is "off" on external monitors

I am afraid there is little we can do about this at the moment due to the limitations in multi monitor support in wxWidgets.

The issue is (I suppose OP's MacBook has a Retina display) that the Retina display's physical resolution is double the size of the screen in "device independent pixels" and as soon as the scale 2.0 is acquired from the primary retina display it keeps being applied to the coordinates even when the window gets moved to the external display having scale 1.0.

To make it worse this stuff works completely differently on other platforms.

There will probably be some solution to it, but given the percentage of users with this scenario I think I'm also not immediately running to the nearest store to buy an external monitor and another PC notebook with HiDPI screen to test Linux and Windows and start working on it.

But of course we will have to do something about it.
nohal is offline   Reply With Quote
Old 21-04-2022, 16:14   #6
Registered User

Join Date: Aug 2019
Posts: 11
Re: Mouse Curor Position is "off" on external monitors

Thank you for the reply - it definitely helps to understand some of the underlying issues causing the problem. Doesn't make it work ... but ... :-)



Are there any recommendations that might help? For example - setting the retina display and the external monitors to the same pixel resolution size ... or something to that effect?

Again - thank you - I do greatly appreciate the reply!






Quote:
Originally Posted by nohal View Post
The issue is (I suppose OP's MacBook has a Retina display) that the Retina display's physical resolution is double the size of the screen in "device independent pixels" and as soon as the scale 2.0 is acquired from the primary retina display it keeps being applied to the coordinates even when the window gets moved to the external display having scale 1.0.
sygibson is offline   Reply With Quote
Old 21-04-2022, 17:23   #7
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Mouse Curor Position is "off" on external monitors

There really is not much you can do at he moment but not mixing HiDPI and "normal" displays in the same system. One way to achieve that, with it's own set of issues, is to use remote desktop connection instead of external monitors.
There are a lot of changes in this area landing in wxWidgets right now and 3.2 should hopefully be released in June, so there is chance the next "big" OpenCPN release at the end of 2022/beginning of 2023 will have some relevant improvements for your setup. Until then we have to live with the current limitations.
nohal is offline   Reply With Quote
Old 21-04-2022, 22:59   #8
Registered User

Join Date: Oct 2021
Posts: 589
Re: Mouse Curor Position is "off" on external monitors

There is a piece of software out there, BetterDummy that is intended to help Mac users with exactly this problem. Have not tried it with O, but it does help with some issues on a graphic design MacBook Pro system.

There's a bit of an article here that might shed a bit more light than the GitHub page. The article talks about M1, but the software should also run on Intel.
HeywoodJ is offline   Reply With Quote
Reply

Tags
5.6.0, 5.6.1-2, 5.6.1-4, Beta, cursor position, external monitor, MacOS, monitor, mouse


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
Navigation: Plans "A", "B", "C", ... Mirage35 The Sailor's Confessional 23 28-08-2020 04:04
"recent price reduction""owner anxious""bring all offers" sailorboy1 Dollars & Cents 15 06-11-2019 04:06
GPS Mouse, Google Maps bg9208 Navigation 2 05-12-2009 13:30
I a stock Yanmar 55a Alternator "heavy-duty" enough to be changed to external reg? Northeaster Engines and Propulsion Systems 11 01-03-2009 13:28
Mouse that Roared Charlie Auxiliary Equipment & Dinghy 9 29-04-2007 22:00

Advertise Here


All times are GMT -7. The time now is 20:22.


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.