Bug 130099 - UNO control for setting line and area transparency of Draw objects for use on toolbars
Summary: UNO control for setting line and area transparency of Draw objects for use on...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: UNO-Command-New
  Show dependency treegraph
 
Reported: 2020-01-20 22:56 UTC by Leandro Martín Drudi
Modified: 2020-05-11 15:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
New feature proposed. (21.82 KB, image/png)
2020-01-20 22:57 UTC, Leandro Martín Drudi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leandro Martín Drudi 2020-01-20 22:56:23 UTC
Description:
Add a combo box that allows you to apply transparencies. The effect should be for one or more selected objects o shapes.

Steps to Reproduce:
1. Select an shape o object (image, for example).
2. Write a value between 0 and 100 to apply transparency.

Actual Results:
If they are two different color shapes, when editing the transparency from the dialog box, a single color is applied for everything with the transparency selected.
If it is an image, it does not apply transparency and it would be interesting that it could be done, as far as possible (as an additional suggestion).

Expected Results:
Only apply transparency while maintaining all other features.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
If there is any feature that does not support transparency, indicate that they are not compatible and should be removed from the selection.

For example:
One or more shapes have fills applied that do not support transparency (pattern, gradient, etc.). Remove these objects from the selection and try again.

You might even have a help button that takes you to information related to fillers that are not compatible.
Comment 1 Leandro Martín Drudi 2020-01-20 22:57:57 UTC
Created attachment 157284 [details]
New feature proposed.
Comment 2 V Stuart Foote 2020-05-09 15:13:12 UTC
Area fill and Line for Draw objects can already be set transparent from the Sidebar Properties deck [1][2] but it would be helpful to provide/modify UNO for the Spinbox control for use to customize for use on Toolbars.

This would complement UNO uno:GrafTransparence already providing transparency settings for raster Image and vector Graphic objects on canvas, from the 'Image' toolbar, or for alternate customization.

For OP, Draw shapes are distinct class of objects to Image/graphic objects--so expose the 'Drawing' toolbar rather than the 'Image' toolbar. Transparency controls are already provide on toolbar for Images/graphics. 


=-refs-=
[1] https://opengrok.libreoffice.org/xref/core/svx/source/sidebar/area/AreaPropertyPanelBase.cxx?r=f94caa1a#85

[2] https://opengrok.libreoffice.org/xref/core/svx/source/sidebar/line/LinePropertyPanelBase.cxx?r=5838b62e#84
Comment 3 Heiko Tietze 2020-05-11 14:52:04 UTC
I don't see much need for dedicated UNO commands since the sidebar apprach seems to be sufficient to me. If we add them it should be for customization and not added by default.
Comment 4 V Stuart Foote 2020-05-11 15:12:11 UTC
(In reply to Heiko Tietze from comment #3)
> I don't see much need for dedicated UNO commands since the sidebar apprach
> seems to be sufficient to me. If we add them it should be for customization
> and not added by default.

Would think hidden by default, but already provided, on the 'Drawing' toolbar for users to enable without having to hunt for the customization. Either way the transparency spin box for lines and for area fill would need a suitable UNO control.