Bug 37594

Summary: in dialog Area tab Gradients inconsistency in behavior of UI (Editing)
Product: LibreOffice Reporter: sasha.libreoffice
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: enhancement CC: andre.schnabel, bjoern.michaelsen, christoph.spamforme, sasha.libreoffice, stgohi-lobugs, vmiklos
Priority: medium    
Version: 3.4.0 RC1   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=94551
Whiteboard: color_handling
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103223    

Description sasha.libreoffice 2011-05-25 09:55:25 UTC
To reproduce this problem:
0. Create new empty Writer/Calc/Impress/Draw document
1. Draw rectangle
2. Right click and select Area
3. Select tab Gradients
4. Select some predefined gradient, then change Centre Y or Angle paremeter
5. Press Ok. Appears dialog with question: rewrite or create new. 
IMHO it is wrong. I intend to apply this changed gradient only to selected rectangle. If I want to create new gradient, then I press button New, and when want to rewrite, then press Modify or Edit.

When Cancel is pressed, then to rectangle applies unchanged predefined gradient. When second time open dialog Area->Gradient and change parameters of gradient, then they applyes without problem.

This reproduced on LibO 3.4.rc1 on Mandriva 64 bit and Windows XP 32 bit
Comment 1 André Schnabel 2011-06-18 14:21:48 UTC
confirmed using LibO 3.4rc1 on suse linux

the behaviour in this case is "as designed" but nevertheless, it is confusing.
I see two options to solve this:

1 - completely redesign the handling of gradients, hatches etc. so that a user an directly change the area definition (without the definition af an gradient / hatch template befor)

2 - make "add" the default action whenever a user changed a gradient or hatch template (and maybe assign an automatic generated name). With this, the new template will be created silently - not leaving the user in confusion
Comment 2 Christoph 2011-06-19 05:55:42 UTC
@ Sasha: Thanks for the good description!

@ Björn: Related to color handling interaction issues (should be the same for gradients, hatches, colors, ...). Could you have a look?
Comment 3 Björn Michaelsen 2011-12-23 12:07:49 UTC Comment hidden (obsolete)
Comment 4 sasha.libreoffice 2011-12-25 06:16:01 UTC
in LibO 3.5.0 beta 1 still exist
Comment 5 A (Andy) 2013-12-28 16:12:53 UTC
I am not sure if this is really only an enhancement or rather an UI bug (reproducible with LO 4.1.4.2 [Win8]).

@Miklós: Could this maybe be something for you?
Comment 6 Yousuf Philips (jay) (retired) 2016-10-16 17:01:50 UTC
The dialog that appears to ask if you want to create a new gradient was removed during bug 94551.