QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version 3 RC4
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by kurt - 10.03.2012
Last edited by Andrew - 13.03.2012

FS#520 - move entity from command line is broken on ubuntu 64 bit

when I try to move an entity via the command line using the mv command the entity does not move to the specified position. it works if i use the mouse. this was fine in rc2 and rc3 ubuntu 64 bit and windows 64 bit machines.

Closed by  Andrew
13.03.2012 09:43
Reason for closing:  Fixed
Admin
Andrew commented on 10.03.2012 20:55

Unable to reproduce here.

Please include exact steps (command line input, clicks, etc) to reproduce.

kurt commented on 10.03.2012 22:13

launch qcad trial from command line (terminal) with ./qcad-trial

in qcad draw a line segment with the mouse (angled 45 degrees length 10 mm)
select the line segment
type the command mv
type the command se
select the first vertex of the line segment
press the space bar
type the command @0,25
press enter
select the delete original
select OK button

the line does not move 25 mm in the y-direction. sometimes it moves randomly sometimes it does not move at all.

Admin
Andrew commented on 11.03.2012 16:27

Can you please make sure that the position of the relative zero point is not locked (Snap - Lock Relative Zero)?

When choosing the reference point, a small red circle should appear at the reference point if the relative zero point position is not locked.
You also might want to try to enter an absolute coordinate to figure out if this is connected to the relative zero point at all.

Thanks.

kurt commented on 12.03.2012 11:35

@andrew

i just tried the same set of commands on my windows machine at work and it preforms correctly.

i will make a video tonight of the steps that produce the bug on my ubuntu machine as well as the notes you made above and report back.

Admin
Andrew commented on 13.03.2012 09:42

I am now able to reproduce this and the problem is fixed for the next update.

Thanks for the report.

kurt commented on 13.03.2012 12:02

@andrew

is this a change to a javascript element or to the kernel? if it is a .js modification can you post what it is so I can make the change manually on my machine?

Admin
Andrew commented on 13.03.2012 13:07

I cannot post the while files since other things have changed that will break with RC4.

But here are the files / functions you'd have to adjust (you might want to backup the original files first):

EAction.js:

"EAction.prototype.setState: invalid state"

Translate.js:

// dialog cancelled:
 

Please let me know if there are any problems with this patch as I might have forgotten something.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing