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 01-02-2017, 14:58   #1
Registered User
 
_QB_'s Avatar

Join Date: Dec 2013
Posts: 24
OpenCPN scaling problems with high resolution displays

On my HP x360's QHD+ (3200×1800) display, tide icons are displayed too small to be usable.

Tools -> User Interface -> scaling settings have no effect.

OpenCPN 4.4.0 and 4.5.127 beta.

Windows 10 Home 64 bit, build 14393.693.

Attached screenshot is with an NOAA ENC chart, but the same occurs with NOAA RNC and CM93.

Thanks for any help,

--Paul
Attached Thumbnails
Click image for larger version

Name:	tide icon 1.png
Views:	194
Size:	201.8 KB
ID:	140503  
_QB_ is offline   Reply With Quote
Old 01-02-2017, 15:14   #2
Registered User
 
_QB_'s Avatar

Join Date: Dec 2013
Posts: 24
Re: OpenCPN scaling problems with high resolution displays

Also, tide graph dialogs are not displayed properly; this seems to be a scaling issue due to the high resolution (in my case QHD+ (3200×1800)) display.

I see that this problem has been previously pointed out by Patience242 FS#2104 : Tide & Current popup boxes too small with 4K display on Win10 and http://www.cruisersforum.com/forums/...10-167979.html.

OpenCPN 4.4.0 and 4.5.127 beta; Windows 10 Home 64 bit, build 14393.693.

Thanks for any help,

--Paul
Attached Thumbnails
Click image for larger version

Name:	tide icon 2.PNG
Views:	142
Size:	41.8 KB
ID:	140504  
_QB_ is offline   Reply With Quote
Old 01-02-2017, 18:32   #3
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
Re: OpenCPN scaling problems with high resolution displays

what is wrong with the dialog?

Would simply scaling the icons solve the problem?
seandepagnier is offline   Reply With Quote
Old 01-02-2017, 21:44   #4
Registered User
 
_QB_'s Avatar

Join Date: Dec 2013
Posts: 24
Re: OpenCPN scaling problems with high resolution displays

Quote:
Originally Posted by boat_alexandra View Post
what is wrong with the dialog?
The PREV and NEXT buttons obscure the date legend. The CLOSE or CANCEL button is truncated. The time axis markings are partly obscured by the buttons. See the attached image in the post above.

Quote:
Would simply scaling the icons solve the problem?
That would solve the icon visibility problem, but the target for clicking and popping up the graph needs to be enlarged too. It's very hard to hit on this machine now.

Pixels are just too damn small on some of these new displays!

--Paul
_QB_ is offline   Reply With Quote
Old 09-02-2017, 12:58   #5
Registered User
 
_QB_'s Avatar

Join Date: Dec 2013
Posts: 24
Re: OpenCPN scaling problems with high resolution displays

OK, I've made some changes to the tide rectangle icon drawing code in chcanv.cpp so that they are scaled depending on screen resolution. Also added a TideRectangleScale setting in the config file, analogous to CurrentArrowScale, so users can modify the default scaling if it is not to their liking. Tested under Ubuntu 16.04 and Windows 10 and seems to work well.

What should I do to submit these changes to the project?

--Paul
_QB_ is offline   Reply With Quote
Old 10-02-2017, 19:53   #6
Registered User
 
_QB_'s Avatar

Join Date: Dec 2013
Posts: 24
Re: OpenCPN scaling problems with high resolution displays

Quote:
Originally Posted by _QB_ View Post
What should I do to submit these changes to the project?
The answer, courtesy Pavel:

Quote:
The best way to contribute to OpenCPN code is to fork the main repository from https://github.com/OpenCPN/OpenCPN, push your changes to your fork and create a pull request. There is a short guide to the whole process at https://guides.github.com/activities/forking/
Thanks!

--Paul
_QB_ is offline   Reply With Quote
Reply

Tags
cal, enc, opencpn


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
High resolution map Queens Ransom OpenCPN 8 19-06-2015 09:53
High resolution GRIBs freely available for Mediterranean norulz Weather | Gear, Reports and Resources 1 18-11-2014 05:33
De-Scaling Waste Lines Rex Delay Plumbing Systems and Fixtures 24 18-05-2010 20:13
Scaling / Drawing Charts Netsurfer OpenCPN 1 05-02-2010 11:03
Scaling w/ Various Intake Hoses thinwater Plumbing Systems and Fixtures 3 22-05-2009 08:11

Advertise Here


All times are GMT -7. The time now is 17:27.


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.