<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>156295</bug_id>
          
          <creation_ts>2008-01-21 04:39:02 +0000</creation_ts>
          <short_desc>Add widget, &quot;generic icon&quot;, adds an icon without url</short_desc>
          <delta_ts>2008-02-03 11:40:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>plasma4</product>
          <component>desktop</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David">StormByte</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>faure</cc>
    
    <cc>Ian_Milligan</cc>
    
    <cc>Maguscrowley</cc>
    
    <cc>Regnaron</cc>
    
    <cc>s.illes79</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>573555</commentid>
    <comment_count>0</comment_count>
    <who name="David">StormByte</who>
    <bug_when>2008-01-21 04:39:02 +0000</bug_when>
    <thetext>Version:           SVN (using Devel)
Installed from:    Compiled sources
Compiler:          4.1.2 
OS:                Linux

When you create a icon plasmoid on desktop, and you click on the button to change its type, you get a SIGSEGV (11) in keditfiletype.

Steps to reproduce:
1.- Open the add widget window (by rightclicking desktop and selecting proper option, or by clicking add widget button in top right corner)
2.- Place a generic icon plasmoid
3.- Open its settings
4.- Click on the tool button to change its type and you&apos;ll see the error
(after closing error message of death of keditfiletype, you can repeat step 4 and you&apos;ll get same result, never working..)

SVN snapshots:
svn info /usr/portage/distfiles/svn-src/KDE/kdelibs/kdelibs
Path: /usr/portage/distfiles/svn-src/KDE/kdelibs/kdelibs
URL: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs
Repository Root: svn://anonsvn.kde.org/home/kde
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 763963
Node Kind: directory
Schedule: normal
Last Changed Author: djarvie
Last Changed Rev: 763956
Last Changed Date: 2008-01-20 18:19:26 +0100 (dom, 20 ene 2008)
========================
svn info /usr/portage/distfiles/svn-src/KDE/kdebase/kdebase/
Path: /usr/portage/distfiles/svn-src/KDE/kdebase/kdebase
URL: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase
Repository Root: svn://anonsvn.kde.org/home/kde
Repository UUID: 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Revision: 763967
Node Kind: directory
Schedule: normal
Last Changed Author: ogoffart
Last Changed Rev: 763953
Last Changed Date: 2008-01-20 18:11:56 +0100 (dom, 20 ene 2008)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573557</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Putz">Regnaron</who>
    <bug_when>2008-01-21 05:31:52 +0000</bug_when>
    <thetext>I can confirm this crash with the following backtrace:

Using host libthread_db library &quot;/lib/libthread_db.so.1&quot;.
[Thread debugging using libthread_db enabled]
[New Thread 0xb60b66d0 (LWP 5718)]
[KCrash handler]
#6  0xb7d54717 in KSycocaEntry::d_func (this=0xbf88a380)
    at /var/tmp/portage/kde-base/kdelibs-9999.4/work/kdelibs-9999.4/kdecore/sycoca/ksycocaentry.h:148
#7  0x0805b90d in MimeTypeData (this=0xbf88a380, mime=@0xbf88a3dc, newItem=64)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/mimetypedata.cpp:50
#8  0x08051a37 in FileTypeDialog::init (this=0xbf88a478, mime=@0xbf88a410, 
    newItem=true)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/keditfiletype.cpp:61
#9  0x08051c98 in FileTypeDialog (this=0xbf88a478, mime=@0xbf88a564, 
    newItem=true)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/keditfiletype.cpp:55
#10 0x0805265a in main (argc=4, argv=0xbf88a664)
    at /var/tmp/portage/kde-base/kdebase-9999.4/work/kdebase-9999.4/apps/konqueror/settings/filetypes/keditfiletype.cpp:169
#11 0xb63befdc in __libc_start_main (main=0x8051cd0 &lt;main&gt;, argc=4, 
    ubp_av=0xbf88a664, init=0x8063710 &lt;__libc_csu_init&gt;, 
    fini=0x8063700 &lt;__libc_csu_fini&gt;, rtld_fini=0xb7fa3100 &lt;_dl_fini&gt;, 
    stack_end=0xbf88a65c) at libc-start.c:229
#12 0x080516e1 in _start ()
#0  0xffffe410 in __kernel_vsyscall ()
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573608</commentid>
    <comment_count>2</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-01-21 12:31:12 +0000</bug_when>
    <thetext>SVN commit 764296 by dfaure:

Don&apos;t crash when called with &apos;*&apos; as argument. But the real question is, why is plasma creating a file with a mimetype of &quot;*&quot;?
CCBUG: 156295


 M  +6 -2      keditfiletype.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=764296
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573623</commentid>
    <comment_count>3</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-01-21 13:39:20 +0000</bug_when>
    <thetext>The problem is that m_url is empty, in IconApplet::showConfigurationInterface().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573625</commentid>
    <comment_count>4</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-01-21 13:43:59 +0000</bug_when>
    <thetext>Maybe this applet should simply not appear in &quot;Add Widgets&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>573850</commentid>
    <comment_count>5</comment_count>
    <who name="David">StormByte</who>
    <bug_when>2008-01-22 06:17:06 +0000</bug_when>
    <thetext>David Faure, I agree with you, I think create icon could be in right click menu, as always..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574034</commentid>
    <comment_count>6</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-01-22 17:26:27 +0000</bug_when>
    <thetext>*** Bug 156334 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574037</commentid>
    <comment_count>7</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-01-22 17:26:55 +0000</bug_when>
    <thetext>*** Bug 154956 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574929</commentid>
    <comment_count>8</comment_count>
    <who name="Aaron J. Seigo">aseigo</who>
    <bug_when>2008-01-24 22:02:46 +0000</bug_when>
    <thetext>@David (!Faure): while it could be in the right click menu, it really doesn&apos;t make much sense to do so given where we are headed with desktop icons.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>574932</commentid>
    <comment_count>9</comment_count>
    <who name="Aaron J. Seigo">aseigo</who>
    <bug_when>2008-01-24 22:05:29 +0000</bug_when>
    <thetext>SVN commit 765906 by aseigo:

don&apos;t show the icon applet in the add widgets dialog for now as it leaves one with an empty hull of an icon, which leads to various annoyances for people apparently. if/when the Icon applet sports more useful features in a default setting, we can reinstate it&apos;s visibility.
BUG:156295


 M  +1 -0      plasma-applet-icon.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=765906
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>577495</commentid>
    <comment_count>10</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2008-02-03 11:40:56 +0000</bug_when>
    <thetext>*** Bug 157132 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>