 |
|
03-05-2021, 06:23
|
#1
|
Registered User
Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 182
|
Is this an OpenCPN bug ?
In the logbookKonni plugin, in the "Motor / Sails" tab, it is possible to display the instantaneous fuel consumption (fuel) which is subtracted from the column of the initial total (fuelT).
The problem is that these numbers only appear as rounded integers in the French (or Dutch) version of OpenCPN.
If I change the language in "Options / User Interface" of OpenCPN and I choose the English language, I get numbers in the Logbook with the comma. (see illustrations).
I cannot find how to fix this error in the plugin so I am wondering if it is not an openCPN error, a problem of confusion between comma (used in Europe) and decimal point (used in US ) ?
If this is not an OpenCPN error, which direction should I look in the plugin to fix this?
|
|
|
03-05-2021, 11:20
|
#2
|
Registered User
Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,470
|
Re: Is this an OpenCPN bug ?
I'm afraid there is no developer anymore for the plugin LogbookKonni who will fix this. After all it is a matter of this plugin and not of OpenCPN.
|
|
|
04-05-2021, 10:08
|
#3
|
Registered User
Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 182
|
Re: Is this an OpenCPN bug ?
As I continue my investigations, I notice that changing the language (changing to US / UK) also solves another problem.
Thus the problem of the background which is not displayed for the statusbar plugin is also solved when we change the language, ie by switching to the English language!
At least two plugins have display issues which are resolved only if English language is chosen.
Whether it is Dutch, German, French, etc., the bug is present
There is therefore a problem - a BUG - with OpenCPN and not with the plugin (s)!
|
|
|
04-05-2021, 11:03
|
#4
|
Registered User
Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,470
|
Re: Is this an OpenCPN bug ?
If it is a problem with OpenCPN and not with this plugin so there will be the same problems with other plugins. But this is not the case and therefore it is only a problem with this plugin called LogbookKonni_pi. Do you understand it?
|
|
|
04-05-2021, 13:11
|
#5
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,406
|
Re: Is this an OpenCPN bug ?
This looks like issues related to the ui selection in the OS level. I've forgotten what it is called. Has to do with use of commas and periods and other conventions. Please try setting this OS setting on american/English to see what happens. Plugins are not smart about these settings generally.
|
|
|
04-05-2021, 13:13
|
#6
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,406
|
Re: Is this an OpenCPN bug ?
Also there is no api info about this coming from opencpn. Plugins just do what they do.
|
|
|
04-05-2021, 13:13
|
#7
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,406
|
Re: Is this an OpenCPN bug ?
In short no it is not.
|
|
|
04-05-2021, 13:15
|
#8
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,406
|
Re: Is this an OpenCPN bug ?
BTW Peter T. Is still around, just not doing anything right now.
|
|
|
04-05-2021, 13:17
|
#9
|
Registered User
Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 16,406
|
Re: Is this an OpenCPN bug ?
Additionally, the user used to have to install the language po files himself, no longer. I wonder if we missed something konni had coded.
|
|
|
04-05-2021, 14:16
|
#10
|
Registered User
Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 182
|
Re: Is this an OpenCPN bug ?
Quote:
Originally Posted by CarCode
If it is a problem with OpenCPN and not with this plugin so there will be the same problems with other plugins. But this is not the case and therefore it is only a problem with this plugin called LogbookKonni_pi. Do you understand it?
|
You tire me ...
Read what I wrote!
There is also a problem with the statusbar plugin, and this problem only disappears if you choose the English language.
If you have no solution to suggest, please do not unnecessarily pollute this thread.
Do you understand it?[
|
|
|
04-05-2021, 14:24
|
#11
|
Registered User
Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 182
|
Re: Is this an OpenCPN bug ?
Quote:
Originally Posted by rgleason
This looks like issues related to the ui selection in the OS level. I've forgotten what it is called. Has to do with use of commas and periods and other conventions. Please try setting this OS setting on american/English to see what happens. Plugins are not smart about these settings generally.
|
Rick, that's exactly what I did.
Remember the exchanges we had about the statusbar plugin in the dedicated thread, whose background is not displayed.
To verify this is simple.
Activate the statusbar plugin, and choose a European language (French, Dutch, etc.). The background that appeared with the English language no longer appears.
This does mean that there is a bug that does not only concern the logbook plugin ...
|
|
|
04-05-2021, 15:11
|
#12
|
Registered User
Join Date: Jan 2011
Location: France/UK
Boat: Gib'Sea 402
Posts: 498
|
Re: Is this an OpenCPN bug ?
I have tried the statusbar plugin with French selected as the language (in place of my usual English) and the background does indeed disappear as Schnapsy has been emphatically pointing out!
Absolutely nothing whatsoever to do with the W10 OS, but probably due to routines shared by these affected plugins.
|
|
|
05-05-2021, 02:04
|
#13
|
Registered User
Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 182
|
Re: Is this an OpenCPN bug ?
Thank you Hoolie for confirming this observation.
In fact, I have so far noticed this problem with two plugins.
But I haven't installed all the OpenCPN plugins and anyway, I don't know how they work at all.
If I allow myself to insist, it is that this problem is reproduced perhaps for other plugins or in other cases and this could perhaps cause more risky and / or more serious situations than the simple display of a background.
Thus, for example, for the Logbook plugin, the choice of language affects the display AND the calculation of the data which are received as integers in the French version, while in the UK / US version these data are received and calculated with the comma.
We can therefore legitimately assume that there are other risks on other plugins and therefore not only cosmetic display concerns, but also data calculation concerns.
|
|
|
05-05-2021, 05:27
|
#14
|
Registered User
Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 5,617
|
Re: Is this an OpenCPN bug ?
We can not legitimately assume anything without data backing that assumption.
|
|
|
05-05-2021, 06:45
|
#15
|
Registered User
Join Date: Jan 2018
Location: Dunkirk, France
Boat: ETAP 30i
Posts: 182
|
Re: Is this an OpenCPN bug ?
Quote:
Originally Posted by nohal
We can not legitimately assume anything without data backing that assumption.
|
Just check it out.
I have given enough evidence about two plugins and apparently this is shared by other users.
At my (very low) level of computer knowledge, I cannot do more.
|
|
|
 |
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|
|