Bug 149265 - LibreCalc displays white lines over a background image
Summary: LibreCalc displays white lines over a background image
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Calc-Images
  Show dependency treegraph
 
Reported: 2022-05-24 14:19 UTC by Michael
Modified: 2023-04-22 19:40 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Zipped folder with Spreadsheet, screen shot of horizontal lines and screen shot of Open GL viewer (13.50 MB, application/x-zip-compressed)
2022-05-24 14:34 UTC, Michael
Details
Image showing several white lines. (207.12 KB, image/jpeg)
2023-01-12 15:29 UTC, Michael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2022-05-24 14:19:55 UTC
Description:
When a background image is loaded, Calc displays horizontal narrow white lines across the image. These white lines line up with the buttons on the left side of the spreadsheet. I have hardware acceleration turned on. Anti-aliasing turned off. Skia is currently disabled. If I turn Anti-aliasing on, the white lines disappear, but the response time for entering data gets very long: one to two seconds between pressing enter and having the next cell be activated.

Steps to Reproduce:
1. Import a background image.
2.
3.

Actual Results:
The image is imported, but a number of horizontal white lines appear across the image.

Expected Results:
There should be no white lines.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.6.2 (x64) / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: threaded
Comment 1 Michael 2022-05-24 14:34:28 UTC
Created attachment 180340 [details]
Zipped folder with Spreadsheet, screen shot of horizontal lines and screen shot of Open GL viewer
Comment 2 Regina Henschel 2022-05-24 21:40:44 UTC
I do not have any white lines, neither with Skia enabled nor with Skia disabled. I have tested it with Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL

Please post the version info from Help > About.
Comment 3 Michael 2022-05-24 22:20:16 UTC
Version: 7.2.6.2 (x64) / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: threaded
Comment 4 Michael 2022-05-24 22:44:34 UTC
I have a couple of other observations.

1. I just noticed that when a new image is loaded, it is clean, that is no white lines. When I do Alt-J, which aligns the view so that the AM weather block is positioned nicely and sets the active cell to be the first data cell for the AM weather, the lines appear on the image. Because the weather block is aligned so that the top corner of the AM weather data is at the top left corner of the spreadsheet, you can't see the white lines unless you do a Ctrl-Home.


2. You will notice, just from the screen capture I sent in the Zip file, that the horizontal white lines correspond to the tops and bottoms of the buttons along the left side of the spreadsheet.

3. On occasion, the first time I do a CopyDown, Alt-], I see a quick flash of the buttons displayed, even though they are out of sight of the current view. This makes we wonder if the way the buttons are displayed has something to do with the white lines and the occasional flash of buttons.
Comment 5 Michael 2022-05-24 22:56:55 UTC
I just went to the next day's image. After the date was set, I did a Ctrl-Home. No white lines. I moved around with arrow keys, no macros, so Cell C4 was top left in the Calc window. I entered a number in D5, did Ctrl-Home and the lines were there.

While I was looking at the screen, Calc did an Auto-Save. Initially there were no white lines associated with the bottom two buttons, but they appeared after the Auto-Same.

I'm not sure if this helps.
Comment 6 Michael 2022-05-24 23:48:35 UTC
One last observation. These images are very large, about 13777483. We have about 27 different spreadsheets active. They are needed to accommodate the many different logbook formats for the various ships and years.

When I saved this spreadsheet and re-opened it, I got just one white line. I suspect I might see none or more if I did this repeatedly. However, just scrolling so the buttons on the side are completely out of view and then doing a Ctrl-Home, I see all the white lines.

I did the same thing with a different spreadsheet that has a much smaller image: 4222314. No white lines appeared mo matter how I was moving around, or if I was entering data.

So, it seems to have a problem with the very large images. Perhaps it is just my generic video card, i don't know.
Comment 7 QA Administrators 2022-05-25 03:35:56 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2023-01-11 13:21:39 UTC
(In reply to Michael from comment #4)
> I have a couple of other observations.
> 
> 1. I just noticed that when a new image is loaded, it is clean, that is no
> white lines. When I do Alt-J, which aligns the view so that the AM weather
> block is positioned nicely and sets the active cell to be the first data
> cell for the AM weather, the lines appear on the image. Because the weather
> block is aligned so that the top corner of the AM weather data is at the top
> left corner of the spreadsheet, you can't see the white lines unless you do
> a Ctrl-Home.

I tried with the last commit in the Windows 7.2 bibisect repository and the latest unstable, but I don't see the issue.

Do you still see this with 7.4?

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c68d06dfa1498f862923eaddf3e5d247650a53d5
CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_FI); UI: en-US
Calc: threaded
Comment 9 Michael 2023-01-11 15:13:43 UTC
Yes, the white lines are still there.

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-CA (en_CA); UI: en-US
Calc: threaded
Comment 10 Robert Großkopf 2023-01-12 11:35:31 UTC
Have downloaded the attached zip. 
Opened the attached file with hardware acceleration turned on, anti-aliasing turned off.
When scrolling down with mouse there appears one white line.

Tested with 
Version: 7.5.0.1 (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 6; OS: Linux 5.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

also with 
LO 7.4.4.2 on OpenSUSE 15.3 64bit rpm Linux.
Comment 11 Robert Großkopf 2023-01-12 11:53:46 UTC
Tried a little bit more: The white line depends on the buttons at the left.
When setting button Log | Events from position y = 9.7 cm to 9.6 cm the white line won't appear again.
Comment 12 Michael 2023-01-12 15:29:42 UTC
Created attachment 184616 [details]
Image showing several white lines.
Comment 13 Michael 2023-01-12 15:33:37 UTC
Sorry, I wrote a comment and I thought attaching the image would go with the comment.

The number of white lines varies, sometimes you get one, and sometimes you get several. The white lines always appear lined up with the top and/or bottom of the buttons. Each time I process the data for a new day, you get some different number of white lines. The only consistency is that any lines that appear line up with the buttons.