[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: About kiconedit - kwin bad drawables
From:       John Califf <jcaliff () compuzone ! net>
Date:       2000-11-22 23:09:58
[Download RAW message or body]

Chema - This is a better response to your report.  Actually, recent
files is irrelevant.  I have tested again and found that only when using
kiconedit with kwin does one ever get "Kde detected X error - bad
drawable" even starting fresh with no recent files.  I've tried with at
least two other window managers (icewm and fvwm2) and there are
absolutely no problems, either from command line or from "open with"
using konqueror.
Of course these other window managers rebuild sycoca and start dcop as
needed for kde apps. Therefore, I can only assume that this is a kwin
problem, because these other window managers are quite stable and are
more conservative and probably more strict in X calls they use and in
error checking.  They've been around for a while.

Why is Kwin doing this?  These errors show up after the window is shown,
the window appears fine with all the subwindows and then these errors. 
I think Kwin keeps trying to show some window in the app over and over
again until it runs out of handles.  

Somebody who knows more about kwin will need to look at this, as the
errors occur outside kiconedit code.  Actually I had done most of my
testing originally with other window managers, not kwin using startkde,
assuming that if kiconedit worked fine with other window managers it
would also work fine with kwin.

To answer your original question about why this is now in kdegrahpics
again and not in kednonbeta, it's so that people will test it.  Please
try kiconedit with any other window manager, not startkde and kwin, and
I think you'll be pleased.  Of course this needs to be fixed so it works
in kwin.

John


Chema wrote:
> 
> El Mar 21 Nov 2000 13:53, John Califf escribió:
> > Chema wrote:
> > > Hi all:
> > > Excuse me but I don't understand why kiconedit is on kdegraphics and not
> > > on kdenonbeta.
> > > Always I use it always crash...
> > > Regards
> > > Chema
> > >
> > > >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> > > >> unsubscribe <<
> >
> > If you could explain in more detail..  It certainly doesn't always crash
> > if you use the current version from cvs - I've never had it crash.  Are
> > you using that or are you referring to earlier versions that were in
> > kdenonbeta or kde 1.x?  If it crashes, that can be fixed, but you must
> > be more specific.
> >
> > >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to
> > >> unsubscribe <<
> Hi:
> I'll try to be more specific ->
> version : 2.0 (KDE 2.0 >= 20001117)
> When kiconedit crash?
>  1- if I try to open a file (png,gif...)
>  2- if I try to open recent files (doesn't crash,"only" blocked,I must kill
> it)
> I see I can open only 16x16 icons
> This is tje log when I run liconedit from konsole->
> kiconedit: KIconEditProperties: reading properties
> kiconedit: Read 4 recent files
> kiconedit: Reading bgmode: 1
> kiconedit: BackgroundPixmap:
> kiconedit: KIconEditProperties: instances 1
> kiconedit: KIconTemplateContainer: instances 1
> kiconedit: KIconTemplateContainer: Creating templates
> kiconedit: KIconEditProperties: instances 1
> kiconedit: Initializing formats
> kiconedit: Formats: 3
> kiconedit: KGridView::resizeEvent
> kiconedit: KGridView::resizeEvent
> kiconedit: WARNING: Relative filename passed to KApplication::tempSaveName
> kiconedit: KDropSite constructor
> kiconedit: KIconEditProperties: instances 1
> kiconedit: setupMenuBar
> kiconedit: KIconEditProperties: instances 1
> kiconedit: setupMenuBar - read settings
> kiconedit: KIconEditProperties: instances 1
> kiconedit: setupMenuBar - done
> kiconedit: KIconEditProperties: instances 1
> kiconedit: setupToolBar
> kiconedit: setupToolBar - done
> kiconedit: setupDrawToolBar
> kiconedit: KIconEditProperties: instances 1
> kiconedit: setupDrawToolBar - done
> kiconedit: KDrawColors - constructor
> kiconedit: KDrawColors - constructor - done
> kiconedit: KSysColors - constructor
> kiconedit: KSysColors - constructor - before setColor
> kiconedit: KSysColors - constructor - done
> kiconedit: KDrawColors - constructor
> kiconedit: KDrawColors - constructor - done
> kiconedit: KCustomColors - constructor
> kiconedit: KCustomColors - constructor - done
> kiconedit: setupWhatsThis
> kiconedit: setupWhatsThis - done
> kiconedit: Setting tool
> kiconedit: Tool == Find
> kiconedit: Tool == Find
> kiconedit: Updating statusbar
> kiconedit: KIconEditProperties: instances 1
> kiconedit: Showing
> kiconedit: KIconEditProperties: instances 1
> kiconedit: KIconEditProperties: instances 1
> kiconedit: KGridView::resizeEvent
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> kiconedit: KIconEditIcon::promptForFile(const QImage *img)
> QToolBar::QToolBar main window cannot be 0.
> kiconedit: KGlobalSettings::initStatic
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> kio (Slave): createSlave for file:/root/
> kio (Slave): PID of slave = 1883
> kio (Scheduler): PROTOCOL = file idle = 0
> kio (Slave): slave has connected to application
> kio (Slave): got answer 10
> kdecore (KIconEffect): Image depth src != overlay!
> kio (KIOJob): Finished [this = 0x81790f8]
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> kiconedit: KIconView::emitExecute : not in execute mode !
> kio (Scheduler): PROTOCOL = file idle = 0
> kio (KIOJob): Finished [this = 0x81790f8]
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> kiconedit: KIconView::emitExecute : not in execute mode !
> kio (Scheduler): PROTOCOL = file idle = 0
> kio (KIOJob): Finished [this = 0x81790f8]
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> kiconedit: KIconView::emitExecute : not in execute mode !
> kio (KIOJob): stat file:/root/kwho/kwho/kwho.png
> kio (Scheduler): PROTOCOL = file idle = 0
> kio (KIOJob): StatJob::slotStatEntry
> kio (KIOJob): Finished [this = 0x81790f8]
> kiconedit: ::urls()
> kiconedit: ::urls()
> kiconedit: KRecentDocument::add for file:/root/kwho/kwho/kwho.png
> kiconedit: KIconEditIcon::open /root/kwho/kwho/kwho.png
> kiconedit: KIconEditIcon::open - checked for absolute path
> kiconedit: KIconEditIcon::open (not malformed) file:/root/kwho/kwho/kwho.png
> kiconedit: WARNING: Relative filename passed to KApplication::tempSaveName
> kiconedit: KIcon: Found recover file
> KDE detected X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode:  42
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  14
> QPixmap: Invalid pixmap parameters
> QPixmap::convertToImage: Cannot convert a null pixmap
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  55
> KDE detected X Error: BadDrawable (invalid Pixmap or Window parameter) 9
>   Major opcode:  62
> KDE detected X Error: BadGC (invalid GC parameter) 13
>   Major opcode:  60
> kiconedit: Locked 10
> /root/autosave/#\!root\!file:\!root\!kwho\!kwho\!kwho.png#
> kiconedit: KIconEditIcon::open - Before loading image
> kiconedit: KIconEditIcon::open - Image loaded
> kiconedit: KIcon: _backup:
> /root/autosave/#\!root\!file:\!root\!kwho\!kwho\!kwho.png#
> kiconedit: KIcon: _url: file:/root/kwho/kwho/kwho.png
> kiconedit: KIconEditGrid::load
> kiconedit: KIconEditProperties: instances 1
> ********
> And crash.
> If I use open recent documents I see this->
> kiconedit: Opening recent file: -5
> kiconedit: KIconEditProperties: instances 1
> ASSERT: "i <= nodes" in /usr/lib/qt/include/qvaluelist.h (284)
> kiconedit: Recent: file:/root/kwho/kwho/info.gif
> ASSERT: "i <= nodes" in /usr/lib/qt/include/qvaluelist.h (284)
> *********
> Well,any idea?
> Regards
> Chema
> Excuse me for this long email
> 
> >> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic