Bug 110001 - Page border drawing artifact
Summary: Page border drawing artifact
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: Writer-UX
  Show dependency treegraph
 
Reported: 2017-07-29 12:39 UTC by Alexander Wilms
Modified: 2023-02-16 09:22 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Cropped screenshot (524 bytes, image/png)
2017-07-29 12:39 UTC, Alexander Wilms
Details
250 vs. 280% zoom factor, W7, OpenGL disabled (895 bytes, image/png)
2017-08-02 14:31 UTC, Heiko Tietze
Details
screenshot (672 bytes, image/png)
2017-08-02 14:51 UTC, Yousuf Philips (jay) (retired)
Details
Options > LibreOffice > View (91.59 KB, image/png)
2023-02-16 09:20 UTC, Alexander Wilms
Details
Page border artifact 1 (67.40 KB, image/png)
2023-02-16 09:21 UTC, Alexander Wilms
Details
Page border artifact 1 detail (5.83 KB, image/png)
2023-02-16 09:21 UTC, Alexander Wilms
Details
Page border artifact 1 with increased contrast (1.25 KB, image/png)
2023-02-16 09:22 UTC, Alexander Wilms
Details
Page border artifact 2 (66.44 KB, image/png)
2023-02-16 09:22 UTC, Alexander Wilms
Details
Page border artifact 2 details (1.37 KB, image/png)
2023-02-16 09:22 UTC, Alexander Wilms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Wilms 2017-07-29 12:39:06 UTC
Created attachment 134971 [details]
Cropped screenshot

The top and left border of every page in Writer is rendered with a 2 px border. This makes them look a bit blurry compared to the left and bottom borders. I feel like using a 1 px border on all sides would look better.
Comment 1 Alexander Wilms 2017-07-29 12:41:47 UTC
Which edges of the page are affected depends on the zoom level.
Comment 2 Heiko Tietze 2017-08-01 08:54:36 UTC
The blurry border looks pretty nice, doesn't it? And on Windows all sides appear like this. So what's your OS/DE?
Comment 3 Alexander Wilms 2017-08-02 00:09:13 UTC
That screenshot was taken on Windows 10, and I can reproduce this on Windows 7. Since this depends on the zoom level, it seems to be a rendering artifact and not intentional.

Especially on desktop environment with a flat design, like Windows 10 / KDE 5.10, a crisp border would look better, in my opinion.
Comment 4 Yousuf Philips (jay) (retired) 2017-08-02 13:15:29 UTC
So here are some test results, based on zoom level on my 1440x900 resolution.

100% - right missing
110% - top and right missing
120% - all sides missing
140% - right missing
160% - right missing
180% - bottom and right missing

But even these results may change depending on various factors like if the sidebar is open or not. e.g. at 100% zoom, page 1 had all sides missing and page 2 had it appear only on the top side when the sidebar was disabled and then after enabling the sidebar, with it only showing its button bar, page 1 had it appear only on the left side and page 2 had it on the left and top sides.

