View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001906 | Scribus | Scripter | public | 2005-04-22 08:14 | 2005-05-04 21:40 |
Reporter | TomK32 | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0cvs | ||||
Fixed in Version | 1.3.0cvs | ||||
Summary | 0001906: sizeObject() sets wrong size | ||||
Description | didn't we have such a problem earlier? | ||||
Tags | No tags attached. | ||||
Patch | |||||
related to | 0001882 | closed | Dimensions are strange in scripter |
|
It might be the same issue but it's probably not worth flagging as a dupe. Sorry for the spam. |
|
Looks like the interface of ScribusView::SizeObject(...) changed in 1.3 :-( Should all be fixed now. |
|
still wrong. Index: cmdmani.cpp =================================================================== RCS file: /cvs/Scribus/scribus/plugins/scriptplugin/cmdmani.cpp,v retrieving revision 1.7.2.23 diff -u -r1.7.2.23 cmdmani.cpp --- cmdmani.cpp 27 Apr 2005 06:26:53 -0000 1.7.2.23 +++ cmdmani.cpp 3 May 2005 20:01:50 -0000 @@ -157,7 +157,7 @@ PageItem *item = GetUniqueItem(QString::fromUtf8(Name)); if (item == NULL) return NULL; - Carrier->view->SizeItem(x, y, item->ItemNr); + Carrier->view->SizeItem(PointToValue(x), PointToValue(y), item->ItemNr); Py_INCREF(Py_None); return Py_None; } |
|
fixed; thanks. I wish the in-API unit conversion didn't exist - IMO it's awful and should be done by the user program if they want something other than points (as, eg, reportlab does - works great, and is trivially easy to use). As things are, (a) we have two different units in the API and (b) a script can call a helper function that changes the meaning of the co-ordinate system behind its back. eew!. As you may have guessed, I never use the unit scaling. In this case I forgot about it entirely, hence the error. Your reminder is appreciated, though a note saying "wrong with non default units" wouldn't have hurt either. |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-04-22 08:14 | TomK32 | New Issue | |
2005-04-22 08:20 |
|
Status | new => assigned |
2005-04-22 08:20 |
|
Assigned To | => ringerc |
2005-04-22 08:21 |
|
Projection | none => minor fix |
2005-04-22 08:21 |
|
Product Version | => 1.3.0cvs |
2005-04-26 13:12 |
|
Relationship added | related to 0001882 |
2005-04-26 13:13 |
|
Relationship replaced | duplicate of 0001882 |
2005-04-26 13:14 |
|
Relationship replaced | related to 0001882 |
2005-04-26 13:15 |
|
Note Added: 0004419 | |
2005-04-27 04:26 |
|
Status | assigned => resolved |
2005-04-27 04:26 |
|
Fixed in Version | => 1.3.0cvs |
2005-04-27 04:26 |
|
Resolution | open => fixed |
2005-04-27 04:26 |
|
Note Added: 0004429 | |
2005-05-03 17:01 | TomK32 | Status | resolved => feedback |
2005-05-03 17:01 | TomK32 | Resolution | fixed => reopened |
2005-05-03 17:01 | TomK32 | Note Added: 0004484 | |
2005-05-03 18:02 | TomK32 | Note Edited: 0004484 | |
2005-05-03 18:13 | cbradney | Status | feedback => assigned |
2005-05-04 00:34 |
|
Note Added: 0004490 | |
2005-05-04 04:03 |
|
Status | assigned => resolved |
2005-05-04 04:03 |
|
Resolution | reopened => fixed |
2005-05-04 21:40 | cbradney | Status | resolved => closed |