|
19-05-2017, 13:55
|
#1
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Hi,
My Dell XPS has a HIDPI screen (3200x1800, 294mm x 165mm). I'm under Ubuntu 17.04, latest OpenCPN / oesenc plugin from git compiled locally, and using the French Atlantic OSSENC charts.
OpenCPN wrongly detect my physical screen size as 846mm. However, the chart display is correct, albeit a little cluttered (which I suppose it's normal, it wouldn't be cluttered on a real 846 mm screen).
If I put my real screen width, 294 mm, in the preferences / display / advanced dialog, most of the objects scale correctly, except for the positive soundings (I think this is the only issue, but maybe I missed something else too).
As you can see from the attached screenshot, the line below the soundings seems both scaled incorrectly and at the wrong coordinates.
Any idea ?
|
|
|
20-05-2017, 07:07
|
#2
|
Registered User
Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 525
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
I can confirm the misplacement of the underscore for drying depths.
My suggestion would be, leave the width setting (wrongly) on automatic,
Play a little with the setting Options->Display->Advanced->"Chart zoom/scale weighing" for vector charts, and use the shortcut keys to reduce clutter. Where:
"S" hide soundings,
"L" hide lights
"A" hide botom and cable info
"T" hide Text
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
|
|
|
20-05-2017, 09:45
|
#3
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Quote:
Originally Posted by rooiedirk
My suggestion would be, leave the width setting (wrongly) on automatic,
Play a little with the setting Options->Display->Advanced->"Chart zoom/scale weighing" for vector charts, and use the shortcut keys to reduce clutter.
|
Your suggestion is good, but fixing the bug would be better...
|
|
|
20-05-2017, 10:41
|
#4
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,932
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Can please place an entry in the bug tracker? In order to have the bug controlled...
Hubert
|
|
|
20-05-2017, 10:55
|
#5
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,932
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Quote:
Originally Posted by stelian
Hi,
My Dell XPS has a HIDPI screen (3200x1800, 294mm x 165mm). I'm under Ubuntu 17.04, latest OpenCPN / oesenc plugin from git compiled locally, and using the French Atlantic OSSENC charts.
|
That's the same zone (source material in S-57 version) on our XPS 13 HiDPI under Windows 8.1
What happens with OpenGL off?
And btw.: are you happy with Ubuntu 1704 for this particular machine?
Support for the docking adapters?
Hubert
|
|
|
20-05-2017, 12:02
|
#6
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Quote:
Originally Posted by bcn
Can please place an entry in the bug tracker? In order to have the bug controlled...
Hubert
|
Done: FS#2230 - Wrong scaling of OESENC drying depths on Linux w/ HIDPI screen
|
|
|
20-05-2017, 12:10
|
#7
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Quote:
Originally Posted by bcn
That's the same zone (source material in S-57 version) on our XPS 13 HiDPI under Windows 8.1
|
So the bug is present under Windows too.
Quote:
Originally Posted by bcn
What happens with OpenGL off?
|
Still present with OpenGL off.
Quote:
Originally Posted by bcn
And btw.: are you happy with Ubuntu 1704 for this particular machine?
|
This is an XPS 13 9360, and I'm quite satisfied with the hardware. As for the software, I had previously the 1610 version, and it worked flawlessly ! No issue at all with anything. Since the upgrade, I have intermittent problems with suspend, wifi, usb, sound... I expect all those to slowly fix themselves with later upgrades, but right now it's not the best Ubuntu version I had (and I had plenty...)
Quote:
Originally Posted by bcn
|
Sorry, but I don't have any.
|
|
|
20-05-2017, 13:12
|
#8
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,689
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
bcn/stelian...
Neither picture is very nice. I'll add the bug to my list.
Thanks for the catch
Dave
|
|
|
09-06-2017, 02:56
|
#9
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Quote:
Originally Posted by bdbcat
bcn/stelian...
Neither picture is very nice. I'll add the bug to my list.
Thanks for the catch
Dave
|
FYI, I probably found the cause and proposed a patch in FS: https://opencpn.org/flyspray/index.p...s&task_id=2230
Stelian.
|
|
|
09-06-2017, 11:48
|
#10
|
Registered User
Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,932
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Stelian,
there have been a problem with drying heights in all versions of S-57 based vector charts - not just for hiRes screens. This is getting addressed by new plug-ins for oeSENC and S-63 and the next version of OpenCPN.
Tested already and will get released soon.
Thank you for your efforts as well!
Hubert
|
|
|
09-06-2017, 13:13
|
#11
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
This is great news !
Too bad I didn't knew the problem was already fixed, this could have saved me a few hours of debugging time... Well, at least I learned a few things about vector charts objects
Stelian.
|
|
|
09-06-2017, 21:57
|
#12
|
Marine Service Provider
Join Date: Mar 2008
Posts: 7,689
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
stellian...
Yes, you did. And the more people know about the internals of OCPN, the happier I am.
The has been a lot of work behind the scenes, and un-committed to github, that tries to improve graphics pixel density independence of all aspects of OCPN. We see more and more high density displays, so the old-fashioned (XP generation) practice of using "pixels" as measurement units is becoming less and less relevant. We are trying to knock them down one-by-one, getting better at each release.
Thanks
Dave
|
|
|
10-06-2017, 04:57
|
#13
|
Registered User
Join Date: Mar 2017
Location: Brittany, France
Boat: First 30 (1976)
Posts: 329
|
Re: Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen
Thank YOU !
Stelian.
|
|
|
|
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 |
|
|
|