Description: The grey squares in the corners of the page, visible in the screenshot, don't appear when using other themes, including non-dark Colibre. The squares appear in all four corners. Steps to Reproduce: 1. Start with an icon theme other than dark versions of Colibre. The page is displayed normally. 2. Options - LibreOffice - View - Icon Theme - Theme: select Colibre (dark) or Colibre (SVG + dark). 3. Apply the change. The page is still displayed normally. 4. Restart Writer. The problem appears. Actual Results: Small grey squares appear in the four corners of the page. Expected Results: The page is displayed normally, as with other themes (Elementary or Breeze dark, for example). Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.5.1.2 (X86_64) / LibreOffice Community Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129 CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Flatpak Calc: threaded Linux Mint 21.1, Cinnamon, 4k display at 2x scaling. Also tested the AppImage, same problem.
Created attachment 186281 [details] screenshot showing the problem
Created attachment 186282 [details] The problem also appears in Print Preview mode.
Confirmed, but have been seeing these dark corner marks with Colibre dark icon theme for quite some time. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4daeb21a5f533144fd6b3bc397a98f37e5b1dd4c CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Additional info: the issue does not appear either in Impress, or in Calc's Print Preview.
Created attachment 186498 [details] screenshot Green in my case Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f92721bf182952be88b0349a17e46b684d630c29 CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
(In reply to BogdanB from comment #5) You mean it works OK in your case? Not that the corner marks are "green", right?
(In reply to V Stuart Foote from comment #6) > (In reply to BogdanB from comment #5) > > You mean it works OK in your case? Not that the corner marks are "green", > right? I'm not sure if it's the same bug, but I noticed that green corners also. So, not ok. In the reporter screenshot the marks are on paper corners, in my case are on the background corners.
(In reply to BogdanB from comment #7) > (In reply to V Stuart Foote from comment #6) > > (In reply to BogdanB from comment #5) > > > > You mean it works OK in your case? Not that the corner marks are "green", > > right? > > I'm not sure if it's the same bug, but I noticed that green corners also. > So, not ok. In the reporter screenshot the marks are on paper corners, in my > case are on the background corners. Oh sorry, I simply missed the green square artifact way left on the AppFrame of the clip, was looking at the top document canvas corners. I guess it could be related, does it change with the icon theme change?
I made these steps: - change the Icon Theme - close the document - open a new document The green area is there for all themes, until I move the scroll, or I change the zoom. So, it seems it's a rendering issue.
I don't repro anymore. Somehow it was fixed. Bogdan (reporter), do you reproduce it on a newer version?
(In reply to BogdanB from comment #10) > I don't repro anymore. Somehow it was fixed. > > Bogdan (reporter), do you reproduce it on a newer version? I'm still seeing the gray marks on cornet of writer document background canvas with current nightly against 7.6.0, with default "system" appearance mode picking up UI in "dark" color theme, and the "Automatic (Colibre)" icon theme's rendering the dark variant. When I force the appearance mode to "Light" and the "Automatic (Colibre)" icon theme shifts to its light variant the writer document background do not show the gray marks. So affecting the Windows dark theme support only. It is not a Skia rendering issue as it also is visible with Skia diabled to use GDI+ default rendering. =-testing-= Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: e08c910f9ee520ce00fe99d6dab9988138996ee3 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded likewise with release build Version: 7.5.3.2 (X86_64) / LibreOffice Community Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded
Repro again Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: f3aab159f1c1e00c25e6b4ca1e50813bc343f4f3 CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
It's page-shadow-mask.png, that should not be dark.
(In reply to BogdanB from comment #5) > Created attachment 186498 [details] > > Green in my case Please note that *this* green rectangle is unrelated, specific only to dbgutil builds, and is intentionally drawn here: https://opengrok.libreoffice.org/xref/core/sw/source/core/layout/layact.cxx?r=2f5bffaf&mo=85563&fi=2251#2239
Heiko, do you remember if there is a special case, that page shadow isn't shown in dark mode? (I don't remember where that code is) If so, then the bitmap from comment 13 could be simply blank in this mode?
I found just this 3 occurrences for page-shadow-mask.png /core/icon-themes/colibre/sw/res/ /core/icon-themes/colibre_dark/sw/res/ /core/icon-themes/karasa_jaga/sw/res/
(In reply to Mike Kaganski from comment #15) > Heiko, do you remember if there is a special case, that page shadow isn't > shown in dark mode? Nope. But how about lcl_paintBitmapExToRect() called from SwPageFrame::PaintBorderAndShadow() in sw/source/core/layout/paintfrm.cxx?
*** Bug 157294 has been marked as a duplicate of this bug. ***
Reproduced in 7.4 too, when Colibre (dark) was introduced: Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 122e9364ab297661ed91854f192c7a880eb08634 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded