| Summary: | starting with --profile and --notabbar crashes | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Timo Veith <tv> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.3.2 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | my profile called "small" | ||
|
Description
Timo Veith
2004-05-13 18:52:58 UTC
konsole --profile small --notabbar --vt_sz 80x25 --noresize konsole --profile small --notabbar Both work fine with CVS (pre-3.3.0/qt-3.3.x). Other profiles and command-line options also worked fine. However, I don't have your small profile... Attach your small profile.... Created attachment 6314 [details]
my profile called "small"
Here is my "small" profile for which you asked.
TIA
Timo
It wasn't easy to reproduce the crash, but finally I did it. The "trick" was to add --noresize not only the other options. It crashed then. Well, I tried it again just right now but it didn't crash ... and once again ... no crash, everything seems ok and once again ... not I get the alarm clock message [1]- Alarm clock konsole --profile small --notabbar --vt_sz 80x25 --noresize and once again ... no crash and once again ... I get those kdeui messages kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event. kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed. kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event. kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed. kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event. kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed. kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event. kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed. kdeui (KRootPixmap): WARNING: [virtual bool KSharedPixmap::x11Event(XEvent*)] illegal selection notify event. kdeui (KRootPixmap): WARNING: [krootpixmap.cpp:241] loading of desktop background failed. and the konsole windows is here but the background is broken. and once again ... it works ... Oh well I cannot tell you when it is crashing and when not. I think I will just leave off the --noresize option and it should work. Or please tell me how else I can help in finding this bug. regards Timo CVS commit by waba:
Fix crash with --noresize
BUG: 81522
M +5 -0 TEWidget.cpp 1.219
--- kdebase/konsole/konsole/TEWidget.cpp #1.218:1.219
@@ -1945,4 +1945,9 @@ void TEWidget::setFixedSize(int cols, in
columns = cols;
lines = lins;
+ if (image)
+ {
+ free(image);
+ makeImage();
+ }
setSize(cols, lins);
QFrame::setFixedSize(m_size);
|