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 02-02-2024, 13:56   #151
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,648
Images: 2
Re: GPS based Odometer

Lennart, for example see
https://github.com/OpenCPN/plugins/issues/942


I need to do this for Tactics and DashboardTactics
rgleason is offline   Reply With Quote
Old 02-02-2024, 23:51   #152
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

So, it appears we have 3 different problems here, none of them visible on my Ubuntu 20.04 system with a 1680x1050 screen. All of these has been reported om Windows systems only.
I will likely have to get me a Windows system for the first time in many years.

1/ The text '(null)' preceding distances. This is something possibly related to text formatting and what I will pay most attention to.

2/ Repeated buttons, this appears to be a wxWidgets/Windows resolution thing. I'm using the standard functionality since the early days of GPS Odometer and it has never been reported before. The only difference now is that button width is a variable instead of a fixed value. Is this related to high resolution screen systems only?

3/ Text sizes, likely related to high screen resolution. This appears to be common to Tactics and Dashboard Tactics. Dashboard is updated and I've added some of these fixes but apparently still having problems. Where is the resolution limit here and how is scaling involved?

To me it looks like 2/ and 3/ is somewhat related and resolution or scaling dependant.
It is a pity I did not get those reported on the two betas that were released earlier (or are they new in 0.8.3?).

/LennartG
LennartG is online now   Reply With Quote
Old 03-02-2024, 02:20   #153
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 435
Re: GPS based Odometer

Hi LennartG,

I had installed 0.8.1 on windows systems and I had not the problem of multiple buttons when scaling, it's first time I got it.

and of course, thanks a lot for the plugin development and your time.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 03-02-2024, 02:43   #154
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

Corsair,
that's interesting, have not changed anything with buttons since 0.8.1. You make me really confused. Need to do some diff tests to find the cause.
Also: What about this '(null)' thing, did you see that in 0.8.1?
/LennartG
LennartG is online now   Reply With Quote
Old 03-02-2024, 02:58   #155
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 435
Re: GPS based Odometer

Quote:
Originally Posted by LennartG View Post
Corsair,
that's interesting, have not changed anything with buttons since 0.8.1. You make me really confused. Need to do some diff tests to find the cause.
Also: What about this '(null)' thing, did you see that in 0.8.1?
/LennartG
Over the day or tomorrow I'll carry a test on the tablet.
I'll uninstall 0.8.3 and install again 0.8.1, I have the file.

and I'll check and send screenshot of it, what I can say is that I could resize in the tablet without doubling the buttons, because it's high-resolution display by default is very narrow, the only thing that they were fixed and left aligned.

I'll revert with findings.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 03-02-2024, 08:55   #156
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 435
Re: GPS based Odometer

done the test, uninstalled version 0.8.3 and manually installed 0.8.1

pictures:
1 - version 0.8.3 out the self, very narrow and showing (null)
2 - version 0.8.1 out the self, very narrow, not showing (null)
4 - version 0.8.1 extended to see all text, no multiplication of buttons and not showing (null)
Attached Thumbnails
Click image for larger version

Name:	sshot-1.png
Views:	43
Size:	24.5 KB
ID:	285994   Click image for larger version

Name:	sshot-2.png
Views:	43
Size:	22.4 KB
ID:	285995  

Click image for larger version

Name:	sshot-4.png
Views:	39
Size:	29.8 KB
ID:	285996  
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 03-02-2024, 09:09   #157
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

Corsair, great!
So 0.8.1 is apparently a little bit older than I remember. Now I really got something to go on.
I'm now in the middle of installing Win10 on my virtual system and will try to repeat what you just have done.
Have also done the diff and is hopefully on to something.

Thanks a lot!

/LennartG
LennartG is online now   Reply With Quote
Old 03-02-2024, 09:22   #158
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 435
Re: GPS based Odometer

the test is in the tablet with high resolution screen.

in the other computers the off the self the plugin window is of good size and displays everything.
__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 03-02-2024, 09:45   #159
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

Corsair,
got the Win10 installation up and OpenCPN installed. I can see the buttons problem to begin with. Now I need to install charts and GPS emulator.
Problem is that I need to generate beta test versions to have something to run and test on the Win10 system (or is there a better alternative besides installing the complete compile stuff?).
/LennartG
LennartG is online now   Reply With Quote
Old 03-02-2024, 12:49   #160
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: GPS based Odometer

LennartG...

If you build on that machine, you can completely skip the installation and simply replace the plugin DLL library with your build product locally. "Installing the complete compile stuff" is actually really simple following the instructions from https://opencpn-manuals.github.io/ma...v/windows.html
nohal is offline   Reply With Quote
Old 04-02-2024, 02:45   #161
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

nohal,
thanks for the info!
Followed the steps under '5.8.0 Fast track' and installed VS, choco and git (thru choco).
Then used build_win.bat that complained about '7z' a few times and did not find 'buildwin', none of those fatal.
Continued and it took some time to find 'appveyor.bat' (that also complaied about '7z') and then ended complaining it could not find 'cmake'.

