Bug 153801 - Transparency in the About dialog is showing the window behind the image (gen and kf5)
Summary: Transparency in the About dialog is showing the window behind the image (gen ...
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-02-24 12:18 UTC by Rafael Lima
Modified: 2023-03-14 12:45 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (224.80 KB, image/png)
2023-02-24 12:18 UTC, Rafael Lima
Details
Cell appearance (sidebar) (5.06 KB, image/png)
2023-03-06 12:46 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2023-02-24 12:18:59 UTC
Created attachment 185564 [details]
Screenshot showing the problem

Since a few days ago, the About dialog is being drawn weirdly. Basically, the transparent portions of the images are being applied to the window itself, and then it shows what is behind the window.

See attached image for more details.

This issue affects gen and kf5 (but does not affect gtk3).

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 29d795b772cb75ee1d12cc6bcd4d905f1c520a79
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Xisco Faulí 2023-02-24 12:37:31 UTC
Regression introduced by:

author	Noel Grandin <noelgrandin@gmail.com>	2023-02-05 11:29:27 +0100
committer	Noel Grandin <noel.grandin@collabora.co.uk>	2023-02-23 06:12:39 +0000
commit 6d404f9ccad3ac6a7ffb83876ae7a656bc2d4547 (patch)
tree 8688c69d4477205df67db28eaa1e0849befcca9d
parent e4fb37353e2f9f998c028319c5fa083bf3eaa4cc (diff)
make create_virtual_device not use a separate alpha layer

Bisected with: bibisect-linux64-7.6

Adding Cc: to Noel Grandin
Comment 2 Noel Grandin 2023-02-24 12:39:22 UTC
Wow, that is a cool effect!
Comment 3 Rafael Lima 2023-03-06 12:46:51 UTC
Created attachment 185793 [details]
Cell appearance (sidebar)

I believe this bug is affecting other areas of the UI as well. For instance, in Calc open the "Properties" sidebar and go to the "Cell Appearance" section. Notice that the same problem is visible.

One interesting finding here. When you open Calc, if the sidebar is already visible upon start, the problem does not happen. But closing and opening the sidebar will make the problem appear.
Comment 4 Patrick (volunteer) 2023-03-09 23:22:04 UTC
I can reproduce this bug on macOS as well but only when Skia is disabled.

I have the following fix in progress for macOS and iOS, but I assume that the gen and kf5 rendering code will need similar fixes:

https://gerrit.libreoffice.org/c/core/+/148560
Comment 5 Commit Notification 2023-03-10 15:44:25 UTC
Noel Grandin committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/3191c67deefa13f8c664e0ea1ed27c218b1b6144

tdf#153801 fix transparency in About dialog on gen/kf5

It will be available in 7.6.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 6 Rafael Lima 2023-03-14 12:45:35 UTC
Verified with

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1bc004f67feb51beb00113cedd5f98a1e6e2bcdd
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

Thanks Noel for the fix =)