Mantis Issue Tracking for Scribus
· Hosting provided by Anduin.net / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010715ScribusShape Drawingpublic12-May-21 00:3112-Jun-19 20:35
Reportergpittman 
Assigned Tocbradney 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.4.1 
Target VersionFixed in Version1.4.2.svn 
Summary0010715: cannot create a Polygon from the menu Insert > Polygon
DescriptionFails to activate the mouse to draw the polygon.
You can bring up the dialog to choose features of the polygon, but then nothing...
Not working in 1.4.2svn either.

Working Ok in 1.5.0
Steps To ReproduceClick Insert > Polygon > Properties
Click Ok, with or without adjustments.

Mouse not activated for drawing the polygon.
Toolbar and keyboard shortcut work Ok.
TagsNo tags attached.
Attached Filesdiff file icon polygon_patch.diff [^] (805 bytes) 12-May-21 02:50 [Show Content]

- Relationships

-  Notes
(0028019)
gpittman (developer)
12-May-21 02:32

Here is something that fixes the problem, found by looking at the differences between 1.4.1 and 1.5.0.

In the file scribus/ui/modetoolbar.cpp, line 93 (in 1.4.1svn):

    if (dia->exec())
        dia->getValues(&m_ScMW->doc->toolSettings.polyC, &m_ScMW->doc->toolSettings.polyFd, &m_ScMW->doc->toolSettings.polyF, &m_ScMW->doc->toolSettings.polyS, &m_ScMW->doc->toolSettings.polyR, &m_ScMW->doc->toolSettings.polyCurvature);
    delete dia;

should be:(?)

    if (dia->exec())
    {
        dia->getValues(&m_ScMW->doc->toolSettings.polyC, &m_ScMW->doc->toolSettings.polyFd, &m_ScMW->doc->toolSettings.polyF, &m_ScMW->doc->toolSettings.polyS, &m_ScMW->doc->toolSettings.polyR, &m_ScMW->doc->toolSettings.polyCurvature);
        m_ScMW->scrActions["toolsInsertPolygon"]->trigger();
    }
    delete dia;
(0028020)
gpittman (developer)
12-May-21 02:51
edited on: 12-May-21 03:47

I added my first attempt to submit a patch file...hope it works.

Tried it on another computer, and patch was applied correctly.


- Issue History
Date Modified Username Field Change
12-May-21 00:31 gpittman New Issue
12-May-21 02:32 gpittman Note Added: 0028019
12-May-21 02:50 gpittman File Added: polygon_patch.diff
12-May-21 02:51 gpittman Note Added: 0028020
12-May-21 03:47 gpittman Note Edited: 0028020 View Revisions
12-May-21 17:57 cbradney Assigned To => cbradney
12-May-21 17:57 cbradney Status new => assigned
12-May-21 18:01 cbradney Status assigned => resolved
12-May-21 18:01 cbradney Fixed in Version => 1.4.2.svn
12-May-21 18:01 cbradney Resolution open => fixed
12-Jun-19 20:35 cbradney Status resolved => closed



Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker