Bug 87702 - SIDEBAR: Shadow content panel for Properties tab
Summary: SIDEBAR: Shadow content panel for Properties tab
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: target:5.1.0
Keywords:
: 93129 (view as bug list)
Depends on:
Blocks: Sidebar-Properties-New-Content-Panels
  Show dependency treegraph
 
Reported: 2014-12-25 11:55 UTC by Yousuf Philips (jay)
Modified: 2017-07-13 09:56 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
how the shadow properties look in iwork and calligra sidebars (30.19 KB, image/png)
2015-03-16 18:21 UTC, Yousuf Philips (jay)
Details
shadow section mockup (30.07 KB, image/png)
2015-03-17 02:14 UTC, Yousuf Philips (jay)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) 2014-12-25 11:55:28 UTC
The Area dialog has 3 tabs in it (Fill, Shadow, Transparency) but the sidebar only has settings for 2 (Fill, Transparency). So it would be useful to add the shadow features, the least of which would be angle (drop down list), color and transparency.
Comment 1 Cor Nouws 2014-12-28 20:30:03 UTC
Hi Jay,

Looks as a no-brainer initially.. however:

(In reply to Jay Philips from comment #0)
> The Area dialog has 3 tabs in it (Fill, Shadow, Transparency) 

It has 7 for a selected Shape in Writer.
That dialog does not exist for a selected Image in Writer..

Where did you see it :) ?

Do we run the risk that the current options in the Side Bar cater for all - though limited, but that adding more is complicated for all situations?

Thanks,
Cor
Comment 2 Yousuf Philips (jay) 2014-12-28 20:50:37 UTC
Hey Cor,

(In reply to Cor Nouws from comment #1)
> It has 7 for a selected Shape in Writer.
> That dialog does not exist for a selected Image in Writer..

4 to 7 are means of modifying the options for selection in the Area/Fill tab. e.g. In the colors tab, you can create/modify a color, but you still have to go to the Area/Fill tab to set the area as that color. Those tabs are there because of the lack of customization of those options from the Area/Fill tab.

> Do we run the risk that the current options in the Side Bar cater for all -
> though limited, but that adding more is complicated for all situations?

We would ideally want the basic features to be visible (i did this by leaving out the shadow distance field) and if a user wants more, he/she opens the dialog. Its always a hard thing to determine what are the basic features that should be displayed.
Comment 3 Cor Nouws 2014-12-28 22:03:53 UTC
Thanks Jay. Convincing explanation.
Comment 4 Yousuf Philips (jay) 2015-03-16 18:21:27 UTC
Created attachment 114135 [details]
how the shadow properties look in iwork and calligra sidebars
Comment 5 Yousuf Philips (jay) 2015-03-17 02:14:34 UTC
Created attachment 114141 [details]
shadow section mockup
Comment 6 Yousuf Philips (jay) 2015-03-17 02:32:48 UTC
Forgot to mention that the angle drop down list has angles in 45 degree intervals and the distance drop down has values from 0pt to 50pt in intervals of 5s.
Comment 7 Yousuf Philips (jay) 2015-03-21 20:46:11 UTC
Just to clarify the mockup :-
Angle: Contain a list of degrees in 45 degree intervals.
Distance: Contains a list of values including 0, 1, 2, 4, 6, 8, 10, .... 20 pt

The mockup will work correctly in calc, impress and draw but wont in writer. With writer, there isnt an option to modify the transparency of the shadow found in the image dialog's border tab. Also the border section only has 4 shadow angle values - 45, 135, 225, and 315.
Comment 8 Rishabh 2015-06-12 17:53:57 UTC
Turns out pts is a very small unit for the distance(15pts = 0.02 cm). Need for another set of preset values.
Comment 9 Yousuf Philips (jay) 2015-06-12 19:01:01 UTC
When the app is set to inches, in the dialog, the up and down arrows jump 0.02". When it set to centimeters, the up and down arrows jump by 0.10cm. When it set to points, the up and down arrows jump by 10pt. When it jumps by 10pt, it seem to be equivalent to 0.40cm. So it jumping by equivalent increments of 0.10cm is fine.
Comment 10 Commit Notification 2015-07-08 15:34:42 UTC
Rishabh Kumar committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=cc43153f466135b959605add37ccd9443852c185

tdf#87702: Addition of Shadow sidebar tab

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 11 Maxim Monastirsky 2015-08-05 05:39:38 UTC
*** Bug 93129 has been marked as a duplicate of this bug. ***
Comment 12 Yousuf Philips (jay) 2015-08-31 12:03:50 UTC
So i was doing some testing of the behaviour and noticed that if a shape had a previously set angle and distance, if the enabled button is disabled when clicking on the object, then angle and distance will both show 0, while transparency and color will be the correct values.
Comment 13 Yousuf Philips (jay) 2015-08-31 12:05:13 UTC
Sorry for the ux-advise noise.
Comment 14 Xisco Faulí 2017-07-13 09:56:36 UTC
Setting Assignee back to default. Please assign it back to yourself if you're still working on this issue