Bug 58169 - Kooka crashes on certain operations on black-and-white images
Summary: Kooka crashes on certain operations on black-and-white images
Status: RESOLVED FIXED
Alias: None
Product: kooka
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Klaas Freitag
URL:
Keywords:
: 52867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-06 13:29 UTC by nagytam
Modified: 2004-02-17 14:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nagytam 2003-05-06 13:29:35 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    Unspecified Linux
Compiler:          gcc 
OS:          Linux

Crash :
1. Add a bw image to gallery, select it
2. Select any of rotate operations from toolbar
3. Crash:(

Background:
QImage::create: Bit order is required for 1bpp images...

As the QImage::create() doc said:
"
If depth is 1, bitOrder must be set to either QImage::LittleEndian or QImage::BigEndian.
"

Solution:
The relevant code is kookaview.cpp, line 748, which has to adapted for bw images...
Comment 1 Klaas Freitag 2004-02-17 13:42:40 UTC
Changed code in CVS to use rotation from QImage (xForms) instead of home grown rotation algorithms.
Comment 2 Klaas Freitag 2004-02-17 14:23:37 UTC
*** Bug 52867 has been marked as a duplicate of this bug. ***