kvirc / KVIrc

The KVIrc IRC Client
http://www.kvirc.net/
GNU General Public License v2.0
240 stars 75 forks source link

classeditor won't show classes apart from installer #772

Closed DarthGandalf closed 9 years ago

DarthGandalf commented 9 years ago

Reported by okgo on 23 Apr 2010 14:29:27 UTC Classeditor shows only the installer class - and no any other user defined classes. Though you can create and edit your classes in the editor, classeditor would list just the installer again after reopening - but the classes are defined and usable!

I'm using Win32 KVIrc-4.0.0-rc3-r4259-full


Migrated from: https://svn.kvirc.de/kvirc/ticket/772

DarthGandalf commented 9 years ago

Comment by ctrlaltca on 24 Apr 2010 08:09:00 I've tried under that windows build, and it seems to work for me using the following sequence:

  1. create a class in the classeditor, add a method etc..
  2. build the class and test it
  3. close kvirc
  4. re-run kvirc
  5. open classeditor, the class is there

The first need for us is being able to reproduce the bug: take care of describe the necessary steps needed to trigger the fault condition.


Resolution: none → need feedback Status: new → closed

DarthGandalf commented 9 years ago

Comment by HelLViS69 on 24 Apr 2010 13:22:19 I think the point is to refresh the list just after a class/class method is added to kvirc

DarthGandalf commented 9 years ago

Comment by okgo on 26 Apr 2010 12:09:34 Sorry for bothering you. It is true, that after KVirc restart all user defined classes are listed - shame on me I did not try it then. Still there is an issue (bug or feature?):

  1. Open classeditor
  2. Create new class
  3. Press "Save" button
  4. Close classeditor
  5. Open classeditor Expected: see new class in the list Actual: new class is not listed. Note: class is usable (%c = $new(newclassname) works) P.S: as I said, after KVirc reopening the class is listed in classeditor.

If you press button "Build", then the new class is listed after classeditor reopening. The class is usable (%c = $new(newclassname) works)

So what is the difference between Build and Save?


Resolution: need feedback → none Status: closed → reopened

DarthGandalf commented 9 years ago

Comment by HelLViS69 on 26 Apr 2010 17:08:44 Ah, now I get the point!

Build saves the class, stores its content in cache and loads it. Save saves the class in a temporary file: this is useful if you haven't finished your class yet, or it contains errors, and saves you from killing the class and reloading at every change you made


Resolution: none → invalid Status: reopened → closed

DarthGandalf commented 9 years ago

Comment by Noldor73 on 26 Apr 2010 17:56:34 Fixed today in revision 4299 :-)