Bug 123804 - Can not select AREA Fill / Style PATTERN for objects / shapes in WRITER TOOLBAR
Summary: Can not select AREA Fill / Style PATTERN for objects / shapes in WRITER TOOLBAR
Status: RESOLVED DUPLICATE of bug 128612
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes Writer-Toolbars
  Show dependency treegraph
 
Reported: 2019-03-02 10:45 UTC by Christoffer
Modified: 2021-07-20 20:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoffer 2019-03-02 10:45:24 UTC
Description:
You do not get any alternatives when selecting a Fill Pattern for objects or shapes in Writer from the Area Toolbar drop-down menu. Patterns themselves appear to work fine.

A simple workaround exists; right-click the object, click Area... and select Pattern. Selecting an option from this dialogue works fine.

LO Draw component is not affected by this bug.

Steps to Reproduce:
1. Create any shape.
2. From the Area Style / Filling drop-down menu, select Pattern.

Actual Results:
Notice how there are no options to select from.

Expected Results:
The same options should be displayed like you get if you right click the shape, click Area... and select Pattern.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.2.1.2 (x64)
Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: sv-SE (sv_SE); UI-Language: en-US
Calc: CL
Comment 1 Dieter 2019-03-02 12:29:43 UTC
I confirm this with

Version: 6.3.0.0.alpha0+ (x64)
Build ID: f42554a1886ebe49170c25096dc3281b2c7bb1f4
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-08_22:37:30
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded

and also with

Version: 6.1.5.2 (x64)
Build-ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group threaded

Additional information:
It also works with area properties in the sidebar
Comment 2 Dieter 2019-03-02 12:40:05 UTC
Reproducible also in

Version: 5.4.7.2 (x64)
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.19; UI-Render: GL; 
Gebietsschema: de-DE (de_DE); Calc: CL
Comment 3 Julien Nabet 2019-03-03 09:48:36 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed this on console:
warn:legacy.osl:27322:27322:svx/source/tbxctrls/fillctrl.cxx:512: Non supported FillType (!)

The problem is FillStyle (https://opengrok.libreoffice.org/xref/core/offapi/com/sun/star/drawing/FillStyle.idl?r=3ed31af5) contains only:
NONE, SOLID, GRADIENT, HATCH and BITMAP.

In sidebar part, there's an enum, see https://opengrok.libreoffice.org/search?project=core&full=%22enum+eFillStyle%22&defs=&refs=&path=&hist=&type=&si=full
enum eFillStyle
{
    NONE,
    SOLID,
    GRADIENT,
    HATCH,
    BITMAP,
    PATTERN
};

PATTERN is considered as special case of BITMAP.

So I suppose we should copypaste the same mechanism.
Comment 4 Gerhard Weydt 2019-11-05 23:20:43 UTC
(In reply to Christoffer from comment #0)
> Description:
> You do not get any alternatives when selecting a Fill Pattern for objects or
> shapes in Writer from the Area Toolbar drop-down menu. Patterns themselves
> appear to work fine.
> 
> A simple workaround exists; right-click the object, click Area... and select
> Pattern. Selecting an option from this dialogue works fine.
> 
> LO Draw component is not affected by this bug.
> 
> Steps to Reproduce:
> 1. Create any shape.
> 2. From the Area Style / Filling drop-down menu, select Pattern.
> 
> Actual Results:
> Notice how there are no options to select from.
> 
> Expected Results:
> The same options should be displayed like you get if you right click the
> shape, click Area... and select Pattern.
> 
> 
> Reproducible: Always
> 
> 
> User Profile Reset: Yes
> 
> 
> 
> Additional Info:
> Version: 6.2.1.2 (x64)
> Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
> CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
> Locale: sv-SE (sv_SE); UI-Language: en-US
> Calc: CL

I completely agree with the bug description, but the statement that Draw is not affected is certainly wrong, the behaviour is the same. I entered a bug with a somewhat wider scope, using component Draw, which must be the core reason of the problem, with a reference to this bug report.
Comment 5 Katarina Behrens 2021-07-20 20:43:12 UTC

*** This bug has been marked as a duplicate of bug 128612 ***