(In reply to Heiko Tietze from comment #2)
> The blurry border looks pretty nice, doesn't it? And on Windows all sides
> appear like this. So what's your OS/DE?

The inner blur looks good as the page also has outer blur, but the page edge looks crisper/flatter without the inner blur. I'm on Linux Mint.

(In reply to Fabian Alexander Wilms from comment #3)
> Especially on desktop environment with a flat design, like Windows 10 / KDE
> 5.10, a crisp border would look better, in my opinion.

The document area of the UI is the same on any OS and this shouldnt change.

So i checked MS Word 2010 and 2013 and they only have a 1px border. WPS Writer and iWork Pages dont have a border at all.
Comment 5 Heiko Tietze 2017-08-02 13:26:47 UTC
What happens with OpenGL disabled? 

Tools > Options > View (https://wiki.documentfoundation.org/OpenGL)
Comment 6 Yousuf Philips (jay) (retired) 2017-08-02 14:19:57 UTC
(In reply to Heiko Tietze from comment #5)
> What happens with OpenGL disabled? 

I dont run with OpenGL on, as my hardware doesnt support it, and assume most users dont either, especially with how buggy the intel driver on windows is. One way or another, the OpenGL render is to mimic what appears in the default renderer, so not sure how this is relevant. Or was this question for Fabian? :D
Comment 7 Heiko Tietze 2017-08-02 14:31:44 UTC
Created attachment 135074 [details]
250 vs. 280% zoom factor, W7, OpenGL disabled

(In reply to Yousuf Philips (jay) from comment #6)
> (In reply to Heiko Tietze from comment #5)
> > What happens with OpenGL disabled? 
> 
> I dont run with OpenGL on, as my hardware doesnt support it, and assume most
> users dont either, especially with how buggy the intel driver on windows is.
> One way or another, the OpenGL render is to mimic what appears in the
> default renderer, so not sure how this is relevant. Or was this question for
> Fabian? :D

It was a question to both of you. When I disable OpenGL on W7 the border is more or less crisp depending on the zoom factor.
Comment 8 Yousuf Philips (jay) (retired) 2017-08-02 14:51:28 UTC
Created attachment 135075 [details]
screenshot

(In reply to Heiko Tietze from comment #7)
> Created attachment 135074 [details]
> 250 vs. 280% zoom factor, W7, OpenGL disabled

In one there is no inner border and in the second there is, but when it appears in one side and not in the other side (screenshot), it doesnt look so crisp. And when it appears sometimes and others randomly at the same or different zoom levels, this complicates things more.
Comment 9 Tomaz Vajngerl 2017-08-02 15:31:49 UTC
I was thinking to get rid of the blurry shadow here as it is quite computationally expensive (this implementation resizes a bitmap all the time) and most others Office suites don't use it anymore.
Comment 10 Heiko Tietze 2017-08-10 15:18:58 UTC
We discussed the topic in the design meeting. Flat design might be hip today but that could change. And on other OS like macOS (and also different themes) the shadow is wanted. So the recommendation is to fix the issue. Therefore I changed the summary from "Light grey inner border not always rendered" into "Page border drawing artifact". However, if the issue cannot be easily solved it's also acceptable to remove the additional 1px line and make the page border flat.

(removing needsUX)
Comment 11 QA Administrators 2018-08-11 02:36:29 UTC Comment hidden (obsolete)
Comment 12 Alexander Wilms 2019-02-11 23:04:33 UTC
Issue is still present in

Version: 6.2.0.3
Build-ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
Comment 13 Buovjaga 2020-08-28 12:15:56 UTC
As Skia with Vulkan will replace OpenGL UI rendering on all platforms, it does not make sense to keep OpenGL UI reports open.

Details about Skia: https://www.collaboraoffice.com/success-story/implementing-vulkan-capable-libreoffice-user-interface-using-the-skia-library/
Comment 14 QA Administrators 2022-08-29 06:43:03 UTC Comment hidden (obsolete)
Comment 15 Alexander Wilms 2023-02-16 09:20:02 UTC
There ares still artifacts, but they're a bit different now. There are faint squares in the corners of the page and when zooming out as much as possible, the border between two pages shows a glitch.

Version: 7.4.4.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 16 Alexander Wilms 2023-02-16 09:20:53 UTC
Created attachment 185395 [details]
Options > LibreOffice > View
Comment 17 Alexander Wilms 2023-02-16 09:21:23 UTC
Created attachment 185396 [details]
Page border artifact 1
Comment 18 Alexander Wilms 2023-02-16 09:21:42 UTC
Created attachment 185397 [details]
Page border artifact 1 detail
Comment 19 Alexander Wilms 2023-02-16 09:22:02 UTC
Created attachment 185398 [details]
Page border artifact 1 with increased contrast
Comment 20 Alexander Wilms 2023-02-16 09:22:16 UTC
Created attachment 185399 [details]
Page border artifact 2
Comment 21 Alexander Wilms 2023-02-16 09:22:30 UTC
Created attachment 185400 [details]
Page border artifact 2 details