Bug 349875 - Marble draws one pixel wide vertical lines containing shifted data
Summary: Marble draws one pixel wide vertical lines containing shifted data
Status: CONFIRMED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-03 20:25 UTC by zl29ah
Modified: 2021-03-10 02:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Vertically shifted pixels in Marble texture rendering (184.33 KB, image/png)
2015-07-04 06:38 UTC, Dennis Nienhüser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zl29ah 2015-07-03 20:25:42 UTC
The lines stay attached to the corresponding place in the window when the map is moved. Easiest to note on labels. They go every ~20 pixels. Reproduceable on both 4.14.3 and master. It doesn't affect flickr photos thumbnails.
https://dump.bitcheese.net/files/obukydo/screenshot-marble-shifted.png
Comment 1 Dennis Nienhüser 2015-07-03 22:03:29 UTC
The lines are rendered by a plugin (graticule aka coordinate grid). Note the small labels attached to them that show the coordinates at hand.

Still there are numerous problems with it, so I'll leave this bug report open:
- the coordinate line color (white) is a bad choice for OpenStreetMap
- the space between the lines is quite large at high zoom (street level), making it look like a rendering glitch instead of a rendered grid
- It can only be hidden in the Legend Panel, but newcomers don't expect it there
- When you hide it in the Legend and switch to another map theme and then back, it will be shown again

One crude workaround is to deactivate the coordinate grid plugin in Marble's settings dialog.
Comment 2 zl29ah 2015-07-04 05:57:41 UTC
I repeat, i see /shifted image on vertical 1px strips/ every /20 pixels/. Take a look at the screenshot.
Comment 3 Dennis Nienhüser 2015-07-04 06:37:15 UTC
Ah. On close inspection I see what you mean now. I'll attach an annotated version of the screenshot to highlight the problem.
Comment 4 Dennis Nienhüser 2015-07-04 06:38:51 UTC
Created attachment 93476 [details]
Vertically shifted pixels in Marble texture rendering
Comment 5 Dennis Nienhüser 2015-07-04 06:41:59 UTC
Does that happen always or is it tied to some condition (e.g. zoom value)?

As a quick first guess I'd blame a rounding error or similar calculation error in ScanlineTextureMapper.
Comment 6 Thomas Pfeiffer 2015-07-05 14:36:14 UTC
Setting the "Usability" flag normally means asking for input from the usability team. This looks like a clearly technical bug to me, though. Which usability aspect are we supposed to provide input on?
Comment 7 Dennis Nienhüser 2015-07-05 15:50:34 UTC
(In reply to Thomas Pfeiffer from comment #6)
> Setting the "Usability" flag normally means asking for input from the
> usability team. This looks like a clearly technical bug to me, though. Which
> usability aspect are we supposed to provide input on?

I misinterpreted the bug report first and was looking for input on how to handle coordinate grids at street zoom level (see comment 1). I'd still be interested in that topic, but I'll open a separate bug report for it. Sorry for the noise.
Comment 8 Justin Zobel 2021-03-09 22:51:35 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 9 zl29ah 2021-03-10 02:12:45 UTC
(In reply to Justin Zobel from comment #8)
> Thank you for the bug report.
> 
> As this report hasn't seen any changes in 5 years or more, we ask if you can
> please confirm that the issue still persists.
> 
> If this bug is no longer persisting or relevant please change the status to
> resolved.

Yes, it's still there.