Bug 122841 - [UI] Dotted line cell border rendered incorrectly onscreen
Summary: [UI] Dotted line cell border rendered incorrectly onscreen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium trivial
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Cell-Border Regressions-borderline
  Show dependency treegraph
Reported: 2019-01-21 01:39 UTC by strata_ranger
Modified: 2020-05-04 16:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Sample file with assorted border types (11.02 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-01-21 01:44 UTC, strata_ranger
Screenshot of sample file (8.01 KB, image/png)
2019-01-21 01:50 UTC, strata_ranger

Note You need to log in before you can comment on or make changes to this bug.
Description strata_ranger 2019-01-21 01:39:19 UTC
I use dotted borders frequently in my spreadsheets, but the 6.x releases aren't rendering them correctly on my screen; previous versions (e.g: LO 5.4.x) rendered them fine, and other border types appear to render more or less* correctly.

This seems to be a screen rendering bug only; cell borders render correctly when (e.g.) exported to PDF (but I have no need of that, so...) .

Steps to Reproduce:
Format any range of cells with the dotted border style.

Actual Results:
Dotted cell borders (and vertical i.e. left/right borders in particular) appear to alternate with a cycle of about 2/3 solid 1/3 dotted (the exact pattern seen may vary with zoom level).

Expected Results:
Dotted borders should render consistently for the given zoom level -- e.g. 100% zoom should render cleanly alternating pixels for that border.

Reproducible: Always

User Profile Reset: No

Additional Info:
I said "more or less" because the border preview (Format > Cells... > Border) also rendered several more border types incorrectly -- but on the actual screen (at 100% zoom) only dotted borders appear affected.

This seems to occur regardless of whether hardware acceleration and/or openGL were enabled in the config.
Comment 1 strata_ranger 2019-01-21 01:44:11 UTC
Created attachment 148461 [details]
Sample file with assorted border types

1 - Check how cell borders render at various zoom levels (especially 100%).
2 - Check how cell borders render in Format > Cells... > Border .
Comment 2 strata_ranger 2019-01-21 01:50:10 UTC
Created attachment 148464 [details]
Screenshot of sample file

Screenshot taken from 100% zoom level, as it displays on my screen.
Comment 3 Telesto 2019-01-21 12:39:47 UTC
Build ID: 6740443311268b7d918bf4f43134d64fb78a0109
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-15_23:37:04
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

Dotted borders lines look like "dashes" or partial solid lines depending on zoom level

Fine in
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 4 Buovjaga 2020-05-04 16:31:37 UTC
Bibisected with Linux 6.0 repo to https://git.libreoffice.org/core/+/f65cbae8947c0462b35c8d3c3d5124e431b100b6^!/

borderline: correct problems with border display

Adding Cc: to Armin Le Grand