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

Claus Andersen sanguinius_666 at hotmail.com
Fri Jul 24 15:48:38 UTC 2015


Resending the email due to SF fault.

--Forwarded Message Attachment--
From: sanguinius_666 at hotmail.com
To: ktechlab-devel at lists.sourceforge.net
Subject: RE: [Ktechlab-devel] Latest update on github: adding components to circuits should work correctly
Date: Mon, 20 Jul 2015 20:47:45 +0000







Hi.

Had time to test it out today:

Setting component values works well now.
Pausing sim. works (but no text hint in the main window as the old ver. had) 
Deleting works

Gfx error on e.g. LED in that I can't connect a wire unless I rotate the part. 
Som gfx errors that leaves gaps at connection points on components.
(see last email with attached screen shot)

That's all I had time for. I will test more after my holiday. Keep up the good work :)

Regards,

/C


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


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


-Mplayer crew

> Date: Sat, 4 Jul 2015 23:34:25 +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 pushed a new update to the github repository:
> 
> https://github.com/ktechlab/ktechlab-0.3/commits/port-0.3.8-kde4-v1
> 
> 
> - It should fix the issue with the multiplying values of the
> components; now setting components' properties should work correctly.
> - Also now the simulation should be pausable.
> - Deleting components with the delete key should work now. Note that
> this action doesn't appear in the right-click menu, although it
> should.
> 
> Known issues:
> - it doesn't build on 64-bit version of ubuntu 14.04, this issue needs
> investigation;
> - it crashes if components are dragged "too fast" to the circuit; for
> this issue debugging inside Qt + KDE librarires is needed, because the
> crash appears inside Qt.
> - LEDs doesn't have colors (only appears in settings); needs investigation.
> 
> Feel free to test, and any feedback is welcome.
> 
> Best regards,
> 
>   Zoltan

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


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


-Mplayer crew

> Date: Wed, 8 Jul 2015 00:36:56 +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 pushed another update to github, with a few fixes.
> 
> - It should fix the crashes on "too fast" component drag. I found the
> cause of the crash being that ktechlab had been running multiple
> nested qt event loops, and when a drag event has been started in an
> "outside" event loop, and that drag event has been finished in an
> "inside" event loop, then the "outside" event loop would get confused
> and crash. The "critical" timing has been finishing a drag under
> 300ms. I'm expecting this crash to be fixed, but if somebody manages
> to reproduce it, please let me know.
> - Fixed the build on ubuntu 14.04, 64 bit, and hopefully for other 64
> bit systems, too.
> 
> Known issues (partially re-editing Claus' previous post from this thread):
> 
> - on circuit document closing, ktechlab leaks memory, in order to avoid crashes
> 
> -The orientation icons are broken; the graphics are scrambled, but
> reorienting components works.
> -There are some other gfx glitches. These are caused by the Qt3
> compatible code, which tries to paint on widgets outside of their
> paintEvent(), and this behavior is not accepted anymore in Qt4 (and
> Qt5) thus garbage appears on the screen. Also scrolling on the main
> canvas produces garbage graphics. The fix is to move all painting code
> inside the paint event, and if repainting is needed, then just send a
> repaint event.
> 
> - the color-picker for LEDs (in toolbar and item editor) is really tiny.
> - 'Scope works well, but doesn't clear 'lines' from other circuits
> when they are closed. (Y-axis scale would be nice)
> -The program uses 100% of cpu all the time.
> -I think the 'scope just keeps filling data points into RAM, because
> RAM usage climbs steadily until the virtual machine crashes (same as
> the kde3 version)
> 
> 
> Any feedback is welcome,
> 
>  Zoltan
> 
> 
> 2015-07-04 23:34 GMT+03:00 Zoltan Padrah <zoltan.padrah at gmail.com>:
> > Hi,
> >
> > I've pushed a new update to the github repository:
> >
> > https://github.com/ktechlab/ktechlab-0.3/commits/port-0.3.8-kde4-v1
> >
> >
> > - It should fix the issue with the multiplying values of the
> > components; now setting components' properties should work correctly.
> > - Also now the simulation should be pausable.
> > - Deleting components with the delete key should work now. Note that
> > this action doesn't appear in the right-click menu, although it
> > should.
> >
> > Known issues:
> > - it doesn't build on 64-bit version of ubuntu 14.04, this issue needs
> > investigation;
> > - it crashes if components are dragged "too fast" to the circuit; for
> > this issue debugging inside Qt + KDE librarires is needed, because the
> > crash appears inside Qt.
> > - LEDs doesn't have colors (only appears in settings); needs investigation.
> >
> > Feel free to test, and any feedback is welcome.
> >
> > Best regards,
> >
> >   Zoltan
> >
> >
> >
> > 2015-06-04 23:39 GMT+03:00 Claus Andersen <sanguinius_666 at hotmail.com>:
> >> 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
> >>
> >> ------------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Ktechlab-devel mailing list
> >> Ktechlab-devel at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/ktechlab-devel
> >>
> 
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> 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/20150724/9a81628c/attachment.html>


More information about the Ktechlab-devel mailing list