View Issue Details

IDProjectCategoryView StatusLast Update
0013498ScribusUser Interfacepublic2024-01-02 19:23
Reporteraliyousuf Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Platformubntue 14.04 
Product Version1.5.1svn 
Summary0013498: Move vector dialog lacks to "Reset" button
DescriptionAdd "Reset" button on "Move vector dialog"
Steps To Reproduce1. Choose menu item "Insert -> Insert Polygon -> Properties...".
2. Type 30 in the "Corners" text field - you can experiment with the number of corners.
3. Check the "Apply Factor" checkbox.
4. Use a "Factor" of -15% (that's minus 15%) to make the shape concave - again, you can experiment with this.
5. Use a "Curvature" of 30% just to round it off a bit - and again, change this to suit.
6. OK the dialog box.
7. Draw the shape to the size you require - try and make it as square as possible though.
8. Select the shape and go to the "Colours" tab in the "Properties" palette.
9. Click on the "Fill" icon and select any colour
10.Click on the " " Stroke. incon and select "Gradient" on drop down list
11. select ("Linear" or "Radial" ) than click on "Move Vector" button.

you see can not reset the value Move Vector dialog
TagsNo tags attached.
PatchYes

Activities

aliyousuf

2015-11-03 18:30

reporter  

pat.patch (3,828 bytes)   
Index: scribus/ui/gradientvectorbase.ui
===================================================================
--- scribus/ui/gradientvectorbase.ui	(revision 20526)
+++ scribus/ui/gradientvectorbase.ui	(working copy)
@@ -9,8 +9,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>251</width>
-    <height>180</height>
+    <width>295</width>
+    <height>195</height>
    </rect>
   </property>
   <property name="minimumSize">
@@ -30,9 +30,18 @@
      </property>
      <widget class="QWidget" name="pageLinear">
       <layout class="QGridLayout" name="gridLayout_3">
-       <property name="margin">
+       <property name="leftMargin">
         <number>5</number>
        </property>
+       <property name="topMargin">
+        <number>5</number>
+       </property>
+       <property name="rightMargin">
+        <number>5</number>
+       </property>
+       <property name="bottomMargin">
+        <number>5</number>
+       </property>
        <item row="0" column="0">
         <widget class="QLabel" name="label">
          <property name="text">
@@ -118,13 +127,29 @@
          </property>
         </widget>
        </item>
+       <item row="2" column="3">
+        <widget class="QPushButton" name="ResetButton1">
+         <property name="text">
+          <string>Reset</string>
+         </property>
+        </widget>
+       </item>
       </layout>
      </widget>
      <widget class="QWidget" name="pageRadial">
       <layout class="QGridLayout" name="gridLayout">
-       <property name="margin">
+       <property name="leftMargin">
         <number>5</number>
        </property>
+       <property name="topMargin">
+        <number>5</number>
+       </property>
+       <property name="rightMargin">
+        <number>5</number>
+       </property>
+       <property name="bottomMargin">
+        <number>5</number>
+       </property>
        <item row="0" column="0">
         <widget class="QLabel" name="label_8">
          <property name="text">
@@ -957,5 +982,86 @@
   <include location="local">ui/scrspinbox.h</include>
  </includes>
  <resources/>
- <connections/>
+ <connections>
+  <connection>
+   <sender>ResetButton1</sender>
+   <signal>clicked()</signal>
+   <receiver>gY2</receiver>
+   <slot>clear()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>241</x>
+     <y>134</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>243</x>
+     <y>96</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>ResetButton1</sender>
+   <signal>clicked()</signal>
+   <receiver>gX2</receiver>
+   <slot>clear()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>204</x>
+     <y>142</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>138</x>
+     <y>98</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>ResetButton1</sender>
+   <signal>clicked()</signal>
+   <receiver>gSk</receiver>
+   <slot>clear()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>195</x>
+     <y>153</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>133</x>
+     <y>149</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>ResetButton1</sender>
+   <signal>clicked()</signal>
+   <receiver>gY1</receiver>
+   <slot>clear()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>224</x>
+     <y>135</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>273</x>
+     <y>54</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>ResetButton1</sender>
+   <signal>clicked()</signal>
+   <receiver>gX1</receiver>
+   <slot>clear()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>228</x>
+     <y>136</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>138</x>
+     <y>53</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
 </ui>
pat.patch (3,828 bytes)   

aliyousuf

2015-11-03 18:31

reporter  

aliyousuf

2015-11-03 18:32

reporter   ~0037197

Add "Reset" button on "Move vector dialog"

Kunda

2015-11-03 22:02

updater   ~0037202

Last edited: 2015-11-03 22:03

patching file scribus/ui/gradientvectorbase.ui
patch unexpectedly ends in middle of line
Hunk # 4 FAILED at 982.
1 out of 4 hunks FAILED -- saving rejects to file scribus/ui/gradientvectorbase.ui.rej
Error: Failure while executing: /usr/bin/patch -g 0 -f -p0


Kunda

2015-11-14 13:21

updater   ~0037480

I think a 'reset' button here is a good idea.
Does the patch address that ? I can't build it for some reason.

Issue History

Date Modified Username Field Change
2015-11-03 18:30 aliyousuf New Issue
2015-11-03 18:30 aliyousuf File Added: pat.patch
2015-11-03 18:31 aliyousuf Tag Attached: HOST-Oman
2015-11-03 18:31 aliyousuf File Added: Screenshot from 2015-11-03 22:26:47.png
2015-11-03 18:32 aliyousuf Note Added: 0037197
2015-11-03 22:02 Kunda Note Added: 0037202
2015-11-03 22:03 Kunda Note Edited: 0037202
2015-11-04 04:40 aliyousuf Tag Detached: HOST-Oman
2015-11-04 11:54 Kunda Patch No => Yes
2015-11-04 11:54 Kunda Steps to Reproduce Updated
2015-11-05 12:23 Kunda Sticky Issue No => Yes
2015-11-14 13:21 Kunda Note Added: 0037480
2024-01-02 19:23 cbradney Sticky Issue Yes => No