Bug 131577

Summary: Texture filter in 3D-Effects dialog does not work
Product: LibreOffice Reporter: Regina Henschel <rb.henschel>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: buzea.bogdan, serval2412
Priority: low    
Version: Inherited From OOo   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=53866
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103759    
Attachments: Document to test blur effect from option "filter" in "3D Effects" dialog
Screenshot taken from OOo2.4.3

Description Regina Henschel 2020-03-25 16:16:58 UTC
Created attachment 158998 [details]
Document to test blur effect from option "filter" in "3D Effects" dialog

The 3D Effects dialog has an option "Filter" in the register "Textures". It should enable a blur effect for the filling. That had worked till OOo2.4.3 and is broken at least since OOo3.2.1.

Open attached file, select the cube and look at it with huge zoom. Set the filter on, apply, set the filter off, apply. Notice, that nothing changes.

The attached image shows a screenshot of the expected blur result, taken from OOo2.4.3.

I'm not sure what to do. There are no bug reports so far, not here and not in Apache Bugzilla. No one seems to miss the feature, which would speak for removing it totally. On the other hand the corresponding attribute dr3d:texture-filter belongs to ODF. Perhaps hide it from the UI and add a comment to the class TexturePrimitive3D until it is fixed? I do not expect a quick fix, other areas are more important.
Comment 1 Regina Henschel 2020-03-25 16:17:43 UTC
Created attachment 158999 [details]
Screenshot taken from OOo2.4.3
Comment 2 Julien Nabet 2020-03-26 19:57:10 UTC
I see "Textures" tab in 3D dialogs and Filtering button but where's "blur" effect?
Comment 3 Regina Henschel 2020-03-26 22:10:01 UTC
(In reply to Julien Nabet from comment #2)
> I see "Textures" tab in 3D dialogs and Filtering button but where's "blur"
> effect?

The button "Filter" should enable blur of the texture. If the button is pressed, the texture should be "softened". If the button is not pressed, the original texture should be used. "Blur" is a filter in image processing, often implemented as "Gaussian blur". I have used the word "effect" because pressing the button does not change the texture itself, but only the rendering. The bug is about the fact, that it does not work. You need an old OpenOffice.org version to see, how it should work.
Comment 4 Julien Nabet 2020-03-26 22:16:01 UTC
Thank you for your feedback.
So the bug can be reproduced with first LO 3.3 and considering https://en.wikipedia.org/wiki/OpenOffice.org, it seems you need OpenOffice from 2008/2009.
So the bug appeared between 2008 and 2010, is that it?
Comment 5 Julien Nabet 2020-03-26 22:37:10 UTC
Code pointer:
m_xBtnTexFilter in svx/source/engine3d/float3d.cxx (see https://opengrok.libreoffice.org/xref/core/svx/source/engine3d/float3d.cxx)
Comment 6 Regina Henschel 2020-03-27 00:22:45 UTC
(In reply to Julien Nabet from comment #4)
> Thank you for your feedback.
> So the bug can be reproduced with first LO 3.3 and considering
> https://en.wikipedia.org/wiki/OpenOffice.org, it seems you need OpenOffice
> from 2008/2009.
> So the bug appeared between 2008 and 2010, is that it?

I have got OOo2.4.3. That is from Aug 2009. And I have got OOo3.2.1. That is from May 2010. It works in OOo2.4.3 and is broken in OOo3.2.1.
Comment 7 QA Administrators 2022-09-30 03:52:33 UTC Comment hidden (obsolete)
Comment 8 Regina Henschel 2024-04-11 10:52:00 UTC
The filter is still without effect in Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c9d4f99b2bb54ac7735b3e0d0cadbafbd0279518
CPU threads: 32; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: threaded