Summary: | KDevelop crashed in katepart when invoking code completion in Python project | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Matěj Laitl <matej> |
Component: | Code completion | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | |
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | 1.4.0 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdev-python/b56a6d529b52d561baf66637bcee6621e785f25f | Version Fixed In: |
Description
Matěj Laitl
2012-06-06 15:41:31 UTC
Oh, the assertion failure message is: ASSERT failure in QFont::setWeight: "Weight must be between 0 and 99", file text/qfont.cpp, line 1224 Git commit b56a6d529b52d561baf66637bcee6621e785f25f by Sven Brauch. Committed on 06/06/2012 at 19:20. Pushed by brauch into branch 'master'. Don't set font-weight to 255, but to 99 instead (avoids Qt assert if compiled with debug symbols) Should fix bug 301289 M +1 -1 codecompletion/helpers.cpp http://commits.kde.org/kdev-python/b56a6d529b52d561baf66637bcee6621e785f25f Yeah, sorry. I didn't find documentation on it, and assumed it was a uchar. Setting it to 255 worked, so I didn't care any more. Should be fixed by now. Oh, and please use the kdev-python component to report bugs affecting kdev-python against (not kdevelop). :) The crash is fixed, thanks. (In reply to comment #4) > Oh, and please use the kdev-python component to report bugs affecting > kdev-python against (not kdevelop). :) Sorry about that. (well, DrKonqi is also responsible, it sets product to kdevelop and doesn't let you change it - I don't know if it can handle multi-producs apps) I see. Maybe we should report that to them as a bug? .D (In reply to comment #2) > http://commits.kde.org/kdev-python/b56a6d529b52d561baf66637bcee6621e785f25f Nitpicking: QFont::Bold instead of 99 would be the best here. ;) |