Bug 281170 - C++ code generation wizard is buggy
Summary: C++ code generation wizard is buggy
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on: 413569 413574
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-01 14:12 UTC by greatbunzinni
Modified: 2020-01-12 11:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 2.29.90 (KDE Applications 19.11.90)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description greatbunzinni 2011-09-01 14:12:05 UTC
Version:           unspecified (using KDE 4.6.5) 
OS:                Linux

With Umbrello 2.6.5, the C++ code generation wizard is terribly buggy.  Among the shortcomings, it generates an awful lot of blank lines (i.e., 30 blank lines in a row), it fails to properly include the header file which are generated by it and it automatically defines all member functions of an interface class as being pure virtual member functions.

Reproducible: Didn't try




OS: Linux (x86_64) release 2.6.38-11-generic
Compiler: cc
Comment 1 Andrew Crouthamel 2018-11-06 15:13:45 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Andrew Crouthamel 2018-11-18 03:36:07 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Oliver Kellogg 2020-01-11 11:24:42 UTC
(In reply to greatbunzinni from comment #0)
> Version:           unspecified (using KDE 4.6.5) 
> OS:                Linux
> 
> With Umbrello 2.6.5, the C++ code generation wizard is terribly buggy. 
> Among the shortcomings, it generates an awful lot of blank lines (i.e., 30
> blank lines in a row), it fails to properly include the header file which
> are generated by it and it automatically defines all member functions of an
> interface class as being pure virtual member functions.

The blank lines and generated #includes have been fixed.
Member functions of an interface class are intentionally generated as pure virtual.
Comment 4 Ralf Habacker 2020-01-11 12:22:52 UTC
(In reply to Oliver Kellogg from comment #3)
> (In reply to greatbunzinni from comment #0)
> > Version:           unspecified (using KDE 4.6.5) 
> > OS:                Linux
> > 
> > With Umbrello 2.6.5, the C++ code generation wizard is terribly buggy. 
> > Among the shortcomings, it generates an awful lot of blank lines (i.e., 30
> > blank lines in a row), it fails to properly include the header file which
> > are generated by it and it automatically defines all member functions of an
> > interface class as being pure virtual member functions.
> 
> The blank lines ... have been fixed.
v19.08.3 commit a6f00ce109f8b834eaa8aaefc7a9408a86ef6f33 
> and generated #includes have been fixed.
see bug 413569 commit ccb62d3128a5ca6dd3edf7b4c5bad565bbac3758
Comment 5 Ralf Habacker 2020-01-12 11:04:50 UTC
(In reply to Ralf Habacker from comment #4)

> > The blank lines ... have been fixed.
> v19.08.3 commit a6f00ce109f8b834eaa8aaefc7a9408a86ef6f33 
see bug 413574