[Ktechlab-devel] Latest update on github: adding components to circuits should work correctly

Claus Andersen sanguinius_666 at hotmail.com
Thu Jun 4 20:39:13 UTC 2015


First of all, the drag&drop now works and the workspace updates automatically (and much more fluently than the old version I might add!) :)
I can also draw wires between components, although it's a straight line while dragging and auto-routed after I release the mouse.

Issues:
Place a resistor on the workspace, it assigns it 10k ohm. Pick it up and move it, it changes it to 1M ohm. Adding wires to the circuit and clicking it again, raises it to 100M ohm.
Changing voltage freq and clicking it again lowers it to 10 micro ohm.
Actually while writing I found a pattern: click the resistor, click another component and click the resistor again, and it multiplies the ohm value with 100.
I can't change the value to anything else once it's hit 'Mega', (to 10k or just 10 ohm) - however, I can turn it negative if I use the arrows to modify the value :S
Same with a VAC source (freq./volt.) gets multiplied.

For some reason I can't delete components, only 'cut' them.

I have the same bug with dragging components too quickly to the workspace = crash.

LED only has 'color' as setting.

That's it for my small test right now.
Great progress, keep at it :)

Regards,

Claus



--------------------------------------------------------------


umount /dev/vodka && eject /dev/stomach


-Mplayer crew

Date: Thu, 4 Jun 2015 21:38:03 +0300
From: zoltan.padrah at gmail.com
To: ktechlab-devel at lists.sourceforge.net
Subject: Re: [Ktechlab-devel] Latest update on github: adding components to circuits should work correctly


 Hi,
I've added workarounds to the issues of (1) circuit view not repainting automatically and (2) the component settings appearing too small. These are just workarounds, but they should be acceptable until I fix all of the crashes. One of the cases that intrigues me is the crash happening when I drag a component to a circuit "too fast", so that the component representation does not appear on the canvas when I release the mouse button.
The changes are on github, at the usual branch; feel free to test.
Best regards,
 Zoltan

Claus Andersen <sanguinius_666 at hotmail.com> (2015. május 31.):









Cool beans. Now the menus are populated with components and I can build a circuit :)

However, as I said in my previous email (I don't know if it made it to the mailing list), the view port is not refreshed automatically: If I place a component in the work area, it wont show up unless I move the mouse to the component list or press a menu or similar.

I can't really demonstrate it in a picture, so I hope you know what I mean.

Component settings is hidden away in the top of the toolbar no matter how I try to resize the window etc. - see attached picture.

Otherwise it compiles and runs - and even simulates! - just not automatically refreshed :)

Keep up the good work.

Regards,
Claus

         edit: picture too big apparently, anyway you should know what I mean :)
     




--------------------------------------------------------------


umount /dev/vodka && eject /dev/stomach


-Mplayer crew

Date: Sun, 31 May 2015 11:09:27 +0300
From: zoltan.padrah at gmail.com
To: ktechlab-devel at lists.sourceforge.net
Subject: [Ktechlab-devel] Latest update on github: adding components to	circuits should work correctly


 Hi,
I've pushed a new series of commits to the ktechlab 0.3 repository; the new changes should fix the showing of toolbar contents, including possibility of add components to circuits / flowcode documents.
Currently the remaining major things to fix are:- redrawing of circuits/flowcode documents is glitchy, because in current state ktechlab tries to paint widgets outside of the paint event handlers,- ktechlab appears to crash quite often when adding/moving components on circuits -- this needs further investigation.
Here is a link to the repository and branch:
https://github.com/ktechlab/ktechlab-0.3/tree/port-0.3.8-kde4-v1
Feel free to test; feedback is welcome.
The next thing on my todo list is fixing the repainting glitches.
Have fun,
 Zoltan





------------------------------------------------------------------------------
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel 		 	   		   		 	   		  


------------------------------------------------------------------------------
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20150604/c43c31a0/attachment.html>


More information about the Ktechlab-devel mailing list