That's where I am right now. Looking for cmake for windows but need a break.
/LennartG
LennartG is online now   Reply With Quote
Old 04-02-2024, 05:58   #162
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

nohal, got a bit further but, sorry, not into finish strip (yet).

7zip is installed (reporting version 24.01) as is cmake (version 3.38.2) and Visual Studio 2022 (version 17.8.6).

System restarted numerous times and all of the above programs start when called from the menu.

Path reports as
PATH=C:\Windows\system32;C:\Windows;C:\Windows\Sys tem32\Wbem;C:\Windows\System32\WindowsPowerShell\v 1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\c hocolatey\bin;C:\Program Files\Git\cmd;C:\Users\lennart\AppData\Local\Micro soft\WindowsApps;C:\Program Files\CMake\bin

'.\ci\appveyor.bat' still fails with e.g:

--------------------------
2024-02-04 14:45:03 URL:https://codeload.github.com/OpenCPN/...refs/tags/v0.3 [20363459] -> "C:/Users/lennart/OpenCPN/buildwin/../cache/OCPNWindowsCoreBuildSupport.zip" [1]
'7z' is not recognized as an internal or external command,
operable program or batch file.
File not found - buildwin
0 File(s) copied
--------------------------

And later on:
--------------------------
C:\Users\lennart\OpenCPN>call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\vsDevCmd.bat"
************************************************** ********************
** Visual Studio 2022 Developer Command Prompt v17.8.6
** Copyright (c) 2022 Microsoft Corporation
************************************************** ********************
Appending C:\Users\lennart\OpenCPN\buildwin\..\cache\wxWidge ts-3.2.4\lib\vc14x_dll to PATH
CMake Error at CMakeLists.txt:65 (project):
Generator

Visual Studio 17 2022

could not find any instance of Visual Studio.

--------------------------
I get exactly the same thing running as regular user or administrator.

A confused LennartG
LennartG is online now   Reply With Quote
Old 20-02-2024, 23:24   #163
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

GPS-Odometer 0.8.4 is now available for download in the package manager.
Hopefully fixed most of the Windows problems plus a minor csv log file error.
High resolution screens may still see the text size inconvenience.
/LennartG
LennartG is online now   Reply With Quote
Old 21-02-2024, 08:04   #164
Registered User

Join Date: Jun 2022
Location: Cantabria
Boat: Jeanneau - Merry Fisher 925
Posts: 435
Re: GPS based Odometer

Hi Lennart,

tested version 0.8.4 in windows 11 x64 & ARM64.

w11 x64 & 0ne ARM64 display 1080, no problem with resizing, display etc.
Tablet w11 ARM64 with High resolution, no problem too while resizing, display, etc, all buttons are resized accordingly.

as usual in the PIM it shows that 0.8.0 is installed instead the proper version.
attachment:
1 - after updating master catalogue ready for update, seen the version 0.8.0 instead 0.8.3 but properly shown the update 0.8.4
2 - after installing new version
3 - resized windows plugin in tablet (High resolution)
4 - PIM showing again 0.8.0 instead of 0.8.4 installed.
Attached Thumbnails
Click image for larger version

Name:	sshot-1.png
Views:	34
Size:	39.6 KB
ID:	286634   Click image for larger version

Name:	sshot-2.png
Views:	35
Size:	18.3 KB
ID:	286635  

Click image for larger version

Name:	sshot-3.png
Views:	37
Size:	33.0 KB
ID:	286636   Click image for larger version

Name:	sshot-4.png
Views:	36
Size:	31.6 KB
ID:	286637  

__________________
Corsair

Roses don't bloom on the sailor's grave
Corsair63 is offline   Reply With Quote
Old 21-02-2024, 08:30   #165
Registered User

Join Date: Aug 2016
Location: Stockholm, Sweden
Posts: 272
Re: GPS based Odometer

Corsair,
good to hear it works ok with the buttons and fairly ok with text sizes.
The numbering problem is likely due to previous installs of beta versions. It displays ok here at my machines (Linux and Windows). Sounds more like a PIM refresh problem than anything else, awaiting comments from others.
/LennartG
LennartG is online now   Reply With Quote
Reply

Tags
gps


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
Garmin buys Maine-based GPS products company DeLorme pickpaul Marine Electronics 6 14-02-2016 18:32
Land Based Map of Baja Mexico and Windows 10 GPS Receiver? Mike321 OpenCPN 7 26-01-2016 00:57
Resettable Odometer Trip Log Slackwater OpenCPN 2 05-06-2012 09:32
BU353-Based GPS " Puck " Receiver - Is It Precise ? Skipper Solo OpenCPN 21 25-01-2012 10:54
Furuno GPS - 'GPS Week Number Rollover' bitman Navigation 0 25-11-2009 03:53

Advertise Here


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


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.