Closed Bug 1857185 Opened 1 year ago Closed 2 months ago

Collabora Online spreadsheet shows uneven lines, specially noticeable on dark mode

Categories

(Core :: Graphics: Canvas2D, defect)

Firefox 115
defect

Tracking

()

RESOLVED DUPLICATE of bug 1933668
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- fixed
firefox118 --- wontfix
firefox119 --- wontfix
firefox120 --- wontfix
firefox121 --- wontfix
firefox122 --- wontfix
firefox133 --- wontfix
firefox134 --- fixed
firefox135 --- fixed

People

(Reporter: timur, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image Grid.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0

Steps to reproduce:

We are using Collabora Online with spreasheet in a browser.
In recent Firefox, like 115, grid does not look good.

Actual results:

Grid is darker, thicker lines with white background, and it every couple of rows the grid gets dimmer, especia;;y visible in dark background.

Expected results:

Grid is thin and crisp as it was.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Grid' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Grid
Product: Firefox → Core
Attached image Grid-dark.png

Grid dark

Can you share a URL where this happens? I didn't find a free demo page or something. I tried to request a demo account to collabora but it's not instant :)

This is probably in the wrong component (more likely to be a canvas issue of sorts). Some questions:

  • Can you attach your about:support information?
  • Lacking a way to reproduce, would you be able to look for a regression range using mozregression? Something like this if you're on Linux:
$ pip3 install --user mozregression
$ MOZ_DISABLE_CONTENT_SANDBOX=1 mozregression --good 102 --bad 115 -a <url>

Assuming Firefox 102 works fine for you. That'd pin point when it started which would be immensely useful. Thanks.

Flags: needinfo?(timur)

Online demo should be available from https://www.collaboraoffice.com/collabora-online/.
Here is a link to spreadsheet https://staging.eu.collaboraonline.com/nextcloud/index.php/s/4p7ybEntkF866Nj pass is CO123
Please also try View-Dark mode.

Please try. I may send about:support but that should not be needed, we all se this issue and is also reported at https://github.com/CollaboraOnline/online/issues/7316.

I will try mozregression. Thanks.

Flags: needinfo?(timur)

Last good revision: b6075e0dc768ad48e54aba5e8bc5ce8499a30341
First bad revision: a3eb3df78c8bb32dcaff0fab5674c777c7ba04ef
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=b6075e0dc768ad48e54aba5e8bc5ce8499a30341&tochange=a3eb3df78c8bb32dcaff0fab5674c777c7ba04ef

Thanks, that's awesome. I can repro with the link in comment 4 (and the spreadsheet is indeed a 2d canvas). Moving to the relevant component.

Status: UNCONFIRMED → NEW
Component: Layout: Grid → Graphics: Canvas2D
Ever confirmed: true
Keywords: regression
Regressed by: 1834079
Summary: Grid is broken → Collabora Online spreadsheet shows uneven lines, specially noticeable on dark mode

Now that you provided such a fine bisect tool, I found also a previous regression in Firefox 109, with thicker lines in the upper part of Calc sheet, seen well in dark mode. Hopefully this is the commit.

Last good revision: 6a4feb11b8f72137f1ea38cb489d433bd52724ff
First bad revision: c1d54f41f9841220b2b469ab1590804090d2e16a
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6a4feb11b8f72137f1ea38cb489d433bd52724ff&tochange=c1d54f41f9841220b2b469ab1590804090d2e16a

Can you file that one separately? It might have the same underlying issue as this one or it might not, so better to track in a different bug :)

Attached image Grid-dark-109.png

Grid dark upper part NOK from 109.

I may file, but I would rather see what will happen here. If not resolved, I will file, now it is clear. Thanks.

Set release status flags based on info from the regressing bug 1834079

:lsalzman, since you are the author of the regressor, bug 1834079, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(lsalzman)
Severity: -- → S3

:bhood we are in the final week of beta for Fx119 - does this have a priority for a fix soon or will it be in a later release.

Flags: needinfo?(bhood)

Right now, Lee is working on off-main-thread Canvas support for Speedometer 3, and that's his highest priority until it lands. Tim, do you think this is something you could handle?

Flags: needinfo?(bhood) → needinfo?(tnikkel)

I'll take a look. (leaving needinfo)

I am using canvas-rr to get a recording of this to hopefully produce a small reproducible testcase. canvas-rr seems to be needed to be extended to support serializing and de-serializing ImageData objects, started working on that.

Set release status flags based on info from the regressing bug 1834079

Bug 1867194 is a similar looking bug that is regressed by the same bug, but it's testcase is much simply. Might be easier to debug that.

Flags: needinfo?(tnikkel)
Flags: needinfo?(lsalzman)

There is another non-cosmetic aspect of this: when cells are merged, they do not appear so, whcih confuses users of Collabora Online.

Status: NEW → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1933668
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: